1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
51 /***********************************************************************
52 * common.swg for wxPython
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 ************************************************************************/
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 # define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
212 #define SWIGTYPE_p_wxBrush swig_types[1]
213 #define SWIGTYPE_p_wxColour swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
216 #define SWIGTYPE_p_byte swig_types[5]
217 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
218 #define SWIGTYPE_p_wxIconLocation swig_types[7]
219 #define SWIGTYPE_p_wxImage swig_types[8]
220 #define SWIGTYPE_p_wxMetaFileDC swig_types[9]
221 #define SWIGTYPE_p_wxMask swig_types[10]
222 #define SWIGTYPE_p_wxFont swig_types[11]
223 #define SWIGTYPE_p_wxWindow swig_types[12]
224 #define SWIGTYPE_p_wxSize swig_types[13]
225 #define SWIGTYPE_p_double swig_types[14]
226 #define SWIGTYPE_p_wxMemoryDC swig_types[15]
227 #define SWIGTYPE_p_wxFontMapper swig_types[16]
228 #define SWIGTYPE_p_wxEffects swig_types[17]
229 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[18]
230 #define SWIGTYPE_p_wxPalette swig_types[19]
231 #define SWIGTYPE_p_wxBitmap swig_types[20]
232 #define SWIGTYPE_p_wxObject swig_types[21]
233 #define SWIGTYPE_p_wxRegionIterator swig_types[22]
234 #define SWIGTYPE_p_wxRect swig_types[23]
235 #define SWIGTYPE_p_wxString swig_types[24]
236 #define SWIGTYPE_p_wxPrinterDC swig_types[25]
237 #define SWIGTYPE_p_wxIconBundle swig_types[26]
238 #define SWIGTYPE_p_wxPoint swig_types[27]
239 #define SWIGTYPE_p_wxDash swig_types[28]
240 #define SWIGTYPE_p_wxScreenDC swig_types[29]
241 #define SWIGTYPE_p_wxCursor swig_types[30]
242 #define SWIGTYPE_p_wxClientDC swig_types[31]
243 #define SWIGTYPE_p_wxBufferedDC swig_types[32]
244 #define SWIGTYPE_p_wxImageList swig_types[33]
245 #define SWIGTYPE_p_unsigned_char swig_types[34]
246 #define SWIGTYPE_p_wxGDIObject swig_types[35]
247 #define SWIGTYPE_p_wxLocale swig_types[36]
248 #define SWIGTYPE_p_wxIcon swig_types[37]
249 #define SWIGTYPE_p_wxRegion swig_types[38]
250 #define SWIGTYPE_p_wxLanguageInfo swig_types[39]
251 #define SWIGTYPE_p_wxConfigBase swig_types[40]
252 #define SWIGTYPE_p_wxWindowDC swig_types[41]
253 #define SWIGTYPE_p_wxPrintData swig_types[42]
254 #define SWIGTYPE_p_wxBrushList swig_types[43]
255 #define SWIGTYPE_p_wxFontList swig_types[44]
256 #define SWIGTYPE_p_wxPen swig_types[45]
257 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[46]
258 #define SWIGTYPE_p_wxPaintDC swig_types[47]
259 #define SWIGTYPE_p_wxPenList swig_types[48]
260 #define SWIGTYPE_p_wxPyPen swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxMetaFile swig_types[51]
263 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
264 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
265 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
266 static swig_type_info
*swig_types
[56];
268 /* -------- TYPES TABLE (END) -------- */
271 /*-----------------------------------------------
273 ------------------------------------------------*/
274 #define SWIG_init init_gdi
276 #define SWIG_name "_gdi"
278 #include "wx/wxPython/wxPython.h"
279 #include "wx/wxPython/pyclasses.h"
281 DECLARE_DEF_STRING(EmptyString
);
283 PyObject
*wxColour_Get(wxColour
*self
){
284 PyObject
* rv
= PyTuple_New(3);
290 green
= self
->Green();
293 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
294 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
295 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
299 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
305 } else if (target
== Py_None
) {
309 if (!PyTuple_Check(target
)) {
311 target
= PyTuple_New(1);
312 PyTuple_SetItem(target
, 0, o2
);
315 PyTuple_SetItem(o3
, 0, o
);
318 target
= PySequence_Concat(o2
, o3
);
325 PyObject
*wxPen_GetDashes(wxPen
*self
){
327 int count
= self
->GetDashes(&dashes
);
328 wxPyBeginBlockThreads();
329 PyObject
* retval
= PyList_New(0);
330 for (int x
=0; x
<count
; x
++)
331 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
332 wxPyEndBlockThreads();
342 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
346 m_dash
= new wxDash
[nb_dashes
];
347 for (int i
=0; i
<nb_dashes
; i
++) {
350 wxPen::SetDashes(nb_dashes
, m_dash
);
354 #include <wx/image.h>
356 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
357 char** cArray
= NULL
;
360 if (!PyList_Check(listOfStrings
)) {
361 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
364 count
= PyList_Size(listOfStrings
);
365 cArray
= new char*[count
];
367 for(int x
=0; x
<count
; x
++) {
368 // TODO: Need some validation and error checking here
369 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
375 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
376 char** cArray
= NULL
;
379 cArray
= ConvertListOfStrings(listOfStrings
);
382 bmp
= new wxBitmap(cArray
);
386 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
389 PyString_AsStringAndSize(bits
, &buf
, &length
);
390 return new wxBitmap(buf
, width
, height
, depth
);
392 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
393 wxMask
*mask
= new wxMask(*self
, colour
);
397 #include <wx/iconbndl.h>
399 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
400 wxIcon
* icon
= new wxIcon();
401 icon
->CopyFromBitmap(bmp
);
404 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
405 char** cArray
= NULL
;
408 cArray
= ConvertListOfStrings(listOfStrings
);
411 icon
= new wxIcon(cArray
);
415 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
417 return new wxIconLocation(*filename
, num
);
422 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
429 int wxIconLocation_GetIndex(wxIconLocation
*self
){
431 return self
->GetIndex();
436 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
441 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
444 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
446 char* maskbuf
= NULL
;
448 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
450 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
451 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
455 void wxRegionIterator_Next(wxRegionIterator
*self
){
458 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
459 return self
->operator bool();
462 #include <wx/fontutil.h>
463 #include <wx/fontmap.h>
464 #include <wx/fontenum.h>
466 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
467 return self
->ToString();
470 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
471 { PyErr_SetNone(PyExc_NotImplementedError
); return NULL
; }
473 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
474 { PyErr_SetNone(PyExc_NotImplementedError
); return False
; }
476 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
477 wxFontEncoding alt_enc
;
478 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
479 return PyInt_FromLong(alt_enc
);
485 wxFont
*new_wxFont(wxString
const &info
){
486 wxNativeFontInfo nfi
;
487 nfi
.FromString(info
);
488 return new wxFont(nfi
);
490 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
491 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
494 class wxPyFontEnumerator
: public wxFontEnumerator
{
496 wxPyFontEnumerator() {}
497 ~wxPyFontEnumerator() {}
499 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
500 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
505 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
506 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
509 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
510 wxArrayString
* arr
= self
->GetEncodings();
511 return wxArrayString2PyList_helper(*arr
);
513 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
514 wxArrayString
* arr
= self
->GetFacenames();
515 return wxArrayString2PyList_helper(*arr
);
520 #include "wx/wxPython/pydrawxxx.h"
522 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
524 self
->GetPixel(x
, y
, &col
);
527 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
529 self
->GetPixel(pt
, &col
);
532 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
534 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
537 wxRect
wxDC_GetClippingRect(wxDC
*self
){
539 self
->GetClippingBox(rect
);
542 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
543 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
545 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
546 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
548 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
549 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
551 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
552 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
554 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
555 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
557 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
558 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
561 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
572 #include <wx/metafile.h>
576 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
577 self
->AddColour(name
, wxColour(red
, green
, blue
));
580 #include <wx/effects.h>
585 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 result
= (wxGDIObject
*)new wxGDIObject();
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) SWIG_fail
;
600 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
607 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
610 PyObject
* obj0
= 0 ;
612 (char *) "self", NULL
615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 wxPyEndAllowThreads(__tstate
);
622 if (PyErr_Occurred()) SWIG_fail
;
624 Py_INCREF(Py_None
); resultobj
= Py_None
;
631 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
635 PyObject
* obj0
= 0 ;
637 (char *) "self", NULL
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
644 result
= (bool)(arg1
)->GetVisible();
646 wxPyEndAllowThreads(__tstate
);
647 if (PyErr_Occurred()) SWIG_fail
;
649 resultobj
= PyInt_FromLong((long)result
);
656 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
660 PyObject
* obj0
= 0 ;
661 PyObject
* obj1
= 0 ;
663 (char *) "self",(char *) "visible", NULL
666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
668 arg2
= PyInt_AsLong(obj1
) ? true : false;
669 if (PyErr_Occurred()) SWIG_fail
;
671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
672 (arg1
)->SetVisible(arg2
);
674 wxPyEndAllowThreads(__tstate
);
675 if (PyErr_Occurred()) SWIG_fail
;
677 Py_INCREF(Py_None
); resultobj
= Py_None
;
684 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
686 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
688 PyObject
* obj0
= 0 ;
690 (char *) "self", NULL
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
697 result
= (bool)(arg1
)->IsNull();
699 wxPyEndAllowThreads(__tstate
);
700 if (PyErr_Occurred()) SWIG_fail
;
702 resultobj
= PyInt_FromLong((long)result
);
709 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
712 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
714 return Py_BuildValue((char *)"");
716 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 unsigned char arg1
= (unsigned char) 0 ;
719 unsigned char arg2
= (unsigned char) 0 ;
720 unsigned char arg3
= (unsigned char) 0 ;
722 PyObject
* obj0
= 0 ;
723 PyObject
* obj1
= 0 ;
724 PyObject
* obj2
= 0 ;
726 (char *) "red",(char *) "green",(char *) "blue", NULL
729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
731 arg1
= (unsigned char) PyInt_AsLong(obj0
);
732 if (PyErr_Occurred()) SWIG_fail
;
735 arg2
= (unsigned char) PyInt_AsLong(obj1
);
736 if (PyErr_Occurred()) SWIG_fail
;
739 arg3
= (unsigned char) PyInt_AsLong(obj2
);
740 if (PyErr_Occurred()) SWIG_fail
;
743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
744 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
746 wxPyEndAllowThreads(__tstate
);
747 if (PyErr_Occurred()) SWIG_fail
;
749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
756 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 wxColour
*arg1
= (wxColour
*) 0 ;
759 PyObject
* obj0
= 0 ;
761 (char *) "self", NULL
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
770 wxPyEndAllowThreads(__tstate
);
771 if (PyErr_Occurred()) SWIG_fail
;
773 Py_INCREF(Py_None
); resultobj
= Py_None
;
780 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* obj0
= 0 ;
787 (char *) "colorName", NULL
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
792 arg1
= wxString_in_helper(obj0
);
793 if (arg1
== NULL
) SWIG_fail
;
797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
798 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
800 wxPyEndAllowThreads(__tstate
);
801 if (PyErr_Occurred()) SWIG_fail
;
803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
818 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* obj0
= 0 ;
824 (char *) "colRGB", NULL
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
828 arg1
= (unsigned long) PyInt_AsLong(obj0
);
829 if (PyErr_Occurred()) SWIG_fail
;
831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
832 result
= (wxColour
*)new wxColour(arg1
);
834 wxPyEndAllowThreads(__tstate
);
835 if (PyErr_Occurred()) SWIG_fail
;
837 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
844 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 wxColour
*arg1
= (wxColour
*) 0 ;
847 unsigned char result
;
848 PyObject
* obj0
= 0 ;
850 (char *) "self", NULL
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
857 result
= (unsigned char)(arg1
)->Red();
859 wxPyEndAllowThreads(__tstate
);
860 if (PyErr_Occurred()) SWIG_fail
;
862 resultobj
= PyInt_FromLong((long)result
);
869 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 wxColour
*arg1
= (wxColour
*) 0 ;
872 unsigned char result
;
873 PyObject
* obj0
= 0 ;
875 (char *) "self", NULL
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
882 result
= (unsigned char)(arg1
)->Green();
884 wxPyEndAllowThreads(__tstate
);
885 if (PyErr_Occurred()) SWIG_fail
;
887 resultobj
= PyInt_FromLong((long)result
);
894 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 wxColour
*arg1
= (wxColour
*) 0 ;
897 unsigned char result
;
898 PyObject
* obj0
= 0 ;
900 (char *) "self", NULL
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
907 result
= (unsigned char)(arg1
)->Blue();
909 wxPyEndAllowThreads(__tstate
);
910 if (PyErr_Occurred()) SWIG_fail
;
912 resultobj
= PyInt_FromLong((long)result
);
919 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 wxColour
*arg1
= (wxColour
*) 0 ;
923 PyObject
* obj0
= 0 ;
925 (char *) "self", NULL
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 result
= (bool)(arg1
)->Ok();
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) SWIG_fail
;
937 resultobj
= PyInt_FromLong((long)result
);
944 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 wxColour
*arg1
= (wxColour
*) 0 ;
950 PyObject
* obj0
= 0 ;
951 PyObject
* obj1
= 0 ;
952 PyObject
* obj2
= 0 ;
953 PyObject
* obj3
= 0 ;
955 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
960 arg2
= (unsigned char) PyInt_AsLong(obj1
);
961 if (PyErr_Occurred()) SWIG_fail
;
962 arg3
= (unsigned char) PyInt_AsLong(obj2
);
963 if (PyErr_Occurred()) SWIG_fail
;
964 arg4
= (unsigned char) PyInt_AsLong(obj3
);
965 if (PyErr_Occurred()) SWIG_fail
;
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 (arg1
)->Set(arg2
,arg3
,arg4
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) SWIG_fail
;
973 Py_INCREF(Py_None
); resultobj
= Py_None
;
980 static PyObject
*_wrap_Colour_SetRBG(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
982 wxColour
*arg1
= (wxColour
*) 0 ;
984 PyObject
* obj0
= 0 ;
985 PyObject
* obj1
= 0 ;
987 (char *) "self",(char *) "colRGB", NULL
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRBG",kwnames
,&obj0
,&obj1
)) goto fail
;
991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
992 arg2
= (unsigned long) PyInt_AsLong(obj1
);
993 if (PyErr_Occurred()) SWIG_fail
;
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) SWIG_fail
;
1001 Py_INCREF(Py_None
); resultobj
= Py_None
;
1008 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1009 PyObject
*resultobj
;
1010 wxColour
*arg1
= (wxColour
*) 0 ;
1011 wxColour
*arg2
= 0 ;
1014 PyObject
* obj0
= 0 ;
1015 PyObject
* obj1
= 0 ;
1017 (char *) "self",(char *) "colour", NULL
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1028 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1030 wxPyEndAllowThreads(__tstate
);
1031 if (PyErr_Occurred()) SWIG_fail
;
1033 resultobj
= PyInt_FromLong((long)result
);
1040 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxColour
*arg1
= (wxColour
*) 0 ;
1043 wxColour
*arg2
= 0 ;
1046 PyObject
* obj0
= 0 ;
1047 PyObject
* obj1
= 0 ;
1049 (char *) "self",(char *) "colour", NULL
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1056 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) SWIG_fail
;
1065 resultobj
= PyInt_FromLong((long)result
);
1072 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
*resultobj
;
1074 wxColour
*arg1
= (wxColour
*) 0 ;
1076 PyObject
* obj0
= 0 ;
1078 (char *) "self", NULL
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1085 result
= (PyObject
*)wxColour_Get(arg1
);
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) SWIG_fail
;
1097 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1100 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1102 return Py_BuildValue((char *)"");
1104 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1105 PyObject
*resultobj
;
1107 unsigned char *arg2
= (unsigned char *) 0 ;
1108 unsigned char *arg3
= (unsigned char *) 0 ;
1109 unsigned char *arg4
= (unsigned char *) 0 ;
1111 PyObject
* obj1
= 0 ;
1112 PyObject
* obj2
= 0 ;
1113 PyObject
* obj3
= 0 ;
1115 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOOO:new_Palette",kwnames
,&arg1
,&obj1
,&obj2
,&obj3
)) goto fail
;
1119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1120 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1121 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) SWIG_fail
;
1129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1136 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
*resultobj
;
1138 wxPalette
*arg1
= (wxPalette
*) 0 ;
1139 PyObject
* obj0
= 0 ;
1141 (char *) "self", NULL
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1150 wxPyEndAllowThreads(__tstate
);
1151 if (PyErr_Occurred()) SWIG_fail
;
1153 Py_INCREF(Py_None
); resultobj
= Py_None
;
1160 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
*resultobj
;
1162 wxPalette
*arg1
= (wxPalette
*) 0 ;
1167 PyObject
* obj0
= 0 ;
1168 PyObject
* obj1
= 0 ;
1169 PyObject
* obj2
= 0 ;
1170 PyObject
* obj3
= 0 ;
1172 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1177 arg2
= (byte
) PyInt_AsLong(obj1
);
1178 if (PyErr_Occurred()) SWIG_fail
;
1179 arg3
= (byte
) PyInt_AsLong(obj2
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1181 arg4
= (byte
) PyInt_AsLong(obj3
);
1182 if (PyErr_Occurred()) SWIG_fail
;
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1190 resultobj
= PyInt_FromLong((long)result
);
1197 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
*resultobj
;
1199 wxPalette
*arg1
= (wxPalette
*) 0 ;
1201 byte
*arg3
= (byte
*) 0 ;
1202 byte
*arg4
= (byte
*) 0 ;
1203 byte
*arg5
= (byte
*) 0 ;
1208 PyObject
* obj0
= 0 ;
1210 (char *) "self",(char *) "pixel", NULL
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Palette_GetRGB",kwnames
,&obj0
,&arg2
)) goto fail
;
1217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1220 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1222 wxPyEndAllowThreads(__tstate
);
1223 if (PyErr_Occurred()) SWIG_fail
;
1225 resultobj
= PyInt_FromLong((long)result
);
1227 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1228 resultobj
= t_output_helper(resultobj
,o
);
1231 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1232 resultobj
= t_output_helper(resultobj
,o
);
1235 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1236 resultobj
= t_output_helper(resultobj
,o
);
1244 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
*resultobj
;
1246 wxPalette
*arg1
= (wxPalette
*) 0 ;
1248 PyObject
* obj0
= 0 ;
1250 (char *) "self", NULL
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 result
= (bool)(arg1
)->Ok();
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= PyInt_FromLong((long)result
);
1269 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1272 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1274 return Py_BuildValue((char *)"");
1276 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
*resultobj
;
1278 wxColour
*arg1
= 0 ;
1279 int arg2
= (int) 1 ;
1280 int arg3
= (int) wxSOLID
;
1283 PyObject
* obj0
= 0 ;
1285 (char *) "colour",(char *) "width",(char *) "style", NULL
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_Pen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1291 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1307 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
*resultobj
;
1309 wxPen
*arg1
= (wxPen
*) 0 ;
1310 PyObject
* obj0
= 0 ;
1312 (char *) "self", NULL
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1324 Py_INCREF(Py_None
); resultobj
= Py_None
;
1331 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
*resultobj
;
1333 wxPen
*arg1
= (wxPen
*) 0 ;
1335 PyObject
* obj0
= 0 ;
1337 (char *) "self", NULL
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 result
= (int)(arg1
)->GetCap();
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1349 resultobj
= PyInt_FromLong((long)result
);
1356 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
*resultobj
;
1358 wxPen
*arg1
= (wxPen
*) 0 ;
1360 PyObject
* obj0
= 0 ;
1362 (char *) "self", NULL
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1369 result
= (arg1
)->GetColour();
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1375 wxColour
* resultptr
;
1376 resultptr
= new wxColour((wxColour
&) result
);
1377 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1385 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
*resultobj
;
1387 wxPen
*arg1
= (wxPen
*) 0 ;
1389 PyObject
* obj0
= 0 ;
1391 (char *) "self", NULL
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1398 result
= (int)(arg1
)->GetJoin();
1400 wxPyEndAllowThreads(__tstate
);
1401 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= PyInt_FromLong((long)result
);
1410 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
*resultobj
;
1412 wxPen
*arg1
= (wxPen
*) 0 ;
1414 PyObject
* obj0
= 0 ;
1416 (char *) "self", NULL
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 result
= (int)(arg1
)->GetStyle();
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1428 resultobj
= PyInt_FromLong((long)result
);
1435 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
*resultobj
;
1437 wxPen
*arg1
= (wxPen
*) 0 ;
1439 PyObject
* obj0
= 0 ;
1441 (char *) "self", NULL
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 result
= (int)(arg1
)->GetWidth();
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1453 resultobj
= PyInt_FromLong((long)result
);
1460 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
*resultobj
;
1462 wxPen
*arg1
= (wxPen
*) 0 ;
1464 PyObject
* obj0
= 0 ;
1466 (char *) "self", NULL
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 result
= (bool)(arg1
)->Ok();
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1478 resultobj
= PyInt_FromLong((long)result
);
1485 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
*resultobj
;
1487 wxPen
*arg1
= (wxPen
*) 0 ;
1489 PyObject
* obj0
= 0 ;
1491 (char *) "self",(char *) "cap_style", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetCap",kwnames
,&obj0
,&arg2
)) goto fail
;
1495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 (arg1
)->SetCap(arg2
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1503 Py_INCREF(Py_None
); resultobj
= Py_None
;
1510 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
*resultobj
;
1512 wxPen
*arg1
= (wxPen
*) 0 ;
1513 wxColour
*arg2
= 0 ;
1515 PyObject
* obj0
= 0 ;
1516 PyObject
* obj1
= 0 ;
1518 (char *) "self",(char *) "colour", NULL
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1525 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 (arg1
)->SetColour(*arg2
);
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1534 Py_INCREF(Py_None
); resultobj
= Py_None
;
1541 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1543 wxPen
*arg1
= (wxPen
*) 0 ;
1545 PyObject
* obj0
= 0 ;
1547 (char *) "self",(char *) "join_style", NULL
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetJoin",kwnames
,&obj0
,&arg2
)) goto fail
;
1551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 (arg1
)->SetJoin(arg2
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1559 Py_INCREF(Py_None
); resultobj
= Py_None
;
1566 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
*resultobj
;
1568 wxPen
*arg1
= (wxPen
*) 0 ;
1570 PyObject
* obj0
= 0 ;
1572 (char *) "self",(char *) "style", NULL
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 (arg1
)->SetStyle(arg2
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1584 Py_INCREF(Py_None
); resultobj
= Py_None
;
1591 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1593 wxPen
*arg1
= (wxPen
*) 0 ;
1595 PyObject
* obj0
= 0 ;
1597 (char *) "self",(char *) "width", NULL
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 (arg1
)->SetWidth(arg2
);
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1609 Py_INCREF(Py_None
); resultobj
= Py_None
;
1616 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxPen
*arg1
= (wxPen
*) 0 ;
1620 wxDash
*arg3
= (wxDash
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1622 PyObject
* obj1
= 0 ;
1624 (char *) "self",(char *) "dashes", NULL
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1630 arg2
= PyList_Size(obj1
);
1631 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1632 if (arg3
== NULL
) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 (arg1
)->SetDashes(arg2
,arg3
);
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 Py_INCREF(Py_None
); resultobj
= Py_None
;
1643 if (arg3
) delete [] arg3
;
1648 if (arg3
) delete [] arg3
;
1654 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
*resultobj
;
1656 wxPen
*arg1
= (wxPen
*) 0 ;
1658 PyObject
* obj0
= 0 ;
1660 (char *) "self", NULL
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1679 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
*resultobj
;
1681 wxPen
*arg1
= (wxPen
*) 0 ;
1683 PyObject
* obj0
= 0 ;
1685 (char *) "self", NULL
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
1689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 result
= (wxBitmap
*)(arg1
)->GetStipple();
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
1704 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxPen
*arg1
= (wxPen
*) 0 ;
1707 wxBitmap
*arg2
= 0 ;
1708 PyObject
* obj0
= 0 ;
1709 PyObject
* obj1
= 0 ;
1711 (char *) "self",(char *) "stipple", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 (arg1
)->SetStipple(*arg2
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1727 Py_INCREF(Py_None
); resultobj
= Py_None
;
1734 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1737 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1739 return Py_BuildValue((char *)"");
1741 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxColour
*arg1
= 0 ;
1744 int arg2
= (int) 1 ;
1745 int arg3
= (int) wxSOLID
;
1748 PyObject
* obj0
= 0 ;
1750 (char *) "colour",(char *) "width",(char *) "style", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_PyPen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1756 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
1772 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
*resultobj
;
1774 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1775 PyObject
* obj0
= 0 ;
1777 (char *) "self", NULL
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
1781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1789 Py_INCREF(Py_None
); resultobj
= Py_None
;
1796 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1800 wxDash
*arg3
= (wxDash
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1802 PyObject
* obj1
= 0 ;
1804 (char *) "self",(char *) "dashes", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1810 arg2
= PyList_Size(obj1
);
1811 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1812 if (arg3
== NULL
) SWIG_fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 (arg1
)->SetDashes(arg2
,arg3
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1821 Py_INCREF(Py_None
); resultobj
= Py_None
;
1823 if (arg3
) delete [] arg3
;
1828 if (arg3
) delete [] arg3
;
1834 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
1836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1837 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
1839 return Py_BuildValue((char *)"");
1841 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
*resultobj
;
1843 wxColour
*arg1
= 0 ;
1844 int arg2
= (int) wxSOLID
;
1847 PyObject
* obj0
= 0 ;
1849 (char *) "colour",(char *) "style", NULL
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Brush",kwnames
,&obj0
,&arg2
)) goto fail
;
1855 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
1861 wxPyEndAllowThreads(__tstate
);
1862 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
1871 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
*resultobj
;
1873 wxBrush
*arg1
= (wxBrush
*) 0 ;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "self", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1888 Py_INCREF(Py_None
); resultobj
= Py_None
;
1895 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
*resultobj
;
1897 wxBrush
*arg1
= (wxBrush
*) 0 ;
1898 wxColour
*arg2
= 0 ;
1900 PyObject
* obj0
= 0 ;
1901 PyObject
* obj1
= 0 ;
1903 (char *) "self",(char *) "col", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1910 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 (arg1
)->SetColour((wxColour
const &)*arg2
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 Py_INCREF(Py_None
); resultobj
= Py_None
;
1926 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 wxBrush
*arg1
= (wxBrush
*) 0 ;
1930 PyObject
* obj0
= 0 ;
1932 (char *) "self",(char *) "style", NULL
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Brush_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 (arg1
)->SetStyle(arg2
);
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 Py_INCREF(Py_None
); resultobj
= Py_None
;
1951 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxBrush
*arg1
= (wxBrush
*) 0 ;
1954 wxBitmap
*arg2
= 0 ;
1955 PyObject
* obj0
= 0 ;
1956 PyObject
* obj1
= 0 ;
1958 (char *) "self",(char *) "stipple", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1963 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 Py_INCREF(Py_None
); resultobj
= Py_None
;
1981 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1983 wxBrush
*arg1
= (wxBrush
*) 0 ;
1985 PyObject
* obj0
= 0 ;
1987 (char *) "self", NULL
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
1991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 result
= ((wxBrush
const *)arg1
)->GetColour();
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
2000 wxColour
* resultptr
;
2001 resultptr
= new wxColour((wxColour
&) result
);
2002 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2010 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxBrush
*arg1
= (wxBrush
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2016 (char *) "self", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 resultobj
= PyInt_FromLong((long)result
);
2035 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxBrush
*arg1
= (wxBrush
*) 0 ;
2039 PyObject
* obj0
= 0 ;
2041 (char *) "self", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2060 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxBrush
*arg1
= (wxBrush
*) 0 ;
2064 PyObject
* obj0
= 0 ;
2066 (char *) "self", NULL
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (bool)(arg1
)->Ok();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= PyInt_FromLong((long)result
);
2085 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2088 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2090 return Py_BuildValue((char *)"");
2092 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxString
*arg1
= 0 ;
2095 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2097 bool temp1
= False
;
2098 PyObject
* obj0
= 0 ;
2100 (char *) "name",(char *) "type", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Bitmap",kwnames
,&obj0
,&arg2
)) goto fail
;
2105 arg1
= wxString_in_helper(obj0
);
2106 if (arg1
== NULL
) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2131 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2134 PyObject
* obj0
= 0 ;
2136 (char *) "self", NULL
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2159 int arg3
= (int) -1 ;
2162 (char *) "width",(char *) "height",(char *) "depth", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|i:new_EmptyBitmap",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2180 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
*resultobj
;
2184 PyObject
* obj0
= 0 ;
2186 (char *) "icon", NULL
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2192 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2208 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2211 int arg2
= (int) -1 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "image",(char *) "depth", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_BitmapFromImage",kwnames
,&obj0
,&arg2
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2237 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 PyObject
*arg1
= (PyObject
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2243 (char *) "listOfStrings", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2262 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 PyObject
*arg1
= (PyObject
*) 0 ;
2267 int arg4
= (int) 1 ;
2269 PyObject
* obj0
= 0 ;
2271 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:new_BitmapFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2290 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2293 wxPalette
*arg2
= 0 ;
2294 PyObject
* obj0
= 0 ;
2295 PyObject
* obj1
= 0 ;
2297 (char *) "self",(char *) "palette", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 (arg1
)->SetPalette(*arg2
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2313 Py_INCREF(Py_None
); resultobj
= Py_None
;
2320 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2322 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2324 PyObject
* obj0
= 0 ;
2326 (char *) "self", NULL
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 result
= (long)(arg1
)->GetHandle();
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= PyInt_FromLong((long)result
);
2345 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2349 PyObject
* obj0
= 0 ;
2351 (char *) "self",(char *) "handle", NULL
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Bitmap_SetHandle",kwnames
,&obj0
,&arg2
)) goto fail
;
2355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 (arg1
)->SetHandle(arg2
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2363 Py_INCREF(Py_None
); resultobj
= Py_None
;
2370 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
*resultobj
;
2372 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2376 (char *) "self", NULL
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2383 result
= (bool)(arg1
)->Ok();
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 resultobj
= PyInt_FromLong((long)result
);
2395 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2401 (char *) "self", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (int)(arg1
)->GetWidth();
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2413 resultobj
= PyInt_FromLong((long)result
);
2420 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2426 (char *) "self", NULL
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 result
= (int)(arg1
)->GetHeight();
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2438 resultobj
= PyInt_FromLong((long)result
);
2445 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
*resultobj
;
2447 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2449 PyObject
* obj0
= 0 ;
2451 (char *) "self", NULL
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 result
= (int)(arg1
)->GetDepth();
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 resultobj
= PyInt_FromLong((long)result
);
2470 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2473 SwigValueWrapper
< wxImage
> result
;
2474 PyObject
* obj0
= 0 ;
2476 (char *) "self", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2489 wxImage
* resultptr
;
2490 resultptr
= new wxImage((wxImage
&) result
);
2491 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2499 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
;
2501 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2503 PyObject
* obj0
= 0 ;
2505 (char *) "self", NULL
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2524 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2527 wxMask
*arg2
= (wxMask
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "mask", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 (arg1
)->SetMask(arg2
);
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2544 Py_INCREF(Py_None
); resultobj
= Py_None
;
2551 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
*resultobj
;
2553 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2554 wxColour
*arg2
= 0 ;
2556 PyObject
* obj0
= 0 ;
2557 PyObject
* obj1
= 0 ;
2559 (char *) "self",(char *) "colour", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2575 Py_INCREF(Py_None
); resultobj
= Py_None
;
2582 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2586 SwigValueWrapper
< wxBitmap
> result
;
2588 PyObject
* obj0
= 0 ;
2589 PyObject
* obj1
= 0 ;
2591 (char *) "self",(char *) "rect", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2598 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2608 wxBitmap
* resultptr
;
2609 resultptr
= new wxBitmap((wxBitmap
&) result
);
2610 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2618 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2621 wxString
*arg2
= 0 ;
2623 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2625 bool temp2
= False
;
2626 PyObject
* obj0
= 0 ;
2627 PyObject
* obj1
= 0 ;
2628 PyObject
* obj3
= 0 ;
2630 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2636 arg2
= wxString_in_helper(obj1
);
2637 if (arg2
== NULL
) SWIG_fail
;
2641 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2650 resultobj
= PyInt_FromLong((long)result
);
2665 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2668 wxString
*arg2
= 0 ;
2671 bool temp2
= False
;
2672 PyObject
* obj0
= 0 ;
2673 PyObject
* obj1
= 0 ;
2675 (char *) "self",(char *) "name",(char *) "type", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2681 arg2
= wxString_in_helper(obj1
);
2682 if (arg2
== NULL
) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 resultobj
= PyInt_FromLong((long)result
);
2707 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
*resultobj
;
2709 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2712 PyObject
* obj0
= 0 ;
2713 PyObject
* obj1
= 0 ;
2715 (char *) "self",(char *) "icon", NULL
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2731 resultobj
= PyInt_FromLong((long)result
);
2738 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2742 PyObject
* obj0
= 0 ;
2744 (char *) "self",(char *) "height", NULL
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 (arg1
)->SetHeight(arg2
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 Py_INCREF(Py_None
); resultobj
= Py_None
;
2763 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2767 PyObject
* obj0
= 0 ;
2769 (char *) "self",(char *) "width", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 (arg1
)->SetWidth(arg2
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2781 Py_INCREF(Py_None
); resultobj
= Py_None
;
2788 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2792 PyObject
* obj0
= 0 ;
2794 (char *) "self",(char *) "depth", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 (arg1
)->SetDepth(arg2
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2806 Py_INCREF(Py_None
); resultobj
= Py_None
;
2813 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
*resultobj
;
2815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2816 wxCursor
*arg2
= 0 ;
2818 PyObject
* obj0
= 0 ;
2819 PyObject
* obj1
= 0 ;
2821 (char *) "self",(char *) "cursor", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
2825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2826 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2828 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 resultobj
= PyInt_FromLong((long)result
);
2844 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2846 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2848 PyObject
* obj0
= 0 ;
2850 (char *) "self", NULL
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
2854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 result
= (int)(arg1
)->GetQuality();
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= PyInt_FromLong((long)result
);
2869 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "self",(char *) "q", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetQuality",kwnames
,&obj0
,&arg2
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 (arg1
)->SetQuality(arg2
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2887 Py_INCREF(Py_None
); resultobj
= Py_None
;
2894 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
2896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2897 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
2899 return Py_BuildValue((char *)"");
2901 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2903 wxBitmap
*arg1
= 0 ;
2905 PyObject
* obj0
= 0 ;
2907 (char *) "bitmap", NULL
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
2911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2913 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2929 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 wxBitmap
*arg1
= 0 ;
2932 wxColour
*arg2
= 0 ;
2935 PyObject
* obj0
= 0 ;
2936 PyObject
* obj1
= 0 ;
2938 (char *) "bitmap",(char *) "colour", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2948 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2964 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
2966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2967 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
2969 return Py_BuildValue((char *)"");
2971 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
*resultobj
;
2973 wxString
*arg1
= 0 ;
2975 int arg3
= (int) -1 ;
2976 int arg4
= (int) -1 ;
2978 bool temp1
= False
;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "name",(char *) "flags",(char *) "desiredWidth",(char *) "desiredHeight", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Icon",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2986 arg1
= wxString_in_helper(obj0
);
2987 if (arg1
== NULL
) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3012 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxIcon
*arg1
= (wxIcon
*) 0 ;
3015 PyObject
* obj0
= 0 ;
3017 (char *) "self", NULL
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3029 Py_INCREF(Py_None
); resultobj
= Py_None
;
3036 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 result
= (wxIcon
*)new wxIcon();
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3058 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxIconLocation
*arg1
= 0 ;
3062 PyObject
* obj0
= 0 ;
3064 (char *) "loc", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3074 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3076 wxPyEndAllowThreads(__tstate
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3079 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3086 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxBitmap
*arg1
= 0 ;
3090 PyObject
* obj0
= 0 ;
3092 (char *) "bmp", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3107 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3114 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
*resultobj
;
3116 PyObject
*arg1
= (PyObject
*) 0 ;
3118 PyObject
* obj0
= 0 ;
3120 (char *) "listOfStrings", NULL
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 result
= (wxIcon
*)new_wxIcon(arg1
);
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3139 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxIcon
*arg1
= (wxIcon
*) 0 ;
3142 wxString
*arg2
= 0 ;
3145 bool temp2
= False
;
3146 PyObject
* obj0
= 0 ;
3147 PyObject
* obj1
= 0 ;
3149 (char *) "self",(char *) "name",(char *) "flags", NULL
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3155 arg2
= wxString_in_helper(obj1
);
3156 if (arg2
== NULL
) SWIG_fail
;
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3166 resultobj
= PyInt_FromLong((long)result
);
3181 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxIcon
*arg1
= (wxIcon
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3187 (char *) "self", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 result
= (long)(arg1
)->GetHandle();
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3199 resultobj
= PyInt_FromLong((long)result
);
3206 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxIcon
*arg1
= (wxIcon
*) 0 ;
3210 PyObject
* obj0
= 0 ;
3212 (char *) "self",(char *) "handle", NULL
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Icon_SetHandle",kwnames
,&obj0
,&arg2
)) goto fail
;
3216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 (arg1
)->SetHandle(arg2
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 Py_INCREF(Py_None
); resultobj
= Py_None
;
3231 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxIcon
*arg1
= (wxIcon
*) 0 ;
3235 PyObject
* obj0
= 0 ;
3237 (char *) "self", NULL
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= (bool)(arg1
)->Ok();
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= PyInt_FromLong((long)result
);
3256 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxIcon
*arg1
= (wxIcon
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 result
= (int)(arg1
)->GetWidth();
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= PyInt_FromLong((long)result
);
3281 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxIcon
*arg1
= (wxIcon
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3287 (char *) "self", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 result
= (int)(arg1
)->GetHeight();
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 resultobj
= PyInt_FromLong((long)result
);
3306 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxIcon
*arg1
= (wxIcon
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (int)(arg1
)->GetDepth();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 resultobj
= PyInt_FromLong((long)result
);
3331 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxIcon
*arg1
= (wxIcon
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3337 (char *) "self",(char *) "w", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 (arg1
)->SetWidth(arg2
);
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxIcon
*arg1
= (wxIcon
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3362 (char *) "self",(char *) "h", NULL
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
3366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 (arg1
)->SetHeight(arg2
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 Py_INCREF(Py_None
); resultobj
= Py_None
;
3381 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxIcon
*arg1
= (wxIcon
*) 0 ;
3385 PyObject
* obj0
= 0 ;
3387 (char *) "self",(char *) "d", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 (arg1
)->SetDepth(arg2
);
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 Py_INCREF(Py_None
); resultobj
= Py_None
;
3406 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxIcon
*arg1
= (wxIcon
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3412 PyObject
* obj1
= 0 ;
3414 (char *) "self",(char *) "size", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3421 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 (arg1
)->SetSize((wxSize
const &)*arg2
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 Py_INCREF(Py_None
); resultobj
= Py_None
;
3437 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxIcon
*arg1
= (wxIcon
*) 0 ;
3440 wxBitmap
*arg2
= 0 ;
3441 PyObject
* obj0
= 0 ;
3442 PyObject
* obj1
= 0 ;
3444 (char *) "self",(char *) "bmp", NULL
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3451 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 Py_INCREF(Py_None
); resultobj
= Py_None
;
3467 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3470 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3472 return Py_BuildValue((char *)"");
3474 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3477 int arg2
= (int) 0 ;
3478 wxIconLocation
*result
;
3479 PyObject
* obj0
= 0 ;
3481 (char *) "filename",(char *) "num", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_IconLocation",kwnames
,&obj0
,&arg2
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3502 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3532 (char *) "self", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3539 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3541 wxPyEndAllowThreads(__tstate
);
3542 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= PyInt_FromLong((long)result
);
3551 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
*resultobj
;
3553 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3554 wxString
*arg2
= 0 ;
3555 bool temp2
= False
;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3559 (char *) "self",(char *) "filename", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3565 arg2
= wxString_in_helper(obj1
);
3566 if (arg2
== NULL
) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 (arg1
)->SetFileName((wxString
const &)*arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3591 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3595 PyObject
* obj0
= 0 ;
3597 (char *) "self", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3606 result
= (wxString
*) &_result_ref
;
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3614 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3616 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3625 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
*resultobj
;
3627 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3631 (char *) "self",(char *) "num", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IconLocation_SetIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
3635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 wxIconLocation_SetIndex(arg1
,arg2
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 Py_INCREF(Py_None
); resultobj
= Py_None
;
3650 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3656 (char *) "self", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= (int)wxIconLocation_GetIndex(arg1
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 resultobj
= PyInt_FromLong((long)result
);
3675 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3678 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3680 return Py_BuildValue((char *)"");
3682 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxIconBundle
*result
;
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 result
= (wxIconBundle
*)new wxIconBundle();
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3704 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxString
*arg1
= 0 ;
3708 wxIconBundle
*result
;
3709 bool temp1
= False
;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "file",(char *) "type", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_IconBundleFromFile",kwnames
,&obj0
,&arg2
)) goto fail
;
3717 arg1
= wxString_in_helper(obj0
);
3718 if (arg1
== NULL
) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3743 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3746 wxIconBundle
*result
;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "icon", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3771 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3774 PyObject
* obj0
= 0 ;
3776 (char *) "self", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3788 Py_INCREF(Py_None
); resultobj
= Py_None
;
3795 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3800 PyObject
* obj1
= 0 ;
3802 (char *) "self",(char *) "icon", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3807 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 Py_INCREF(Py_None
); resultobj
= Py_None
;
3825 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3828 wxString
*arg2
= 0 ;
3830 bool temp2
= False
;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3834 (char *) "self",(char *) "file",(char *) "type", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3840 arg2
= wxString_in_helper(obj1
);
3841 if (arg2
== NULL
) SWIG_fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 Py_INCREF(Py_None
); resultobj
= Py_None
;
3866 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
;
3868 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3873 PyObject
* obj1
= 0 ;
3875 (char *) "self",(char *) "size", NULL
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3882 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
3888 result
= (wxIcon
*) &_result_ref
;
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
3901 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
3903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3904 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
3906 return Py_BuildValue((char *)"");
3908 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxString
*arg1
= (wxString
*) 0 ;
3912 int arg3
= (int) 0 ;
3913 int arg4
= (int) 0 ;
3915 PyObject
* obj0
= 0 ;
3917 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Cursor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
3921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3936 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxCursor
*arg1
= (wxCursor
*) 0 ;
3939 PyObject
* obj0
= 0 ;
3941 (char *) "self", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 Py_INCREF(Py_None
); resultobj
= Py_None
;
3960 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_StockCursor",kwnames
,&arg1
)) goto fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (wxCursor
*)new wxCursor(arg1
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3983 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "image", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
3993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3995 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4011 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 PyObject
*arg1
= (PyObject
*) 0 ;
4016 int arg4
= (int) -1 ;
4017 int arg5
= (int) -1 ;
4018 PyObject
*arg6
= (PyObject
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj5
= 0 ;
4023 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiO:new_CursorFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4045 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxCursor
*arg1
= (wxCursor
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "self", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (long)(arg1
)->GetHandle();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= PyInt_FromLong((long)result
);
4070 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
*resultobj
;
4072 wxCursor
*arg1
= (wxCursor
*) 0 ;
4074 PyObject
* obj0
= 0 ;
4076 (char *) "self",(char *) "handle", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Cursor_SetHandle",kwnames
,&obj0
,&arg2
)) goto fail
;
4080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 (arg1
)->SetHandle(arg2
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 Py_INCREF(Py_None
); resultobj
= Py_None
;
4095 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxCursor
*arg1
= (wxCursor
*) 0 ;
4099 PyObject
* obj0
= 0 ;
4101 (char *) "self", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (bool)(arg1
)->Ok();
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= PyInt_FromLong((long)result
);
4120 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
;
4122 wxCursor
*arg1
= (wxCursor
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4126 (char *) "self", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (int)(arg1
)->GetWidth();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= PyInt_FromLong((long)result
);
4145 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxCursor
*arg1
= (wxCursor
*) 0 ;
4149 PyObject
* obj0
= 0 ;
4151 (char *) "self", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (int)(arg1
)->GetHeight();
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= PyInt_FromLong((long)result
);
4170 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxCursor
*arg1
= (wxCursor
*) 0 ;
4174 PyObject
* obj0
= 0 ;
4176 (char *) "self", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 result
= (int)(arg1
)->GetDepth();
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= PyInt_FromLong((long)result
);
4195 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 wxCursor
*arg1
= (wxCursor
*) 0 ;
4199 PyObject
* obj0
= 0 ;
4201 (char *) "self",(char *) "w", NULL
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Cursor_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
4205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 (arg1
)->SetWidth(arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 Py_INCREF(Py_None
); resultobj
= Py_None
;
4220 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxCursor
*arg1
= (wxCursor
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4226 (char *) "self",(char *) "h", NULL
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Cursor_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
4230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 (arg1
)->SetHeight(arg2
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxCursor
*arg1
= (wxCursor
*) 0 ;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "self",(char *) "d", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Cursor_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 (arg1
)->SetDepth(arg2
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 Py_INCREF(Py_None
); resultobj
= Py_None
;
4270 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4272 wxCursor
*arg1
= (wxCursor
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4278 (char *) "self",(char *) "size", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4285 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetSize((wxSize
const &)*arg2
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 Py_INCREF(Py_None
); resultobj
= Py_None
;
4301 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4304 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4306 return Py_BuildValue((char *)"");
4308 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 int arg1
= (int) 0 ;
4311 int arg2
= (int) 0 ;
4312 int arg3
= (int) 0 ;
4313 int arg4
= (int) 0 ;
4316 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Region",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4334 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxBitmap
*arg1
= 0 ;
4337 wxColour
const &arg2_defvalue
= wxNullColour
;
4338 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4339 int arg3
= (int) 0 ;
4342 PyObject
* obj0
= 0 ;
4343 PyObject
* obj1
= 0 ;
4345 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4351 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4356 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4373 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4376 wxPoint
*arg2
= (wxPoint
*) 0 ;
4377 int arg3
= (int) wxWINDING_RULE
;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "points",(char *) "fillStyle", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_RegionFromPoints",kwnames
,&obj0
,&arg3
)) goto fail
;
4386 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4387 if (arg2
== NULL
) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4398 if (arg2
) delete [] arg2
;
4403 if (arg2
) delete [] arg2
;
4409 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxRegion
*arg1
= (wxRegion
*) 0 ;
4412 PyObject
* obj0
= 0 ;
4414 (char *) "self", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 Py_INCREF(Py_None
); resultobj
= Py_None
;
4433 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxRegion
*arg1
= (wxRegion
*) 0 ;
4436 PyObject
* obj0
= 0 ;
4438 (char *) "self", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 Py_INCREF(Py_None
); resultobj
= Py_None
;
4457 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxRegion
*arg1
= (wxRegion
*) 0 ;
4463 PyObject
* obj0
= 0 ;
4465 (char *) "self",(char *) "x",(char *) "y", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Offset",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 resultobj
= PyInt_FromLong((long)result
);
4484 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxRegion
*arg1
= (wxRegion
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4492 (char *) "self",(char *) "x",(char *) "y", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Contains",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= PyInt_FromLong((long)result
);
4511 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxRegion
*arg1
= (wxRegion
*) 0 ;
4517 PyObject
* obj0
= 0 ;
4518 PyObject
* obj1
= 0 ;
4520 (char *) "self",(char *) "pt", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= PyInt_FromLong((long)result
);
4543 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxRegion
*arg1
= (wxRegion
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4552 (char *) "self",(char *) "rect", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4559 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= PyInt_FromLong((long)result
);
4575 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxRegion
*arg1
= (wxRegion
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_ContainsRectDim",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= PyInt_FromLong((long)result
);
4604 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxRegion
*arg1
= (wxRegion
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4610 (char *) "self", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (arg1
)->GetBox();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4624 resultptr
= new wxRect((wxRect
&) result
);
4625 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4633 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxRegion
*arg1
= (wxRegion
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Intersect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= PyInt_FromLong((long)result
);
4662 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxRegion
*arg1
= (wxRegion
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4671 (char *) "self",(char *) "rect", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4678 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= PyInt_FromLong((long)result
);
4694 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
*resultobj
;
4696 wxRegion
*arg1
= (wxRegion
*) 0 ;
4697 wxRegion
*arg2
= 0 ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4702 (char *) "self",(char *) "region", NULL
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4709 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 resultobj
= PyInt_FromLong((long)result
);
4725 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxRegion
*arg1
= (wxRegion
*) 0 ;
4729 PyObject
* obj0
= 0 ;
4731 (char *) "self", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (bool)(arg1
)->IsEmpty();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= PyInt_FromLong((long)result
);
4750 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 wxRegion
*arg1
= (wxRegion
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4760 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Union",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= PyInt_FromLong((long)result
);
4779 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 wxRegion
*arg1
= (wxRegion
*) 0 ;
4785 PyObject
* obj0
= 0 ;
4786 PyObject
* obj1
= 0 ;
4788 (char *) "self",(char *) "rect", NULL
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4795 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= PyInt_FromLong((long)result
);
4811 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxRegion
*arg1
= (wxRegion
*) 0 ;
4814 wxRegion
*arg2
= 0 ;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4819 (char *) "self",(char *) "region", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4826 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= PyInt_FromLong((long)result
);
4842 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxRegion
*arg1
= (wxRegion
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4852 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Subtract",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= PyInt_FromLong((long)result
);
4871 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
;
4873 wxRegion
*arg1
= (wxRegion
*) 0 ;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4880 (char *) "self",(char *) "rect", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4887 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= PyInt_FromLong((long)result
);
4903 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxRegion
*arg1
= (wxRegion
*) 0 ;
4906 wxRegion
*arg2
= 0 ;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4911 (char *) "self",(char *) "region", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= PyInt_FromLong((long)result
);
4934 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxRegion
*arg1
= (wxRegion
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Xor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= PyInt_FromLong((long)result
);
4963 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxRegion
*arg1
= (wxRegion
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4972 (char *) "self",(char *) "rect", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4979 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= PyInt_FromLong((long)result
);
4995 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxRegion
*arg1
= (wxRegion
*) 0 ;
4998 wxRegion
*arg2
= 0 ;
5000 PyObject
* obj0
= 0 ;
5001 PyObject
* obj1
= 0 ;
5003 (char *) "self",(char *) "region", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5010 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= PyInt_FromLong((long)result
);
5026 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxRegion
*arg1
= (wxRegion
*) 0 ;
5029 SwigValueWrapper
< wxBitmap
> result
;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (arg1
)->ConvertToBitmap();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 wxBitmap
* resultptr
;
5046 resultptr
= new wxBitmap((wxBitmap
&) result
);
5047 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5055 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxRegion
*arg1
= (wxRegion
*) 0 ;
5058 wxBitmap
*arg2
= 0 ;
5059 wxColour
const &arg3_defvalue
= wxNullColour
;
5060 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5061 int arg4
= (int) 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 PyObject
* obj2
= 0 ;
5068 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5080 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= PyInt_FromLong((long)result
);
5097 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5100 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5102 return Py_BuildValue((char *)"");
5104 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxRegion
*arg1
= 0 ;
5107 wxRegionIterator
*result
;
5108 PyObject
* obj0
= 0 ;
5110 (char *) "region", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5116 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5132 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5137 (char *) "self", NULL
5140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 Py_INCREF(Py_None
); resultobj
= Py_None
;
5156 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (int)(arg1
)->GetX();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= PyInt_FromLong((long)result
);
5181 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (int)(arg1
)->GetY();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= PyInt_FromLong((long)result
);
5206 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (int)(arg1
)->GetW();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= PyInt_FromLong((long)result
);
5231 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "self", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 result
= (int)(arg1
)->GetWidth();
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= PyInt_FromLong((long)result
);
5256 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "self", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (int)(arg1
)->GetH();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= PyInt_FromLong((long)result
);
5281 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5287 (char *) "self", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (int)(arg1
)->GetHeight();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= PyInt_FromLong((long)result
);
5306 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5310 PyObject
* obj0
= 0 ;
5312 (char *) "self", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (arg1
)->GetRect();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5326 resultptr
= new wxRect((wxRect
&) result
);
5327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5335 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5339 PyObject
* obj0
= 0 ;
5341 (char *) "self", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= (bool)(arg1
)->HaveRects();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= PyInt_FromLong((long)result
);
5360 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5365 (char *) "self", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5389 (char *) "self", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 wxRegionIterator_Next(arg1
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 Py_INCREF(Py_None
); resultobj
= Py_None
;
5408 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5412 PyObject
* obj0
= 0 ;
5414 (char *) "self", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= PyInt_FromLong((long)result
);
5433 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5436 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5438 return Py_BuildValue((char *)"");
5440 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
;
5442 wxNativeFontInfo
*result
;
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5462 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 Py_INCREF(Py_None
); resultobj
= Py_None
;
5486 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
;
5488 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5491 (char *) "self", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5517 (char *) "self",(char *) "font", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 Py_INCREF(Py_None
); resultobj
= Py_None
;
5540 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= PyInt_FromLong((long)result
);
5565 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5571 (char *) "self", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= PyInt_FromLong((long)result
);
5590 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5596 (char *) "self", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= PyInt_FromLong((long)result
);
5615 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5619 PyObject
* obj0
= 0 ;
5621 (char *) "self", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= PyInt_FromLong((long)result
);
5640 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5644 PyObject
* obj0
= 0 ;
5646 (char *) "self", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5671 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5677 (char *) "self", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= PyInt_FromLong((long)result
);
5696 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5700 PyObject
* obj0
= 0 ;
5702 (char *) "self", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= PyInt_FromLong((long)result
);
5721 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5727 (char *) "self",(char *) "pointsize", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 (arg1
)->SetPointSize(arg2
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self",(char *) "style", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5777 (char *) "self",(char *) "weight", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 Py_INCREF(Py_None
); resultobj
= Py_None
;
5796 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5803 (char *) "self",(char *) "underlined", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5808 arg2
= PyInt_AsLong(obj1
) ? true : false;
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 (arg1
)->SetUnderlined(arg2
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 Py_INCREF(Py_None
); resultobj
= Py_None
;
5824 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5831 (char *) "self",(char *) "facename", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5837 wxString
* sptr
= wxString_in_helper(obj1
);
5838 if (sptr
== NULL
) SWIG_fail
;
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 (arg1
)->SetFaceName(arg2
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 Py_INCREF(Py_None
); resultobj
= Py_None
;
5856 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
;
5858 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5860 PyObject
* obj0
= 0 ;
5862 (char *) "self",(char *) "family", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 (arg1
)->SetFamily((wxFontFamily
)arg2
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 Py_INCREF(Py_None
); resultobj
= Py_None
;
5881 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5885 PyObject
* obj0
= 0 ;
5887 (char *) "self",(char *) "encoding", NULL
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
5891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 Py_INCREF(Py_None
); resultobj
= Py_None
;
5906 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5909 wxString
*arg2
= 0 ;
5911 bool temp2
= False
;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5915 (char *) "self",(char *) "s", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 arg2
= wxString_in_helper(obj1
);
5922 if (arg2
== NULL
) SWIG_fail
;
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5929 wxPyEndAllowThreads(__tstate
);
5930 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= PyInt_FromLong((long)result
);
5947 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5978 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5984 (char *) "self", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= wxNativeFontInfo___str__(arg1
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6009 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6012 wxString
*arg2
= 0 ;
6014 bool temp2
= False
;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6018 (char *) "self",(char *) "s", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6024 arg2
= wxString_in_helper(obj1
);
6025 if (arg2
== NULL
) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= PyInt_FromLong((long)result
);
6050 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6056 (char *) "self", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6081 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6084 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6086 return Py_BuildValue((char *)"");
6088 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6095 (char *) "self",(char *) "facename", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6101 wxString
* sptr
= wxString_in_helper(obj1
);
6102 if (sptr
== NULL
) SWIG_fail
;
6106 if (arg1
) (arg1
)->facename
= arg2
;
6108 Py_INCREF(Py_None
); resultobj
= Py_None
;
6115 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6119 PyObject
* obj0
= 0 ;
6121 (char *) "self", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6126 result
= ((arg1
)->facename
);
6130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6141 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6147 (char *) "self",(char *) "encoding", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&arg2
)) goto fail
;
6151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6152 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6172 result
= (int) ((arg1
)->encoding
);
6174 resultobj
= PyInt_FromLong((long)result
);
6181 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxNativeEncodingInfo
*result
;
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6203 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6208 (char *) "self", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 Py_INCREF(Py_None
); resultobj
= Py_None
;
6227 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
;
6229 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6230 wxString
*arg2
= 0 ;
6232 bool temp2
= False
;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6236 (char *) "self",(char *) "s", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6242 arg2
= wxString_in_helper(obj1
);
6243 if (arg2
== NULL
) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= PyInt_FromLong((long)result
);
6268 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6299 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6302 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6304 return Py_BuildValue((char *)"");
6306 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6309 wxNativeEncodingInfo
*result
;
6311 (char *) "encoding", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetNativeFontEncoding",kwnames
,&arg1
)) goto fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6329 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxNativeEncodingInfo
*arg1
= 0 ;
6333 PyObject
* obj0
= 0 ;
6335 (char *) "info", NULL
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= PyInt_FromLong((long)result
);
6357 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxFontMapper
*result
;
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxFontMapper
*)new wxFontMapper();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6379 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
;
6381 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6382 PyObject
* obj0
= 0 ;
6384 (char *) "self", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 Py_INCREF(Py_None
); resultobj
= Py_None
;
6403 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxFontMapper
*result
;
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (wxFontMapper
*)wxFontMapper::Get();
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6425 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6428 wxFontMapper
*result
;
6429 PyObject
* obj0
= 0 ;
6431 (char *) "mapper", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6450 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6453 wxString
*arg2
= 0 ;
6454 bool arg3
= (bool) True
;
6456 bool temp2
= False
;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6459 PyObject
* obj2
= 0 ;
6461 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6467 arg2
= wxString_in_helper(obj1
);
6468 if (arg2
== NULL
) SWIG_fail
;
6472 arg3
= PyInt_AsLong(obj2
) ? true : false;
6473 if (PyErr_Occurred()) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= PyInt_FromLong((long)result
);
6497 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= PyInt_FromLong((long)result
);
6519 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6523 PyObject
* obj0
= 0 ;
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6529 arg1
= (size_t) PyInt_AsLong(obj0
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (int)wxFontMapper::GetEncoding(arg1
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= PyInt_FromLong((long)result
);
6545 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6550 (char *) "encoding", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingName",kwnames
,&arg1
)) goto fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6574 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6579 (char *) "encoding", NULL
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingDescription",kwnames
,&arg1
)) goto fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6603 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6606 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6610 (char *) "self",(char *) "config", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 (arg1
)->SetConfig(arg2
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 Py_INCREF(Py_None
); resultobj
= Py_None
;
6630 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6633 wxString
*arg2
= 0 ;
6634 bool temp2
= False
;
6635 PyObject
* obj0
= 0 ;
6636 PyObject
* obj1
= 0 ;
6638 (char *) "self",(char *) "prefix", NULL
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6644 arg2
= wxString_in_helper(obj1
);
6645 if (arg2
== NULL
) SWIG_fail
;
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6655 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 result
= wxFontMapper::GetDefaultConfigPath();
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6698 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6702 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6703 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6704 bool arg4
= (bool) True
;
6706 bool temp3
= False
;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj2
= 0 ;
6709 PyObject
* obj3
= 0 ;
6711 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6718 arg3
= wxString_in_helper(obj2
);
6719 if (arg3
== NULL
) SWIG_fail
;
6724 arg4
= PyInt_AsLong(obj3
) ? true : false;
6725 if (PyErr_Occurred()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6749 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6753 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6754 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6756 bool temp3
= False
;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj2
= 0 ;
6760 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6767 arg3
= wxString_in_helper(obj2
);
6768 if (arg3
== NULL
) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= PyInt_FromLong((long)result
);
6794 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6797 wxWindow
*arg2
= (wxWindow
*) 0 ;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6801 (char *) "self",(char *) "parent", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 (arg1
)->SetDialogParent(arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 Py_INCREF(Py_None
); resultobj
= Py_None
;
6821 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6824 wxString
*arg2
= 0 ;
6825 bool temp2
= False
;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6829 (char *) "self",(char *) "title", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6835 arg2
= wxString_in_helper(obj1
);
6836 if (arg2
== NULL
) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 Py_INCREF(Py_None
); resultobj
= Py_None
;
6861 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
6863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6864 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
6866 return Py_BuildValue((char *)"");
6868 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6874 bool arg5
= (bool) False
;
6875 wxString
const &arg6_defvalue
= wxPyEmptyString
;
6876 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6877 int arg7
= (int) wxFONTENCODING_DEFAULT
;
6879 bool temp6
= False
;
6880 PyObject
* obj4
= 0 ;
6881 PyObject
* obj5
= 0 ;
6883 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiii|OOi:new_Font",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
6888 arg5
= PyInt_AsLong(obj4
) ? true : false;
6889 if (PyErr_Occurred()) SWIG_fail
;
6893 arg6
= wxString_in_helper(obj5
);
6894 if (arg6
== NULL
) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6920 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxFont
*arg1
= (wxFont
*) 0 ;
6923 PyObject
* obj0
= 0 ;
6925 (char *) "self", NULL
6928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
6929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 Py_INCREF(Py_None
); resultobj
= Py_None
;
6944 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
;
6946 wxNativeFontInfo
*arg1
= 0 ;
6948 PyObject
* obj0
= 0 ;
6950 (char *) "info", NULL
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
6954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6972 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxString
*arg1
= 0 ;
6976 bool temp1
= False
;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "info", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
6984 arg1
= wxString_in_helper(obj0
);
6985 if (arg1
== NULL
) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7010 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7014 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7015 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7016 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7017 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7019 bool temp4
= False
;
7020 PyObject
* obj3
= 0 ;
7022 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|iOi:new_Font2",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
7028 arg4
= wxString_in_helper(obj3
);
7029 if (arg4
== NULL
) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7055 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxFont
*arg1
= (wxFont
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "self", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (bool)((wxFont
const *)arg1
)->Ok();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= PyInt_FromLong((long)result
);
7080 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7082 wxFont
*arg1
= (wxFont
*) 0 ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7088 (char *) "self",(char *) "font", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7095 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= PyInt_FromLong((long)result
);
7111 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxFont
*arg1
= (wxFont
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7119 (char *) "self",(char *) "font", NULL
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7124 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7126 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= PyInt_FromLong((long)result
);
7142 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxFont
*arg1
= (wxFont
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "self", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= PyInt_FromLong((long)result
);
7167 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
;
7169 wxFont
*arg1
= (wxFont
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7173 (char *) "self", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= PyInt_FromLong((long)result
);
7192 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxFont
*arg1
= (wxFont
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7198 (char *) "self", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyInt_FromLong((long)result
);
7217 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxFont
*arg1
= (wxFont
*) 0 ;
7221 PyObject
* obj0
= 0 ;
7223 (char *) "self", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= PyInt_FromLong((long)result
);
7242 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7244 wxFont
*arg1
= (wxFont
*) 0 ;
7246 PyObject
* obj0
= 0 ;
7248 (char *) "self", NULL
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= PyInt_FromLong((long)result
);
7267 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxFont
*arg1
= (wxFont
*) 0 ;
7271 PyObject
* obj0
= 0 ;
7273 (char *) "self", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= ((wxFont
const *)arg1
)->GetFaceName();
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7298 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxFont
*arg1
= (wxFont
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7304 (char *) "self", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= PyInt_FromLong((long)result
);
7323 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxFont
*arg1
= (wxFont
*) 0 ;
7326 wxNativeFontInfo
*result
;
7327 PyObject
* obj0
= 0 ;
7329 (char *) "self", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7348 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxFont
*arg1
= (wxFont
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= PyInt_FromLong((long)result
);
7373 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxFont
*arg1
= (wxFont
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7404 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxFont
*arg1
= (wxFont
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7435 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxFont
*arg1
= (wxFont
*) 0 ;
7439 PyObject
* obj0
= 0 ;
7441 (char *) "self",(char *) "pointSize", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
7445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 (arg1
)->SetPointSize(arg2
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxFont
*arg1
= (wxFont
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7466 (char *) "self",(char *) "family", NULL
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
7470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 (arg1
)->SetFamily(arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7485 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxFont
*arg1
= (wxFont
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self",(char *) "style", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
7495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 (arg1
)->SetStyle(arg2
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 Py_INCREF(Py_None
); resultobj
= Py_None
;
7510 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxFont
*arg1
= (wxFont
*) 0 ;
7514 PyObject
* obj0
= 0 ;
7516 (char *) "self",(char *) "weight", NULL
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
7520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 (arg1
)->SetWeight(arg2
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7535 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxFont
*arg1
= (wxFont
*) 0 ;
7538 wxString
*arg2
= 0 ;
7539 bool temp2
= False
;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7543 (char *) "self",(char *) "faceName", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7549 arg2
= wxString_in_helper(obj1
);
7550 if (arg2
== NULL
) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 Py_INCREF(Py_None
); resultobj
= Py_None
;
7575 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxFont
*arg1
= (wxFont
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7580 PyObject
* obj1
= 0 ;
7582 (char *) "self",(char *) "underlined", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7587 arg2
= PyInt_AsLong(obj1
) ? true : false;
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 (arg1
)->SetUnderlined(arg2
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 Py_INCREF(Py_None
); resultobj
= Py_None
;
7603 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxFont
*arg1
= (wxFont
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7609 (char *) "self",(char *) "encoding", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 Py_INCREF(Py_None
); resultobj
= Py_None
;
7628 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7630 wxFont
*arg1
= (wxFont
*) 0 ;
7631 wxNativeFontInfo
*arg2
= 0 ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7635 (char *) "self",(char *) "info", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 Py_INCREF(Py_None
); resultobj
= Py_None
;
7658 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxFont
*arg1
= (wxFont
*) 0 ;
7661 wxString
*arg2
= 0 ;
7662 bool temp2
= False
;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7666 (char *) "self",(char *) "info", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7672 arg2
= wxString_in_helper(obj1
);
7673 if (arg2
== NULL
) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 Py_INCREF(Py_None
); resultobj
= Py_None
;
7698 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
;
7700 wxFont
*arg1
= (wxFont
*) 0 ;
7701 wxString
*arg2
= 0 ;
7702 bool temp2
= False
;
7703 PyObject
* obj0
= 0 ;
7704 PyObject
* obj1
= 0 ;
7706 (char *) "self",(char *) "info", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
7710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7712 arg2
= wxString_in_helper(obj1
);
7713 if (arg2
== NULL
) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 Py_INCREF(Py_None
); resultobj
= Py_None
;
7738 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7740 wxFont
*arg1
= (wxFont
*) 0 ;
7742 PyObject
* obj0
= 0 ;
7744 (char *) "self", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
7748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= ((wxFont
const *)arg1
)->GetFamilyString();
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7769 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxFont
*arg1
= (wxFont
*) 0 ;
7773 PyObject
* obj0
= 0 ;
7775 (char *) "self", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= ((wxFont
const *)arg1
)->GetStyleString();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7800 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxFont
*arg1
= (wxFont
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "self", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 result
= ((wxFont
const *)arg1
)->GetWeightString();
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7831 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxFont
*arg1
= (wxFont
*) 0 ;
7834 bool arg2
= (bool) True
;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7838 (char *) "self",(char *) "no", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7844 arg2
= PyInt_AsLong(obj1
) ? true : false;
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 (arg1
)->SetNoAntiAliasing(arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 Py_INCREF(Py_None
); resultobj
= Py_None
;
7861 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxFont
*arg1
= (wxFont
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "self", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (bool)(arg1
)->GetNoAntiAliasing();
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= PyInt_FromLong((long)result
);
7886 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (int)wxFont::GetDefaultEncoding();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= PyInt_FromLong((long)result
);
7908 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7912 (char *) "encoding", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Font_SetDefaultEncoding",kwnames
,&arg1
)) goto fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 Py_INCREF(Py_None
); resultobj
= Py_None
;
7930 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
7932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7933 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
7935 return Py_BuildValue((char *)"");
7937 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7939 wxPyFontEnumerator
*result
;
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
7959 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7962 PyObject
* obj0
= 0 ;
7964 (char *) "self", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
7968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7986 PyObject
*arg2
= (PyObject
*) 0 ;
7987 PyObject
*arg3
= (PyObject
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 PyObject
* obj2
= 0 ;
7992 PyObject
* obj3
= 0 ;
7994 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8001 arg4
= PyInt_AsLong(obj3
) ? true : false;
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 Py_INCREF(Py_None
); resultobj
= Py_None
;
8017 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8020 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8021 bool arg3
= (bool) False
;
8023 PyObject
* obj0
= 0 ;
8024 PyObject
* obj2
= 0 ;
8026 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8032 arg3
= PyInt_AsLong(obj2
) ? true : false;
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= PyInt_FromLong((long)result
);
8049 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8052 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8053 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8055 bool temp2
= False
;
8056 PyObject
* obj0
= 0 ;
8057 PyObject
* obj1
= 0 ;
8059 (char *) "self",(char *) "facename", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8066 arg2
= wxString_in_helper(obj1
);
8067 if (arg2
== NULL
) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= PyInt_FromLong((long)result
);
8093 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8118 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8124 (char *) "self", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8143 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8146 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8148 return Py_BuildValue((char *)"");
8150 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
;
8152 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8156 (char *) "self",(char *) "Language", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:LanguageInfo_Language_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8161 if (arg1
) (arg1
)->Language
= arg2
;
8163 Py_INCREF(Py_None
); resultobj
= Py_None
;
8170 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8176 (char *) "self", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8181 result
= (int) ((arg1
)->Language
);
8183 resultobj
= PyInt_FromLong((long)result
);
8190 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8195 PyObject
* obj1
= 0 ;
8197 (char *) "self",(char *) "CanonicalName", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8203 wxString
* sptr
= wxString_in_helper(obj1
);
8204 if (sptr
== NULL
) SWIG_fail
;
8208 if (arg1
) (arg1
)->CanonicalName
= arg2
;
8210 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8223 (char *) "self", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8228 result
= ((arg1
)->CanonicalName
);
8232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8243 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8248 PyObject
* obj1
= 0 ;
8250 (char *) "self",(char *) "Description", NULL
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8256 wxString
* sptr
= wxString_in_helper(obj1
);
8257 if (sptr
== NULL
) SWIG_fail
;
8261 if (arg1
) (arg1
)->Description
= arg2
;
8263 Py_INCREF(Py_None
); resultobj
= Py_None
;
8270 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8276 (char *) "self", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8281 result
= ((arg1
)->Description
);
8285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8296 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8299 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8301 return Py_BuildValue((char *)"");
8303 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8306 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8309 (char *) "language",(char *) "flags", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Locale",kwnames
,&arg1
,&arg2
)) goto fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8327 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
;
8329 wxLocale
*arg1
= (wxLocale
*) 0 ;
8330 PyObject
* obj0
= 0 ;
8332 (char *) "self", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 Py_INCREF(Py_None
); resultobj
= Py_None
;
8351 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxLocale
*arg1
= (wxLocale
*) 0 ;
8354 wxString
*arg2
= 0 ;
8355 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8356 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8357 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8358 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8359 bool arg5
= (bool) True
;
8360 bool arg6
= (bool) False
;
8362 bool temp2
= False
;
8363 bool temp3
= False
;
8364 bool temp4
= False
;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 PyObject
* obj2
= 0 ;
8368 PyObject
* obj3
= 0 ;
8369 PyObject
* obj4
= 0 ;
8370 PyObject
* obj5
= 0 ;
8372 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8378 arg2
= wxString_in_helper(obj1
);
8379 if (arg2
== NULL
) SWIG_fail
;
8384 arg3
= wxString_in_helper(obj2
);
8385 if (arg3
== NULL
) SWIG_fail
;
8391 arg4
= wxString_in_helper(obj3
);
8392 if (arg4
== NULL
) SWIG_fail
;
8397 arg5
= PyInt_AsLong(obj4
) ? true : false;
8398 if (PyErr_Occurred()) SWIG_fail
;
8401 arg6
= PyInt_AsLong(obj5
) ? true : false;
8402 if (PyErr_Occurred()) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= PyInt_FromLong((long)result
);
8442 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxLocale
*arg1
= (wxLocale
*) 0 ;
8445 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8446 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8448 PyObject
* obj0
= 0 ;
8450 (char *) "self",(char *) "language",(char *) "flags", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:Locale_Init2",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 resultobj
= PyInt_FromLong((long)result
);
8469 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (int)wxLocale::GetSystemLanguage();
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= PyInt_FromLong((long)result
);
8491 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 result
= (int)wxLocale::GetSystemEncoding();
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= PyInt_FromLong((long)result
);
8513 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
;
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 result
= wxLocale::GetSystemEncodingName();
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8541 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxLocale
*arg1
= (wxLocale
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8547 (char *) "self", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= PyInt_FromLong((long)result
);
8566 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxLocale
*arg1
= (wxLocale
*) 0 ;
8570 PyObject
* obj0
= 0 ;
8572 (char *) "self", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= ((wxLocale
const *)arg1
)->GetLocale();
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8597 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxLocale
*arg1
= (wxLocale
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8603 (char *) "self", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8612 wxPyEndAllowThreads(__tstate
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= PyInt_FromLong((long)result
);
8622 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxLocale
*arg1
= (wxLocale
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8628 (char *) "self", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= ((wxLocale
const *)arg1
)->GetSysName();
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8653 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxLocale
*arg1
= (wxLocale
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8659 (char *) "self", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
8663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8684 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxString
*arg1
= 0 ;
8687 bool temp1
= False
;
8688 PyObject
* obj0
= 0 ;
8690 (char *) "prefix", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
8695 arg1
= wxString_in_helper(obj0
);
8696 if (arg1
== NULL
) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 Py_INCREF(Py_None
); resultobj
= Py_None
;
8721 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxLocale
*arg1
= (wxLocale
*) 0 ;
8724 wxString
*arg2
= 0 ;
8726 bool temp2
= False
;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8730 (char *) "self",(char *) "szDomain", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8736 arg2
= wxString_in_helper(obj1
);
8737 if (arg2
== NULL
) SWIG_fail
;
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= PyInt_FromLong((long)result
);
8762 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxLocale
*arg1
= (wxLocale
*) 0 ;
8765 wxString
*arg2
= 0 ;
8767 bool temp2
= False
;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8771 (char *) "self",(char *) "szDomain", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8777 arg2
= wxString_in_helper(obj1
);
8778 if (arg2
== NULL
) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= PyInt_FromLong((long)result
);
8803 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8806 wxLanguageInfo
*result
;
8808 (char *) "lang", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageInfo",kwnames
,&arg1
)) goto fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8826 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8831 (char *) "lang", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageName",kwnames
,&arg1
)) goto fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= wxLocale::GetLanguageName(arg1
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8855 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxString
*arg1
= 0 ;
8858 wxLanguageInfo
*result
;
8859 bool temp1
= False
;
8860 PyObject
* obj0
= 0 ;
8862 (char *) "locale", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
8867 arg1
= wxString_in_helper(obj0
);
8868 if (arg1
== NULL
) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8893 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxLanguageInfo
*arg1
= 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "info", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 Py_INCREF(Py_None
); resultobj
= Py_None
;
8920 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxLocale
*arg1
= (wxLocale
*) 0 ;
8923 wxString
*arg2
= 0 ;
8924 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8925 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8927 bool temp2
= False
;
8928 bool temp3
= False
;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 PyObject
* obj2
= 0 ;
8933 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8939 arg2
= wxString_in_helper(obj1
);
8940 if (arg2
== NULL
) SWIG_fail
;
8945 arg3
= wxString_in_helper(obj2
);
8946 if (arg3
== NULL
) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8986 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxLocale
*arg1
= (wxLocale
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9001 result
= (wxString
*) &_result_ref
;
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9011 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9020 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9023 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9025 return Py_BuildValue((char *)"");
9027 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (wxLocale
*)wxGetLocale();
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9049 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9050 PyObject
*resultobj
;
9051 wxString
*arg1
= 0 ;
9053 bool temp1
= False
;
9054 PyObject
* obj0
= 0 ;
9056 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9058 arg1
= wxString_in_helper(obj0
);
9059 if (arg1
== NULL
) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 result
= wxGetTranslation((wxString
const &)*arg1
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9090 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9091 PyObject
*resultobj
;
9092 wxString
*arg1
= 0 ;
9093 wxString
*arg2
= 0 ;
9096 bool temp1
= False
;
9097 bool temp2
= False
;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9102 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9104 arg1
= wxString_in_helper(obj0
);
9105 if (arg1
== NULL
) SWIG_fail
;
9109 arg2
= wxString_in_helper(obj1
);
9110 if (arg2
== NULL
) SWIG_fail
;
9113 arg3
= (size_t) PyInt_AsLong(obj2
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9151 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9156 argc
= PyObject_Length(args
);
9157 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9158 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9164 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9172 return _wrap_GetTranslation__SWIG_0(self
,args
);
9179 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9189 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
9198 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
9201 return _wrap_GetTranslation__SWIG_1(self
,args
);
9207 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9212 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxEncodingConverter
*result
;
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9234 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9237 PyObject
* obj0
= 0 ;
9239 (char *) "self", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9263 int arg4
= (int) wxCONVERT_STRICT
;
9265 PyObject
* obj0
= 0 ;
9267 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:EncodingConverter_Init",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= PyInt_FromLong((long)result
);
9286 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9289 wxString
*arg2
= 0 ;
9291 bool temp2
= False
;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9295 (char *) "self",(char *) "input", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9301 arg2
= wxString_in_helper(obj1
);
9302 if (arg2
== NULL
) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9333 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9336 int arg2
= (int) wxPLATFORM_CURRENT
;
9337 wxFontEncodingArray result
;
9339 (char *) "enc",(char *) "platform", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:EncodingConverter_GetPlatformEquivalents",kwnames
,&arg1
,&arg2
)) goto fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= PyList_New(0);
9352 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9353 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9354 PyList_Append(resultobj
, number
);
9364 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9367 wxFontEncodingArray result
;
9369 (char *) "enc", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:EncodingConverter_GetAllEquivalents",kwnames
,&arg1
)) goto fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= PyList_New(0);
9382 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9383 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9384 PyList_Append(resultobj
, number
);
9394 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9400 (char *) "encIn",(char *) "encOut", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii:EncodingConverter_CanConvert",kwnames
,&arg1
,&arg2
)) goto fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= PyInt_FromLong((long)result
);
9418 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
9420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9421 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
9423 return Py_BuildValue((char *)"");
9425 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxDC
*arg1
= (wxDC
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9430 (char *) "self", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 Py_INCREF(Py_None
); resultobj
= Py_None
;
9449 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxDC
*arg1
= (wxDC
*) 0 ;
9452 PyObject
* obj0
= 0 ;
9454 (char *) "self", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->BeginDrawing();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 Py_INCREF(Py_None
); resultobj
= Py_None
;
9473 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxDC
*arg1
= (wxDC
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9478 (char *) "self", NULL
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 (arg1
)->EndDrawing();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 Py_INCREF(Py_None
); resultobj
= Py_None
;
9497 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxDC
*arg1
= (wxDC
*) 0 ;
9502 wxColour
*arg4
= 0 ;
9503 int arg5
= (int) wxFLOOD_SURFACE
;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj3
= 0 ;
9509 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO|i:DC_FloodFillXY",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
9513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9516 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= PyInt_FromLong((long)result
);
9532 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxDC
*arg1
= (wxDC
*) 0 ;
9536 wxColour
*arg3
= 0 ;
9537 int arg4
= (int) wxFLOOD_SURFACE
;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 PyObject
* obj2
= 0 ;
9545 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
9549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9556 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= PyInt_FromLong((long)result
);
9572 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxDC
*arg1
= (wxDC
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self",(char *) "x",(char *) "y", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_GetPixelXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9593 wxColour
* resultptr
;
9594 resultptr
= new wxColour((wxColour
&) result
);
9595 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9603 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxDC
*arg1
= (wxDC
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9612 (char *) "self",(char *) "pt", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 wxColour
* resultptr
;
9630 resultptr
= new wxColour((wxColour
&) result
);
9631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9639 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxDC
*arg1
= (wxDC
*) 0 ;
9646 PyObject
* obj0
= 0 ;
9648 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawLineXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 Py_INCREF(Py_None
); resultobj
= Py_None
;
9667 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxDC
*arg1
= (wxDC
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 PyObject
* obj2
= 0 ;
9678 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9689 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 Py_INCREF(Py_None
); resultobj
= Py_None
;
9705 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxDC
*arg1
= (wxDC
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9712 (char *) "self",(char *) "x",(char *) "y", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CrossHairXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 (arg1
)->CrossHair(arg2
,arg3
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 Py_INCREF(Py_None
); resultobj
= Py_None
;
9731 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxDC
*arg1
= (wxDC
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9737 PyObject
* obj1
= 0 ;
9739 (char *) "self",(char *) "pt", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxDC
*arg1
= (wxDC
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiiii:DC_DrawArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 Py_INCREF(Py_None
); resultobj
= Py_None
;
9792 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxDC
*arg1
= (wxDC
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9803 PyObject
* obj2
= 0 ;
9804 PyObject
* obj3
= 0 ;
9806 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9821 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 Py_INCREF(Py_None
); resultobj
= Py_None
;
9837 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxDC
*arg1
= (wxDC
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawCheckMarkXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 Py_INCREF(Py_None
); resultobj
= Py_None
;
9865 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
;
9867 wxDC
*arg1
= (wxDC
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9873 (char *) "self",(char *) "rect", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 Py_INCREF(Py_None
); resultobj
= Py_None
;
9896 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
;
9898 wxDC
*arg1
= (wxDC
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiidd:DC_DrawEllipticArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 Py_INCREF(Py_None
); resultobj
= Py_None
;
9926 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxDC
*arg1
= (wxDC
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9937 PyObject
* obj2
= 0 ;
9939 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9950 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 Py_INCREF(Py_None
); resultobj
= Py_None
;
9966 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
;
9968 wxDC
*arg1
= (wxDC
*) 0 ;
9971 PyObject
* obj0
= 0 ;
9973 (char *) "self",(char *) "x",(char *) "y", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_DrawPointXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 (arg1
)->DrawPoint(arg2
,arg3
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 Py_INCREF(Py_None
); resultobj
= Py_None
;
9992 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxDC
*arg1
= (wxDC
*) 0 ;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
10000 (char *) "self",(char *) "pt", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 Py_INCREF(Py_None
); resultobj
= Py_None
;
10023 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxDC
*arg1
= (wxDC
*) 0 ;
10030 PyObject
* obj0
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10051 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxDC
*arg1
= (wxDC
*) 0 ;
10054 wxPoint
*arg2
= 0 ;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10060 PyObject
* obj2
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "pt",(char *) "sz", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10069 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10073 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 Py_INCREF(Py_None
); resultobj
= Py_None
;
10089 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxDC
*arg1
= (wxDC
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self",(char *) "rect", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 Py_INCREF(Py_None
); resultobj
= Py_None
;
10120 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxDC
*arg1
= (wxDC
*) 0 ;
10128 PyObject
* obj0
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiid:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 Py_INCREF(Py_None
); resultobj
= Py_None
;
10149 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxDC
*arg1
= (wxDC
*) 0 ;
10152 wxPoint
*arg2
= 0 ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 PyObject
* obj2
= 0 ;
10160 char *kwnames
[] = {
10161 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
10165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10168 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10172 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxDC
*arg1
= (wxDC
*) 0 ;
10194 PyObject
* obj0
= 0 ;
10195 PyObject
* obj1
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self",(char *) "r",(char *) "radius", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10204 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 Py_INCREF(Py_None
); resultobj
= Py_None
;
10220 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxDC
*arg1
= (wxDC
*) 0 ;
10226 PyObject
* obj0
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DC_DrawCircleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10235 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 Py_INCREF(Py_None
); resultobj
= Py_None
;
10247 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
;
10249 wxDC
*arg1
= (wxDC
*) 0 ;
10250 wxPoint
*arg2
= 0 ;
10253 PyObject
* obj0
= 0 ;
10254 PyObject
* obj1
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self",(char *) "pt",(char *) "radius", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 Py_INCREF(Py_None
); resultobj
= Py_None
;
10279 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxDC
*arg1
= (wxDC
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawEllipseXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 Py_INCREF(Py_None
); resultobj
= Py_None
;
10307 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxDC
*arg1
= (wxDC
*) 0 ;
10310 wxPoint
*arg2
= 0 ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 PyObject
* obj2
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "self",(char *) "pt",(char *) "sz", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10329 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 Py_INCREF(Py_None
); resultobj
= Py_None
;
10345 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
;
10347 wxDC
*arg1
= (wxDC
*) 0 ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self",(char *) "rect", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10360 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10376 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxDC
*arg1
= (wxDC
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
10389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10390 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10391 if (arg2
== NULL
) {
10392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 Py_INCREF(Py_None
); resultobj
= Py_None
;
10408 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxDC
*arg1
= (wxDC
*) 0 ;
10412 wxPoint
*arg3
= 0 ;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 PyObject
* obj2
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self",(char *) "icon",(char *) "pt", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10423 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10424 if (arg2
== NULL
) {
10425 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxDC
*arg1
= (wxDC
*) 0 ;
10448 wxBitmap
*arg2
= 0 ;
10451 bool arg5
= (bool) False
;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10454 PyObject
* obj4
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10462 if (arg2
== NULL
) {
10463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10466 arg5
= PyInt_AsLong(obj4
) ? true : false;
10467 if (PyErr_Occurred()) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 Py_INCREF(Py_None
); resultobj
= Py_None
;
10483 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxDC
*arg1
= (wxDC
*) 0 ;
10486 wxBitmap
*arg2
= 0 ;
10487 wxPoint
*arg3
= 0 ;
10488 bool arg4
= (bool) False
;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 PyObject
* obj2
= 0 ;
10493 PyObject
* obj3
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10501 if (arg2
== NULL
) {
10502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10509 arg4
= PyInt_AsLong(obj3
) ? true : false;
10510 if (PyErr_Occurred()) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 Py_INCREF(Py_None
); resultobj
= Py_None
;
10526 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxDC
*arg1
= (wxDC
*) 0 ;
10529 wxString
*arg2
= 0 ;
10532 bool temp2
= False
;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10542 arg2
= wxString_in_helper(obj1
);
10543 if (arg2
== NULL
) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 Py_INCREF(Py_None
); resultobj
= Py_None
;
10568 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxDC
*arg1
= (wxDC
*) 0 ;
10571 wxString
*arg2
= 0 ;
10572 wxPoint
*arg3
= 0 ;
10573 bool temp2
= False
;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 PyObject
* obj2
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self",(char *) "text",(char *) "pt", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10585 arg2
= wxString_in_helper(obj1
);
10586 if (arg2
== NULL
) SWIG_fail
;
10591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 Py_INCREF(Py_None
); resultobj
= Py_None
;
10615 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxDC
*arg1
= (wxDC
*) 0 ;
10618 wxString
*arg2
= 0 ;
10622 bool temp2
= False
;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiid:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10632 arg2
= wxString_in_helper(obj1
);
10633 if (arg2
== NULL
) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 Py_INCREF(Py_None
); resultobj
= Py_None
;
10658 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxDC
*arg1
= (wxDC
*) 0 ;
10661 wxString
*arg2
= 0 ;
10662 wxPoint
*arg3
= 0 ;
10664 bool temp2
= False
;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 PyObject
* obj2
= 0 ;
10669 char *kwnames
[] = {
10670 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
10674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10676 arg2
= wxString_in_helper(obj1
);
10677 if (arg2
== NULL
) SWIG_fail
;
10682 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 Py_INCREF(Py_None
); resultobj
= Py_None
;
10706 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxDC
*arg1
= (wxDC
*) 0 ;
10713 wxDC
*arg6
= (wxDC
*) 0 ;
10716 int arg9
= (int) wxCOPY
;
10717 bool arg10
= (bool) False
;
10718 int arg11
= (int) -1 ;
10719 int arg12
= (int) -1 ;
10721 PyObject
* obj0
= 0 ;
10722 PyObject
* obj5
= 0 ;
10723 PyObject
* obj9
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "xdest",(char *) "ydest",(char *) "width",(char *) "height",(char *) "source",(char *) "xsrc",(char *) "ysrc",(char *) "rop",(char *) "useMask",(char *) "xsrcMask",(char *) "ysrcMask", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiiOii|iOii:DC_BlitXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&arg7
,&arg8
,&arg9
,&obj9
,&arg11
,&arg12
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10730 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10732 arg10
= PyInt_AsLong(obj9
) ? true : false;
10733 if (PyErr_Occurred()) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= PyInt_FromLong((long)result
);
10749 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10750 PyObject
*resultobj
;
10751 wxDC
*arg1
= (wxDC
*) 0 ;
10752 wxPoint
*arg2
= 0 ;
10754 wxDC
*arg4
= (wxDC
*) 0 ;
10755 wxPoint
*arg5
= 0 ;
10756 int arg6
= (int) wxCOPY
;
10757 bool arg7
= (bool) False
;
10758 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
10759 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 PyObject
* obj2
= 0 ;
10768 PyObject
* obj3
= 0 ;
10769 PyObject
* obj4
= 0 ;
10770 PyObject
* obj6
= 0 ;
10771 PyObject
* obj7
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|iOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10784 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10786 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10792 arg7
= PyInt_AsLong(obj6
) ? true : false;
10793 if (PyErr_Occurred()) SWIG_fail
;
10798 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= PyInt_FromLong((long)result
);
10815 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxDC
*arg1
= (wxDC
*) 0 ;
10819 wxPoint
*arg3
= (wxPoint
*) 0 ;
10820 int arg4
= (int) 0 ;
10821 int arg5
= (int) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|ii:DC_DrawLines",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10831 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10832 if (arg3
== NULL
) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 Py_INCREF(Py_None
); resultobj
= Py_None
;
10843 if (arg3
) delete [] arg3
;
10848 if (arg3
) delete [] arg3
;
10854 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxDC
*arg1
= (wxDC
*) 0 ;
10858 wxPoint
*arg3
= (wxPoint
*) 0 ;
10859 int arg4
= (int) 0 ;
10860 int arg5
= (int) 0 ;
10861 int arg6
= (int) wxODDEVEN_RULE
;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iii:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
,&arg6
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10871 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10872 if (arg3
== NULL
) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 if (arg3
) delete [] arg3
;
10888 if (arg3
) delete [] arg3
;
10894 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxDC
*arg1
= (wxDC
*) 0 ;
10897 wxString
*arg2
= 0 ;
10899 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10900 int arg5
= (int) -1 ;
10901 bool temp2
= False
;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 PyObject
* obj2
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|ii:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10913 arg2
= wxString_in_helper(obj1
);
10914 if (arg2
== NULL
) SWIG_fail
;
10919 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxDC
*arg1
= (wxDC
*) 0 ;
10946 wxString
*arg2
= 0 ;
10947 wxBitmap
*arg3
= 0 ;
10949 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10950 int arg6
= (int) -1 ;
10952 bool temp2
= False
;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 PyObject
* obj2
= 0 ;
10957 PyObject
* obj3
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|ii:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10965 arg2
= wxString_in_helper(obj1
);
10966 if (arg2
== NULL
) SWIG_fail
;
10969 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10970 if (arg3
== NULL
) {
10971 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10975 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 wxRect
* resultptr
;
10986 resultptr
= new wxRect((wxRect
&) result
);
10987 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11003 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxDC
*arg1
= (wxDC
*) 0 ;
11007 wxPoint
*arg3
= (wxPoint
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 PyObject
* obj1
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "points", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11017 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11018 if (arg3
== NULL
) SWIG_fail
;
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 (arg1
)->DrawSpline(arg2
,arg3
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 Py_INCREF(Py_None
); resultobj
= Py_None
;
11029 if (arg3
) delete [] arg3
;
11034 if (arg3
) delete [] arg3
;
11040 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxDC
*arg1
= (wxDC
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 Py_INCREF(Py_None
); resultobj
= Py_None
;
11064 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxDC
*arg1
= (wxDC
*) 0 ;
11067 wxString
*arg2
= 0 ;
11069 bool temp2
= False
;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "message", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11079 arg2
= wxString_in_helper(obj1
);
11080 if (arg2
== NULL
) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= PyInt_FromLong((long)result
);
11105 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxDC
*arg1
= (wxDC
*) 0 ;
11108 PyObject
* obj0
= 0 ;
11109 char *kwnames
[] = {
11110 (char *) "self", NULL
11113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
11114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxDC
*arg1
= (wxDC
*) 0 ;
11132 PyObject
* obj0
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 (arg1
)->StartPage();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxDC
*arg1
= (wxDC
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 Py_INCREF(Py_None
); resultobj
= Py_None
;
11177 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
*resultobj
;
11179 wxDC
*arg1
= (wxDC
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "font", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11190 if (arg2
== NULL
) {
11191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 (arg1
)->SetFont((wxFont
const &)*arg2
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 Py_INCREF(Py_None
); resultobj
= Py_None
;
11207 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
;
11209 wxDC
*arg1
= (wxDC
*) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self",(char *) "pen", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11220 if (arg2
== NULL
) {
11221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 (arg1
)->SetPen((wxPen
const &)*arg2
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxDC
*arg1
= (wxDC
*) 0 ;
11240 wxBrush
*arg2
= 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "brush", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11250 if (arg2
== NULL
) {
11251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 Py_INCREF(Py_None
); resultobj
= Py_None
;
11267 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxDC
*arg1
= (wxDC
*) 0 ;
11270 wxBrush
*arg2
= 0 ;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 char *kwnames
[] = {
11274 (char *) "self",(char *) "brush", NULL
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
11278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11280 if (arg2
== NULL
) {
11281 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxDC
*arg1
= (wxDC
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self",(char *) "mode", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
11307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 (arg1
)->SetBackgroundMode(arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 Py_INCREF(Py_None
); resultobj
= Py_None
;
11322 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxDC
*arg1
= (wxDC
*) 0 ;
11325 wxPalette
*arg2
= 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self",(char *) "palette", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11335 if (arg2
== NULL
) {
11336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 Py_INCREF(Py_None
); resultobj
= Py_None
;
11352 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxDC
*arg1
= (wxDC
*) 0 ;
11359 PyObject
* obj0
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_SetClippingRegionXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 Py_INCREF(Py_None
); resultobj
= Py_None
;
11380 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
;
11382 wxDC
*arg1
= (wxDC
*) 0 ;
11383 wxPoint
*arg2
= 0 ;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 PyObject
* obj2
= 0 ;
11390 char *kwnames
[] = {
11391 (char *) "self",(char *) "pt",(char *) "sz", NULL
11394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11402 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 Py_INCREF(Py_None
); resultobj
= Py_None
;
11418 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxDC
*arg1
= (wxDC
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self",(char *) "rect", NULL
11429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11433 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 Py_INCREF(Py_None
); resultobj
= Py_None
;
11449 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxDC
*arg1
= (wxDC
*) 0 ;
11452 wxRegion
*arg2
= 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "region", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11462 if (arg2
== NULL
) {
11463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 Py_INCREF(Py_None
); resultobj
= Py_None
;
11479 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
;
11481 wxDC
*arg1
= (wxDC
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 (arg1
)->DestroyClippingRegion();
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 Py_INCREF(Py_None
); resultobj
= Py_None
;
11503 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxDC
*arg1
= (wxDC
*) 0 ;
11506 int *arg2
= (int *) 0 ;
11507 int *arg3
= (int *) 0 ;
11508 int *arg4
= (int *) 0 ;
11509 int *arg5
= (int *) 0 ;
11514 PyObject
* obj0
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 Py_INCREF(Py_None
); resultobj
= Py_None
;
11534 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11535 resultobj
= t_output_helper(resultobj
,o
);
11538 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11539 resultobj
= t_output_helper(resultobj
,o
);
11542 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11543 resultobj
= t_output_helper(resultobj
,o
);
11546 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11547 resultobj
= t_output_helper(resultobj
,o
);
11555 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxDC
*arg1
= (wxDC
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= wxDC_GetClippingRect(arg1
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11574 wxRect
* resultptr
;
11575 resultptr
= new wxRect((wxRect
&) result
);
11576 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11584 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11586 wxDC
*arg1
= (wxDC
*) 0 ;
11588 PyObject
* obj0
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= PyInt_FromLong((long)result
);
11609 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxDC
*arg1
= (wxDC
*) 0 ;
11613 PyObject
* obj0
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= PyInt_FromLong((long)result
);
11634 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
;
11636 wxDC
*arg1
= (wxDC
*) 0 ;
11637 wxString
*arg2
= 0 ;
11638 int *arg3
= (int *) 0 ;
11639 int *arg4
= (int *) 0 ;
11640 bool temp2
= False
;
11643 PyObject
* obj0
= 0 ;
11644 PyObject
* obj1
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "self",(char *) "string", NULL
11651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
11652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11654 arg2
= wxString_in_helper(obj1
);
11655 if (arg2
== NULL
) SWIG_fail
;
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11665 Py_INCREF(Py_None
); resultobj
= Py_None
;
11667 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11668 resultobj
= t_output_helper(resultobj
,o
);
11671 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11672 resultobj
= t_output_helper(resultobj
,o
);
11688 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxDC
*arg1
= (wxDC
*) 0 ;
11691 wxString
*arg2
= 0 ;
11692 int *arg3
= (int *) 0 ;
11693 int *arg4
= (int *) 0 ;
11694 int *arg5
= (int *) 0 ;
11695 int *arg6
= (int *) 0 ;
11696 wxFont
*arg7
= (wxFont
*) NULL
;
11697 bool temp2
= False
;
11702 PyObject
* obj0
= 0 ;
11703 PyObject
* obj1
= 0 ;
11704 PyObject
* obj2
= 0 ;
11705 char *kwnames
[] = {
11706 (char *) "self",(char *) "string",(char *) "font", NULL
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11716 arg2
= wxString_in_helper(obj1
);
11717 if (arg2
== NULL
) SWIG_fail
;
11721 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 Py_INCREF(Py_None
); resultobj
= Py_None
;
11732 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11733 resultobj
= t_output_helper(resultobj
,o
);
11736 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11737 resultobj
= t_output_helper(resultobj
,o
);
11740 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11741 resultobj
= t_output_helper(resultobj
,o
);
11744 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
11745 resultobj
= t_output_helper(resultobj
,o
);
11761 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxDC
*arg1
= (wxDC
*) 0 ;
11764 wxString
*arg2
= 0 ;
11765 int *arg3
= (int *) 0 ;
11766 int *arg4
= (int *) 0 ;
11767 int *arg5
= (int *) 0 ;
11768 wxFont
*arg6
= (wxFont
*) NULL
;
11769 bool temp2
= False
;
11773 PyObject
* obj0
= 0 ;
11774 PyObject
* obj1
= 0 ;
11775 PyObject
* obj2
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self",(char *) "text",(char *) "font", NULL
11783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11786 arg2
= wxString_in_helper(obj1
);
11787 if (arg2
== NULL
) SWIG_fail
;
11791 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 Py_INCREF(Py_None
); resultobj
= Py_None
;
11802 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11803 resultobj
= t_output_helper(resultobj
,o
);
11806 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11807 resultobj
= t_output_helper(resultobj
,o
);
11810 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11811 resultobj
= t_output_helper(resultobj
,o
);
11827 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxDC
*arg1
= (wxDC
*) 0 ;
11831 PyObject
* obj0
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (arg1
)->GetSize();
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11846 wxSize
* resultptr
;
11847 resultptr
= new wxSize((wxSize
&) result
);
11848 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11856 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxDC
*arg1
= (wxDC
*) 0 ;
11859 int *arg2
= (int *) 0 ;
11860 int *arg3
= (int *) 0 ;
11863 PyObject
* obj0
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "self", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
11871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 (arg1
)->GetSize(arg2
,arg3
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 Py_INCREF(Py_None
); resultobj
= Py_None
;
11881 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11882 resultobj
= t_output_helper(resultobj
,o
);
11885 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11886 resultobj
= t_output_helper(resultobj
,o
);
11894 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxDC
*arg1
= (wxDC
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "self", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
11904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= ((wxDC
const *)arg1
)->GetSizeMM();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 wxSize
* resultptr
;
11914 resultptr
= new wxSize((wxSize
&) result
);
11915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11923 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxDC
*arg1
= (wxDC
*) 0 ;
11926 int *arg2
= (int *) 0 ;
11927 int *arg3
= (int *) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 Py_INCREF(Py_None
); resultobj
= Py_None
;
11948 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11949 resultobj
= t_output_helper(resultobj
,o
);
11952 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11953 resultobj
= t_output_helper(resultobj
,o
);
11961 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxDC
*arg1
= (wxDC
*) 0 ;
11966 PyObject
* obj0
= 0 ;
11967 char *kwnames
[] = {
11968 (char *) "self",(char *) "x", NULL
11971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalX",kwnames
,&obj0
,&arg2
)) goto fail
;
11972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= PyInt_FromLong((long)result
);
11987 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11988 PyObject
*resultobj
;
11989 wxDC
*arg1
= (wxDC
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self",(char *) "y", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalY",kwnames
,&obj0
,&arg2
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= PyInt_FromLong((long)result
);
12013 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxDC
*arg1
= (wxDC
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "x", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= PyInt_FromLong((long)result
);
12039 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxDC
*arg1
= (wxDC
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self",(char *) "y", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= PyInt_FromLong((long)result
);
12065 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxDC
*arg1
= (wxDC
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self",(char *) "x", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceX",kwnames
,&obj0
,&arg2
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= PyInt_FromLong((long)result
);
12091 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
;
12093 wxDC
*arg1
= (wxDC
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self",(char *) "y", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceY",kwnames
,&obj0
,&arg2
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= PyInt_FromLong((long)result
);
12117 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxDC
*arg1
= (wxDC
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self",(char *) "x", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= PyInt_FromLong((long)result
);
12143 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
;
12145 wxDC
*arg1
= (wxDC
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "y", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= PyInt_FromLong((long)result
);
12169 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxDC
*arg1
= (wxDC
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= PyInt_FromLong((long)result
);
12194 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxDC
*arg1
= (wxDC
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= PyInt_FromLong((long)result
);
12219 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxDC
*arg1
= (wxDC
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (int)((wxDC
const *)arg1
)->GetDepth();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= PyInt_FromLong((long)result
);
12244 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
;
12246 wxDC
*arg1
= (wxDC
*) 0 ;
12248 PyObject
* obj0
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
12254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= ((wxDC
const *)arg1
)->GetPPI();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12263 wxSize
* resultptr
;
12264 resultptr
= new wxSize((wxSize
&) result
);
12265 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12273 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxDC
*arg1
= (wxDC
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)((wxDC
const *)arg1
)->Ok();
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= PyInt_FromLong((long)result
);
12298 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxDC
*arg1
= (wxDC
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= PyInt_FromLong((long)result
);
12323 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxDC
*arg1
= (wxDC
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
12338 result
= (wxBrush
*) &_result_ref
;
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
12351 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxDC
*arg1
= (wxDC
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
12366 result
= (wxBrush
*) &_result_ref
;
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
12379 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxDC
*arg1
= (wxDC
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
12394 result
= (wxFont
*) &_result_ref
;
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
12407 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxDC
*arg1
= (wxDC
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
12422 result
= (wxPen
*) &_result_ref
;
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
12435 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxDC
*arg1
= (wxDC
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
12450 result
= (wxColour
*) &_result_ref
;
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
12463 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxDC
*arg1
= (wxDC
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
12473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
12478 result
= (wxColour
*) &_result_ref
;
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
12491 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxDC
*arg1
= (wxDC
*) 0 ;
12494 wxColour
*arg2
= 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "colour", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 Py_INCREF(Py_None
); resultobj
= Py_None
;
12522 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxDC
*arg1
= (wxDC
*) 0 ;
12525 wxColour
*arg2
= 0 ;
12527 PyObject
* obj0
= 0 ;
12528 PyObject
* obj1
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "self",(char *) "colour", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 Py_INCREF(Py_None
); resultobj
= Py_None
;
12553 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxDC
*arg1
= (wxDC
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12571 resultobj
= PyInt_FromLong((long)result
);
12578 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
;
12580 wxDC
*arg1
= (wxDC
*) 0 ;
12582 PyObject
* obj0
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "mode", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetMapMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetMapMode(arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 Py_INCREF(Py_None
); resultobj
= Py_None
;
12603 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
;
12605 wxDC
*arg1
= (wxDC
*) 0 ;
12606 double *arg2
= (double *) 0 ;
12607 double *arg3
= (double *) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 Py_INCREF(Py_None
); resultobj
= Py_None
;
12628 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12629 resultobj
= t_output_helper(resultobj
,o
);
12632 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12633 resultobj
= t_output_helper(resultobj
,o
);
12641 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxDC
*arg1
= (wxDC
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "x",(char *) "y", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetUserScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetUserScale(arg2
,arg3
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
;
12669 wxDC
*arg1
= (wxDC
*) 0 ;
12670 double *arg2
= (double *) 0 ;
12671 double *arg3
= (double *) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 (arg1
)->GetLogicalScale(arg2
,arg3
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 Py_INCREF(Py_None
); resultobj
= Py_None
;
12692 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12693 resultobj
= t_output_helper(resultobj
,o
);
12696 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12697 resultobj
= t_output_helper(resultobj
,o
);
12705 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12706 PyObject
*resultobj
;
12707 wxDC
*arg1
= (wxDC
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self",(char *) "x",(char *) "y", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetLogicalScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->SetLogicalScale(arg2
,arg3
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 Py_INCREF(Py_None
); resultobj
= Py_None
;
12731 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxDC
*arg1
= (wxDC
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12750 wxPoint
* resultptr
;
12751 resultptr
= new wxPoint((wxPoint
&) result
);
12752 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12760 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxDC
*arg1
= (wxDC
*) 0 ;
12763 int *arg2
= (int *) 0 ;
12764 int *arg3
= (int *) 0 ;
12767 PyObject
* obj0
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "self", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
12775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12785 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12786 resultobj
= t_output_helper(resultobj
,o
);
12789 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12790 resultobj
= t_output_helper(resultobj
,o
);
12798 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxDC
*arg1
= (wxDC
*) 0 ;
12803 PyObject
* obj0
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "self",(char *) "x",(char *) "y", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetLogicalOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 Py_INCREF(Py_None
); resultobj
= Py_None
;
12824 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxDC
*arg1
= (wxDC
*) 0 ;
12828 PyObject
* obj0
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12843 wxPoint
* resultptr
;
12844 resultptr
= new wxPoint((wxPoint
&) result
);
12845 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12853 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxDC
*arg1
= (wxDC
*) 0 ;
12856 int *arg2
= (int *) 0 ;
12857 int *arg3
= (int *) 0 ;
12860 PyObject
* obj0
= 0 ;
12861 char *kwnames
[] = {
12862 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 Py_INCREF(Py_None
); resultobj
= Py_None
;
12878 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12879 resultobj
= t_output_helper(resultobj
,o
);
12882 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12883 resultobj
= t_output_helper(resultobj
,o
);
12891 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxDC
*arg1
= (wxDC
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self",(char *) "x",(char *) "y", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetDeviceOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 Py_INCREF(Py_None
); resultobj
= Py_None
;
12917 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxDC
*arg1
= (wxDC
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 PyObject
* obj2
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12931 arg2
= PyInt_AsLong(obj1
) ? true : false;
12932 if (PyErr_Occurred()) SWIG_fail
;
12933 arg3
= PyInt_AsLong(obj2
) ? true : false;
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 (arg1
)->SetAxisOrientation(arg2
,arg3
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 Py_INCREF(Py_None
); resultobj
= Py_None
;
12949 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxDC
*arg1
= (wxDC
*) 0 ;
12953 PyObject
* obj0
= 0 ;
12954 char *kwnames
[] = {
12955 (char *) "self", NULL
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
12959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= PyInt_FromLong((long)result
);
12974 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxDC
*arg1
= (wxDC
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 char *kwnames
[] = {
12980 (char *) "self",(char *) "function", NULL
12983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetLogicalFunction",kwnames
,&obj0
,&arg2
)) goto fail
;
12984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 (arg1
)->SetLogicalFunction(arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 Py_INCREF(Py_None
); resultobj
= Py_None
;
12999 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxDC
*arg1
= (wxDC
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char *kwnames
[] = {
13006 (char *) "self",(char *) "opt", NULL
13009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
13010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13011 arg2
= PyInt_AsLong(obj1
) ? true : false;
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 (arg1
)->SetOptimization(arg2
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 Py_INCREF(Py_None
); resultobj
= Py_None
;
13027 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxDC
*arg1
= (wxDC
*) 0 ;
13031 PyObject
* obj0
= 0 ;
13032 char *kwnames
[] = {
13033 (char *) "self", NULL
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
13037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (bool)(arg1
)->GetOptimization();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= PyInt_FromLong((long)result
);
13052 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxDC
*arg1
= (wxDC
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "x",(char *) "y", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CalcBoundingBox",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 (arg1
)->CalcBoundingBox(arg2
,arg3
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 Py_INCREF(Py_None
); resultobj
= Py_None
;
13078 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxDC
*arg1
= (wxDC
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 (arg1
)->ResetBoundingBox();
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 Py_INCREF(Py_None
); resultobj
= Py_None
;
13102 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxDC
*arg1
= (wxDC
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (int)((wxDC
const *)arg1
)->MinX();
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= PyInt_FromLong((long)result
);
13127 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxDC
*arg1
= (wxDC
*) 0 ;
13131 PyObject
* obj0
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (int)((wxDC
const *)arg1
)->MaxX();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= PyInt_FromLong((long)result
);
13152 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxDC
*arg1
= (wxDC
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "self", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
13162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (int)((wxDC
const *)arg1
)->MinY();
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= PyInt_FromLong((long)result
);
13177 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxDC
*arg1
= (wxDC
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (int)((wxDC
const *)arg1
)->MaxY();
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= PyInt_FromLong((long)result
);
13202 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxDC
*arg1
= (wxDC
*) 0 ;
13205 int *arg2
= (int *) 0 ;
13206 int *arg3
= (int *) 0 ;
13207 int *arg4
= (int *) 0 ;
13208 int *arg5
= (int *) 0 ;
13213 PyObject
* obj0
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 Py_INCREF(Py_None
); resultobj
= Py_None
;
13233 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13234 resultobj
= t_output_helper(resultobj
,o
);
13237 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13238 resultobj
= t_output_helper(resultobj
,o
);
13241 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13242 resultobj
= t_output_helper(resultobj
,o
);
13245 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13246 resultobj
= t_output_helper(resultobj
,o
);
13254 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxDC
*arg1
= (wxDC
*) 0 ;
13257 PyObject
*arg2
= (PyObject
*) 0 ;
13258 PyObject
*arg3
= (PyObject
*) 0 ;
13259 PyObject
*arg4
= (PyObject
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 PyObject
* obj2
= 0 ;
13264 PyObject
* obj3
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= result
;
13288 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxDC
*arg1
= (wxDC
*) 0 ;
13291 PyObject
*arg2
= (PyObject
*) 0 ;
13292 PyObject
*arg3
= (PyObject
*) 0 ;
13293 PyObject
*arg4
= (PyObject
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 PyObject
* obj2
= 0 ;
13298 PyObject
* obj3
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= result
;
13322 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxDC
*arg1
= (wxDC
*) 0 ;
13325 PyObject
*arg2
= (PyObject
*) 0 ;
13326 PyObject
*arg3
= (PyObject
*) 0 ;
13327 PyObject
*arg4
= (PyObject
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 PyObject
* obj2
= 0 ;
13332 PyObject
* obj3
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= result
;
13356 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxDC
*arg1
= (wxDC
*) 0 ;
13359 PyObject
*arg2
= (PyObject
*) 0 ;
13360 PyObject
*arg3
= (PyObject
*) 0 ;
13361 PyObject
*arg4
= (PyObject
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 PyObject
* obj2
= 0 ;
13366 PyObject
* obj3
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= result
;
13390 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxDC
*arg1
= (wxDC
*) 0 ;
13393 PyObject
*arg2
= (PyObject
*) 0 ;
13394 PyObject
*arg3
= (PyObject
*) 0 ;
13395 PyObject
*arg4
= (PyObject
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 PyObject
* obj1
= 0 ;
13399 PyObject
* obj2
= 0 ;
13400 PyObject
* obj3
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= result
;
13424 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
;
13426 wxDC
*arg1
= (wxDC
*) 0 ;
13427 PyObject
*arg2
= (PyObject
*) 0 ;
13428 PyObject
*arg3
= (PyObject
*) 0 ;
13429 PyObject
*arg4
= (PyObject
*) 0 ;
13430 PyObject
*arg5
= (PyObject
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 PyObject
* obj1
= 0 ;
13434 PyObject
* obj2
= 0 ;
13435 PyObject
* obj3
= 0 ;
13436 PyObject
* obj4
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= result
;
13461 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
13463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13464 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
13466 return Py_BuildValue((char *)"");
13468 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxMemoryDC
*result
;
13471 char *kwnames
[] = {
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (wxMemoryDC
*)new wxMemoryDC();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
13490 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxDC
*arg1
= (wxDC
*) 0 ;
13493 wxMemoryDC
*result
;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "oldDC", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
13515 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
13518 wxBitmap
*arg2
= 0 ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "bitmap", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13528 if (arg2
== NULL
) {
13529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 Py_INCREF(Py_None
); resultobj
= Py_None
;
13545 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
13547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13548 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
13550 return Py_BuildValue((char *)"");
13552 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxDC
*arg1
= (wxDC
*) 0 ;
13555 wxBitmap
*arg2
= 0 ;
13556 wxBufferedDC
*result
;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "dc",(char *) "buffer", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13566 if (arg2
== NULL
) {
13567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13583 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
;
13585 wxDC
*arg1
= (wxDC
*) 0 ;
13587 wxBufferedDC
*result
;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "dc",(char *) "area", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDCInternalBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13599 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13615 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 Py_INCREF(Py_None
); resultobj
= Py_None
;
13639 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
13641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
13644 return Py_BuildValue((char *)"");
13646 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxWindow
*arg1
= (wxWindow
*) 0 ;
13649 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
13650 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
13651 wxBufferedPaintDC
*result
;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "window",(char *) "buffer", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13662 if (arg2
== NULL
) {
13663 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
13680 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13683 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
13685 return Py_BuildValue((char *)"");
13687 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxScreenDC
*result
;
13690 char *kwnames
[] = {
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (wxScreenDC
*)new wxScreenDC();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
13709 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13712 wxWindow
*arg2
= (wxWindow
*) 0 ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 char *kwnames
[] = {
13717 (char *) "self",(char *) "window", NULL
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
13721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= PyInt_FromLong((long)result
);
13737 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13740 wxRect
*arg2
= (wxRect
*) NULL
;
13742 PyObject
* obj0
= 0 ;
13743 PyObject
* obj1
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self",(char *) "rect", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= PyInt_FromLong((long)result
);
13767 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= (bool)(arg1
)->EndDrawingOnTop();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= PyInt_FromLong((long)result
);
13792 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
13794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13795 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
13797 return Py_BuildValue((char *)"");
13799 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxWindow
*arg1
= (wxWindow
*) 0 ;
13802 wxClientDC
*result
;
13803 PyObject
* obj0
= 0 ;
13804 char *kwnames
[] = {
13805 (char *) "win", NULL
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
13809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (wxClientDC
*)new wxClientDC(arg1
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
13824 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
13826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13827 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
13829 return Py_BuildValue((char *)"");
13831 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxWindow
*arg1
= (wxWindow
*) 0 ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "win", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
13856 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13859 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
13861 return Py_BuildValue((char *)"");
13863 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
;
13865 wxWindow
*arg1
= (wxWindow
*) 0 ;
13866 wxWindowDC
*result
;
13867 PyObject
* obj0
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "win", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
13873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13876 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
13888 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
13890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13891 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
13893 return Py_BuildValue((char *)"");
13895 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13899 wxMirrorDC
*result
;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 char *kwnames
[] = {
13903 (char *) "dc",(char *) "mirror", NULL
13906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13908 if (arg1
== NULL
) {
13909 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13911 arg2
= PyInt_AsLong(obj1
) ? true : false;
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
13927 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
13929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13930 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
13932 return Py_BuildValue((char *)"");
13934 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxPrintData
*arg1
= 0 ;
13937 wxPostScriptDC
*result
;
13938 PyObject
* obj0
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "printData", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13945 if (arg1
== NULL
) {
13946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
13962 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13965 wxPrintData
*result
;
13966 PyObject
* obj0
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
13977 result
= (wxPrintData
*) &_result_ref
;
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
13990 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13993 wxPrintData
*arg2
= 0 ;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self",(char *) "data", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14002 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14003 if (arg2
== NULL
) {
14004 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 Py_INCREF(Py_None
); resultobj
= Py_None
;
14020 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14023 char *kwnames
[] = {
14024 (char *) "ppi", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:PostScriptDC_SetResolution",kwnames
,&arg1
)) goto fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 wxPostScriptDC::SetResolution(arg1
);
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 Py_INCREF(Py_None
); resultobj
= Py_None
;
14042 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
;
14045 char *kwnames
[] = {
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (int)wxPostScriptDC::GetResolution();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= PyInt_FromLong((long)result
);
14064 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
14066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14067 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
14069 return Py_BuildValue((char *)"");
14071 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14074 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14075 wxMetaFile
*result
;
14076 bool temp1
= False
;
14077 PyObject
* obj0
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "filename", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
14085 arg1
= wxString_in_helper(obj0
);
14086 if (arg1
== NULL
) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
14112 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 Py_INCREF(Py_None
); resultobj
= Py_None
;
14136 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14140 PyObject
* obj0
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (bool)(arg1
)->Ok();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= PyInt_FromLong((long)result
);
14161 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14164 int arg2
= (int) 0 ;
14165 int arg3
= (int) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self",(char *) "width",(char *) "height", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:MetaFile_SetClipboard",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= PyInt_FromLong((long)result
);
14188 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
14198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (arg1
)->GetSize();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14207 wxSize
* resultptr
;
14208 resultptr
= new wxSize((wxSize
&) result
);
14209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14217 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
;
14219 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14221 PyObject
* obj0
= 0 ;
14222 char *kwnames
[] = {
14223 (char *) "self", NULL
14226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
14227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (int)(arg1
)->GetWidth();
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= PyInt_FromLong((long)result
);
14242 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14243 PyObject
*resultobj
;
14244 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14246 PyObject
* obj0
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "self", NULL
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
14252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (int)(arg1
)->GetHeight();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= PyInt_FromLong((long)result
);
14267 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 char *kwnames
[] = {
14273 (char *) "self", NULL
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
14277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
14282 result
= (wxString
*) &_result_ref
;
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14292 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14301 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
14303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14304 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
14306 return Py_BuildValue((char *)"");
14308 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14311 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14312 int arg2
= (int) 0 ;
14313 int arg3
= (int) 0 ;
14314 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14315 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14316 wxMetaFileDC
*result
;
14317 bool temp1
= False
;
14318 bool temp4
= False
;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj3
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiiO:new_MetaFileDC",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
14328 arg1
= wxString_in_helper(obj0
);
14329 if (arg1
== NULL
) SWIG_fail
;
14335 arg4
= wxString_in_helper(obj3
);
14336 if (arg4
== NULL
) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
14370 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14371 PyObject
*resultobj
;
14372 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
14373 wxMetaFile
*result
;
14374 PyObject
* obj0
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFileDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (wxMetaFile
*)(arg1
)->Close();
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 0);
14395 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
14397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14398 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
14400 return Py_BuildValue((char *)"");
14402 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxPrintData
*arg1
= 0 ;
14405 wxPrinterDC
*result
;
14406 PyObject
* obj0
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "printData", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14413 if (arg1
== NULL
) {
14414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
14430 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
14432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14433 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
14435 return Py_BuildValue((char *)"");
14437 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14441 int arg3
= (int) True
;
14442 int arg4
= (int) 1 ;
14443 wxImageList
*result
;
14444 char *kwnames
[] = {
14445 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
14448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|ii:new_ImageList",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= wxPyMake_wxObject(result
);
14465 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxImageList
*arg1
= (wxImageList
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
14474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 Py_INCREF(Py_None
); resultobj
= Py_None
;
14489 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxImageList
*arg1
= (wxImageList
*) 0 ;
14492 wxBitmap
*arg2
= 0 ;
14493 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
14494 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 PyObject
* obj2
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14506 if (arg2
== NULL
) {
14507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14510 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14511 if (arg3
== NULL
) {
14512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= PyInt_FromLong((long)result
);
14529 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxImageList
*arg1
= (wxImageList
*) 0 ;
14532 wxBitmap
*arg2
= 0 ;
14533 wxColour
*arg3
= 0 ;
14536 PyObject
* obj0
= 0 ;
14537 PyObject
* obj1
= 0 ;
14538 PyObject
* obj2
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14546 if (arg2
== NULL
) {
14547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14551 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= PyInt_FromLong((long)result
);
14567 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxImageList
*arg1
= (wxImageList
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self",(char *) "icon", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14581 if (arg2
== NULL
) {
14582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= PyInt_FromLong((long)result
);
14598 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxImageList
*arg1
= (wxImageList
*) 0 ;
14602 wxBitmap
*arg3
= 0 ;
14603 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
14604 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
14606 PyObject
* obj0
= 0 ;
14607 PyObject
* obj2
= 0 ;
14608 PyObject
* obj3
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:ImageList_Replace",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14615 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14616 if (arg3
== NULL
) {
14617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14620 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14621 if (arg4
== NULL
) {
14622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= PyInt_FromLong((long)result
);
14639 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxImageList
*arg1
= (wxImageList
*) 0 ;
14646 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
14647 bool arg7
= (bool) (bool)False
;
14649 PyObject
* obj0
= 0 ;
14650 PyObject
* obj2
= 0 ;
14651 PyObject
* obj6
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOii|iO:ImageList_Draw",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14658 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14659 if (arg3
== NULL
) {
14660 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14663 arg7
= PyInt_AsLong(obj6
) ? true : false;
14664 if (PyErr_Occurred()) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= PyInt_FromLong((long)result
);
14680 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 wxImageList
*arg1
= (wxImageList
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (int)(arg1
)->GetImageCount();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= PyInt_FromLong((long)result
);
14705 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxImageList
*arg1
= (wxImageList
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "index", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= (bool)(arg1
)->Remove(arg2
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= PyInt_FromLong((long)result
);
14731 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxImageList
*arg1
= (wxImageList
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (bool)(arg1
)->RemoveAll();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= PyInt_FromLong((long)result
);
14756 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxImageList
*arg1
= (wxImageList
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self",(char *) "index", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_GetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
14772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14783 resultobj
= t_output_helper(resultobj
,o
);
14786 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14787 resultobj
= t_output_helper(resultobj
,o
);
14795 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
14797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14798 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
14800 return Py_BuildValue((char *)"");
14802 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
;
14804 wxPenList
*arg1
= (wxPenList
*) 0 ;
14805 wxPen
*arg2
= (wxPen
*) 0 ;
14806 PyObject
* obj0
= 0 ;
14807 PyObject
* obj1
= 0 ;
14808 char *kwnames
[] = {
14809 (char *) "self",(char *) "pen", NULL
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 (arg1
)->AddPen(arg2
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 Py_INCREF(Py_None
); resultobj
= Py_None
;
14829 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 wxPenList
*arg1
= (wxPenList
*) 0 ;
14832 wxColour
*arg2
= 0 ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14847 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
14863 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 wxPenList
*arg1
= (wxPenList
*) 0 ;
14866 wxPen
*arg2
= (wxPen
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self",(char *) "pen", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->RemovePen(arg2
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 Py_INCREF(Py_None
); resultobj
= Py_None
;
14890 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxPenList
*arg1
= (wxPenList
*) 0 ;
14894 PyObject
* obj0
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "self", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
14900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (int)(arg1
)->GetCount();
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= PyInt_FromLong((long)result
);
14915 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
14917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14918 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
14920 return Py_BuildValue((char *)"");
14922 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
;
14924 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14925 wxBrush
*arg2
= (wxBrush
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self",(char *) "brush", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 (arg1
)->AddBrush(arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 Py_INCREF(Py_None
); resultobj
= Py_None
;
14949 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14952 wxColour
*arg2
= 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self",(char *) "colour",(char *) "style", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14966 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
14982 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14985 wxBrush
*arg2
= (wxBrush
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self",(char *) "brush", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14994 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 (arg1
)->RemoveBrush(arg2
);
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 Py_INCREF(Py_None
); resultobj
= Py_None
;
15009 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (int)(arg1
)->GetCount();
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= PyInt_FromLong((long)result
);
15034 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
15036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15037 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
15039 return Py_BuildValue((char *)"");
15041 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxColourDatabase
*result
;
15044 char *kwnames
[] = {
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= (wxColourDatabase
*)new wxColourDatabase();
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
15063 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 Py_INCREF(Py_None
); resultobj
= Py_None
;
15087 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15090 wxString
*arg2
= 0 ;
15092 bool temp2
= False
;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "name", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15102 arg2
= wxString_in_helper(obj1
);
15103 if (arg2
== NULL
) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15114 wxColour
* resultptr
;
15115 resultptr
= new wxColour((wxColour
&) result
);
15116 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15132 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
;
15134 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15135 wxColour
*arg2
= 0 ;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "self",(char *) "colour", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
15145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15148 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15170 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15173 wxString
*arg2
= 0 ;
15174 wxColour
*arg3
= 0 ;
15175 bool temp2
= False
;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 PyObject
* obj2
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self",(char *) "name",(char *) "colour", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15187 arg2
= wxString_in_helper(obj1
);
15188 if (arg2
== NULL
) SWIG_fail
;
15193 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15202 Py_INCREF(Py_None
); resultobj
= Py_None
;
15217 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
15220 wxString
*arg2
= 0 ;
15224 bool temp2
= False
;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiii:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15234 arg2
= wxString_in_helper(obj1
);
15235 if (arg2
== NULL
) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 Py_INCREF(Py_None
); resultobj
= Py_None
;
15260 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
15262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15263 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
15265 return Py_BuildValue((char *)"");
15267 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxFontList
*arg1
= (wxFontList
*) 0 ;
15270 wxFont
*arg2
= (wxFont
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 PyObject
* obj1
= 0 ;
15273 char *kwnames
[] = {
15274 (char *) "self",(char *) "font", NULL
15277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 (arg1
)->AddFont(arg2
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 Py_INCREF(Py_None
); resultobj
= Py_None
;
15294 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxFontList
*arg1
= (wxFontList
*) 0 ;
15301 bool arg6
= (bool) False
;
15302 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15303 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15304 int arg8
= (int) wxFONTENCODING_DEFAULT
;
15306 bool temp7
= False
;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj5
= 0 ;
15309 PyObject
* obj6
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOi:FontList_FindOrCreateFont",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15317 arg6
= PyInt_AsLong(obj5
) ? true : false;
15318 if (PyErr_Occurred()) SWIG_fail
;
15322 arg7
= wxString_in_helper(obj6
);
15323 if (arg7
== NULL
) SWIG_fail
;
15328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15329 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
15349 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxFontList
*arg1
= (wxFontList
*) 0 ;
15352 wxFont
*arg2
= (wxFont
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self",(char *) "font", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 (arg1
)->RemoveFont(arg2
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 Py_INCREF(Py_None
); resultobj
= Py_None
;
15376 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxFontList
*arg1
= (wxFontList
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (int)(arg1
)->GetCount();
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 resultobj
= PyInt_FromLong((long)result
);
15401 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
15403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15404 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
15406 return Py_BuildValue((char *)"");
15408 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
15409 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
15414 static PyObject
*_wrap_NORMAL_FONT_get() {
15417 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15422 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
15423 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
15428 static PyObject
*_wrap_SMALL_FONT_get() {
15431 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
15436 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
15437 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
15442 static PyObject
*_wrap_ITALIC_FONT_get() {
15445 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
15450 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
15451 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
15456 static PyObject
*_wrap_SWISS_FONT_get() {
15459 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
15464 static int _wrap_RED_PEN_set(PyObject
*_val
) {
15465 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
15470 static PyObject
*_wrap_RED_PEN_get() {
15473 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
15478 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
15479 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
15484 static PyObject
*_wrap_CYAN_PEN_get() {
15487 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
15492 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
15493 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
15498 static PyObject
*_wrap_GREEN_PEN_get() {
15501 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
15506 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
15507 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
15512 static PyObject
*_wrap_BLACK_PEN_get() {
15515 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
15520 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
15521 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
15526 static PyObject
*_wrap_WHITE_PEN_get() {
15529 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
15534 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
15535 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
15540 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
15543 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
15548 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
15549 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
15554 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
15557 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
15562 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
15563 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
15568 static PyObject
*_wrap_GREY_PEN_get() {
15571 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15576 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
15577 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
15582 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
15585 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15590 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
15591 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
15596 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
15599 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15604 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
15605 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
15610 static PyObject
*_wrap_BLUE_BRUSH_get() {
15613 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15618 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
15619 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
15624 static PyObject
*_wrap_GREEN_BRUSH_get() {
15627 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15632 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
15633 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
15638 static PyObject
*_wrap_WHITE_BRUSH_get() {
15641 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15646 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
15647 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
15652 static PyObject
*_wrap_BLACK_BRUSH_get() {
15655 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15660 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
15661 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
15666 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
15669 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15674 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
15675 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
15680 static PyObject
*_wrap_CYAN_BRUSH_get() {
15683 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15688 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
15689 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
15694 static PyObject
*_wrap_RED_BRUSH_get() {
15697 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15702 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
15703 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
15708 static PyObject
*_wrap_GREY_BRUSH_get() {
15711 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15716 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
15717 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
15722 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
15725 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15730 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
15731 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
15736 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
15739 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15744 static int _wrap_BLACK_set(PyObject
*_val
) {
15745 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
15750 static PyObject
*_wrap_BLACK_get() {
15753 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
15758 static int _wrap_WHITE_set(PyObject
*_val
) {
15759 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
15764 static PyObject
*_wrap_WHITE_get() {
15767 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
15772 static int _wrap_RED_set(PyObject
*_val
) {
15773 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
15778 static PyObject
*_wrap_RED_get() {
15781 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
15786 static int _wrap_BLUE_set(PyObject
*_val
) {
15787 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
15792 static PyObject
*_wrap_BLUE_get() {
15795 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
15800 static int _wrap_GREEN_set(PyObject
*_val
) {
15801 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
15806 static PyObject
*_wrap_GREEN_get() {
15809 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
15814 static int _wrap_CYAN_set(PyObject
*_val
) {
15815 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
15820 static PyObject
*_wrap_CYAN_get() {
15823 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
15828 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
15829 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
15834 static PyObject
*_wrap_LIGHT_GREY_get() {
15837 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
15842 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
15843 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
15848 static PyObject
*_wrap_STANDARD_CURSOR_get() {
15851 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15856 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
15857 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
15862 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
15865 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15870 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
15871 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
15876 static PyObject
*_wrap_CROSS_CURSOR_get() {
15879 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15884 static int _wrap_NullBitmap_set(PyObject
*_val
) {
15885 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
15890 static PyObject
*_wrap_NullBitmap_get() {
15893 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
15898 static int _wrap_NullIcon_set(PyObject
*_val
) {
15899 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
15904 static PyObject
*_wrap_NullIcon_get() {
15907 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
15912 static int _wrap_NullCursor_set(PyObject
*_val
) {
15913 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
15918 static PyObject
*_wrap_NullCursor_get() {
15921 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
15926 static int _wrap_NullPen_set(PyObject
*_val
) {
15927 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
15932 static PyObject
*_wrap_NullPen_get() {
15935 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
15940 static int _wrap_NullBrush_set(PyObject
*_val
) {
15941 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
15946 static PyObject
*_wrap_NullBrush_get() {
15949 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
15954 static int _wrap_NullPalette_set(PyObject
*_val
) {
15955 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
15960 static PyObject
*_wrap_NullPalette_get() {
15963 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
15968 static int _wrap_NullFont_set(PyObject
*_val
) {
15969 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
15974 static PyObject
*_wrap_NullFont_get() {
15977 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
15982 static int _wrap_NullColour_set(PyObject
*_val
) {
15983 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
15988 static PyObject
*_wrap_NullColour_get() {
15991 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
15996 static int _wrap_TheFontList_set(PyObject
*_val
) {
15997 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
16002 static PyObject
*_wrap_TheFontList_get() {
16005 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
16010 static int _wrap_ThePenList_set(PyObject
*_val
) {
16011 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
16016 static PyObject
*_wrap_ThePenList_get() {
16019 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
16024 static int _wrap_TheBrushList_set(PyObject
*_val
) {
16025 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
16030 static PyObject
*_wrap_TheBrushList_get() {
16033 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
16038 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
16039 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
16044 static PyObject
*_wrap_TheColourDatabase_get() {
16047 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
16052 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16055 char *kwnames
[] = {
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (wxEffects
*)new wxEffects();
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
16074 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
;
16076 wxEffects
*arg1
= (wxEffects
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
16084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 wxColour
* resultptr
;
16094 resultptr
= new wxColour((wxColour
&) result
);
16095 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16103 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
;
16105 wxEffects
*arg1
= (wxEffects
*) 0 ;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16122 wxColour
* resultptr
;
16123 resultptr
= new wxColour((wxColour
&) result
);
16124 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16132 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
;
16134 wxEffects
*arg1
= (wxEffects
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "self", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
16142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16151 wxColour
* resultptr
;
16152 resultptr
= new wxColour((wxColour
&) result
);
16153 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16161 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxEffects
*arg1
= (wxEffects
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
16171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16180 wxColour
* resultptr
;
16181 resultptr
= new wxColour((wxColour
&) result
);
16182 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16190 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxEffects
*arg1
= (wxEffects
*) 0 ;
16194 PyObject
* obj0
= 0 ;
16195 char *kwnames
[] = {
16196 (char *) "self", NULL
16199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
16200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 wxColour
* resultptr
;
16210 resultptr
= new wxColour((wxColour
&) result
);
16211 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16219 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxEffects
*arg1
= (wxEffects
*) 0 ;
16222 wxColour
*arg2
= 0 ;
16224 PyObject
* obj0
= 0 ;
16225 PyObject
* obj1
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self",(char *) "c", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16234 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16243 Py_INCREF(Py_None
); resultobj
= Py_None
;
16250 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16251 PyObject
*resultobj
;
16252 wxEffects
*arg1
= (wxEffects
*) 0 ;
16253 wxColour
*arg2
= 0 ;
16255 PyObject
* obj0
= 0 ;
16256 PyObject
* obj1
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "self",(char *) "c", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
16262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 Py_INCREF(Py_None
); resultobj
= Py_None
;
16281 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxEffects
*arg1
= (wxEffects
*) 0 ;
16284 wxColour
*arg2
= 0 ;
16286 PyObject
* obj0
= 0 ;
16287 PyObject
* obj1
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self",(char *) "c", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16305 Py_INCREF(Py_None
); resultobj
= Py_None
;
16312 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxEffects
*arg1
= (wxEffects
*) 0 ;
16315 wxColour
*arg2
= 0 ;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self",(char *) "c", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 Py_INCREF(Py_None
); resultobj
= Py_None
;
16343 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxEffects
*arg1
= (wxEffects
*) 0 ;
16346 wxColour
*arg2
= 0 ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "c", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16358 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16374 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxEffects
*arg1
= (wxEffects
*) 0 ;
16377 wxColour
*arg2
= 0 ;
16378 wxColour
*arg3
= 0 ;
16379 wxColour
*arg4
= 0 ;
16380 wxColour
*arg5
= 0 ;
16381 wxColour
*arg6
= 0 ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 PyObject
* obj2
= 0 ;
16390 PyObject
* obj3
= 0 ;
16391 PyObject
* obj4
= 0 ;
16392 PyObject
* obj5
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16405 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16409 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
16413 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
16417 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 Py_INCREF(Py_None
); resultobj
= Py_None
;
16433 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxEffects
*arg1
= (wxEffects
*) 0 ;
16438 int arg4
= (int) 1 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 PyObject
* obj2
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16450 if (arg2
== NULL
) {
16451 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16455 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 Py_INCREF(Py_None
); resultobj
= Py_None
;
16471 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxEffects
*arg1
= (wxEffects
*) 0 ;
16476 wxBitmap
*arg4
= 0 ;
16479 PyObject
* obj0
= 0 ;
16480 PyObject
* obj1
= 0 ;
16481 PyObject
* obj2
= 0 ;
16482 PyObject
* obj3
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16491 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16493 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16494 if (arg3
== NULL
) {
16495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16497 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16498 if (arg4
== NULL
) {
16499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= PyInt_FromLong((long)result
);
16515 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
16517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16518 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
16520 return Py_BuildValue((char *)"");
16522 static PyMethodDef SwigMethods
[] = {
16523 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
16524 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
16525 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
16526 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
16527 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
16528 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
16529 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
16530 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
16531 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
16532 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
16533 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
16534 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
16535 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
16536 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16537 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
16538 { (char *)"Colour_SetRBG", (PyCFunction
) _wrap_Colour_SetRBG
, METH_VARARGS
| METH_KEYWORDS
},
16539 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
16540 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
16541 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
16542 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
16543 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
16544 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
16545 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
16546 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
16547 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16548 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
16549 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
16550 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
16551 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
16552 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
16553 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
16554 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16555 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16556 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16557 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
16558 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
16559 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
16560 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16561 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16562 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
16563 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
16564 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
16565 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
16566 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
16567 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
16568 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
16569 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
16570 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
16571 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
16572 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
16573 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
16574 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16575 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
16576 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
16577 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16578 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
16579 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16580 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
16581 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
16582 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
16583 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16584 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
16585 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
16586 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
16587 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
16588 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
16589 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
16590 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
16591 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16592 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16593 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16594 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16595 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
16596 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
16597 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
16598 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
16599 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16600 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
16601 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
16602 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
16603 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16604 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16605 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16606 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
16607 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
16608 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
16609 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
16610 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
16611 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
16612 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
16613 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
16614 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
16615 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
16616 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
16617 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16618 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
16619 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
16620 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
16621 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
16622 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16623 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16624 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16625 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16626 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16627 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16628 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16629 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
16630 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16631 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
16632 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
16633 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
16634 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
16635 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
16636 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
16637 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
16638 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
16639 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
16640 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
16641 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
16642 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
16643 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
16644 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
16645 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
16646 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
16647 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
16648 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
16649 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
16650 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
16651 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
16652 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
16653 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
16654 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
16655 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16656 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16657 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16658 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16659 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16660 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16661 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16662 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
16663 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
16664 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
16665 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16666 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
16667 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
16668 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
16669 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
16670 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
16671 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
16672 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
16673 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
16674 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
16675 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
16676 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
16677 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
16678 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
16679 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
16680 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
16681 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
16682 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
16683 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
16684 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
16685 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
16686 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
16687 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
16688 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16689 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16690 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
16691 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
16692 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
16693 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
16694 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
16695 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
16696 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16697 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
16698 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16699 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
16700 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
16701 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
16702 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
16703 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
16704 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
16705 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16706 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16707 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
16708 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
16709 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16710 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16711 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16712 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16713 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16714 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16715 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16716 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16717 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16718 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16719 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16720 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16721 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16722 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16723 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
16724 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
16725 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
16726 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
16727 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
16728 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
16729 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
16730 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
16731 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
16732 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
16733 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
16734 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
16735 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
16736 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
16737 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
16738 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16739 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16740 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
16741 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
16742 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
16743 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
16744 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16745 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
16746 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16747 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16748 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
16749 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
16750 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
16751 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
16752 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16753 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
16754 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
16755 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
16756 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
16757 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
16758 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
16759 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
16760 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
16761 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
16762 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16763 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
16764 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
16765 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16766 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16767 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16768 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16769 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16770 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16771 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16772 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16773 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
16774 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
16775 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
16776 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16777 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16778 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16779 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16780 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16781 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16782 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16783 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16784 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
16785 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
16786 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
16787 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
16788 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
16789 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
16790 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
16791 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16792 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16793 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
16794 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
16795 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
16796 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
16797 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
16798 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
16799 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
16800 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
16801 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
16802 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
16803 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
16804 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
16805 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
16806 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
16807 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
16808 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
16809 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
16810 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
16811 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
16812 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
16813 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16814 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16815 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16816 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
16817 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16818 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16819 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
16820 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
16821 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
16822 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
16823 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
16824 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16825 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
16826 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16827 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16828 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
16829 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
16830 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
16831 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16832 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
16833 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16834 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16835 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
16836 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
16837 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16838 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16839 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
16840 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
16841 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
16842 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16843 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16844 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
16845 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
16846 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
16847 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
16848 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
16849 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
16850 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
16851 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
16852 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16853 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
16854 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
16855 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
16856 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16857 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
16858 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
16859 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
16860 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16861 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16862 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16863 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16864 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16865 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16866 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
16867 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
16868 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
16869 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
16870 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
16871 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
16872 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
16873 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
16874 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16875 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16876 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
16877 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16878 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
16879 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
16880 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
16881 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
16882 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
16883 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
16884 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
16885 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
16886 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
16887 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
16888 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
16889 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
16890 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
16891 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
16892 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
16893 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16894 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16895 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16896 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
16897 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
16898 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16899 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16900 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
16901 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16902 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
16903 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16904 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
16905 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
16906 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16907 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16908 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16909 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16910 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
16911 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
16912 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
16913 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
16914 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
16915 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
16916 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
16917 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
16918 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
16919 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
16920 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
16921 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16922 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16923 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16924 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
16925 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16926 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16927 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16928 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16929 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
16930 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
16931 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16932 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16933 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16934 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16935 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16936 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16937 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16938 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16939 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16940 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16941 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16942 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16943 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16944 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16945 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16946 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16947 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
16948 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16949 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16950 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16951 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16952 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16953 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16954 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
16955 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
16956 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
16957 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
16958 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16959 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
16960 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
16961 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
16962 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
16963 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
16964 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
16965 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
16966 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
16967 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
16968 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
16969 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
16970 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
16971 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
16972 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
16973 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
16974 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16975 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
16976 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
16977 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
16978 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16979 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16980 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
16981 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
16982 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
16983 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16984 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
16985 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
16986 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
16987 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
16988 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
16989 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
16990 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16991 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16992 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16993 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16994 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
16995 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
16996 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
16997 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16998 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
16999 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17000 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17001 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17002 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17003 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
17004 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
17005 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
17006 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
17007 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
17008 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
17009 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17010 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
17011 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
17012 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
17013 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17014 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
17015 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
17016 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
17017 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
17018 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
17019 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
17020 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
17021 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
17022 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
17023 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
17024 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17025 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
17026 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
17027 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
17028 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
17029 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17030 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
17031 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17032 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
17033 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
17034 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
17035 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
17036 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
17037 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
17038 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
17039 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
17040 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
17041 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
17042 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
17043 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
17044 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17045 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17046 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17047 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17048 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17049 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
17050 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
17051 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
17052 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
17053 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
17054 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
17055 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
17056 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17057 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
17062 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17064 static void *_p_wxControlTo_p_wxWindow(void *x
) {
17065 return (void *)((wxWindow
*) ((wxControl
*) x
));
17067 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
17068 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
17070 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
17071 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
17073 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
17074 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
17076 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
17077 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17079 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
17080 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
17082 static void *_p_wxPenTo_p_wxObject(void *x
) {
17083 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
17085 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
17086 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
17088 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
17089 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
17091 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
17092 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
17094 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
17095 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
17097 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
17098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
17100 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
17101 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
17103 static void *_p_wxIconTo_p_wxObject(void *x
) {
17104 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
17106 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
17107 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
17109 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
17110 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
17112 static void *_p_wxSizerTo_p_wxObject(void *x
) {
17113 return (void *)((wxObject
*) ((wxSizer
*) x
));
17115 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
17116 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
17118 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
17119 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
17121 static void *_p_wxPenListTo_p_wxObject(void *x
) {
17122 return (void *)((wxObject
*) ((wxPenList
*) x
));
17124 static void *_p_wxEventTo_p_wxObject(void *x
) {
17125 return (void *)((wxObject
*) ((wxEvent
*) x
));
17127 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
17128 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
17130 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
17131 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
17133 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
17134 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
17136 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
17137 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
17139 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
17140 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
17142 static void *_p_wxDCTo_p_wxObject(void *x
) {
17143 return (void *)((wxObject
*) ((wxDC
*) x
));
17145 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
17146 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
17148 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
17149 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
17151 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
17152 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
17154 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
17155 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
17157 static void *_p_wxControlTo_p_wxObject(void *x
) {
17158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
17160 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
17161 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
17163 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
17164 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
17166 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
17167 return (void *)((wxObject
*) ((wxFSFile
*) x
));
17169 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
17170 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
17172 static void *_p_wxRegionTo_p_wxObject(void *x
) {
17173 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
17175 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
17176 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
17178 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
17179 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
17181 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
17182 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
17184 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
17185 return (void *)((wxObject
*) ((wxEffects
*) x
));
17187 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
17188 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
17190 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
17191 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
17193 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
17194 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
17196 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
17197 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
17199 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
17200 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
17202 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
17203 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
17205 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
17206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
17208 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
17209 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
17211 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
17212 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
17214 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
17215 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
17217 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
17218 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
17220 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
17221 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
17223 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
17224 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
17226 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
17227 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
17229 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
17230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
17232 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
17233 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
17235 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
17236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
17238 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
17239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
17241 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
17242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
17244 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
17245 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
17247 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
17248 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
17250 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
17251 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
17253 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
17254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
17256 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
17257 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
17259 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
17260 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
17262 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
17263 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
17265 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
17266 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17268 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
17269 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
17271 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
17272 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
17274 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
17275 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
17277 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
17278 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
17280 static void *_p_wxImageTo_p_wxObject(void *x
) {
17281 return (void *)((wxObject
*) ((wxImage
*) x
));
17283 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
17284 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
17286 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
17287 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
17289 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
17290 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
17292 static void *_p_wxImageListTo_p_wxObject(void *x
) {
17293 return (void *)((wxObject
*) ((wxImageList
*) x
));
17295 static void *_p_wxCursorTo_p_wxObject(void *x
) {
17296 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
17298 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
17299 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
17301 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
17302 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
17304 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
17305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
17307 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
17308 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
17310 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
17311 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
17313 static void *_p_wxWindowTo_p_wxObject(void *x
) {
17314 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
17316 static void *_p_wxMenuTo_p_wxObject(void *x
) {
17317 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
17319 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
17320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
17322 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
17323 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
17325 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
17326 return (void *)((wxObject
*) ((wxBrushList
*) x
));
17328 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
17329 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
17331 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
17332 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
17334 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
17335 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
17337 static void *_p_wxMaskTo_p_wxObject(void *x
) {
17338 return (void *)((wxObject
*) ((wxMask
*) x
));
17340 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
17341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
17343 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
17344 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
17346 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
17347 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
17349 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
17350 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
17352 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
17353 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
17355 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
17356 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
17358 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
17359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
17361 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
17362 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
17364 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
17365 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
17367 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
17368 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
17370 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
17371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
17373 static void *_p_wxFontTo_p_wxObject(void *x
) {
17374 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
17376 static void *_p_wxBrushTo_p_wxObject(void *x
) {
17377 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
17379 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
17380 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
17382 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
17383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
17385 static void *_p_wxColourTo_p_wxObject(void *x
) {
17386 return (void *)((wxObject
*) ((wxColour
*) x
));
17388 static void *_p_wxFontListTo_p_wxObject(void *x
) {
17389 return (void *)((wxObject
*) ((wxFontList
*) x
));
17391 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
17392 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
17394 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
17395 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
17397 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
17398 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17400 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
17401 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
17403 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
17404 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
17406 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
17407 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
17409 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
17410 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
17412 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
17413 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
17415 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
17416 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
17418 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
17419 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
17421 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
17422 return (void *)((wxDC
*) ((wxClientDC
*) x
));
17424 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
17425 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
17427 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
17428 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
17430 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
17431 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
17433 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
17434 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
17436 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
17437 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
17439 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
17440 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
17442 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
17443 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
17445 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
17446 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
17448 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
17449 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
17451 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
17452 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
17454 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
17455 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
17457 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
17458 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
17460 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
17461 return (void *)((wxPen
*) ((wxPyPen
*) x
));
17463 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
17464 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
17465 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
17466 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC
},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC
},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC
},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC
},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC
},{"_p_wxDC"},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC
},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC
},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC
},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC
},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC
},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC
},{0}};
17467 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
17468 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
17469 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
17470 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
17471 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
17472 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
17473 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
17474 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
17475 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}};
17476 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
17477 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
17478 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC
},{"_p_wxMemoryDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC
},{0}};
17479 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
17480 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
17481 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
17482 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
17483 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
17484 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
},{"_p_wxPen", _p_wxPenTo_p_wxObject
},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxMask", _p_wxMaskTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxFont", _p_wxFontTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxDC", _p_wxDCTo_p_wxObject
},{"_p_wxIcon", _p_wxIconTo_p_wxObject
},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
},{"_p_wxObject"},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
},{"_p_wxPyPen", _p_wxPyPenTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxColour", _p_wxColourTo_p_wxObject
},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}};
17485 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
17486 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
17487 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
17488 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
17489 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
17490 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
17491 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
17492 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
17493 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
17494 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
17495 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
17496 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
17497 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
17498 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
},{"_p_wxPyPen", _p_wxPyPenTo_p_wxGDIObject
},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
},{"_p_wxGDIObject"},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
},{0}};
17499 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
17500 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
17501 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
17502 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
17503 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
17504 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
17505 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
17506 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
17507 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
17508 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
17509 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
17510 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
17511 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
17512 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
17513 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
17514 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
17515 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
17516 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
17517 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
17519 static swig_type_info
*swig_types_initial
[] = {
17520 _swigt__p_wxPostScriptDC
,
17522 _swigt__p_wxColour
,
17524 _swigt__p_wxMirrorDC
,
17526 _swigt__p_wxPyFontEnumerator
,
17527 _swigt__p_wxIconLocation
,
17529 _swigt__p_wxMetaFileDC
,
17532 _swigt__p_wxWindow
,
17535 _swigt__p_wxMemoryDC
,
17536 _swigt__p_wxFontMapper
,
17537 _swigt__p_wxEffects
,
17538 _swigt__p_wxNativeEncodingInfo
,
17539 _swigt__p_wxPalette
,
17540 _swigt__p_wxBitmap
,
17541 _swigt__p_wxObject
,
17542 _swigt__p_wxRegionIterator
,
17544 _swigt__p_wxString
,
17545 _swigt__p_wxPrinterDC
,
17546 _swigt__p_wxIconBundle
,
17549 _swigt__p_wxScreenDC
,
17550 _swigt__p_wxCursor
,
17551 _swigt__p_wxClientDC
,
17552 _swigt__p_wxBufferedDC
,
17553 _swigt__p_wxImageList
,
17554 _swigt__p_unsigned_char
,
17555 _swigt__p_wxGDIObject
,
17556 _swigt__p_wxLocale
,
17558 _swigt__p_wxRegion
,
17559 _swigt__p_wxLanguageInfo
,
17560 _swigt__p_wxConfigBase
,
17561 _swigt__p_wxWindowDC
,
17562 _swigt__p_wxPrintData
,
17563 _swigt__p_wxBrushList
,
17564 _swigt__p_wxFontList
,
17566 _swigt__p_wxBufferedPaintDC
,
17567 _swigt__p_wxPaintDC
,
17568 _swigt__p_wxPenList
,
17571 _swigt__p_wxMetaFile
,
17572 _swigt__p_wxNativeFontInfo
,
17573 _swigt__p_wxEncodingConverter
,
17574 _swigt__p_wxColourDatabase
,
17579 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17581 static swig_const_info swig_const_table
[] = {
17582 { SWIG_PY_INT
, (char *)"OutRegion", (long) wxOutRegion
, 0, 0, 0},
17583 { SWIG_PY_INT
, (char *)"PartRegion", (long) wxPartRegion
, 0, 0, 0},
17584 { SWIG_PY_INT
, (char *)"InRegion", (long) wxInRegion
, 0, 0, 0},
17585 { SWIG_PY_INT
, (char *)"FONTFAMILY_DEFAULT", (long) wxFONTFAMILY_DEFAULT
, 0, 0, 0},
17586 { SWIG_PY_INT
, (char *)"FONTFAMILY_DECORATIVE", (long) wxFONTFAMILY_DECORATIVE
, 0, 0, 0},
17587 { SWIG_PY_INT
, (char *)"FONTFAMILY_ROMAN", (long) wxFONTFAMILY_ROMAN
, 0, 0, 0},
17588 { SWIG_PY_INT
, (char *)"FONTFAMILY_SCRIPT", (long) wxFONTFAMILY_SCRIPT
, 0, 0, 0},
17589 { SWIG_PY_INT
, (char *)"FONTFAMILY_SWISS", (long) wxFONTFAMILY_SWISS
, 0, 0, 0},
17590 { SWIG_PY_INT
, (char *)"FONTFAMILY_MODERN", (long) wxFONTFAMILY_MODERN
, 0, 0, 0},
17591 { SWIG_PY_INT
, (char *)"FONTFAMILY_TELETYPE", (long) wxFONTFAMILY_TELETYPE
, 0, 0, 0},
17592 { SWIG_PY_INT
, (char *)"FONTFAMILY_MAX", (long) wxFONTFAMILY_MAX
, 0, 0, 0},
17593 { SWIG_PY_INT
, (char *)"FONTFAMILY_UNKNOWN", (long) wxFONTFAMILY_UNKNOWN
, 0, 0, 0},
17594 { SWIG_PY_INT
, (char *)"FONTSTYLE_NORMAL", (long) wxFONTSTYLE_NORMAL
, 0, 0, 0},
17595 { SWIG_PY_INT
, (char *)"FONTSTYLE_ITALIC", (long) wxFONTSTYLE_ITALIC
, 0, 0, 0},
17596 { SWIG_PY_INT
, (char *)"FONTSTYLE_SLANT", (long) wxFONTSTYLE_SLANT
, 0, 0, 0},
17597 { SWIG_PY_INT
, (char *)"FONTSTYLE_MAX", (long) wxFONTSTYLE_MAX
, 0, 0, 0},
17598 { SWIG_PY_INT
, (char *)"FONTWEIGHT_NORMAL", (long) wxFONTWEIGHT_NORMAL
, 0, 0, 0},
17599 { SWIG_PY_INT
, (char *)"FONTWEIGHT_LIGHT", (long) wxFONTWEIGHT_LIGHT
, 0, 0, 0},
17600 { SWIG_PY_INT
, (char *)"FONTWEIGHT_BOLD", (long) wxFONTWEIGHT_BOLD
, 0, 0, 0},
17601 { SWIG_PY_INT
, (char *)"FONTWEIGHT_MAX", (long) wxFONTWEIGHT_MAX
, 0, 0, 0},
17602 { SWIG_PY_INT
, (char *)"FONTFLAG_DEFAULT", (long) wxFONTFLAG_DEFAULT
, 0, 0, 0},
17603 { SWIG_PY_INT
, (char *)"FONTFLAG_ITALIC", (long) wxFONTFLAG_ITALIC
, 0, 0, 0},
17604 { SWIG_PY_INT
, (char *)"FONTFLAG_SLANT", (long) wxFONTFLAG_SLANT
, 0, 0, 0},
17605 { SWIG_PY_INT
, (char *)"FONTFLAG_LIGHT", (long) wxFONTFLAG_LIGHT
, 0, 0, 0},
17606 { SWIG_PY_INT
, (char *)"FONTFLAG_BOLD", (long) wxFONTFLAG_BOLD
, 0, 0, 0},
17607 { SWIG_PY_INT
, (char *)"FONTFLAG_ANTIALIASED", (long) wxFONTFLAG_ANTIALIASED
, 0, 0, 0},
17608 { SWIG_PY_INT
, (char *)"FONTFLAG_NOT_ANTIALIASED", (long) wxFONTFLAG_NOT_ANTIALIASED
, 0, 0, 0},
17609 { SWIG_PY_INT
, (char *)"FONTFLAG_UNDERLINED", (long) wxFONTFLAG_UNDERLINED
, 0, 0, 0},
17610 { SWIG_PY_INT
, (char *)"FONTFLAG_STRIKETHROUGH", (long) wxFONTFLAG_STRIKETHROUGH
, 0, 0, 0},
17611 { SWIG_PY_INT
, (char *)"FONTFLAG_MASK", (long) wxFONTFLAG_MASK
, 0, 0, 0},
17612 { SWIG_PY_INT
, (char *)"FONTENCODING_SYSTEM", (long) wxFONTENCODING_SYSTEM
, 0, 0, 0},
17613 { SWIG_PY_INT
, (char *)"FONTENCODING_DEFAULT", (long) wxFONTENCODING_DEFAULT
, 0, 0, 0},
17614 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_1", (long) wxFONTENCODING_ISO8859_1
, 0, 0, 0},
17615 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_2", (long) wxFONTENCODING_ISO8859_2
, 0, 0, 0},
17616 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_3", (long) wxFONTENCODING_ISO8859_3
, 0, 0, 0},
17617 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_4", (long) wxFONTENCODING_ISO8859_4
, 0, 0, 0},
17618 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_5", (long) wxFONTENCODING_ISO8859_5
, 0, 0, 0},
17619 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_6", (long) wxFONTENCODING_ISO8859_6
, 0, 0, 0},
17620 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_7", (long) wxFONTENCODING_ISO8859_7
, 0, 0, 0},
17621 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_8", (long) wxFONTENCODING_ISO8859_8
, 0, 0, 0},
17622 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_9", (long) wxFONTENCODING_ISO8859_9
, 0, 0, 0},
17623 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_10", (long) wxFONTENCODING_ISO8859_10
, 0, 0, 0},
17624 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_11", (long) wxFONTENCODING_ISO8859_11
, 0, 0, 0},
17625 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_12", (long) wxFONTENCODING_ISO8859_12
, 0, 0, 0},
17626 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_13", (long) wxFONTENCODING_ISO8859_13
, 0, 0, 0},
17627 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_14", (long) wxFONTENCODING_ISO8859_14
, 0, 0, 0},
17628 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_15", (long) wxFONTENCODING_ISO8859_15
, 0, 0, 0},
17629 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_MAX", (long) wxFONTENCODING_ISO8859_MAX
, 0, 0, 0},
17630 { SWIG_PY_INT
, (char *)"FONTENCODING_KOI8", (long) wxFONTENCODING_KOI8
, 0, 0, 0},
17631 { SWIG_PY_INT
, (char *)"FONTENCODING_ALTERNATIVE", (long) wxFONTENCODING_ALTERNATIVE
, 0, 0, 0},
17632 { SWIG_PY_INT
, (char *)"FONTENCODING_BULGARIAN", (long) wxFONTENCODING_BULGARIAN
, 0, 0, 0},
17633 { SWIG_PY_INT
, (char *)"FONTENCODING_CP437", (long) wxFONTENCODING_CP437
, 0, 0, 0},
17634 { SWIG_PY_INT
, (char *)"FONTENCODING_CP850", (long) wxFONTENCODING_CP850
, 0, 0, 0},
17635 { SWIG_PY_INT
, (char *)"FONTENCODING_CP852", (long) wxFONTENCODING_CP852
, 0, 0, 0},
17636 { SWIG_PY_INT
, (char *)"FONTENCODING_CP855", (long) wxFONTENCODING_CP855
, 0, 0, 0},
17637 { SWIG_PY_INT
, (char *)"FONTENCODING_CP866", (long) wxFONTENCODING_CP866
, 0, 0, 0},
17638 { SWIG_PY_INT
, (char *)"FONTENCODING_CP874", (long) wxFONTENCODING_CP874
, 0, 0, 0},
17639 { SWIG_PY_INT
, (char *)"FONTENCODING_CP932", (long) wxFONTENCODING_CP932
, 0, 0, 0},
17640 { SWIG_PY_INT
, (char *)"FONTENCODING_CP936", (long) wxFONTENCODING_CP936
, 0, 0, 0},
17641 { SWIG_PY_INT
, (char *)"FONTENCODING_CP949", (long) wxFONTENCODING_CP949
, 0, 0, 0},
17642 { SWIG_PY_INT
, (char *)"FONTENCODING_CP950", (long) wxFONTENCODING_CP950
, 0, 0, 0},
17643 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1250", (long) wxFONTENCODING_CP1250
, 0, 0, 0},
17644 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1251", (long) wxFONTENCODING_CP1251
, 0, 0, 0},
17645 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1252", (long) wxFONTENCODING_CP1252
, 0, 0, 0},
17646 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1253", (long) wxFONTENCODING_CP1253
, 0, 0, 0},
17647 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1254", (long) wxFONTENCODING_CP1254
, 0, 0, 0},
17648 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1255", (long) wxFONTENCODING_CP1255
, 0, 0, 0},
17649 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1256", (long) wxFONTENCODING_CP1256
, 0, 0, 0},
17650 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1257", (long) wxFONTENCODING_CP1257
, 0, 0, 0},
17651 { SWIG_PY_INT
, (char *)"FONTENCODING_CP12_MAX", (long) wxFONTENCODING_CP12_MAX
, 0, 0, 0},
17652 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF7", (long) wxFONTENCODING_UTF7
, 0, 0, 0},
17653 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF8", (long) wxFONTENCODING_UTF8
, 0, 0, 0},
17654 { SWIG_PY_INT
, (char *)"FONTENCODING_EUC_JP", (long) wxFONTENCODING_EUC_JP
, 0, 0, 0},
17655 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16BE", (long) wxFONTENCODING_UTF16BE
, 0, 0, 0},
17656 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16LE", (long) wxFONTENCODING_UTF16LE
, 0, 0, 0},
17657 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32BE", (long) wxFONTENCODING_UTF32BE
, 0, 0, 0},
17658 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32LE", (long) wxFONTENCODING_UTF32LE
, 0, 0, 0},
17659 { SWIG_PY_INT
, (char *)"FONTENCODING_MAX", (long) wxFONTENCODING_MAX
, 0, 0, 0},
17660 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16", (long) wxFONTENCODING_UTF16
, 0, 0, 0},
17661 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32", (long) wxFONTENCODING_UTF32
, 0, 0, 0},
17662 { SWIG_PY_INT
, (char *)"FONTENCODING_UNICODE", (long) wxFONTENCODING_UNICODE
, 0, 0, 0},
17663 { SWIG_PY_INT
, (char *)"FONTENCODING_GB2312", (long) wxFONTENCODING_GB2312
, 0, 0, 0},
17664 { SWIG_PY_INT
, (char *)"FONTENCODING_BIG5", (long) wxFONTENCODING_BIG5
, 0, 0, 0},
17665 { SWIG_PY_INT
, (char *)"FONTENCODING_SHIFT_JIS", (long) wxFONTENCODING_SHIFT_JIS
, 0, 0, 0},
17666 { SWIG_PY_INT
, (char *)"LANGUAGE_DEFAULT", (long) wxLANGUAGE_DEFAULT
, 0, 0, 0},
17667 { SWIG_PY_INT
, (char *)"LANGUAGE_UNKNOWN", (long) wxLANGUAGE_UNKNOWN
, 0, 0, 0},
17668 { SWIG_PY_INT
, (char *)"LANGUAGE_ABKHAZIAN", (long) wxLANGUAGE_ABKHAZIAN
, 0, 0, 0},
17669 { SWIG_PY_INT
, (char *)"LANGUAGE_AFAR", (long) wxLANGUAGE_AFAR
, 0, 0, 0},
17670 { SWIG_PY_INT
, (char *)"LANGUAGE_AFRIKAANS", (long) wxLANGUAGE_AFRIKAANS
, 0, 0, 0},
17671 { SWIG_PY_INT
, (char *)"LANGUAGE_ALBANIAN", (long) wxLANGUAGE_ALBANIAN
, 0, 0, 0},
17672 { SWIG_PY_INT
, (char *)"LANGUAGE_AMHARIC", (long) wxLANGUAGE_AMHARIC
, 0, 0, 0},
17673 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC", (long) wxLANGUAGE_ARABIC
, 0, 0, 0},
17674 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_ALGERIA", (long) wxLANGUAGE_ARABIC_ALGERIA
, 0, 0, 0},
17675 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_BAHRAIN", (long) wxLANGUAGE_ARABIC_BAHRAIN
, 0, 0, 0},
17676 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_EGYPT", (long) wxLANGUAGE_ARABIC_EGYPT
, 0, 0, 0},
17677 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_IRAQ", (long) wxLANGUAGE_ARABIC_IRAQ
, 0, 0, 0},
17678 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_JORDAN", (long) wxLANGUAGE_ARABIC_JORDAN
, 0, 0, 0},
17679 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_KUWAIT", (long) wxLANGUAGE_ARABIC_KUWAIT
, 0, 0, 0},
17680 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LEBANON", (long) wxLANGUAGE_ARABIC_LEBANON
, 0, 0, 0},
17681 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LIBYA", (long) wxLANGUAGE_ARABIC_LIBYA
, 0, 0, 0},
17682 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_MOROCCO", (long) wxLANGUAGE_ARABIC_MOROCCO
, 0, 0, 0},
17683 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_OMAN", (long) wxLANGUAGE_ARABIC_OMAN
, 0, 0, 0},
17684 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_QATAR", (long) wxLANGUAGE_ARABIC_QATAR
, 0, 0, 0},
17685 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SAUDI_ARABIA", (long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
, 0, 0, 0},
17686 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SUDAN", (long) wxLANGUAGE_ARABIC_SUDAN
, 0, 0, 0},
17687 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SYRIA", (long) wxLANGUAGE_ARABIC_SYRIA
, 0, 0, 0},
17688 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_TUNISIA", (long) wxLANGUAGE_ARABIC_TUNISIA
, 0, 0, 0},
17689 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_UAE", (long) wxLANGUAGE_ARABIC_UAE
, 0, 0, 0},
17690 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_YEMEN", (long) wxLANGUAGE_ARABIC_YEMEN
, 0, 0, 0},
17691 { SWIG_PY_INT
, (char *)"LANGUAGE_ARMENIAN", (long) wxLANGUAGE_ARMENIAN
, 0, 0, 0},
17692 { SWIG_PY_INT
, (char *)"LANGUAGE_ASSAMESE", (long) wxLANGUAGE_ASSAMESE
, 0, 0, 0},
17693 { SWIG_PY_INT
, (char *)"LANGUAGE_AYMARA", (long) wxLANGUAGE_AYMARA
, 0, 0, 0},
17694 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI", (long) wxLANGUAGE_AZERI
, 0, 0, 0},
17695 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_CYRILLIC", (long) wxLANGUAGE_AZERI_CYRILLIC
, 0, 0, 0},
17696 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_LATIN", (long) wxLANGUAGE_AZERI_LATIN
, 0, 0, 0},
17697 { SWIG_PY_INT
, (char *)"LANGUAGE_BASHKIR", (long) wxLANGUAGE_BASHKIR
, 0, 0, 0},
17698 { SWIG_PY_INT
, (char *)"LANGUAGE_BASQUE", (long) wxLANGUAGE_BASQUE
, 0, 0, 0},
17699 { SWIG_PY_INT
, (char *)"LANGUAGE_BELARUSIAN", (long) wxLANGUAGE_BELARUSIAN
, 0, 0, 0},
17700 { SWIG_PY_INT
, (char *)"LANGUAGE_BENGALI", (long) wxLANGUAGE_BENGALI
, 0, 0, 0},
17701 { SWIG_PY_INT
, (char *)"LANGUAGE_BHUTANI", (long) wxLANGUAGE_BHUTANI
, 0, 0, 0},
17702 { SWIG_PY_INT
, (char *)"LANGUAGE_BIHARI", (long) wxLANGUAGE_BIHARI
, 0, 0, 0},
17703 { SWIG_PY_INT
, (char *)"LANGUAGE_BISLAMA", (long) wxLANGUAGE_BISLAMA
, 0, 0, 0},
17704 { SWIG_PY_INT
, (char *)"LANGUAGE_BRETON", (long) wxLANGUAGE_BRETON
, 0, 0, 0},
17705 { SWIG_PY_INT
, (char *)"LANGUAGE_BULGARIAN", (long) wxLANGUAGE_BULGARIAN
, 0, 0, 0},
17706 { SWIG_PY_INT
, (char *)"LANGUAGE_BURMESE", (long) wxLANGUAGE_BURMESE
, 0, 0, 0},
17707 { SWIG_PY_INT
, (char *)"LANGUAGE_CAMBODIAN", (long) wxLANGUAGE_CAMBODIAN
, 0, 0, 0},
17708 { SWIG_PY_INT
, (char *)"LANGUAGE_CATALAN", (long) wxLANGUAGE_CATALAN
, 0, 0, 0},
17709 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE", (long) wxLANGUAGE_CHINESE
, 0, 0, 0},
17710 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SIMPLIFIED", (long) wxLANGUAGE_CHINESE_SIMPLIFIED
, 0, 0, 0},
17711 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TRADITIONAL", (long) wxLANGUAGE_CHINESE_TRADITIONAL
, 0, 0, 0},
17712 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_HONGKONG", (long) wxLANGUAGE_CHINESE_HONGKONG
, 0, 0, 0},
17713 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_MACAU", (long) wxLANGUAGE_CHINESE_MACAU
, 0, 0, 0},
17714 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SINGAPORE", (long) wxLANGUAGE_CHINESE_SINGAPORE
, 0, 0, 0},
17715 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TAIWAN", (long) wxLANGUAGE_CHINESE_TAIWAN
, 0, 0, 0},
17716 { SWIG_PY_INT
, (char *)"LANGUAGE_CORSICAN", (long) wxLANGUAGE_CORSICAN
, 0, 0, 0},
17717 { SWIG_PY_INT
, (char *)"LANGUAGE_CROATIAN", (long) wxLANGUAGE_CROATIAN
, 0, 0, 0},
17718 { SWIG_PY_INT
, (char *)"LANGUAGE_CZECH", (long) wxLANGUAGE_CZECH
, 0, 0, 0},
17719 { SWIG_PY_INT
, (char *)"LANGUAGE_DANISH", (long) wxLANGUAGE_DANISH
, 0, 0, 0},
17720 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH", (long) wxLANGUAGE_DUTCH
, 0, 0, 0},
17721 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH_BELGIAN", (long) wxLANGUAGE_DUTCH_BELGIAN
, 0, 0, 0},
17722 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH", (long) wxLANGUAGE_ENGLISH
, 0, 0, 0},
17723 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_UK", (long) wxLANGUAGE_ENGLISH_UK
, 0, 0, 0},
17724 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_US", (long) wxLANGUAGE_ENGLISH_US
, 0, 0, 0},
17725 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_AUSTRALIA", (long) wxLANGUAGE_ENGLISH_AUSTRALIA
, 0, 0, 0},
17726 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BELIZE", (long) wxLANGUAGE_ENGLISH_BELIZE
, 0, 0, 0},
17727 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BOTSWANA", (long) wxLANGUAGE_ENGLISH_BOTSWANA
, 0, 0, 0},
17728 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CANADA", (long) wxLANGUAGE_ENGLISH_CANADA
, 0, 0, 0},
17729 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CARIBBEAN", (long) wxLANGUAGE_ENGLISH_CARIBBEAN
, 0, 0, 0},
17730 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_DENMARK", (long) wxLANGUAGE_ENGLISH_DENMARK
, 0, 0, 0},
17731 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_EIRE", (long) wxLANGUAGE_ENGLISH_EIRE
, 0, 0, 0},
17732 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_JAMAICA", (long) wxLANGUAGE_ENGLISH_JAMAICA
, 0, 0, 0},
17733 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_NEW_ZEALAND", (long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
, 0, 0, 0},
17734 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_PHILIPPINES", (long) wxLANGUAGE_ENGLISH_PHILIPPINES
, 0, 0, 0},
17735 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_SOUTH_AFRICA", (long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
, 0, 0, 0},
17736 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_TRINIDAD", (long) wxLANGUAGE_ENGLISH_TRINIDAD
, 0, 0, 0},
17737 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_ZIMBABWE", (long) wxLANGUAGE_ENGLISH_ZIMBABWE
, 0, 0, 0},
17738 { SWIG_PY_INT
, (char *)"LANGUAGE_ESPERANTO", (long) wxLANGUAGE_ESPERANTO
, 0, 0, 0},
17739 { SWIG_PY_INT
, (char *)"LANGUAGE_ESTONIAN", (long) wxLANGUAGE_ESTONIAN
, 0, 0, 0},
17740 { SWIG_PY_INT
, (char *)"LANGUAGE_FAEROESE", (long) wxLANGUAGE_FAEROESE
, 0, 0, 0},
17741 { SWIG_PY_INT
, (char *)"LANGUAGE_FARSI", (long) wxLANGUAGE_FARSI
, 0, 0, 0},
17742 { SWIG_PY_INT
, (char *)"LANGUAGE_FIJI", (long) wxLANGUAGE_FIJI
, 0, 0, 0},
17743 { SWIG_PY_INT
, (char *)"LANGUAGE_FINNISH", (long) wxLANGUAGE_FINNISH
, 0, 0, 0},
17744 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH", (long) wxLANGUAGE_FRENCH
, 0, 0, 0},
17745 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_BELGIAN", (long) wxLANGUAGE_FRENCH_BELGIAN
, 0, 0, 0},
17746 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_CANADIAN", (long) wxLANGUAGE_FRENCH_CANADIAN
, 0, 0, 0},
17747 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_LUXEMBOURG", (long) wxLANGUAGE_FRENCH_LUXEMBOURG
, 0, 0, 0},
17748 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_MONACO", (long) wxLANGUAGE_FRENCH_MONACO
, 0, 0, 0},
17749 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_SWISS", (long) wxLANGUAGE_FRENCH_SWISS
, 0, 0, 0},
17750 { SWIG_PY_INT
, (char *)"LANGUAGE_FRISIAN", (long) wxLANGUAGE_FRISIAN
, 0, 0, 0},
17751 { SWIG_PY_INT
, (char *)"LANGUAGE_GALICIAN", (long) wxLANGUAGE_GALICIAN
, 0, 0, 0},
17752 { SWIG_PY_INT
, (char *)"LANGUAGE_GEORGIAN", (long) wxLANGUAGE_GEORGIAN
, 0, 0, 0},
17753 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN", (long) wxLANGUAGE_GERMAN
, 0, 0, 0},
17754 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_AUSTRIAN", (long) wxLANGUAGE_GERMAN_AUSTRIAN
, 0, 0, 0},
17755 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_BELGIUM", (long) wxLANGUAGE_GERMAN_BELGIUM
, 0, 0, 0},
17756 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LIECHTENSTEIN", (long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
, 0, 0, 0},
17757 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LUXEMBOURG", (long) wxLANGUAGE_GERMAN_LUXEMBOURG
, 0, 0, 0},
17758 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_SWISS", (long) wxLANGUAGE_GERMAN_SWISS
, 0, 0, 0},
17759 { SWIG_PY_INT
, (char *)"LANGUAGE_GREEK", (long) wxLANGUAGE_GREEK
, 0, 0, 0},
17760 { SWIG_PY_INT
, (char *)"LANGUAGE_GREENLANDIC", (long) wxLANGUAGE_GREENLANDIC
, 0, 0, 0},
17761 { SWIG_PY_INT
, (char *)"LANGUAGE_GUARANI", (long) wxLANGUAGE_GUARANI
, 0, 0, 0},
17762 { SWIG_PY_INT
, (char *)"LANGUAGE_GUJARATI", (long) wxLANGUAGE_GUJARATI
, 0, 0, 0},
17763 { SWIG_PY_INT
, (char *)"LANGUAGE_HAUSA", (long) wxLANGUAGE_HAUSA
, 0, 0, 0},
17764 { SWIG_PY_INT
, (char *)"LANGUAGE_HEBREW", (long) wxLANGUAGE_HEBREW
, 0, 0, 0},
17765 { SWIG_PY_INT
, (char *)"LANGUAGE_HINDI", (long) wxLANGUAGE_HINDI
, 0, 0, 0},
17766 { SWIG_PY_INT
, (char *)"LANGUAGE_HUNGARIAN", (long) wxLANGUAGE_HUNGARIAN
, 0, 0, 0},
17767 { SWIG_PY_INT
, (char *)"LANGUAGE_ICELANDIC", (long) wxLANGUAGE_ICELANDIC
, 0, 0, 0},
17768 { SWIG_PY_INT
, (char *)"LANGUAGE_INDONESIAN", (long) wxLANGUAGE_INDONESIAN
, 0, 0, 0},
17769 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUA", (long) wxLANGUAGE_INTERLINGUA
, 0, 0, 0},
17770 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUE", (long) wxLANGUAGE_INTERLINGUE
, 0, 0, 0},
17771 { SWIG_PY_INT
, (char *)"LANGUAGE_INUKTITUT", (long) wxLANGUAGE_INUKTITUT
, 0, 0, 0},
17772 { SWIG_PY_INT
, (char *)"LANGUAGE_INUPIAK", (long) wxLANGUAGE_INUPIAK
, 0, 0, 0},
17773 { SWIG_PY_INT
, (char *)"LANGUAGE_IRISH", (long) wxLANGUAGE_IRISH
, 0, 0, 0},
17774 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN", (long) wxLANGUAGE_ITALIAN
, 0, 0, 0},
17775 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN_SWISS", (long) wxLANGUAGE_ITALIAN_SWISS
, 0, 0, 0},
17776 { SWIG_PY_INT
, (char *)"LANGUAGE_JAPANESE", (long) wxLANGUAGE_JAPANESE
, 0, 0, 0},
17777 { SWIG_PY_INT
, (char *)"LANGUAGE_JAVANESE", (long) wxLANGUAGE_JAVANESE
, 0, 0, 0},
17778 { SWIG_PY_INT
, (char *)"LANGUAGE_KANNADA", (long) wxLANGUAGE_KANNADA
, 0, 0, 0},
17779 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI", (long) wxLANGUAGE_KASHMIRI
, 0, 0, 0},
17780 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI_INDIA", (long) wxLANGUAGE_KASHMIRI_INDIA
, 0, 0, 0},
17781 { SWIG_PY_INT
, (char *)"LANGUAGE_KAZAKH", (long) wxLANGUAGE_KAZAKH
, 0, 0, 0},
17782 { SWIG_PY_INT
, (char *)"LANGUAGE_KERNEWEK", (long) wxLANGUAGE_KERNEWEK
, 0, 0, 0},
17783 { SWIG_PY_INT
, (char *)"LANGUAGE_KINYARWANDA", (long) wxLANGUAGE_KINYARWANDA
, 0, 0, 0},
17784 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRGHIZ", (long) wxLANGUAGE_KIRGHIZ
, 0, 0, 0},
17785 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRUNDI", (long) wxLANGUAGE_KIRUNDI
, 0, 0, 0},
17786 { SWIG_PY_INT
, (char *)"LANGUAGE_KONKANI", (long) wxLANGUAGE_KONKANI
, 0, 0, 0},
17787 { SWIG_PY_INT
, (char *)"LANGUAGE_KOREAN", (long) wxLANGUAGE_KOREAN
, 0, 0, 0},
17788 { SWIG_PY_INT
, (char *)"LANGUAGE_KURDISH", (long) wxLANGUAGE_KURDISH
, 0, 0, 0},
17789 { SWIG_PY_INT
, (char *)"LANGUAGE_LAOTHIAN", (long) wxLANGUAGE_LAOTHIAN
, 0, 0, 0},
17790 { SWIG_PY_INT
, (char *)"LANGUAGE_LATIN", (long) wxLANGUAGE_LATIN
, 0, 0, 0},
17791 { SWIG_PY_INT
, (char *)"LANGUAGE_LATVIAN", (long) wxLANGUAGE_LATVIAN
, 0, 0, 0},
17792 { SWIG_PY_INT
, (char *)"LANGUAGE_LINGALA", (long) wxLANGUAGE_LINGALA
, 0, 0, 0},
17793 { SWIG_PY_INT
, (char *)"LANGUAGE_LITHUANIAN", (long) wxLANGUAGE_LITHUANIAN
, 0, 0, 0},
17794 { SWIG_PY_INT
, (char *)"LANGUAGE_MACEDONIAN", (long) wxLANGUAGE_MACEDONIAN
, 0, 0, 0},
17795 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAGASY", (long) wxLANGUAGE_MALAGASY
, 0, 0, 0},
17796 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY", (long) wxLANGUAGE_MALAY
, 0, 0, 0},
17797 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAYALAM", (long) wxLANGUAGE_MALAYALAM
, 0, 0, 0},
17798 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", (long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
, 0, 0, 0},
17799 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_MALAYSIA", (long) wxLANGUAGE_MALAY_MALAYSIA
, 0, 0, 0},
17800 { SWIG_PY_INT
, (char *)"LANGUAGE_MALTESE", (long) wxLANGUAGE_MALTESE
, 0, 0, 0},
17801 { SWIG_PY_INT
, (char *)"LANGUAGE_MANIPURI", (long) wxLANGUAGE_MANIPURI
, 0, 0, 0},
17802 { SWIG_PY_INT
, (char *)"LANGUAGE_MAORI", (long) wxLANGUAGE_MAORI
, 0, 0, 0},
17803 { SWIG_PY_INT
, (char *)"LANGUAGE_MARATHI", (long) wxLANGUAGE_MARATHI
, 0, 0, 0},
17804 { SWIG_PY_INT
, (char *)"LANGUAGE_MOLDAVIAN", (long) wxLANGUAGE_MOLDAVIAN
, 0, 0, 0},
17805 { SWIG_PY_INT
, (char *)"LANGUAGE_MONGOLIAN", (long) wxLANGUAGE_MONGOLIAN
, 0, 0, 0},
17806 { SWIG_PY_INT
, (char *)"LANGUAGE_NAURU", (long) wxLANGUAGE_NAURU
, 0, 0, 0},
17807 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI", (long) wxLANGUAGE_NEPALI
, 0, 0, 0},
17808 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI_INDIA", (long) wxLANGUAGE_NEPALI_INDIA
, 0, 0, 0},
17809 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_BOKMAL", (long) wxLANGUAGE_NORWEGIAN_BOKMAL
, 0, 0, 0},
17810 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_NYNORSK", (long) wxLANGUAGE_NORWEGIAN_NYNORSK
, 0, 0, 0},
17811 { SWIG_PY_INT
, (char *)"LANGUAGE_OCCITAN", (long) wxLANGUAGE_OCCITAN
, 0, 0, 0},
17812 { SWIG_PY_INT
, (char *)"LANGUAGE_ORIYA", (long) wxLANGUAGE_ORIYA
, 0, 0, 0},
17813 { SWIG_PY_INT
, (char *)"LANGUAGE_OROMO", (long) wxLANGUAGE_OROMO
, 0, 0, 0},
17814 { SWIG_PY_INT
, (char *)"LANGUAGE_PASHTO", (long) wxLANGUAGE_PASHTO
, 0, 0, 0},
17815 { SWIG_PY_INT
, (char *)"LANGUAGE_POLISH", (long) wxLANGUAGE_POLISH
, 0, 0, 0},
17816 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE", (long) wxLANGUAGE_PORTUGUESE
, 0, 0, 0},
17817 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE_BRAZILIAN", (long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
, 0, 0, 0},
17818 { SWIG_PY_INT
, (char *)"LANGUAGE_PUNJABI", (long) wxLANGUAGE_PUNJABI
, 0, 0, 0},
17819 { SWIG_PY_INT
, (char *)"LANGUAGE_QUECHUA", (long) wxLANGUAGE_QUECHUA
, 0, 0, 0},
17820 { SWIG_PY_INT
, (char *)"LANGUAGE_RHAETO_ROMANCE", (long) wxLANGUAGE_RHAETO_ROMANCE
, 0, 0, 0},
17821 { SWIG_PY_INT
, (char *)"LANGUAGE_ROMANIAN", (long) wxLANGUAGE_ROMANIAN
, 0, 0, 0},
17822 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN", (long) wxLANGUAGE_RUSSIAN
, 0, 0, 0},
17823 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN_UKRAINE", (long) wxLANGUAGE_RUSSIAN_UKRAINE
, 0, 0, 0},
17824 { SWIG_PY_INT
, (char *)"LANGUAGE_SAMOAN", (long) wxLANGUAGE_SAMOAN
, 0, 0, 0},
17825 { SWIG_PY_INT
, (char *)"LANGUAGE_SANGHO", (long) wxLANGUAGE_SANGHO
, 0, 0, 0},
17826 { SWIG_PY_INT
, (char *)"LANGUAGE_SANSKRIT", (long) wxLANGUAGE_SANSKRIT
, 0, 0, 0},
17827 { SWIG_PY_INT
, (char *)"LANGUAGE_SCOTS_GAELIC", (long) wxLANGUAGE_SCOTS_GAELIC
, 0, 0, 0},
17828 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN", (long) wxLANGUAGE_SERBIAN
, 0, 0, 0},
17829 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_CYRILLIC", (long) wxLANGUAGE_SERBIAN_CYRILLIC
, 0, 0, 0},
17830 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_LATIN", (long) wxLANGUAGE_SERBIAN_LATIN
, 0, 0, 0},
17831 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBO_CROATIAN", (long) wxLANGUAGE_SERBO_CROATIAN
, 0, 0, 0},
17832 { SWIG_PY_INT
, (char *)"LANGUAGE_SESOTHO", (long) wxLANGUAGE_SESOTHO
, 0, 0, 0},
17833 { SWIG_PY_INT
, (char *)"LANGUAGE_SETSWANA", (long) wxLANGUAGE_SETSWANA
, 0, 0, 0},
17834 { SWIG_PY_INT
, (char *)"LANGUAGE_SHONA", (long) wxLANGUAGE_SHONA
, 0, 0, 0},
17835 { SWIG_PY_INT
, (char *)"LANGUAGE_SINDHI", (long) wxLANGUAGE_SINDHI
, 0, 0, 0},
17836 { SWIG_PY_INT
, (char *)"LANGUAGE_SINHALESE", (long) wxLANGUAGE_SINHALESE
, 0, 0, 0},
17837 { SWIG_PY_INT
, (char *)"LANGUAGE_SISWATI", (long) wxLANGUAGE_SISWATI
, 0, 0, 0},
17838 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVAK", (long) wxLANGUAGE_SLOVAK
, 0, 0, 0},
17839 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVENIAN", (long) wxLANGUAGE_SLOVENIAN
, 0, 0, 0},
17840 { SWIG_PY_INT
, (char *)"LANGUAGE_SOMALI", (long) wxLANGUAGE_SOMALI
, 0, 0, 0},
17841 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH", (long) wxLANGUAGE_SPANISH
, 0, 0, 0},
17842 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ARGENTINA", (long) wxLANGUAGE_SPANISH_ARGENTINA
, 0, 0, 0},
17843 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_BOLIVIA", (long) wxLANGUAGE_SPANISH_BOLIVIA
, 0, 0, 0},
17844 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_CHILE", (long) wxLANGUAGE_SPANISH_CHILE
, 0, 0, 0},
17845 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COLOMBIA", (long) wxLANGUAGE_SPANISH_COLOMBIA
, 0, 0, 0},
17846 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COSTA_RICA", (long) wxLANGUAGE_SPANISH_COSTA_RICA
, 0, 0, 0},
17847 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", (long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
, 0, 0, 0},
17848 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ECUADOR", (long) wxLANGUAGE_SPANISH_ECUADOR
, 0, 0, 0},
17849 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_EL_SALVADOR", (long) wxLANGUAGE_SPANISH_EL_SALVADOR
, 0, 0, 0},
17850 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_GUATEMALA", (long) wxLANGUAGE_SPANISH_GUATEMALA
, 0, 0, 0},
17851 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_HONDURAS", (long) wxLANGUAGE_SPANISH_HONDURAS
, 0, 0, 0},
17852 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MEXICAN", (long) wxLANGUAGE_SPANISH_MEXICAN
, 0, 0, 0},
17853 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MODERN", (long) wxLANGUAGE_SPANISH_MODERN
, 0, 0, 0},
17854 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_NICARAGUA", (long) wxLANGUAGE_SPANISH_NICARAGUA
, 0, 0, 0},
17855 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PANAMA", (long) wxLANGUAGE_SPANISH_PANAMA
, 0, 0, 0},
17856 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PARAGUAY", (long) wxLANGUAGE_SPANISH_PARAGUAY
, 0, 0, 0},
17857 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PERU", (long) wxLANGUAGE_SPANISH_PERU
, 0, 0, 0},
17858 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PUERTO_RICO", (long) wxLANGUAGE_SPANISH_PUERTO_RICO
, 0, 0, 0},
17859 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_URUGUAY", (long) wxLANGUAGE_SPANISH_URUGUAY
, 0, 0, 0},
17860 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_US", (long) wxLANGUAGE_SPANISH_US
, 0, 0, 0},
17861 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_VENEZUELA", (long) wxLANGUAGE_SPANISH_VENEZUELA
, 0, 0, 0},
17862 { SWIG_PY_INT
, (char *)"LANGUAGE_SUNDANESE", (long) wxLANGUAGE_SUNDANESE
, 0, 0, 0},
17863 { SWIG_PY_INT
, (char *)"LANGUAGE_SWAHILI", (long) wxLANGUAGE_SWAHILI
, 0, 0, 0},
17864 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH", (long) wxLANGUAGE_SWEDISH
, 0, 0, 0},
17865 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH_FINLAND", (long) wxLANGUAGE_SWEDISH_FINLAND
, 0, 0, 0},
17866 { SWIG_PY_INT
, (char *)"LANGUAGE_TAGALOG", (long) wxLANGUAGE_TAGALOG
, 0, 0, 0},
17867 { SWIG_PY_INT
, (char *)"LANGUAGE_TAJIK", (long) wxLANGUAGE_TAJIK
, 0, 0, 0},
17868 { SWIG_PY_INT
, (char *)"LANGUAGE_TAMIL", (long) wxLANGUAGE_TAMIL
, 0, 0, 0},
17869 { SWIG_PY_INT
, (char *)"LANGUAGE_TATAR", (long) wxLANGUAGE_TATAR
, 0, 0, 0},
17870 { SWIG_PY_INT
, (char *)"LANGUAGE_TELUGU", (long) wxLANGUAGE_TELUGU
, 0, 0, 0},
17871 { SWIG_PY_INT
, (char *)"LANGUAGE_THAI", (long) wxLANGUAGE_THAI
, 0, 0, 0},
17872 { SWIG_PY_INT
, (char *)"LANGUAGE_TIBETAN", (long) wxLANGUAGE_TIBETAN
, 0, 0, 0},
17873 { SWIG_PY_INT
, (char *)"LANGUAGE_TIGRINYA", (long) wxLANGUAGE_TIGRINYA
, 0, 0, 0},
17874 { SWIG_PY_INT
, (char *)"LANGUAGE_TONGA", (long) wxLANGUAGE_TONGA
, 0, 0, 0},
17875 { SWIG_PY_INT
, (char *)"LANGUAGE_TSONGA", (long) wxLANGUAGE_TSONGA
, 0, 0, 0},
17876 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKISH", (long) wxLANGUAGE_TURKISH
, 0, 0, 0},
17877 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKMEN", (long) wxLANGUAGE_TURKMEN
, 0, 0, 0},
17878 { SWIG_PY_INT
, (char *)"LANGUAGE_TWI", (long) wxLANGUAGE_TWI
, 0, 0, 0},
17879 { SWIG_PY_INT
, (char *)"LANGUAGE_UIGHUR", (long) wxLANGUAGE_UIGHUR
, 0, 0, 0},
17880 { SWIG_PY_INT
, (char *)"LANGUAGE_UKRAINIAN", (long) wxLANGUAGE_UKRAINIAN
, 0, 0, 0},
17881 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU", (long) wxLANGUAGE_URDU
, 0, 0, 0},
17882 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_INDIA", (long) wxLANGUAGE_URDU_INDIA
, 0, 0, 0},
17883 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_PAKISTAN", (long) wxLANGUAGE_URDU_PAKISTAN
, 0, 0, 0},
17884 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK", (long) wxLANGUAGE_UZBEK
, 0, 0, 0},
17885 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_CYRILLIC", (long) wxLANGUAGE_UZBEK_CYRILLIC
, 0, 0, 0},
17886 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_LATIN", (long) wxLANGUAGE_UZBEK_LATIN
, 0, 0, 0},
17887 { SWIG_PY_INT
, (char *)"LANGUAGE_VIETNAMESE", (long) wxLANGUAGE_VIETNAMESE
, 0, 0, 0},
17888 { SWIG_PY_INT
, (char *)"LANGUAGE_VOLAPUK", (long) wxLANGUAGE_VOLAPUK
, 0, 0, 0},
17889 { SWIG_PY_INT
, (char *)"LANGUAGE_WELSH", (long) wxLANGUAGE_WELSH
, 0, 0, 0},
17890 { SWIG_PY_INT
, (char *)"LANGUAGE_WOLOF", (long) wxLANGUAGE_WOLOF
, 0, 0, 0},
17891 { SWIG_PY_INT
, (char *)"LANGUAGE_XHOSA", (long) wxLANGUAGE_XHOSA
, 0, 0, 0},
17892 { SWIG_PY_INT
, (char *)"LANGUAGE_YIDDISH", (long) wxLANGUAGE_YIDDISH
, 0, 0, 0},
17893 { SWIG_PY_INT
, (char *)"LANGUAGE_YORUBA", (long) wxLANGUAGE_YORUBA
, 0, 0, 0},
17894 { SWIG_PY_INT
, (char *)"LANGUAGE_ZHUANG", (long) wxLANGUAGE_ZHUANG
, 0, 0, 0},
17895 { SWIG_PY_INT
, (char *)"LANGUAGE_ZULU", (long) wxLANGUAGE_ZULU
, 0, 0, 0},
17896 { SWIG_PY_INT
, (char *)"LANGUAGE_USER_DEFINED", (long) wxLANGUAGE_USER_DEFINED
, 0, 0, 0},
17897 { SWIG_PY_INT
, (char *)"LOCALE_CAT_NUMBER", (long) wxLOCALE_CAT_NUMBER
, 0, 0, 0},
17898 { SWIG_PY_INT
, (char *)"LOCALE_CAT_DATE", (long) wxLOCALE_CAT_DATE
, 0, 0, 0},
17899 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MONEY", (long) wxLOCALE_CAT_MONEY
, 0, 0, 0},
17900 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MAX", (long) wxLOCALE_CAT_MAX
, 0, 0, 0},
17901 { SWIG_PY_INT
, (char *)"LOCALE_THOUSANDS_SEP", (long) wxLOCALE_THOUSANDS_SEP
, 0, 0, 0},
17902 { SWIG_PY_INT
, (char *)"LOCALE_DECIMAL_POINT", (long) wxLOCALE_DECIMAL_POINT
, 0, 0, 0},
17903 { SWIG_PY_INT
, (char *)"LOCALE_LOAD_DEFAULT", (long) wxLOCALE_LOAD_DEFAULT
, 0, 0, 0},
17904 { SWIG_PY_INT
, (char *)"LOCALE_CONV_ENCODING", (long) wxLOCALE_CONV_ENCODING
, 0, 0, 0},
17905 { SWIG_PY_INT
, (char *)"CONVERT_STRICT", (long) wxCONVERT_STRICT
, 0, 0, 0},
17906 { SWIG_PY_INT
, (char *)"CONVERT_SUBSTITUTE", (long) wxCONVERT_SUBSTITUTE
, 0, 0, 0},
17907 { SWIG_PY_INT
, (char *)"PLATFORM_CURRENT", (long) wxPLATFORM_CURRENT
, 0, 0, 0},
17908 { SWIG_PY_INT
, (char *)"PLATFORM_UNIX", (long) wxPLATFORM_UNIX
, 0, 0, 0},
17909 { SWIG_PY_INT
, (char *)"PLATFORM_WINDOWS", (long) wxPLATFORM_WINDOWS
, 0, 0, 0},
17910 { SWIG_PY_INT
, (char *)"PLATFORM_OS2", (long) wxPLATFORM_OS2
, 0, 0, 0},
17911 { SWIG_PY_INT
, (char *)"PLATFORM_MAC", (long) wxPLATFORM_MAC
, 0, 0, 0},
17912 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_NORMAL", (long) wxIMAGELIST_DRAW_NORMAL
, 0, 0, 0},
17913 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_TRANSPARENT", (long) wxIMAGELIST_DRAW_TRANSPARENT
, 0, 0, 0},
17914 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_SELECTED", (long) wxIMAGELIST_DRAW_SELECTED
, 0, 0, 0},
17915 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_FOCUSED", (long) wxIMAGELIST_DRAW_FOCUSED
, 0, 0, 0},
17916 { SWIG_PY_INT
, (char *)"IMAGE_LIST_NORMAL", (long) wxIMAGE_LIST_NORMAL
, 0, 0, 0},
17917 { SWIG_PY_INT
, (char *)"IMAGE_LIST_SMALL", (long) wxIMAGE_LIST_SMALL
, 0, 0, 0},
17918 { SWIG_PY_INT
, (char *)"IMAGE_LIST_STATE", (long) wxIMAGE_LIST_STATE
, 0, 0, 0},
17928 SWIGEXPORT(void) SWIG_init(void) {
17929 static PyObject
*SWIG_globals
= 0;
17930 static int typeinit
= 0;
17933 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17934 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17935 d
= PyModule_GetDict(m
);
17938 for (i
= 0; swig_types_initial
[i
]; i
++) {
17939 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17943 SWIG_InstallConstants(d
,swig_const_table
);
17946 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
17948 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17949 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
17950 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
17951 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
17952 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
17953 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
17954 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
17955 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
17956 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
17957 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
17958 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
17959 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
17960 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
17961 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
17962 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
17963 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
17964 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
17965 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
17966 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
17967 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
17968 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
17969 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
17970 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
17971 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
17972 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
17973 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
17974 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
17975 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
17976 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
17977 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
17978 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
17979 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
17980 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
17981 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
17982 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
17983 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
17984 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
17985 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
17986 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
17987 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
17988 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
17989 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
17990 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
17991 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
17992 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
17993 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
17994 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
17996 // Work around a chicken/egg problem in drawlist.cpp
17997 wxPyDrawList_SetAPIPtr();