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
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
213 #define SWIGTYPE_p_wxBrush swig_types[1]
214 #define SWIGTYPE_p_wxColour swig_types[2]
215 #define SWIGTYPE_p_wxDC swig_types[3]
216 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
217 #define SWIGTYPE_p_byte swig_types[5]
218 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
219 #define SWIGTYPE_p_wxIconLocation swig_types[7]
220 #define SWIGTYPE_p_wxImage swig_types[8]
221 #define SWIGTYPE_p_wxMetaFileDC swig_types[9]
222 #define SWIGTYPE_p_wxMask swig_types[10]
223 #define SWIGTYPE_p_wxFont swig_types[11]
224 #define SWIGTYPE_p_wxWindow swig_types[12]
225 #define SWIGTYPE_p_wxSize swig_types[13]
226 #define SWIGTYPE_p_double swig_types[14]
227 #define SWIGTYPE_p_wxMemoryDC swig_types[15]
228 #define SWIGTYPE_p_wxFontMapper swig_types[16]
229 #define SWIGTYPE_p_wxEffects swig_types[17]
230 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[18]
231 #define SWIGTYPE_p_wxPalette swig_types[19]
232 #define SWIGTYPE_p_wxBitmap swig_types[20]
233 #define SWIGTYPE_p_wxObject swig_types[21]
234 #define SWIGTYPE_p_wxRegionIterator swig_types[22]
235 #define SWIGTYPE_p_wxRect swig_types[23]
236 #define SWIGTYPE_p_wxString swig_types[24]
237 #define SWIGTYPE_p_wxPrinterDC swig_types[25]
238 #define SWIGTYPE_p_wxIconBundle swig_types[26]
239 #define SWIGTYPE_p_wxPoint swig_types[27]
240 #define SWIGTYPE_p_wxDash swig_types[28]
241 #define SWIGTYPE_p_wxScreenDC swig_types[29]
242 #define SWIGTYPE_p_wxCursor swig_types[30]
243 #define SWIGTYPE_p_wxClientDC swig_types[31]
244 #define SWIGTYPE_p_wxBufferedDC swig_types[32]
245 #define SWIGTYPE_p_wxImageList swig_types[33]
246 #define SWIGTYPE_p_unsigned_char swig_types[34]
247 #define SWIGTYPE_p_wxGDIObject swig_types[35]
248 #define SWIGTYPE_p_wxLocale swig_types[36]
249 #define SWIGTYPE_p_wxIcon swig_types[37]
250 #define SWIGTYPE_p_wxRegion swig_types[38]
251 #define SWIGTYPE_p_wxLanguageInfo swig_types[39]
252 #define SWIGTYPE_p_wxConfigBase swig_types[40]
253 #define SWIGTYPE_p_wxWindowDC swig_types[41]
254 #define SWIGTYPE_p_wxPrintData swig_types[42]
255 #define SWIGTYPE_p_wxBrushList swig_types[43]
256 #define SWIGTYPE_p_wxFontList swig_types[44]
257 #define SWIGTYPE_p_wxPen swig_types[45]
258 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[46]
259 #define SWIGTYPE_p_wxPaintDC swig_types[47]
260 #define SWIGTYPE_p_wxPenList swig_types[48]
261 #define SWIGTYPE_p_wxPyPen swig_types[49]
262 #define SWIGTYPE_p_int swig_types[50]
263 #define SWIGTYPE_p_wxMetaFile swig_types[51]
264 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
265 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
266 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
267 static swig_type_info
*swig_types
[56];
269 /* -------- TYPES TABLE (END) -------- */
272 /*-----------------------------------------------
274 ------------------------------------------------*/
275 #define SWIG_init init_gdi
277 #define SWIG_name "_gdi"
279 #include "wx/wxPython/wxPython.h"
280 #include "wx/wxPython/pyclasses.h"
282 DECLARE_DEF_STRING(EmptyString
);
284 PyObject
*wxColour_Get(wxColour
*self
){
285 PyObject
* rv
= PyTuple_New(3);
291 green
= self
->Green();
294 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
295 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
296 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
300 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
306 } else if (target
== Py_None
) {
310 if (!PyTuple_Check(target
)) {
312 target
= PyTuple_New(1);
313 PyTuple_SetItem(target
, 0, o2
);
316 PyTuple_SetItem(o3
, 0, o
);
319 target
= PySequence_Concat(o2
, o3
);
326 PyObject
*wxPen_GetDashes(wxPen
*self
){
328 int count
= self
->GetDashes(&dashes
);
329 wxPyBeginBlockThreads();
330 PyObject
* retval
= PyList_New(0);
331 for (int x
=0; x
<count
; x
++)
332 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
333 wxPyEndBlockThreads();
343 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
347 m_dash
= new wxDash
[nb_dashes
];
348 for (int i
=0; i
<nb_dashes
; i
++) {
351 wxPen::SetDashes(nb_dashes
, m_dash
);
355 #include <wx/image.h>
357 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
358 char** cArray
= NULL
;
361 if (!PyList_Check(listOfStrings
)) {
362 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
365 count
= PyList_Size(listOfStrings
);
366 cArray
= new char*[count
];
368 for(int x
=0; x
<count
; x
++) {
369 // TODO: Need some validation and error checking here
370 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
376 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
377 char** cArray
= NULL
;
380 cArray
= ConvertListOfStrings(listOfStrings
);
383 bmp
= new wxBitmap(cArray
);
387 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
390 PyString_AsStringAndSize(bits
, &buf
, &length
);
391 return new wxBitmap(buf
, width
, height
, depth
);
393 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
394 wxMask
*mask
= new wxMask(*self
, colour
);
398 #include <wx/iconbndl.h>
400 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
401 wxIcon
* icon
= new wxIcon();
402 icon
->CopyFromBitmap(bmp
);
405 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
406 char** cArray
= NULL
;
409 cArray
= ConvertListOfStrings(listOfStrings
);
412 icon
= new wxIcon(cArray
);
416 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
420 return new wxIconLocation(*filename
);
423 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
430 int wxIconLocation_GetIndex(wxIconLocation
*self
){
437 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
439 wxCHECK_MSG(False
, NULL
,
440 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
445 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
447 char* maskbuf
= NULL
;
449 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
451 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
452 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
456 void wxRegionIterator_Next(wxRegionIterator
*self
){
459 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
460 return self
->operator bool();
463 #include <wx/fontutil.h>
464 #include <wx/fontmap.h>
465 #include <wx/fontenum.h>
467 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
468 return self
->ToString();
471 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
472 static wxNativeEncodingInfo info
;
473 if ( wxGetNativeFontEncoding(encoding
, &info
) )
479 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
480 wxFontEncoding alt_enc
;
481 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
482 return PyInt_FromLong(alt_enc
);
488 wxFont
*new_wxFont(wxString
const &info
){
489 wxNativeFontInfo nfi
;
490 nfi
.FromString(info
);
491 return new wxFont(nfi
);
493 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
494 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
497 class wxPyFontEnumerator
: public wxFontEnumerator
{
499 wxPyFontEnumerator() {}
500 ~wxPyFontEnumerator() {}
502 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
503 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
508 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
509 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
512 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
513 wxArrayString
* arr
= self
->GetEncodings();
514 return wxArrayString2PyList_helper(*arr
);
516 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
517 wxArrayString
* arr
= self
->GetFacenames();
518 return wxArrayString2PyList_helper(*arr
);
523 #include "wx/wxPython/pydrawxxx.h"
525 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
527 self
->GetPixel(x
, y
, &col
);
530 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
532 self
->GetPixel(pt
, &col
);
535 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
537 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
540 wxRect
wxDC_GetClippingRect(wxDC
*self
){
542 self
->GetClippingBox(rect
);
545 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
546 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
548 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
549 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
551 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
552 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
554 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
555 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
557 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
558 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
560 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
561 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
564 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
575 class wxMetaFile
: public wxObject
{
577 wxMetaFile(const wxString
&)
578 { PyErr_SetNone(PyExc_NotImplementedError
); }
581 class wxMetaFileDC
: public wxClientDC
{
583 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
584 { PyErr_SetNone(PyExc_NotImplementedError
); }
589 class wxPrinterDC
: public wxClientDC
{
591 wxPrinterDC(const wxPrintData
&)
592 { PyErr_SetNone(PyExc_NotImplementedError
); }
594 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
595 // { PyErr_SetNone(PyExc_NotImplementedError); }
600 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
601 self
->AddColour(name
, wxColour(red
, green
, blue
));
604 #include <wx/effects.h>
609 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
619 result
= (wxGDIObject
*)new wxGDIObject();
621 wxPyEndAllowThreads(__tstate
);
622 if (PyErr_Occurred()) SWIG_fail
;
624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
631 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
634 PyObject
* obj0
= 0 ;
636 (char *) "self", NULL
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 wxPyEndAllowThreads(__tstate
);
646 if (PyErr_Occurred()) SWIG_fail
;
648 Py_INCREF(Py_None
); resultobj
= Py_None
;
655 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
657 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
659 PyObject
* obj0
= 0 ;
661 (char *) "self", NULL
664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
668 result
= (bool)(arg1
)->GetVisible();
670 wxPyEndAllowThreads(__tstate
);
671 if (PyErr_Occurred()) SWIG_fail
;
673 resultobj
= PyInt_FromLong((long)result
);
680 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
682 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
684 PyObject
* obj0
= 0 ;
685 PyObject
* obj1
= 0 ;
687 (char *) "self",(char *) "visible", NULL
690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
692 arg2
= PyInt_AsLong(obj1
) ? true : false;
693 if (PyErr_Occurred()) SWIG_fail
;
695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
696 (arg1
)->SetVisible(arg2
);
698 wxPyEndAllowThreads(__tstate
);
699 if (PyErr_Occurred()) SWIG_fail
;
701 Py_INCREF(Py_None
); resultobj
= Py_None
;
708 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
710 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
712 PyObject
* obj0
= 0 ;
714 (char *) "self", NULL
717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
721 result
= (bool)(arg1
)->IsNull();
723 wxPyEndAllowThreads(__tstate
);
724 if (PyErr_Occurred()) SWIG_fail
;
726 resultobj
= PyInt_FromLong((long)result
);
733 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
736 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
738 return Py_BuildValue((char *)"");
740 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 unsigned char arg1
= (unsigned char) 0 ;
743 unsigned char arg2
= (unsigned char) 0 ;
744 unsigned char arg3
= (unsigned char) 0 ;
746 PyObject
* obj0
= 0 ;
747 PyObject
* obj1
= 0 ;
748 PyObject
* obj2
= 0 ;
750 (char *) "red",(char *) "green",(char *) "blue", NULL
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
755 arg1
= (unsigned char) PyInt_AsLong(obj0
);
756 if (PyErr_Occurred()) SWIG_fail
;
759 arg2
= (unsigned char) PyInt_AsLong(obj1
);
760 if (PyErr_Occurred()) SWIG_fail
;
763 arg3
= (unsigned char) PyInt_AsLong(obj2
);
764 if (PyErr_Occurred()) SWIG_fail
;
767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
768 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
770 wxPyEndAllowThreads(__tstate
);
771 if (PyErr_Occurred()) SWIG_fail
;
773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
780 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
782 wxColour
*arg1
= (wxColour
*) 0 ;
783 PyObject
* obj0
= 0 ;
785 (char *) "self", NULL
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 wxPyEndAllowThreads(__tstate
);
795 if (PyErr_Occurred()) SWIG_fail
;
797 Py_INCREF(Py_None
); resultobj
= Py_None
;
804 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* obj0
= 0 ;
811 (char *) "colorName", NULL
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
816 arg1
= wxString_in_helper(obj0
);
817 if (arg1
== NULL
) SWIG_fail
;
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) SWIG_fail
;
827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
842 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* obj0
= 0 ;
848 (char *) "colRGB", NULL
851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
852 arg1
= (unsigned long) PyInt_AsLong(obj0
);
853 if (PyErr_Occurred()) SWIG_fail
;
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 result
= (wxColour
*)new wxColour(arg1
);
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) SWIG_fail
;
861 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
868 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 wxColour
*arg1
= (wxColour
*) 0 ;
871 unsigned char result
;
872 PyObject
* obj0
= 0 ;
874 (char *) "self", NULL
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 result
= (unsigned char)(arg1
)->Red();
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) SWIG_fail
;
886 resultobj
= PyInt_FromLong((long)result
);
893 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 wxColour
*arg1
= (wxColour
*) 0 ;
896 unsigned char result
;
897 PyObject
* obj0
= 0 ;
899 (char *) "self", NULL
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
906 result
= (unsigned char)(arg1
)->Green();
908 wxPyEndAllowThreads(__tstate
);
909 if (PyErr_Occurred()) SWIG_fail
;
911 resultobj
= PyInt_FromLong((long)result
);
918 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 wxColour
*arg1
= (wxColour
*) 0 ;
921 unsigned char result
;
922 PyObject
* obj0
= 0 ;
924 (char *) "self", NULL
927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
931 result
= (unsigned char)(arg1
)->Blue();
933 wxPyEndAllowThreads(__tstate
);
934 if (PyErr_Occurred()) SWIG_fail
;
936 resultobj
= PyInt_FromLong((long)result
);
943 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 wxColour
*arg1
= (wxColour
*) 0 ;
947 PyObject
* obj0
= 0 ;
949 (char *) "self", NULL
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
956 result
= (bool)(arg1
)->Ok();
958 wxPyEndAllowThreads(__tstate
);
959 if (PyErr_Occurred()) SWIG_fail
;
961 resultobj
= PyInt_FromLong((long)result
);
968 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 wxColour
*arg1
= (wxColour
*) 0 ;
974 PyObject
* obj0
= 0 ;
975 PyObject
* obj1
= 0 ;
976 PyObject
* obj2
= 0 ;
977 PyObject
* obj3
= 0 ;
979 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
984 arg2
= (unsigned char) PyInt_AsLong(obj1
);
985 if (PyErr_Occurred()) SWIG_fail
;
986 arg3
= (unsigned char) PyInt_AsLong(obj2
);
987 if (PyErr_Occurred()) SWIG_fail
;
988 arg4
= (unsigned char) PyInt_AsLong(obj3
);
989 if (PyErr_Occurred()) SWIG_fail
;
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 (arg1
)->Set(arg2
,arg3
,arg4
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) SWIG_fail
;
997 Py_INCREF(Py_None
); resultobj
= Py_None
;
1004 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
*resultobj
;
1006 wxColour
*arg1
= (wxColour
*) 0 ;
1007 unsigned long arg2
;
1008 PyObject
* obj0
= 0 ;
1009 PyObject
* obj1
= 0 ;
1011 (char *) "self",(char *) "colRGB", NULL
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1016 arg2
= (unsigned long) PyInt_AsLong(obj1
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) SWIG_fail
;
1025 Py_INCREF(Py_None
); resultobj
= Py_None
;
1032 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
*resultobj
;
1034 wxColour
*arg1
= (wxColour
*) 0 ;
1035 wxColour
*arg2
= 0 ;
1038 PyObject
* obj0
= 0 ;
1039 PyObject
* obj1
= 0 ;
1041 (char *) "self",(char *) "colour", NULL
1044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1048 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1052 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1054 wxPyEndAllowThreads(__tstate
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1057 resultobj
= PyInt_FromLong((long)result
);
1064 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
*resultobj
;
1066 wxColour
*arg1
= (wxColour
*) 0 ;
1067 wxColour
*arg2
= 0 ;
1070 PyObject
* obj0
= 0 ;
1071 PyObject
* obj1
= 0 ;
1073 (char *) "self",(char *) "colour", NULL
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1080 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1086 wxPyEndAllowThreads(__tstate
);
1087 if (PyErr_Occurred()) SWIG_fail
;
1089 resultobj
= PyInt_FromLong((long)result
);
1096 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
*resultobj
;
1098 wxColour
*arg1
= (wxColour
*) 0 ;
1099 wxString
*arg2
= 0 ;
1100 bool temp2
= False
;
1101 PyObject
* obj0
= 0 ;
1102 PyObject
* obj1
= 0 ;
1104 (char *) "self",(char *) "colourName", NULL
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1110 arg2
= wxString_in_helper(obj1
);
1111 if (arg2
== NULL
) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 (arg1
)->InitFromName((wxString
const &)*arg2
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1121 Py_INCREF(Py_None
); resultobj
= Py_None
;
1136 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
*resultobj
;
1138 wxColour
*arg1
= (wxColour
*) 0 ;
1140 PyObject
* obj0
= 0 ;
1142 (char *) "self", NULL
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 result
= (PyObject
*)wxColour_Get(arg1
);
1151 wxPyEndAllowThreads(__tstate
);
1152 if (PyErr_Occurred()) SWIG_fail
;
1161 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1164 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1166 return Py_BuildValue((char *)"");
1168 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1171 unsigned char *arg2
= (unsigned char *) 0 ;
1172 unsigned char *arg3
= (unsigned char *) 0 ;
1173 unsigned char *arg4
= (unsigned char *) 0 ;
1175 PyObject
* obj1
= 0 ;
1176 PyObject
* obj2
= 0 ;
1177 PyObject
* obj3
= 0 ;
1179 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOOO:new_Palette",kwnames
,&arg1
,&obj1
,&obj2
,&obj3
)) goto fail
;
1183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1184 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1185 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1190 wxPyEndAllowThreads(__tstate
);
1191 if (PyErr_Occurred()) SWIG_fail
;
1193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1200 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
*resultobj
;
1202 wxPalette
*arg1
= (wxPalette
*) 0 ;
1203 PyObject
* obj0
= 0 ;
1205 (char *) "self", NULL
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1217 Py_INCREF(Py_None
); resultobj
= Py_None
;
1224 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
*resultobj
;
1226 wxPalette
*arg1
= (wxPalette
*) 0 ;
1231 PyObject
* obj0
= 0 ;
1232 PyObject
* obj1
= 0 ;
1233 PyObject
* obj2
= 0 ;
1234 PyObject
* obj3
= 0 ;
1236 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1241 arg2
= (byte
) PyInt_AsLong(obj1
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1243 arg3
= (byte
) PyInt_AsLong(obj2
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1245 arg4
= (byte
) PyInt_AsLong(obj3
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1254 resultobj
= PyInt_FromLong((long)result
);
1261 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
*resultobj
;
1263 wxPalette
*arg1
= (wxPalette
*) 0 ;
1265 byte
*arg3
= (byte
*) 0 ;
1266 byte
*arg4
= (byte
*) 0 ;
1267 byte
*arg5
= (byte
*) 0 ;
1272 PyObject
* obj0
= 0 ;
1274 (char *) "self",(char *) "pixel", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Palette_GetRGB",kwnames
,&obj0
,&arg2
)) goto fail
;
1281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1284 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1286 wxPyEndAllowThreads(__tstate
);
1287 if (PyErr_Occurred()) SWIG_fail
;
1289 resultobj
= PyInt_FromLong((long)result
);
1291 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1292 resultobj
= t_output_helper(resultobj
,o
);
1295 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1296 resultobj
= t_output_helper(resultobj
,o
);
1299 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1300 resultobj
= t_output_helper(resultobj
,o
);
1308 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
*resultobj
;
1310 wxPalette
*arg1
= (wxPalette
*) 0 ;
1312 PyObject
* obj0
= 0 ;
1314 (char *) "self", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1321 result
= (bool)(arg1
)->Ok();
1323 wxPyEndAllowThreads(__tstate
);
1324 if (PyErr_Occurred()) SWIG_fail
;
1326 resultobj
= PyInt_FromLong((long)result
);
1333 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1336 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1338 return Py_BuildValue((char *)"");
1340 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
*resultobj
;
1342 wxColour
*arg1
= 0 ;
1343 int arg2
= (int) 1 ;
1344 int arg3
= (int) wxSOLID
;
1347 PyObject
* obj0
= 0 ;
1349 (char *) "colour",(char *) "width",(char *) "style", NULL
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_Pen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1355 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1361 wxPyEndAllowThreads(__tstate
);
1362 if (PyErr_Occurred()) SWIG_fail
;
1364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1371 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1372 PyObject
*resultobj
;
1373 wxPen
*arg1
= (wxPen
*) 0 ;
1374 PyObject
* obj0
= 0 ;
1376 (char *) "self", NULL
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 wxPyEndAllowThreads(__tstate
);
1386 if (PyErr_Occurred()) SWIG_fail
;
1388 Py_INCREF(Py_None
); resultobj
= Py_None
;
1395 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
*resultobj
;
1397 wxPen
*arg1
= (wxPen
*) 0 ;
1399 PyObject
* obj0
= 0 ;
1401 (char *) "self", NULL
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1408 result
= (int)(arg1
)->GetCap();
1410 wxPyEndAllowThreads(__tstate
);
1411 if (PyErr_Occurred()) SWIG_fail
;
1413 resultobj
= PyInt_FromLong((long)result
);
1420 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
*resultobj
;
1422 wxPen
*arg1
= (wxPen
*) 0 ;
1424 PyObject
* obj0
= 0 ;
1426 (char *) "self", NULL
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 result
= (arg1
)->GetColour();
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) SWIG_fail
;
1439 wxColour
* resultptr
;
1440 resultptr
= new wxColour((wxColour
&) result
);
1441 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1449 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1451 wxPen
*arg1
= (wxPen
*) 0 ;
1453 PyObject
* obj0
= 0 ;
1455 (char *) "self", NULL
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= (int)(arg1
)->GetJoin();
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1467 resultobj
= PyInt_FromLong((long)result
);
1474 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
*resultobj
;
1476 wxPen
*arg1
= (wxPen
*) 0 ;
1478 PyObject
* obj0
= 0 ;
1480 (char *) "self", NULL
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (int)(arg1
)->GetStyle();
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1492 resultobj
= PyInt_FromLong((long)result
);
1499 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1501 wxPen
*arg1
= (wxPen
*) 0 ;
1503 PyObject
* obj0
= 0 ;
1505 (char *) "self", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1512 result
= (int)(arg1
)->GetWidth();
1514 wxPyEndAllowThreads(__tstate
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1517 resultobj
= PyInt_FromLong((long)result
);
1524 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
*resultobj
;
1526 wxPen
*arg1
= (wxPen
*) 0 ;
1528 PyObject
* obj0
= 0 ;
1530 (char *) "self", NULL
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (bool)(arg1
)->Ok();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= PyInt_FromLong((long)result
);
1549 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxPen
*arg1
= (wxPen
*) 0 ;
1553 PyObject
* obj0
= 0 ;
1555 (char *) "self",(char *) "cap_style", NULL
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetCap",kwnames
,&obj0
,&arg2
)) goto fail
;
1559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 (arg1
)->SetCap(arg2
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) SWIG_fail
;
1567 Py_INCREF(Py_None
); resultobj
= Py_None
;
1574 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
*resultobj
;
1576 wxPen
*arg1
= (wxPen
*) 0 ;
1577 wxColour
*arg2
= 0 ;
1579 PyObject
* obj0
= 0 ;
1580 PyObject
* obj1
= 0 ;
1582 (char *) "self",(char *) "colour", NULL
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1589 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 (arg1
)->SetColour(*arg2
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) SWIG_fail
;
1598 Py_INCREF(Py_None
); resultobj
= Py_None
;
1605 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
*resultobj
;
1607 wxPen
*arg1
= (wxPen
*) 0 ;
1609 PyObject
* obj0
= 0 ;
1611 (char *) "self",(char *) "join_style", NULL
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetJoin",kwnames
,&obj0
,&arg2
)) goto fail
;
1615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 (arg1
)->SetJoin(arg2
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) SWIG_fail
;
1623 Py_INCREF(Py_None
); resultobj
= Py_None
;
1630 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
*resultobj
;
1632 wxPen
*arg1
= (wxPen
*) 0 ;
1634 PyObject
* obj0
= 0 ;
1636 (char *) "self",(char *) "style", NULL
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 (arg1
)->SetStyle(arg2
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1648 Py_INCREF(Py_None
); resultobj
= Py_None
;
1655 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1657 wxPen
*arg1
= (wxPen
*) 0 ;
1659 PyObject
* obj0
= 0 ;
1661 (char *) "self",(char *) "width", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 (arg1
)->SetWidth(arg2
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1673 Py_INCREF(Py_None
); resultobj
= Py_None
;
1680 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxPen
*arg1
= (wxPen
*) 0 ;
1684 wxDash
*arg3
= (wxDash
*) 0 ;
1685 PyObject
* obj0
= 0 ;
1686 PyObject
* obj1
= 0 ;
1688 (char *) "self",(char *) "dashes", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 arg2
= PyList_Size(obj1
);
1695 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1696 if (arg3
== NULL
) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 (arg1
)->SetDashes(arg2
,arg3
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1705 Py_INCREF(Py_None
); resultobj
= Py_None
;
1707 if (arg3
) delete [] arg3
;
1712 if (arg3
) delete [] arg3
;
1718 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
*resultobj
;
1720 wxPen
*arg1
= (wxPen
*) 0 ;
1722 PyObject
* obj0
= 0 ;
1724 (char *) "self", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1743 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1745 wxPen
*arg1
= (wxPen
*) 0 ;
1747 PyObject
* obj0
= 0 ;
1749 (char *) "self", NULL
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
1753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 resultobj
= PyInt_FromLong((long)result
);
1768 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1771 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1773 return Py_BuildValue((char *)"");
1775 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxColour
*arg1
= 0 ;
1778 int arg2
= (int) 1 ;
1779 int arg3
= (int) wxSOLID
;
1782 PyObject
* obj0
= 0 ;
1784 (char *) "colour",(char *) "width",(char *) "style", NULL
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_PyPen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1790 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
1806 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1811 (char *) "self", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1823 Py_INCREF(Py_None
); resultobj
= Py_None
;
1830 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1834 wxDash
*arg3
= (wxDash
*) 0 ;
1835 PyObject
* obj0
= 0 ;
1836 PyObject
* obj1
= 0 ;
1838 (char *) "self",(char *) "dashes", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1844 arg2
= PyList_Size(obj1
);
1845 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1846 if (arg3
== NULL
) SWIG_fail
;
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 (arg1
)->SetDashes(arg2
,arg3
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1855 Py_INCREF(Py_None
); resultobj
= Py_None
;
1857 if (arg3
) delete [] arg3
;
1862 if (arg3
) delete [] arg3
;
1868 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
1870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1871 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
1873 return Py_BuildValue((char *)"");
1875 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxColour
*arg1
= 0 ;
1878 int arg2
= (int) wxSOLID
;
1881 PyObject
* obj0
= 0 ;
1883 (char *) "colour",(char *) "style", NULL
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Brush",kwnames
,&obj0
,&arg2
)) goto fail
;
1889 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
1905 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1907 wxBrush
*arg1
= (wxBrush
*) 0 ;
1908 PyObject
* obj0
= 0 ;
1910 (char *) "self", NULL
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
1914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 Py_INCREF(Py_None
); resultobj
= Py_None
;
1929 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
*resultobj
;
1931 wxBrush
*arg1
= (wxBrush
*) 0 ;
1932 wxColour
*arg2
= 0 ;
1934 PyObject
* obj0
= 0 ;
1935 PyObject
* obj1
= 0 ;
1937 (char *) "self",(char *) "col", NULL
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 (arg1
)->SetColour((wxColour
const &)*arg2
);
1950 wxPyEndAllowThreads(__tstate
);
1951 if (PyErr_Occurred()) SWIG_fail
;
1953 Py_INCREF(Py_None
); resultobj
= Py_None
;
1960 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxBrush
*arg1
= (wxBrush
*) 0 ;
1964 PyObject
* obj0
= 0 ;
1966 (char *) "self",(char *) "style", NULL
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Brush_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 (arg1
)->SetStyle(arg2
);
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1978 Py_INCREF(Py_None
); resultobj
= Py_None
;
1985 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxBrush
*arg1
= (wxBrush
*) 0 ;
1988 wxBitmap
*arg2
= 0 ;
1989 PyObject
* obj0
= 0 ;
1990 PyObject
* obj1
= 0 ;
1992 (char *) "self",(char *) "stipple", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2005 wxPyEndAllowThreads(__tstate
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 Py_INCREF(Py_None
); resultobj
= Py_None
;
2015 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
*resultobj
;
2017 wxBrush
*arg1
= (wxBrush
*) 0 ;
2019 PyObject
* obj0
= 0 ;
2021 (char *) "self", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= ((wxBrush
const *)arg1
)->GetColour();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2034 wxColour
* resultptr
;
2035 resultptr
= new wxColour((wxColour
&) result
);
2036 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2044 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
*resultobj
;
2046 wxBrush
*arg1
= (wxBrush
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2050 (char *) "self", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2062 resultobj
= PyInt_FromLong((long)result
);
2069 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
*resultobj
;
2071 wxBrush
*arg1
= (wxBrush
*) 0 ;
2073 PyObject
* obj0
= 0 ;
2075 (char *) "self", NULL
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2094 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxBrush
*arg1
= (wxBrush
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2100 (char *) "self", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= (bool)(arg1
)->Ok();
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= PyInt_FromLong((long)result
);
2119 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2122 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2124 return Py_BuildValue((char *)"");
2126 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxString
*arg1
= 0 ;
2129 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2131 bool temp1
= False
;
2132 PyObject
* obj0
= 0 ;
2134 (char *) "name",(char *) "type", NULL
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Bitmap",kwnames
,&obj0
,&arg2
)) goto fail
;
2139 arg1
= wxString_in_helper(obj0
);
2140 if (arg1
== NULL
) SWIG_fail
;
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2165 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2168 PyObject
* obj0
= 0 ;
2170 (char *) "self", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2182 Py_INCREF(Py_None
); resultobj
= Py_None
;
2189 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2193 int arg3
= (int) -1 ;
2196 (char *) "width",(char *) "height",(char *) "depth", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|i:new_EmptyBitmap",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2214 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2218 PyObject
* obj0
= 0 ;
2220 (char *) "icon", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2242 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2245 int arg2
= (int) -1 ;
2247 PyObject
* obj0
= 0 ;
2249 (char *) "image",(char *) "depth", NULL
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_BitmapFromImage",kwnames
,&obj0
,&arg2
)) goto fail
;
2253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2255 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) SWIG_fail
;
2264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2271 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
*resultobj
;
2273 PyObject
*arg1
= (PyObject
*) 0 ;
2275 PyObject
* obj0
= 0 ;
2277 (char *) "listOfStrings", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2296 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 PyObject
*arg1
= (PyObject
*) 0 ;
2301 int arg4
= (int) 1 ;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:new_BitmapFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2324 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2328 PyObject
* obj0
= 0 ;
2330 (char *) "self", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (bool)(arg1
)->Ok();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 resultobj
= PyInt_FromLong((long)result
);
2349 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2353 PyObject
* obj0
= 0 ;
2355 (char *) "self", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 result
= (int)(arg1
)->GetWidth();
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 resultobj
= PyInt_FromLong((long)result
);
2374 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2380 (char *) "self", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 result
= (int)(arg1
)->GetHeight();
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2392 resultobj
= PyInt_FromLong((long)result
);
2399 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
*resultobj
;
2401 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2403 PyObject
* obj0
= 0 ;
2405 (char *) "self", NULL
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 result
= (int)(arg1
)->GetDepth();
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2417 resultobj
= PyInt_FromLong((long)result
);
2424 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
*resultobj
;
2426 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2427 SwigValueWrapper
< wxImage
> result
;
2428 PyObject
* obj0
= 0 ;
2430 (char *) "self", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2443 wxImage
* resultptr
;
2444 resultptr
= new wxImage((wxImage
&) result
);
2445 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2453 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
*resultobj
;
2455 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2457 PyObject
* obj0
= 0 ;
2459 (char *) "self", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2478 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2480 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2481 wxMask
*arg2
= (wxMask
*) 0 ;
2482 PyObject
* obj0
= 0 ;
2483 PyObject
* obj1
= 0 ;
2485 (char *) "self",(char *) "mask", NULL
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 (arg1
)->SetMask(arg2
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) SWIG_fail
;
2498 Py_INCREF(Py_None
); resultobj
= Py_None
;
2505 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2507 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2508 wxColour
*arg2
= 0 ;
2510 PyObject
* obj0
= 0 ;
2511 PyObject
* obj1
= 0 ;
2513 (char *) "self",(char *) "colour", NULL
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2520 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2540 SwigValueWrapper
< wxBitmap
> result
;
2542 PyObject
* obj0
= 0 ;
2543 PyObject
* obj1
= 0 ;
2545 (char *) "self",(char *) "rect", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2552 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) SWIG_fail
;
2562 wxBitmap
* resultptr
;
2563 resultptr
= new wxBitmap((wxBitmap
&) result
);
2564 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2572 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2574 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2575 wxString
*arg2
= 0 ;
2577 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2579 bool temp2
= False
;
2580 PyObject
* obj0
= 0 ;
2581 PyObject
* obj1
= 0 ;
2582 PyObject
* obj3
= 0 ;
2584 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2590 arg2
= wxString_in_helper(obj1
);
2591 if (arg2
== NULL
) SWIG_fail
;
2595 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2604 resultobj
= PyInt_FromLong((long)result
);
2619 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2622 wxString
*arg2
= 0 ;
2625 bool temp2
= False
;
2626 PyObject
* obj0
= 0 ;
2627 PyObject
* obj1
= 0 ;
2629 (char *) "self",(char *) "name",(char *) "type", NULL
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2635 arg2
= wxString_in_helper(obj1
);
2636 if (arg2
== NULL
) SWIG_fail
;
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) SWIG_fail
;
2646 resultobj
= PyInt_FromLong((long)result
);
2661 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2666 PyObject
* obj0
= 0 ;
2667 PyObject
* obj1
= 0 ;
2669 (char *) "self",(char *) "icon", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2685 resultobj
= PyInt_FromLong((long)result
);
2692 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
*resultobj
;
2694 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2696 PyObject
* obj0
= 0 ;
2698 (char *) "self",(char *) "height", NULL
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 (arg1
)->SetHeight(arg2
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 Py_INCREF(Py_None
); resultobj
= Py_None
;
2717 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2719 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2721 PyObject
* obj0
= 0 ;
2723 (char *) "self",(char *) "width", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 (arg1
)->SetWidth(arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2735 Py_INCREF(Py_None
); resultobj
= Py_None
;
2742 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
;
2744 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2746 PyObject
* obj0
= 0 ;
2748 (char *) "self",(char *) "depth", NULL
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
2752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 (arg1
)->SetDepth(arg2
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 Py_INCREF(Py_None
); resultobj
= Py_None
;
2767 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
2769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2770 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
2772 return Py_BuildValue((char *)"");
2774 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxBitmap
*arg1
= 0 ;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "bitmap", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
2784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2802 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 wxBitmap
*arg1
= 0 ;
2805 wxColour
*arg2
= 0 ;
2808 PyObject
* obj0
= 0 ;
2809 PyObject
* obj1
= 0 ;
2811 (char *) "bitmap",(char *) "colour", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2837 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
2839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2840 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
2842 return Py_BuildValue((char *)"");
2844 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
*resultobj
;
2846 wxString
*arg1
= 0 ;
2848 int arg3
= (int) -1 ;
2849 int arg4
= (int) -1 ;
2851 bool temp1
= False
;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "name",(char *) "flags",(char *) "desiredWidth",(char *) "desiredHeight", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Icon",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2859 arg1
= wxString_in_helper(obj0
);
2860 if (arg1
== NULL
) SWIG_fail
;
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2870 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2885 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2887 wxIcon
*arg1
= (wxIcon
*) 0 ;
2888 PyObject
* obj0
= 0 ;
2890 (char *) "self", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) SWIG_fail
;
2902 Py_INCREF(Py_None
); resultobj
= Py_None
;
2909 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= (wxIcon
*)new wxIcon();
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2931 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
*resultobj
;
2933 wxIconLocation
*arg1
= 0 ;
2935 PyObject
* obj0
= 0 ;
2937 (char *) "loc", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2959 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxBitmap
*arg1
= 0 ;
2963 PyObject
* obj0
= 0 ;
2965 (char *) "bmp", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2971 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2987 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 PyObject
*arg1
= (PyObject
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2993 (char *) "listOfStrings", NULL
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 result
= (wxIcon
*)new_wxIcon(arg1
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) SWIG_fail
;
3005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3012 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxIcon
*arg1
= (wxIcon
*) 0 ;
3015 wxString
*arg2
= 0 ;
3018 bool temp2
= False
;
3019 PyObject
* obj0
= 0 ;
3020 PyObject
* obj1
= 0 ;
3022 (char *) "self",(char *) "name",(char *) "flags", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3028 arg2
= wxString_in_helper(obj1
);
3029 if (arg2
== NULL
) SWIG_fail
;
3033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3034 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
3036 wxPyEndAllowThreads(__tstate
);
3037 if (PyErr_Occurred()) SWIG_fail
;
3039 resultobj
= PyInt_FromLong((long)result
);
3054 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
*resultobj
;
3056 wxIcon
*arg1
= (wxIcon
*) 0 ;
3058 PyObject
* obj0
= 0 ;
3060 (char *) "self", NULL
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= (bool)(arg1
)->Ok();
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3072 resultobj
= PyInt_FromLong((long)result
);
3079 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxIcon
*arg1
= (wxIcon
*) 0 ;
3083 PyObject
* obj0
= 0 ;
3085 (char *) "self", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (int)(arg1
)->GetWidth();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= PyInt_FromLong((long)result
);
3104 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxIcon
*arg1
= (wxIcon
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3110 (char *) "self", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (int)(arg1
)->GetHeight();
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3122 resultobj
= PyInt_FromLong((long)result
);
3129 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 wxIcon
*arg1
= (wxIcon
*) 0 ;
3133 PyObject
* obj0
= 0 ;
3135 (char *) "self", NULL
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 result
= (int)(arg1
)->GetDepth();
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3147 resultobj
= PyInt_FromLong((long)result
);
3154 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3155 PyObject
*resultobj
;
3156 wxIcon
*arg1
= (wxIcon
*) 0 ;
3158 PyObject
* obj0
= 0 ;
3160 (char *) "self",(char *) "w", NULL
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 (arg1
)->SetWidth(arg2
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) SWIG_fail
;
3172 Py_INCREF(Py_None
); resultobj
= Py_None
;
3179 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
;
3181 wxIcon
*arg1
= (wxIcon
*) 0 ;
3183 PyObject
* obj0
= 0 ;
3185 (char *) "self",(char *) "h", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
3189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 (arg1
)->SetHeight(arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxIcon
*arg1
= (wxIcon
*) 0 ;
3208 PyObject
* obj0
= 0 ;
3210 (char *) "self",(char *) "d", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
3214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 (arg1
)->SetDepth(arg2
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxIcon
*arg1
= (wxIcon
*) 0 ;
3232 wxBitmap
*arg2
= 0 ;
3233 PyObject
* obj0
= 0 ;
3234 PyObject
* obj1
= 0 ;
3236 (char *) "self",(char *) "bmp", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3243 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 Py_INCREF(Py_None
); resultobj
= Py_None
;
3259 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3262 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3264 return Py_BuildValue((char *)"");
3266 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3269 int arg2
= (int) 0 ;
3270 wxIconLocation
*result
;
3271 PyObject
* obj0
= 0 ;
3273 (char *) "filename",(char *) "num", NULL
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_IconLocation",kwnames
,&obj0
,&arg2
)) goto fail
;
3278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3294 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3297 PyObject
* obj0
= 0 ;
3299 (char *) "self", NULL
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) SWIG_fail
;
3311 Py_INCREF(Py_None
); resultobj
= Py_None
;
3318 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
;
3320 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3324 (char *) "self", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 resultobj
= PyInt_FromLong((long)result
);
3343 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3346 wxString
*arg2
= 0 ;
3347 bool temp2
= False
;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3351 (char *) "self",(char *) "filename", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3357 arg2
= wxString_in_helper(obj1
);
3358 if (arg2
== NULL
) SWIG_fail
;
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 (arg1
)->SetFileName((wxString
const &)*arg2
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3368 Py_INCREF(Py_None
); resultobj
= Py_None
;
3383 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
*resultobj
;
3385 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3387 PyObject
* obj0
= 0 ;
3389 (char *) "self", NULL
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3398 result
= (wxString
*) &_result_ref
;
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3408 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3417 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3421 PyObject
* obj0
= 0 ;
3423 (char *) "self",(char *) "num", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IconLocation_SetIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
3427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 wxIconLocation_SetIndex(arg1
,arg2
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 Py_INCREF(Py_None
); resultobj
= Py_None
;
3442 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3446 PyObject
* obj0
= 0 ;
3448 (char *) "self", NULL
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 result
= (int)wxIconLocation_GetIndex(arg1
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 resultobj
= PyInt_FromLong((long)result
);
3467 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3470 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3472 return Py_BuildValue((char *)"");
3474 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxIconBundle
*result
;
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 result
= (wxIconBundle
*)new wxIconBundle();
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3496 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
*resultobj
;
3498 wxString
*arg1
= 0 ;
3500 wxIconBundle
*result
;
3501 bool temp1
= False
;
3502 PyObject
* obj0
= 0 ;
3504 (char *) "file",(char *) "type", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_IconBundleFromFile",kwnames
,&obj0
,&arg2
)) goto fail
;
3509 arg1
= wxString_in_helper(obj0
);
3510 if (arg1
== NULL
) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3535 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
*resultobj
;
3538 wxIconBundle
*result
;
3539 PyObject
* obj0
= 0 ;
3541 (char *) "icon", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3563 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
*resultobj
;
3565 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3566 PyObject
* obj0
= 0 ;
3568 (char *) "self", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3587 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj1
= 0 ;
3594 (char *) "self",(char *) "icon", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3620 wxString
*arg2
= 0 ;
3622 bool temp2
= False
;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3626 (char *) "self",(char *) "file",(char *) "type", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3632 arg2
= wxString_in_helper(obj1
);
3633 if (arg2
== NULL
) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3667 (char *) "self",(char *) "size", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3674 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
3680 result
= (wxIcon
*) &_result_ref
;
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
3693 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
3695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3696 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
3698 return Py_BuildValue((char *)"");
3700 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxString
*arg1
= (wxString
*) 0 ;
3704 int arg3
= (int) 0 ;
3705 int arg4
= (int) 0 ;
3707 PyObject
* obj0
= 0 ;
3709 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Cursor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
3713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3728 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxCursor
*arg1
= (wxCursor
*) 0 ;
3731 PyObject
* obj0
= 0 ;
3733 (char *) "self", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_StockCursor",kwnames
,&arg1
)) goto fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= (wxCursor
*)new wxCursor(arg1
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3775 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3779 PyObject
* obj0
= 0 ;
3781 (char *) "image", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3803 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 PyObject
*arg1
= (PyObject
*) 0 ;
3808 int arg4
= (int) -1 ;
3809 int arg5
= (int) -1 ;
3810 PyObject
*arg6
= (PyObject
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3813 PyObject
* obj5
= 0 ;
3815 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiO:new_CursorFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3837 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxCursor
*arg1
= (wxCursor
*) 0 ;
3841 PyObject
* obj0
= 0 ;
3843 (char *) "self", NULL
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
3847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (bool)(arg1
)->Ok();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= PyInt_FromLong((long)result
);
3862 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
3864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3865 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
3867 return Py_BuildValue((char *)"");
3869 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 int arg1
= (int) 0 ;
3872 int arg2
= (int) 0 ;
3873 int arg3
= (int) 0 ;
3874 int arg4
= (int) 0 ;
3877 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Region",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3895 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxBitmap
*arg1
= 0 ;
3898 wxColour
const &arg2_defvalue
= wxNullColour
;
3899 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3900 int arg3
= (int) 0 ;
3903 PyObject
* obj0
= 0 ;
3904 PyObject
* obj1
= 0 ;
3906 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3912 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3917 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3934 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3937 wxPoint
*arg2
= (wxPoint
*) 0 ;
3938 int arg3
= (int) wxWINDING_RULE
;
3940 PyObject
* obj0
= 0 ;
3942 (char *) "points",(char *) "fillStyle", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_RegionFromPoints",kwnames
,&obj0
,&arg3
)) goto fail
;
3947 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
3948 if (arg2
== NULL
) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3959 if (arg2
) delete [] arg2
;
3964 if (arg2
) delete [] arg2
;
3970 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxRegion
*arg1
= (wxRegion
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3975 (char *) "self", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRegion
*arg1
= (wxRegion
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3999 (char *) "self", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 Py_INCREF(Py_None
); resultobj
= Py_None
;
4018 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
*resultobj
;
4020 wxRegion
*arg1
= (wxRegion
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self",(char *) "x",(char *) "y", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Offset",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= PyInt_FromLong((long)result
);
4045 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxRegion
*arg1
= (wxRegion
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4053 (char *) "self",(char *) "x",(char *) "y", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Contains",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= PyInt_FromLong((long)result
);
4072 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxRegion
*arg1
= (wxRegion
*) 0 ;
4078 PyObject
* obj0
= 0 ;
4079 PyObject
* obj1
= 0 ;
4081 (char *) "self",(char *) "pt", NULL
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= PyInt_FromLong((long)result
);
4104 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxRegion
*arg1
= (wxRegion
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4113 (char *) "self",(char *) "rect", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4120 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= PyInt_FromLong((long)result
);
4136 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxRegion
*arg1
= (wxRegion
*) 0 ;
4144 PyObject
* obj0
= 0 ;
4146 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_ContainsRectDim",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= PyInt_FromLong((long)result
);
4165 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxRegion
*arg1
= (wxRegion
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4171 (char *) "self", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (arg1
)->GetBox();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4185 resultptr
= new wxRect((wxRect
&) result
);
4186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4194 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxRegion
*arg1
= (wxRegion
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4204 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Intersect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= PyInt_FromLong((long)result
);
4223 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxRegion
*arg1
= (wxRegion
*) 0 ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4232 (char *) "self",(char *) "rect", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4239 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= PyInt_FromLong((long)result
);
4255 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 wxRegion
*arg1
= (wxRegion
*) 0 ;
4258 wxRegion
*arg2
= 0 ;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4263 (char *) "self",(char *) "region", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= PyInt_FromLong((long)result
);
4286 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxRegion
*arg1
= (wxRegion
*) 0 ;
4290 PyObject
* obj0
= 0 ;
4292 (char *) "self", NULL
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (bool)(arg1
)->IsEmpty();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= PyInt_FromLong((long)result
);
4311 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxRegion
*arg1
= (wxRegion
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4321 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Union",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= PyInt_FromLong((long)result
);
4340 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxRegion
*arg1
= (wxRegion
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4349 (char *) "self",(char *) "rect", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4356 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= PyInt_FromLong((long)result
);
4372 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxRegion
*arg1
= (wxRegion
*) 0 ;
4375 wxRegion
*arg2
= 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4380 (char *) "self",(char *) "region", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4387 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= PyInt_FromLong((long)result
);
4403 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4405 wxRegion
*arg1
= (wxRegion
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4413 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Subtract",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= PyInt_FromLong((long)result
);
4432 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4434 wxRegion
*arg1
= (wxRegion
*) 0 ;
4438 PyObject
* obj0
= 0 ;
4439 PyObject
* obj1
= 0 ;
4441 (char *) "self",(char *) "rect", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= PyInt_FromLong((long)result
);
4464 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxRegion
*arg1
= (wxRegion
*) 0 ;
4467 wxRegion
*arg2
= 0 ;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4472 (char *) "self",(char *) "region", NULL
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= PyInt_FromLong((long)result
);
4495 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
;
4497 wxRegion
*arg1
= (wxRegion
*) 0 ;
4503 PyObject
* obj0
= 0 ;
4505 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Xor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= PyInt_FromLong((long)result
);
4524 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxRegion
*arg1
= (wxRegion
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4533 (char *) "self",(char *) "rect", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4540 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 resultobj
= PyInt_FromLong((long)result
);
4556 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
;
4558 wxRegion
*arg1
= (wxRegion
*) 0 ;
4559 wxRegion
*arg2
= 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4564 (char *) "self",(char *) "region", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4571 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= PyInt_FromLong((long)result
);
4587 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
;
4589 wxRegion
*arg1
= (wxRegion
*) 0 ;
4590 SwigValueWrapper
< wxBitmap
> result
;
4591 PyObject
* obj0
= 0 ;
4593 (char *) "self", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
4597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (arg1
)->ConvertToBitmap();
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 wxBitmap
* resultptr
;
4607 resultptr
= new wxBitmap((wxBitmap
&) result
);
4608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4616 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxRegion
*arg1
= (wxRegion
*) 0 ;
4619 wxBitmap
*arg2
= 0 ;
4620 wxColour
const &arg3_defvalue
= wxNullColour
;
4621 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
4622 int arg4
= (int) 0 ;
4625 PyObject
* obj0
= 0 ;
4626 PyObject
* obj1
= 0 ;
4627 PyObject
* obj2
= 0 ;
4629 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4641 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= PyInt_FromLong((long)result
);
4658 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
4660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4661 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
4663 return Py_BuildValue((char *)"");
4665 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxRegion
*arg1
= 0 ;
4668 wxRegionIterator
*result
;
4669 PyObject
* obj0
= 0 ;
4671 (char *) "region", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
4693 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4696 PyObject
* obj0
= 0 ;
4698 (char *) "self", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 Py_INCREF(Py_None
); resultobj
= Py_None
;
4717 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
;
4719 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4721 PyObject
* obj0
= 0 ;
4723 (char *) "self", NULL
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
4727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (int)(arg1
)->GetX();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= PyInt_FromLong((long)result
);
4742 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4746 PyObject
* obj0
= 0 ;
4748 (char *) "self", NULL
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
4752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (int)(arg1
)->GetY();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= PyInt_FromLong((long)result
);
4767 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4769 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4771 PyObject
* obj0
= 0 ;
4773 (char *) "self", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
4777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= (int)(arg1
)->GetW();
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= PyInt_FromLong((long)result
);
4792 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
;
4794 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4796 PyObject
* obj0
= 0 ;
4798 (char *) "self", NULL
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
4802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (int)(arg1
)->GetWidth();
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= PyInt_FromLong((long)result
);
4817 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4821 PyObject
* obj0
= 0 ;
4823 (char *) "self", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
4827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (int)(arg1
)->GetH();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= PyInt_FromLong((long)result
);
4842 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4848 (char *) "self", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
4852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 result
= (int)(arg1
)->GetHeight();
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= PyInt_FromLong((long)result
);
4867 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
*resultobj
;
4869 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4871 PyObject
* obj0
= 0 ;
4873 (char *) "self", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
4877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 result
= (arg1
)->GetRect();
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4887 resultptr
= new wxRect((wxRect
&) result
);
4888 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4896 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (bool)(arg1
)->HaveRects();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= PyInt_FromLong((long)result
);
4921 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "self", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 Py_INCREF(Py_None
); resultobj
= Py_None
;
4945 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
4954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 wxRegionIterator_Next(arg1
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "self", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)wxRegionIterator___nonzero__(arg1
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= PyInt_FromLong((long)result
);
4994 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
4996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4997 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
4999 return Py_BuildValue((char *)"");
5001 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxNativeFontInfo
*result
;
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5023 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5028 (char *) "self", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 Py_INCREF(Py_None
); resultobj
= Py_None
;
5047 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 Py_INCREF(Py_None
); resultobj
= Py_None
;
5071 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "font", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 Py_INCREF(Py_None
); resultobj
= Py_None
;
5101 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5107 (char *) "self", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= PyInt_FromLong((long)result
);
5126 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5132 (char *) "self", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= PyInt_FromLong((long)result
);
5151 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
;
5153 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5157 (char *) "self", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= PyInt_FromLong((long)result
);
5176 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5180 PyObject
* obj0
= 0 ;
5182 (char *) "self", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= PyInt_FromLong((long)result
);
5201 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5205 PyObject
* obj0
= 0 ;
5207 (char *) "self", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5232 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "self", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= PyInt_FromLong((long)result
);
5257 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "self", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= PyInt_FromLong((long)result
);
5282 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5286 PyObject
* obj0
= 0 ;
5288 (char *) "self",(char *) "pointsize", NULL
5291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 (arg1
)->SetPointSize(arg2
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 Py_INCREF(Py_None
); resultobj
= Py_None
;
5307 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5313 (char *) "self",(char *) "style", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 Py_INCREF(Py_None
); resultobj
= Py_None
;
5332 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self",(char *) "weight", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 Py_INCREF(Py_None
); resultobj
= Py_None
;
5357 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5362 PyObject
* obj1
= 0 ;
5364 (char *) "self",(char *) "underlined", NULL
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5369 arg2
= PyInt_AsLong(obj1
) ? true : false;
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 (arg1
)->SetUnderlined(arg2
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5392 (char *) "self",(char *) "facename", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5398 wxString
* sptr
= wxString_in_helper(obj1
);
5399 if (sptr
== NULL
) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->SetFaceName(arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 Py_INCREF(Py_None
); resultobj
= Py_None
;
5417 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5423 (char *) "self",(char *) "family", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->SetFamily((wxFontFamily
)arg2
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5442 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5448 (char *) "self",(char *) "encoding", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 Py_INCREF(Py_None
); resultobj
= Py_None
;
5467 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5470 wxString
*arg2
= 0 ;
5472 bool temp2
= False
;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "self",(char *) "s", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5482 arg2
= wxString_in_helper(obj1
);
5483 if (arg2
== NULL
) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= PyInt_FromLong((long)result
);
5508 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5514 (char *) "self", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5539 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5543 PyObject
* obj0
= 0 ;
5545 (char *) "self", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
5549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= wxNativeFontInfo___str__(arg1
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5570 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5573 wxString
*arg2
= 0 ;
5575 bool temp2
= False
;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5579 (char *) "self",(char *) "s", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5585 arg2
= wxString_in_helper(obj1
);
5586 if (arg2
== NULL
) SWIG_fail
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= PyInt_FromLong((long)result
);
5611 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5617 (char *) "self", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5642 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5645 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
5647 return Py_BuildValue((char *)"");
5649 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5654 PyObject
* obj1
= 0 ;
5656 (char *) "self",(char *) "facename", NULL
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5662 wxString
* sptr
= wxString_in_helper(obj1
);
5663 if (sptr
== NULL
) SWIG_fail
;
5667 if (arg1
) (arg1
)->facename
= arg2
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5680 PyObject
* obj0
= 0 ;
5682 (char *) "self", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5687 result
= ((arg1
)->facename
);
5691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5702 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5706 PyObject
* obj0
= 0 ;
5708 (char *) "self",(char *) "encoding", NULL
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&arg2
)) goto fail
;
5712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5713 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
5715 Py_INCREF(Py_None
); resultobj
= Py_None
;
5722 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5726 PyObject
* obj0
= 0 ;
5728 (char *) "self", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5733 result
= (int) ((arg1
)->encoding
);
5735 resultobj
= PyInt_FromLong((long)result
);
5742 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxNativeEncodingInfo
*result
;
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
5764 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5766 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5767 PyObject
* obj0
= 0 ;
5769 (char *) "self", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
5773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 Py_INCREF(Py_None
); resultobj
= Py_None
;
5788 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5791 wxString
*arg2
= 0 ;
5793 bool temp2
= False
;
5794 PyObject
* obj0
= 0 ;
5795 PyObject
* obj1
= 0 ;
5797 (char *) "self",(char *) "s", NULL
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5803 arg2
= wxString_in_helper(obj1
);
5804 if (arg2
== NULL
) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= PyInt_FromLong((long)result
);
5829 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
;
5831 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5835 (char *) "self", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
5839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5860 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5863 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
5865 return Py_BuildValue((char *)"");
5867 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5870 wxNativeEncodingInfo
*result
;
5872 (char *) "encoding", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetNativeFontEncoding",kwnames
,&arg1
)) goto fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
5890 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxNativeEncodingInfo
*arg1
= 0 ;
5894 PyObject
* obj0
= 0 ;
5896 (char *) "info", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5902 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= PyInt_FromLong((long)result
);
5918 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxFontMapper
*result
;
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (wxFontMapper
*)new wxFontMapper();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
5940 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5945 (char *) "self", NULL
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
5949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 Py_INCREF(Py_None
); resultobj
= Py_None
;
5964 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxFontMapper
*result
;
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (wxFontMapper
*)wxFontMapper::Get();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
5986 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
5989 wxFontMapper
*result
;
5990 PyObject
* obj0
= 0 ;
5992 (char *) "mapper", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6011 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6014 wxString
*arg2
= 0 ;
6015 bool arg3
= (bool) True
;
6017 bool temp2
= False
;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6020 PyObject
* obj2
= 0 ;
6022 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6028 arg2
= wxString_in_helper(obj1
);
6029 if (arg2
== NULL
) SWIG_fail
;
6033 arg3
= PyInt_AsLong(obj2
) ? true : false;
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= PyInt_FromLong((long)result
);
6058 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 resultobj
= PyInt_FromLong((long)result
);
6080 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6084 PyObject
* obj0
= 0 ;
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6090 arg1
= (size_t) PyInt_AsLong(obj0
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (int)wxFontMapper::GetEncoding(arg1
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= PyInt_FromLong((long)result
);
6106 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6111 (char *) "encoding", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingName",kwnames
,&arg1
)) goto fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6135 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6140 (char *) "encoding", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingDescription",kwnames
,&arg1
)) goto fail
;
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6164 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6167 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6171 (char *) "self",(char *) "config", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 (arg1
)->SetConfig(arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6191 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6194 wxString
*arg2
= 0 ;
6195 bool temp2
= False
;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6199 (char *) "self",(char *) "prefix", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6205 arg2
= wxString_in_helper(obj1
);
6206 if (arg2
== NULL
) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= wxFontMapper::GetDefaultConfigPath();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6259 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6265 bool arg4
= (bool) True
;
6267 bool temp3
= False
;
6268 PyObject
* obj0
= 0 ;
6269 PyObject
* obj2
= 0 ;
6270 PyObject
* obj3
= 0 ;
6272 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6279 arg3
= wxString_in_helper(obj2
);
6280 if (arg3
== NULL
) SWIG_fail
;
6285 arg4
= PyInt_AsLong(obj3
) ? true : false;
6286 if (PyErr_Occurred()) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6310 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6314 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6317 bool temp3
= False
;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj2
= 0 ;
6321 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6328 arg3
= wxString_in_helper(obj2
);
6329 if (arg3
== NULL
) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= PyInt_FromLong((long)result
);
6355 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6357 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6358 wxWindow
*arg2
= (wxWindow
*) 0 ;
6359 PyObject
* obj0
= 0 ;
6360 PyObject
* obj1
= 0 ;
6362 (char *) "self",(char *) "parent", NULL
6365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 (arg1
)->SetDialogParent(arg2
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 Py_INCREF(Py_None
); resultobj
= Py_None
;
6382 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6385 wxString
*arg2
= 0 ;
6386 bool temp2
= False
;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6390 (char *) "self",(char *) "title", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6396 arg2
= wxString_in_helper(obj1
);
6397 if (arg2
== NULL
) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 Py_INCREF(Py_None
); resultobj
= Py_None
;
6422 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
6424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6425 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
6427 return Py_BuildValue((char *)"");
6429 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6435 bool arg5
= (bool) False
;
6436 wxString
const &arg6_defvalue
= wxPyEmptyString
;
6437 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6438 int arg7
= (int) wxFONTENCODING_DEFAULT
;
6440 bool temp6
= False
;
6441 PyObject
* obj4
= 0 ;
6442 PyObject
* obj5
= 0 ;
6444 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiii|OOi:new_Font",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
6449 arg5
= PyInt_AsLong(obj4
) ? true : false;
6450 if (PyErr_Occurred()) SWIG_fail
;
6454 arg6
= wxString_in_helper(obj5
);
6455 if (arg6
== NULL
) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6481 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 wxFont
*arg1
= (wxFont
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6486 (char *) "self", NULL
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
6490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 Py_INCREF(Py_None
); resultobj
= Py_None
;
6505 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxNativeFontInfo
*arg1
= 0 ;
6509 PyObject
* obj0
= 0 ;
6511 (char *) "info", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6533 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxString
*arg1
= 0 ;
6537 bool temp1
= False
;
6538 PyObject
* obj0
= 0 ;
6540 (char *) "info", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
6545 arg1
= wxString_in_helper(obj0
);
6546 if (arg1
== NULL
) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6571 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6575 int arg3
= (int) wxFONTFLAG_DEFAULT
;
6576 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6577 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6578 int arg5
= (int) wxFONTENCODING_DEFAULT
;
6580 bool temp4
= False
;
6581 PyObject
* obj3
= 0 ;
6583 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|iOi:new_Font2",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
6589 arg4
= wxString_in_helper(obj3
);
6590 if (arg4
== NULL
) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6616 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxFont
*arg1
= (wxFont
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6622 (char *) "self", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 result
= (bool)((wxFont
const *)arg1
)->Ok();
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= PyInt_FromLong((long)result
);
6641 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6643 wxFont
*arg1
= (wxFont
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6647 PyObject
* obj1
= 0 ;
6649 (char *) "self",(char *) "font", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= PyInt_FromLong((long)result
);
6672 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxFont
*arg1
= (wxFont
*) 0 ;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6680 (char *) "self",(char *) "font", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6687 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= PyInt_FromLong((long)result
);
6703 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxFont
*arg1
= (wxFont
*) 0 ;
6707 PyObject
* obj0
= 0 ;
6709 (char *) "self", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= PyInt_FromLong((long)result
);
6728 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxFont
*arg1
= (wxFont
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6734 (char *) "self", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
6738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (int)((wxFont
const *)arg1
)->GetFamily();
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= PyInt_FromLong((long)result
);
6753 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxFont
*arg1
= (wxFont
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6759 (char *) "self", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
6763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 result
= (int)((wxFont
const *)arg1
)->GetStyle();
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= PyInt_FromLong((long)result
);
6778 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxFont
*arg1
= (wxFont
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 result
= (int)((wxFont
const *)arg1
)->GetWeight();
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= PyInt_FromLong((long)result
);
6803 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxFont
*arg1
= (wxFont
*) 0 ;
6807 PyObject
* obj0
= 0 ;
6809 (char *) "self", NULL
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= PyInt_FromLong((long)result
);
6828 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxFont
*arg1
= (wxFont
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6834 (char *) "self", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
6838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= ((wxFont
const *)arg1
)->GetFaceName();
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6859 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxFont
*arg1
= (wxFont
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6865 (char *) "self", NULL
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
6869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= PyInt_FromLong((long)result
);
6884 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxFont
*arg1
= (wxFont
*) 0 ;
6887 wxNativeFontInfo
*result
;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
6909 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxFont
*arg1
= (wxFont
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= PyInt_FromLong((long)result
);
6934 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxFont
*arg1
= (wxFont
*) 0 ;
6938 PyObject
* obj0
= 0 ;
6940 (char *) "self", NULL
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
6944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6965 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxFont
*arg1
= (wxFont
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6971 (char *) "self", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6996 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6997 PyObject
*resultobj
;
6998 wxFont
*arg1
= (wxFont
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7002 (char *) "self",(char *) "pointSize", NULL
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
7006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 (arg1
)->SetPointSize(arg2
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 Py_INCREF(Py_None
); resultobj
= Py_None
;
7021 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxFont
*arg1
= (wxFont
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "self",(char *) "family", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 (arg1
)->SetFamily(arg2
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 Py_INCREF(Py_None
); resultobj
= Py_None
;
7046 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxFont
*arg1
= (wxFont
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7052 (char *) "self",(char *) "style", NULL
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
7056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 (arg1
)->SetStyle(arg2
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 Py_INCREF(Py_None
); resultobj
= Py_None
;
7071 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxFont
*arg1
= (wxFont
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7077 (char *) "self",(char *) "weight", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 (arg1
)->SetWeight(arg2
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 Py_INCREF(Py_None
); resultobj
= Py_None
;
7096 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxFont
*arg1
= (wxFont
*) 0 ;
7099 wxString
*arg2
= 0 ;
7100 bool temp2
= False
;
7101 PyObject
* obj0
= 0 ;
7102 PyObject
* obj1
= 0 ;
7104 (char *) "self",(char *) "faceName", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7110 arg2
= wxString_in_helper(obj1
);
7111 if (arg2
== NULL
) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxFont
*arg1
= (wxFont
*) 0 ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7143 (char *) "self",(char *) "underlined", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7148 arg2
= PyInt_AsLong(obj1
) ? true : false;
7149 if (PyErr_Occurred()) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 (arg1
)->SetUnderlined(arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 Py_INCREF(Py_None
); resultobj
= Py_None
;
7164 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxFont
*arg1
= (wxFont
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7170 (char *) "self",(char *) "encoding", NULL
7173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
7174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 Py_INCREF(Py_None
); resultobj
= Py_None
;
7189 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7191 wxFont
*arg1
= (wxFont
*) 0 ;
7192 wxNativeFontInfo
*arg2
= 0 ;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7196 (char *) "self",(char *) "info", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 Py_INCREF(Py_None
); resultobj
= Py_None
;
7219 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxFont
*arg1
= (wxFont
*) 0 ;
7222 wxString
*arg2
= 0 ;
7223 bool temp2
= False
;
7224 PyObject
* obj0
= 0 ;
7225 PyObject
* obj1
= 0 ;
7227 (char *) "self",(char *) "info", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7233 arg2
= wxString_in_helper(obj1
);
7234 if (arg2
== NULL
) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7259 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxFont
*arg1
= (wxFont
*) 0 ;
7262 wxString
*arg2
= 0 ;
7263 bool temp2
= False
;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7267 (char *) "self",(char *) "info", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
7271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7273 arg2
= wxString_in_helper(obj1
);
7274 if (arg2
== NULL
) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 Py_INCREF(Py_None
); resultobj
= Py_None
;
7299 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxFont
*arg1
= (wxFont
*) 0 ;
7303 PyObject
* obj0
= 0 ;
7305 (char *) "self", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
7309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= ((wxFont
const *)arg1
)->GetFamilyString();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7330 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
*resultobj
;
7332 wxFont
*arg1
= (wxFont
*) 0 ;
7334 PyObject
* obj0
= 0 ;
7336 (char *) "self", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= ((wxFont
const *)arg1
)->GetStyleString();
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7361 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxFont
*arg1
= (wxFont
*) 0 ;
7365 PyObject
* obj0
= 0 ;
7367 (char *) "self", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
7371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= ((wxFont
const *)arg1
)->GetWeightString();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7392 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxFont
*arg1
= (wxFont
*) 0 ;
7395 bool arg2
= (bool) True
;
7396 PyObject
* obj0
= 0 ;
7397 PyObject
* obj1
= 0 ;
7399 (char *) "self",(char *) "no", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
7403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7405 arg2
= PyInt_AsLong(obj1
) ? true : false;
7406 if (PyErr_Occurred()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 (arg1
)->SetNoAntiAliasing(arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxFont
*arg1
= (wxFont
*) 0 ;
7426 PyObject
* obj0
= 0 ;
7428 (char *) "self", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (bool)(arg1
)->GetNoAntiAliasing();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= PyInt_FromLong((long)result
);
7447 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (int)wxFont::GetDefaultEncoding();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 resultobj
= PyInt_FromLong((long)result
);
7469 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7473 (char *) "encoding", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Font_SetDefaultEncoding",kwnames
,&arg1
)) goto fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 Py_INCREF(Py_None
); resultobj
= Py_None
;
7491 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
7493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7494 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
7496 return Py_BuildValue((char *)"");
7498 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxPyFontEnumerator
*result
;
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
7520 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7523 PyObject
* obj0
= 0 ;
7525 (char *) "self", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
7529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 Py_INCREF(Py_None
); resultobj
= Py_None
;
7544 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
;
7546 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7547 PyObject
*arg2
= (PyObject
*) 0 ;
7548 PyObject
*arg3
= (PyObject
*) 0 ;
7550 PyObject
* obj0
= 0 ;
7551 PyObject
* obj1
= 0 ;
7552 PyObject
* obj2
= 0 ;
7553 PyObject
* obj3
= 0 ;
7555 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7562 arg4
= PyInt_AsLong(obj3
) ? true : false;
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 Py_INCREF(Py_None
); resultobj
= Py_None
;
7578 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7581 int arg2
= (int) wxFONTENCODING_SYSTEM
;
7582 bool arg3
= (bool) False
;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj2
= 0 ;
7587 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7593 arg3
= PyInt_AsLong(obj2
) ? true : false;
7594 if (PyErr_Occurred()) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= PyInt_FromLong((long)result
);
7610 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7613 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7614 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7616 bool temp2
= False
;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7620 (char *) "self",(char *) "facename", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
7624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7627 arg2
= wxString_in_helper(obj1
);
7628 if (arg2
== NULL
) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= PyInt_FromLong((long)result
);
7654 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7656 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7658 PyObject
* obj0
= 0 ;
7660 (char *) "self", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7679 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7685 (char *) "self", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7704 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
7706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7707 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
7709 return Py_BuildValue((char *)"");
7711 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7717 (char *) "self",(char *) "Language", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:LanguageInfo_Language_set",kwnames
,&obj0
,&arg2
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7722 if (arg1
) (arg1
)->Language
= arg2
;
7724 Py_INCREF(Py_None
); resultobj
= Py_None
;
7731 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7737 (char *) "self", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
7741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7742 result
= (int) ((arg1
)->Language
);
7744 resultobj
= PyInt_FromLong((long)result
);
7751 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
;
7753 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7758 (char *) "self",(char *) "CanonicalName", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7764 wxString
* sptr
= wxString_in_helper(obj1
);
7765 if (sptr
== NULL
) SWIG_fail
;
7769 if (arg1
) (arg1
)->CanonicalName
= arg2
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7789 result
= ((arg1
)->CanonicalName
);
7793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7804 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7811 (char *) "self",(char *) "Description", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7817 wxString
* sptr
= wxString_in_helper(obj1
);
7818 if (sptr
== NULL
) SWIG_fail
;
7822 if (arg1
) (arg1
)->Description
= arg2
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
;
7833 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "self", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
7841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7842 result
= ((arg1
)->Description
);
7846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7857 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7860 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
7862 return Py_BuildValue((char *)"");
7864 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
;
7866 int arg1
= (int) wxLANGUAGE_DEFAULT
;
7867 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
7870 (char *) "language",(char *) "flags", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Locale",kwnames
,&arg1
,&arg2
)) goto fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
7888 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxLocale
*arg1
= (wxLocale
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
7897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxLocale
*arg1
= (wxLocale
*) 0 ;
7915 wxString
*arg2
= 0 ;
7916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7918 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7919 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7920 bool arg5
= (bool) True
;
7921 bool arg6
= (bool) False
;
7923 bool temp2
= False
;
7924 bool temp3
= False
;
7925 bool temp4
= False
;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7928 PyObject
* obj2
= 0 ;
7929 PyObject
* obj3
= 0 ;
7930 PyObject
* obj4
= 0 ;
7931 PyObject
* obj5
= 0 ;
7933 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7939 arg2
= wxString_in_helper(obj1
);
7940 if (arg2
== NULL
) SWIG_fail
;
7945 arg3
= wxString_in_helper(obj2
);
7946 if (arg3
== NULL
) SWIG_fail
;
7952 arg4
= wxString_in_helper(obj3
);
7953 if (arg4
== NULL
) SWIG_fail
;
7958 arg5
= PyInt_AsLong(obj4
) ? true : false;
7959 if (PyErr_Occurred()) SWIG_fail
;
7962 arg6
= PyInt_AsLong(obj5
) ? true : false;
7963 if (PyErr_Occurred()) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= PyInt_FromLong((long)result
);
8003 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 wxLocale
*arg1
= (wxLocale
*) 0 ;
8006 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8007 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self",(char *) "language",(char *) "flags", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:Locale_Init2",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= PyInt_FromLong((long)result
);
8030 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (int)wxLocale::GetSystemLanguage();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= PyInt_FromLong((long)result
);
8052 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (int)wxLocale::GetSystemEncoding();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= PyInt_FromLong((long)result
);
8074 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= wxLocale::GetSystemEncodingName();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8102 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxLocale
*arg1
= (wxLocale
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= PyInt_FromLong((long)result
);
8127 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxLocale
*arg1
= (wxLocale
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "self", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 result
= ((wxLocale
const *)arg1
)->GetLocale();
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8158 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxLocale
*arg1
= (wxLocale
*) 0 ;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "self", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= PyInt_FromLong((long)result
);
8183 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxLocale
*arg1
= (wxLocale
*) 0 ;
8187 PyObject
* obj0
= 0 ;
8189 (char *) "self", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
8193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= ((wxLocale
const *)arg1
)->GetSysName();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8214 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxLocale
*arg1
= (wxLocale
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8245 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxString
*arg1
= 0 ;
8248 bool temp1
= False
;
8249 PyObject
* obj0
= 0 ;
8251 (char *) "prefix", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
8256 arg1
= wxString_in_helper(obj0
);
8257 if (arg1
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8282 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxLocale
*arg1
= (wxLocale
*) 0 ;
8285 wxString
*arg2
= 0 ;
8287 bool temp2
= False
;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8291 (char *) "self",(char *) "szDomain", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8297 arg2
= wxString_in_helper(obj1
);
8298 if (arg2
== NULL
) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= PyInt_FromLong((long)result
);
8323 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxLocale
*arg1
= (wxLocale
*) 0 ;
8326 wxString
*arg2
= 0 ;
8328 bool temp2
= False
;
8329 PyObject
* obj0
= 0 ;
8330 PyObject
* obj1
= 0 ;
8332 (char *) "self",(char *) "szDomain", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
8336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8338 arg2
= wxString_in_helper(obj1
);
8339 if (arg2
== NULL
) SWIG_fail
;
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) SWIG_fail
;
8349 resultobj
= PyInt_FromLong((long)result
);
8364 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8367 wxLanguageInfo
*result
;
8369 (char *) "lang", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageInfo",kwnames
,&arg1
)) goto fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8387 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8392 (char *) "lang", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageName",kwnames
,&arg1
)) goto fail
;
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 result
= wxLocale::GetLanguageName(arg1
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8416 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxString
*arg1
= 0 ;
8419 wxLanguageInfo
*result
;
8420 bool temp1
= False
;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "locale", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
8428 arg1
= wxString_in_helper(obj0
);
8429 if (arg1
== NULL
) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8454 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxLanguageInfo
*arg1
= 0 ;
8457 PyObject
* obj0
= 0 ;
8459 (char *) "info", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 Py_INCREF(Py_None
); resultobj
= Py_None
;
8481 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxLocale
*arg1
= (wxLocale
*) 0 ;
8484 wxString
*arg2
= 0 ;
8485 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8486 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8488 bool temp2
= False
;
8489 bool temp3
= False
;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8492 PyObject
* obj2
= 0 ;
8494 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8500 arg2
= wxString_in_helper(obj1
);
8501 if (arg2
== NULL
) SWIG_fail
;
8506 arg3
= wxString_in_helper(obj2
);
8507 if (arg3
== NULL
) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8547 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxLocale
*arg1
= (wxLocale
*) 0 ;
8551 PyObject
* obj0
= 0 ;
8553 (char *) "self", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
8562 result
= (wxString
*) &_result_ref
;
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8572 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8581 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
8583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
8586 return Py_BuildValue((char *)"");
8588 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (wxLocale
*)wxGetLocale();
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
8610 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
8611 PyObject
*resultobj
;
8612 wxString
*arg1
= 0 ;
8614 bool temp1
= False
;
8615 PyObject
* obj0
= 0 ;
8617 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
8619 arg1
= wxString_in_helper(obj0
);
8620 if (arg1
== NULL
) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= wxGetTranslation((wxString
const &)*arg1
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8651 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
8652 PyObject
*resultobj
;
8653 wxString
*arg1
= 0 ;
8654 wxString
*arg2
= 0 ;
8657 bool temp1
= False
;
8658 bool temp2
= False
;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8661 PyObject
* obj2
= 0 ;
8663 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
8665 arg1
= wxString_in_helper(obj0
);
8666 if (arg1
== NULL
) SWIG_fail
;
8670 arg2
= wxString_in_helper(obj1
);
8671 if (arg2
== NULL
) SWIG_fail
;
8674 arg3
= (size_t) PyInt_AsLong(obj2
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8712 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
8717 argc
= PyObject_Length(args
);
8718 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8719 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8725 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8733 return _wrap_GetTranslation__SWIG_0(self
,args
);
8740 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8750 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8759 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
8762 return _wrap_GetTranslation__SWIG_1(self
,args
);
8768 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
8773 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxEncodingConverter
*result
;
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (wxEncodingConverter
*)new wxEncodingConverter();
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
8795 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8800 (char *) "self", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 Py_INCREF(Py_None
); resultobj
= Py_None
;
8819 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
8824 int arg4
= (int) wxCONVERT_STRICT
;
8826 PyObject
* obj0
= 0 ;
8828 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:EncodingConverter_Init",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
8832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= PyInt_FromLong((long)result
);
8847 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
8850 wxString
*arg2
= 0 ;
8852 bool temp2
= False
;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8856 (char *) "self",(char *) "input", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8862 arg2
= wxString_in_helper(obj1
);
8863 if (arg2
== NULL
) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (arg1
)->Convert((wxString
const &)*arg2
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8894 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8897 int arg2
= (int) wxPLATFORM_CURRENT
;
8898 wxFontEncodingArray result
;
8900 (char *) "enc",(char *) "platform", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:EncodingConverter_GetPlatformEquivalents",kwnames
,&arg1
,&arg2
)) goto fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= PyList_New(0);
8913 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
8914 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
8915 PyList_Append(resultobj
, number
);
8925 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8928 wxFontEncodingArray result
;
8930 (char *) "enc", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:EncodingConverter_GetAllEquivalents",kwnames
,&arg1
)) goto fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= PyList_New(0);
8943 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
8944 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
8945 PyList_Append(resultobj
, number
);
8955 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8961 (char *) "encIn",(char *) "encOut", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii:EncodingConverter_CanConvert",kwnames
,&arg1
,&arg2
)) goto fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= PyInt_FromLong((long)result
);
8979 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
8981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8982 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
8984 return Py_BuildValue((char *)"");
8986 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxDC
*arg1
= (wxDC
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8991 (char *) "self", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
8995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxDC
*arg1
= (wxDC
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9015 (char *) "self", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 (arg1
)->BeginDrawing();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9034 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxDC
*arg1
= (wxDC
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9039 (char *) "self", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 (arg1
)->EndDrawing();
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 Py_INCREF(Py_None
); resultobj
= Py_None
;
9058 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxDC
*arg1
= (wxDC
*) 0 ;
9063 wxColour
*arg4
= 0 ;
9064 int arg5
= (int) wxFLOOD_SURFACE
;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj3
= 0 ;
9070 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO|i:DC_FloodFillXY",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9077 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= PyInt_FromLong((long)result
);
9093 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
;
9095 wxDC
*arg1
= (wxDC
*) 0 ;
9097 wxColour
*arg3
= 0 ;
9098 int arg4
= (int) wxFLOOD_SURFACE
;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9104 PyObject
* obj2
= 0 ;
9106 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9117 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= PyInt_FromLong((long)result
);
9133 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
;
9135 wxDC
*arg1
= (wxDC
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "self",(char *) "x",(char *) "y", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_GetPixelXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9154 wxColour
* resultptr
;
9155 resultptr
= new wxColour((wxColour
&) result
);
9156 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9164 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9165 PyObject
*resultobj
;
9166 wxDC
*arg1
= (wxDC
*) 0 ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9173 (char *) "self",(char *) "pt", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
9177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9190 wxColour
* resultptr
;
9191 resultptr
= new wxColour((wxColour
&) result
);
9192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9200 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxDC
*arg1
= (wxDC
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9209 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawLineXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 Py_INCREF(Py_None
); resultobj
= Py_None
;
9228 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxDC
*arg1
= (wxDC
*) 0 ;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9237 PyObject
* obj2
= 0 ;
9239 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 Py_INCREF(Py_None
); resultobj
= Py_None
;
9266 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxDC
*arg1
= (wxDC
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9273 (char *) "self",(char *) "x",(char *) "y", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CrossHairXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->CrossHair(arg2
,arg3
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 Py_INCREF(Py_None
); resultobj
= Py_None
;
9292 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxDC
*arg1
= (wxDC
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9300 (char *) "self",(char *) "pt", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 Py_INCREF(Py_None
); resultobj
= Py_None
;
9323 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9325 wxDC
*arg1
= (wxDC
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiiii:DC_DrawArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 Py_INCREF(Py_None
); resultobj
= Py_None
;
9353 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxDC
*arg1
= (wxDC
*) 0 ;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9364 PyObject
* obj2
= 0 ;
9365 PyObject
* obj3
= 0 ;
9367 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9374 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9391 Py_INCREF(Py_None
); resultobj
= Py_None
;
9398 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxDC
*arg1
= (wxDC
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawCheckMarkXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 Py_INCREF(Py_None
); resultobj
= Py_None
;
9426 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxDC
*arg1
= (wxDC
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9434 (char *) "self",(char *) "rect", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9441 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 Py_INCREF(Py_None
); resultobj
= Py_None
;
9457 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxDC
*arg1
= (wxDC
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9468 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiidd:DC_DrawEllipticArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 Py_INCREF(Py_None
); resultobj
= Py_None
;
9487 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxDC
*arg1
= (wxDC
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9498 PyObject
* obj2
= 0 ;
9500 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9511 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 Py_INCREF(Py_None
); resultobj
= Py_None
;
9527 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxDC
*arg1
= (wxDC
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9534 (char *) "self",(char *) "x",(char *) "y", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_DrawPointXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 (arg1
)->DrawPoint(arg2
,arg3
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 Py_INCREF(Py_None
); resultobj
= Py_None
;
9553 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxDC
*arg1
= (wxDC
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9561 (char *) "self",(char *) "pt", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 Py_INCREF(Py_None
); resultobj
= Py_None
;
9584 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxDC
*arg1
= (wxDC
*) 0 ;
9591 PyObject
* obj0
= 0 ;
9593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 Py_INCREF(Py_None
); resultobj
= Py_None
;
9612 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxDC
*arg1
= (wxDC
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9621 PyObject
* obj2
= 0 ;
9623 (char *) "self",(char *) "pt",(char *) "sz", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9634 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9650 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxDC
*arg1
= (wxDC
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9658 (char *) "self",(char *) "rect", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9665 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9674 Py_INCREF(Py_None
); resultobj
= Py_None
;
9681 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
;
9683 wxDC
*arg1
= (wxDC
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9691 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiid:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 Py_INCREF(Py_None
); resultobj
= Py_None
;
9710 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxDC
*arg1
= (wxDC
*) 0 ;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 PyObject
* obj2
= 0 ;
9722 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9733 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 Py_INCREF(Py_None
); resultobj
= Py_None
;
9749 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxDC
*arg1
= (wxDC
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9758 (char *) "self",(char *) "r",(char *) "radius", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9765 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 Py_INCREF(Py_None
); resultobj
= Py_None
;
9781 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxDC
*arg1
= (wxDC
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9789 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DC_DrawCircleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 Py_INCREF(Py_None
); resultobj
= Py_None
;
9808 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxDC
*arg1
= (wxDC
*) 0 ;
9814 PyObject
* obj0
= 0 ;
9815 PyObject
* obj1
= 0 ;
9817 (char *) "self",(char *) "pt",(char *) "radius", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 Py_INCREF(Py_None
); resultobj
= Py_None
;
9840 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxDC
*arg1
= (wxDC
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawEllipseXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 Py_INCREF(Py_None
); resultobj
= Py_None
;
9868 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxDC
*arg1
= (wxDC
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9877 PyObject
* obj2
= 0 ;
9879 (char *) "self",(char *) "pt",(char *) "sz", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9890 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 Py_INCREF(Py_None
); resultobj
= Py_None
;
9906 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxDC
*arg1
= (wxDC
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9914 (char *) "self",(char *) "rect", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9921 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 Py_INCREF(Py_None
); resultobj
= Py_None
;
9937 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxDC
*arg1
= (wxDC
*) 0 ;
9943 PyObject
* obj0
= 0 ;
9944 PyObject
* obj1
= 0 ;
9946 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 Py_INCREF(Py_None
); resultobj
= Py_None
;
9969 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxDC
*arg1
= (wxDC
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9977 PyObject
* obj2
= 0 ;
9979 (char *) "self",(char *) "icon",(char *) "pt", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 Py_INCREF(Py_None
); resultobj
= Py_None
;
10006 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxDC
*arg1
= (wxDC
*) 0 ;
10009 wxBitmap
*arg2
= 0 ;
10012 bool arg5
= (bool) False
;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 PyObject
* obj4
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
10021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10023 if (arg2
== NULL
) {
10024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10027 arg5
= PyInt_AsLong(obj4
) ? true : false;
10028 if (PyErr_Occurred()) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 Py_INCREF(Py_None
); resultobj
= Py_None
;
10044 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
;
10046 wxDC
*arg1
= (wxDC
*) 0 ;
10047 wxBitmap
*arg2
= 0 ;
10048 wxPoint
*arg3
= 0 ;
10049 bool arg4
= (bool) False
;
10051 PyObject
* obj0
= 0 ;
10052 PyObject
* obj1
= 0 ;
10053 PyObject
* obj2
= 0 ;
10054 PyObject
* obj3
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10062 if (arg2
== NULL
) {
10063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10067 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10070 arg4
= PyInt_AsLong(obj3
) ? true : false;
10071 if (PyErr_Occurred()) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 Py_INCREF(Py_None
); resultobj
= Py_None
;
10087 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxDC
*arg1
= (wxDC
*) 0 ;
10090 wxString
*arg2
= 0 ;
10093 bool temp2
= False
;
10094 PyObject
* obj0
= 0 ;
10095 PyObject
* obj1
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
10101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10103 arg2
= wxString_in_helper(obj1
);
10104 if (arg2
== NULL
) SWIG_fail
;
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 Py_INCREF(Py_None
); resultobj
= Py_None
;
10129 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxDC
*arg1
= (wxDC
*) 0 ;
10132 wxString
*arg2
= 0 ;
10133 wxPoint
*arg3
= 0 ;
10134 bool temp2
= False
;
10136 PyObject
* obj0
= 0 ;
10137 PyObject
* obj1
= 0 ;
10138 PyObject
* obj2
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self",(char *) "text",(char *) "pt", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10146 arg2
= wxString_in_helper(obj1
);
10147 if (arg2
== NULL
) SWIG_fail
;
10152 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 Py_INCREF(Py_None
); resultobj
= Py_None
;
10176 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxDC
*arg1
= (wxDC
*) 0 ;
10179 wxString
*arg2
= 0 ;
10183 bool temp2
= False
;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiid:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10193 arg2
= wxString_in_helper(obj1
);
10194 if (arg2
== NULL
) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxDC
*arg1
= (wxDC
*) 0 ;
10222 wxString
*arg2
= 0 ;
10223 wxPoint
*arg3
= 0 ;
10225 bool temp2
= False
;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 PyObject
* obj2
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10237 arg2
= wxString_in_helper(obj1
);
10238 if (arg2
== NULL
) SWIG_fail
;
10243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 Py_INCREF(Py_None
); resultobj
= Py_None
;
10267 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxDC
*arg1
= (wxDC
*) 0 ;
10274 wxDC
*arg6
= (wxDC
*) 0 ;
10277 int arg9
= (int) wxCOPY
;
10278 bool arg10
= (bool) False
;
10279 int arg11
= (int) -1 ;
10280 int arg12
= (int) -1 ;
10282 PyObject
* obj0
= 0 ;
10283 PyObject
* obj5
= 0 ;
10284 PyObject
* obj9
= 0 ;
10285 char *kwnames
[] = {
10286 (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
10289 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
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10291 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10293 arg10
= PyInt_AsLong(obj9
) ? true : false;
10294 if (PyErr_Occurred()) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= PyInt_FromLong((long)result
);
10310 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxDC
*arg1
= (wxDC
*) 0 ;
10313 wxPoint
*arg2
= 0 ;
10315 wxDC
*arg4
= (wxDC
*) 0 ;
10316 wxPoint
*arg5
= 0 ;
10317 int arg6
= (int) wxCOPY
;
10318 bool arg7
= (bool) False
;
10319 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
10320 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 PyObject
* obj2
= 0 ;
10329 PyObject
* obj3
= 0 ;
10330 PyObject
* obj4
= 0 ;
10331 PyObject
* obj6
= 0 ;
10332 PyObject
* obj7
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|iOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10345 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10347 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10350 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10353 arg7
= PyInt_AsLong(obj6
) ? true : false;
10354 if (PyErr_Occurred()) SWIG_fail
;
10359 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= PyInt_FromLong((long)result
);
10376 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxDC
*arg1
= (wxDC
*) 0 ;
10380 wxPoint
*arg3
= (wxPoint
*) 0 ;
10381 int arg4
= (int) 0 ;
10382 int arg5
= (int) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|ii:DC_DrawLines",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10392 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10393 if (arg3
== NULL
) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 Py_INCREF(Py_None
); resultobj
= Py_None
;
10404 if (arg3
) delete [] arg3
;
10409 if (arg3
) delete [] arg3
;
10415 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxDC
*arg1
= (wxDC
*) 0 ;
10419 wxPoint
*arg3
= (wxPoint
*) 0 ;
10420 int arg4
= (int) 0 ;
10421 int arg5
= (int) 0 ;
10422 int arg6
= (int) wxODDEVEN_RULE
;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iii:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
,&arg6
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10433 if (arg3
== NULL
) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 Py_INCREF(Py_None
); resultobj
= Py_None
;
10444 if (arg3
) delete [] arg3
;
10449 if (arg3
) delete [] arg3
;
10455 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
;
10457 wxDC
*arg1
= (wxDC
*) 0 ;
10458 wxString
*arg2
= 0 ;
10460 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10461 int arg5
= (int) -1 ;
10462 bool temp2
= False
;
10464 PyObject
* obj0
= 0 ;
10465 PyObject
* obj1
= 0 ;
10466 PyObject
* obj2
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|ii:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10474 arg2
= wxString_in_helper(obj1
);
10475 if (arg2
== NULL
) SWIG_fail
;
10480 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 Py_INCREF(Py_None
); resultobj
= Py_None
;
10504 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxDC
*arg1
= (wxDC
*) 0 ;
10507 wxString
*arg2
= 0 ;
10508 wxBitmap
*arg3
= 0 ;
10510 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10511 int arg6
= (int) -1 ;
10513 bool temp2
= False
;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 PyObject
* obj2
= 0 ;
10518 PyObject
* obj3
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|ii:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
10524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10526 arg2
= wxString_in_helper(obj1
);
10527 if (arg2
== NULL
) SWIG_fail
;
10530 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10531 if (arg3
== NULL
) {
10532 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10536 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 wxRect
* resultptr
;
10547 resultptr
= new wxRect((wxRect
&) result
);
10548 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
10564 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxDC
*arg1
= (wxDC
*) 0 ;
10568 wxPoint
*arg3
= (wxPoint
*) 0 ;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self",(char *) "points", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10578 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10579 if (arg3
== NULL
) SWIG_fail
;
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 (arg1
)->DrawSpline(arg2
,arg3
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 Py_INCREF(Py_None
); resultobj
= Py_None
;
10590 if (arg3
) delete [] arg3
;
10595 if (arg3
) delete [] arg3
;
10601 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10602 PyObject
*resultobj
;
10603 wxDC
*arg1
= (wxDC
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 Py_INCREF(Py_None
); resultobj
= Py_None
;
10625 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxDC
*arg1
= (wxDC
*) 0 ;
10628 wxString
*arg2
= 0 ;
10630 bool temp2
= False
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self",(char *) "message", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10640 arg2
= wxString_in_helper(obj1
);
10641 if (arg2
== NULL
) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= PyInt_FromLong((long)result
);
10666 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 wxDC
*arg1
= (wxDC
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 Py_INCREF(Py_None
); resultobj
= Py_None
;
10690 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxDC
*arg1
= (wxDC
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 (arg1
)->StartPage();
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 Py_INCREF(Py_None
); resultobj
= Py_None
;
10714 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
*resultobj
;
10716 wxDC
*arg1
= (wxDC
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 Py_INCREF(Py_None
); resultobj
= Py_None
;
10738 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxDC
*arg1
= (wxDC
*) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self",(char *) "font", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10751 if (arg2
== NULL
) {
10752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetFont((wxFont
const &)*arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 Py_INCREF(Py_None
); resultobj
= Py_None
;
10768 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxDC
*arg1
= (wxDC
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "pen", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10781 if (arg2
== NULL
) {
10782 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 (arg1
)->SetPen((wxPen
const &)*arg2
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 Py_INCREF(Py_None
); resultobj
= Py_None
;
10798 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxDC
*arg1
= (wxDC
*) 0 ;
10801 wxBrush
*arg2
= 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self",(char *) "brush", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10811 if (arg2
== NULL
) {
10812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 Py_INCREF(Py_None
); resultobj
= Py_None
;
10828 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxDC
*arg1
= (wxDC
*) 0 ;
10831 wxBrush
*arg2
= 0 ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "brush", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10840 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10841 if (arg2
== NULL
) {
10842 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxDC
*arg1
= (wxDC
*) 0 ;
10862 PyObject
* obj0
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "mode", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->SetBackgroundMode(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxDC
*arg1
= (wxDC
*) 0 ;
10886 wxPalette
*arg2
= 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self",(char *) "palette", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10895 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10896 if (arg2
== NULL
) {
10897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 Py_INCREF(Py_None
); resultobj
= Py_None
;
10913 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 wxDC
*arg1
= (wxDC
*) 0 ;
10920 PyObject
* obj0
= 0 ;
10921 char *kwnames
[] = {
10922 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_SetClippingRegionXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 Py_INCREF(Py_None
); resultobj
= Py_None
;
10941 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxDC
*arg1
= (wxDC
*) 0 ;
10944 wxPoint
*arg2
= 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 PyObject
* obj2
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self",(char *) "pt",(char *) "sz", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10963 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 Py_INCREF(Py_None
); resultobj
= Py_None
;
10979 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxDC
*arg1
= (wxDC
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "rect", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10994 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 Py_INCREF(Py_None
); resultobj
= Py_None
;
11010 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxDC
*arg1
= (wxDC
*) 0 ;
11013 wxRegion
*arg2
= 0 ;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "region", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11023 if (arg2
== NULL
) {
11024 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_DC_DestroyClippingRegion(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_DestroyClippingRegion",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();
11052 (arg1
)->DestroyClippingRegion();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 Py_INCREF(Py_None
); resultobj
= Py_None
;
11064 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxDC
*arg1
= (wxDC
*) 0 ;
11067 int *arg2
= (int *) 0 ;
11068 int *arg3
= (int *) 0 ;
11069 int *arg4
= (int *) 0 ;
11070 int *arg5
= (int *) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11088 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11093 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11096 resultobj
= t_output_helper(resultobj
,o
);
11099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11100 resultobj
= t_output_helper(resultobj
,o
);
11103 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11104 resultobj
= t_output_helper(resultobj
,o
);
11107 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11108 resultobj
= t_output_helper(resultobj
,o
);
11116 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxDC
*arg1
= (wxDC
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= wxDC_GetClippingRect(arg1
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 wxRect
* resultptr
;
11136 resultptr
= new wxRect((wxRect
&) result
);
11137 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11145 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxDC
*arg1
= (wxDC
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= PyInt_FromLong((long)result
);
11170 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxDC
*arg1
= (wxDC
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
11180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= PyInt_FromLong((long)result
);
11195 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
;
11197 wxDC
*arg1
= (wxDC
*) 0 ;
11198 wxString
*arg2
= 0 ;
11199 int *arg3
= (int *) 0 ;
11200 int *arg4
= (int *) 0 ;
11201 bool temp2
= False
;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self",(char *) "string", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11215 arg2
= wxString_in_helper(obj1
);
11216 if (arg2
== NULL
) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11228 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11229 resultobj
= t_output_helper(resultobj
,o
);
11232 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11233 resultobj
= t_output_helper(resultobj
,o
);
11249 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxDC
*arg1
= (wxDC
*) 0 ;
11252 wxString
*arg2
= 0 ;
11253 int *arg3
= (int *) 0 ;
11254 int *arg4
= (int *) 0 ;
11255 int *arg5
= (int *) 0 ;
11256 int *arg6
= (int *) 0 ;
11257 wxFont
*arg7
= (wxFont
*) NULL
;
11258 bool temp2
= False
;
11263 PyObject
* obj0
= 0 ;
11264 PyObject
* obj1
= 0 ;
11265 PyObject
* obj2
= 0 ;
11266 char *kwnames
[] = {
11267 (char *) "self",(char *) "string",(char *) "font", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11277 arg2
= wxString_in_helper(obj1
);
11278 if (arg2
== NULL
) SWIG_fail
;
11282 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 Py_INCREF(Py_None
); resultobj
= Py_None
;
11293 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11294 resultobj
= t_output_helper(resultobj
,o
);
11297 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11298 resultobj
= t_output_helper(resultobj
,o
);
11301 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11302 resultobj
= t_output_helper(resultobj
,o
);
11305 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
11306 resultobj
= t_output_helper(resultobj
,o
);
11322 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
;
11324 wxDC
*arg1
= (wxDC
*) 0 ;
11325 wxString
*arg2
= 0 ;
11326 int *arg3
= (int *) 0 ;
11327 int *arg4
= (int *) 0 ;
11328 int *arg5
= (int *) 0 ;
11329 wxFont
*arg6
= (wxFont
*) NULL
;
11330 bool temp2
= False
;
11334 PyObject
* obj0
= 0 ;
11335 PyObject
* obj1
= 0 ;
11336 PyObject
* obj2
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "text",(char *) "font", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 arg2
= wxString_in_helper(obj1
);
11348 if (arg2
== NULL
) SWIG_fail
;
11352 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11364 resultobj
= t_output_helper(resultobj
,o
);
11367 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11368 resultobj
= t_output_helper(resultobj
,o
);
11371 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11372 resultobj
= t_output_helper(resultobj
,o
);
11388 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxDC
*arg1
= (wxDC
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 char *kwnames
[] = {
11394 (char *) "self", NULL
11397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
11398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11401 result
= (arg1
)->GetSize();
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11407 wxSize
* resultptr
;
11408 resultptr
= new wxSize((wxSize
&) result
);
11409 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11417 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxDC
*arg1
= (wxDC
*) 0 ;
11420 int *arg2
= (int *) 0 ;
11421 int *arg3
= (int *) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 char *kwnames
[] = {
11426 (char *) "self", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 (arg1
)->GetSize(arg2
,arg3
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 Py_INCREF(Py_None
); resultobj
= Py_None
;
11442 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11443 resultobj
= t_output_helper(resultobj
,o
);
11446 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11447 resultobj
= t_output_helper(resultobj
,o
);
11455 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxDC
*arg1
= (wxDC
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "self", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
11465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= ((wxDC
const *)arg1
)->GetSizeMM();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11474 wxSize
* resultptr
;
11475 resultptr
= new wxSize((wxSize
&) result
);
11476 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11484 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
;
11486 wxDC
*arg1
= (wxDC
*) 0 ;
11487 int *arg2
= (int *) 0 ;
11488 int *arg3
= (int *) 0 ;
11491 PyObject
* obj0
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "self", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
11499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 Py_INCREF(Py_None
); resultobj
= Py_None
;
11509 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11510 resultobj
= t_output_helper(resultobj
,o
);
11513 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11514 resultobj
= t_output_helper(resultobj
,o
);
11522 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxDC
*arg1
= (wxDC
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self",(char *) "x", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalX",kwnames
,&obj0
,&arg2
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= PyInt_FromLong((long)result
);
11548 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
;
11550 wxDC
*arg1
= (wxDC
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "y", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalY",kwnames
,&obj0
,&arg2
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= PyInt_FromLong((long)result
);
11574 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxDC
*arg1
= (wxDC
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self",(char *) "x", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= PyInt_FromLong((long)result
);
11600 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
;
11602 wxDC
*arg1
= (wxDC
*) 0 ;
11605 PyObject
* obj0
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self",(char *) "y", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 resultobj
= PyInt_FromLong((long)result
);
11626 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxDC
*arg1
= (wxDC
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self",(char *) "x", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceX",kwnames
,&obj0
,&arg2
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= PyInt_FromLong((long)result
);
11652 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11653 PyObject
*resultobj
;
11654 wxDC
*arg1
= (wxDC
*) 0 ;
11657 PyObject
* obj0
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self",(char *) "y", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceY",kwnames
,&obj0
,&arg2
)) goto fail
;
11663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= PyInt_FromLong((long)result
);
11678 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxDC
*arg1
= (wxDC
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self",(char *) "x", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= PyInt_FromLong((long)result
);
11704 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
;
11706 wxDC
*arg1
= (wxDC
*) 0 ;
11709 PyObject
* obj0
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self",(char *) "y", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11723 resultobj
= PyInt_FromLong((long)result
);
11730 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxDC
*arg1
= (wxDC
*) 0 ;
11734 PyObject
* obj0
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
11740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= PyInt_FromLong((long)result
);
11755 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxDC
*arg1
= (wxDC
*) 0 ;
11759 PyObject
* obj0
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= PyInt_FromLong((long)result
);
11780 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxDC
*arg1
= (wxDC
*) 0 ;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (int)((wxDC
const *)arg1
)->GetDepth();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= PyInt_FromLong((long)result
);
11805 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxDC
*arg1
= (wxDC
*) 0 ;
11809 PyObject
* obj0
= 0 ;
11810 char *kwnames
[] = {
11811 (char *) "self", NULL
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
11815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 result
= ((wxDC
const *)arg1
)->GetPPI();
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11824 wxSize
* resultptr
;
11825 resultptr
= new wxSize((wxSize
&) result
);
11826 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11834 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
;
11836 wxDC
*arg1
= (wxDC
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
11844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (bool)((wxDC
const *)arg1
)->Ok();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= PyInt_FromLong((long)result
);
11859 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxDC
*arg1
= (wxDC
*) 0 ;
11863 PyObject
* obj0
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "self", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
11869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= PyInt_FromLong((long)result
);
11884 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
;
11886 wxDC
*arg1
= (wxDC
*) 0 ;
11888 PyObject
* obj0
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
11899 result
= (wxBrush
*) &_result_ref
;
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
11912 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxDC
*arg1
= (wxDC
*) 0 ;
11916 PyObject
* obj0
= 0 ;
11917 char *kwnames
[] = {
11918 (char *) "self", NULL
11921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
11922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
11927 result
= (wxBrush
*) &_result_ref
;
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
11940 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxDC
*arg1
= (wxDC
*) 0 ;
11944 PyObject
* obj0
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
11950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
11955 result
= (wxFont
*) &_result_ref
;
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
11968 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxDC
*arg1
= (wxDC
*) 0 ;
11972 PyObject
* obj0
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
11978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
11983 result
= (wxPen
*) &_result_ref
;
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
11996 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxDC
*arg1
= (wxDC
*) 0 ;
12000 PyObject
* obj0
= 0 ;
12001 char *kwnames
[] = {
12002 (char *) "self", NULL
12005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
12006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
12011 result
= (wxColour
*) &_result_ref
;
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
12024 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxDC
*arg1
= (wxDC
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
12034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
12039 result
= (wxColour
*) &_result_ref
;
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
12052 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxDC
*arg1
= (wxDC
*) 0 ;
12055 wxColour
*arg2
= 0 ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "colour", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 Py_INCREF(Py_None
); resultobj
= Py_None
;
12083 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxDC
*arg1
= (wxDC
*) 0 ;
12086 wxColour
*arg2
= 0 ;
12088 PyObject
* obj0
= 0 ;
12089 PyObject
* obj1
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "colour", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12098 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxDC
*arg1
= (wxDC
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 resultobj
= PyInt_FromLong((long)result
);
12139 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxDC
*arg1
= (wxDC
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self",(char *) "mode", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetMapMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 (arg1
)->SetMapMode(arg2
);
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 Py_INCREF(Py_None
); resultobj
= Py_None
;
12164 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxDC
*arg1
= (wxDC
*) 0 ;
12167 double *arg2
= (double *) 0 ;
12168 double *arg3
= (double *) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",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 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 Py_INCREF(Py_None
); resultobj
= Py_None
;
12189 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12190 resultobj
= t_output_helper(resultobj
,o
);
12193 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12194 resultobj
= t_output_helper(resultobj
,o
);
12202 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxDC
*arg1
= (wxDC
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "self",(char *) "x",(char *) "y", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetUserScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 (arg1
)->SetUserScale(arg2
,arg3
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 Py_INCREF(Py_None
); resultobj
= Py_None
;
12228 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxDC
*arg1
= (wxDC
*) 0 ;
12231 double *arg2
= (double *) 0 ;
12232 double *arg3
= (double *) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 (arg1
)->GetLogicalScale(arg2
,arg3
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 Py_INCREF(Py_None
); resultobj
= Py_None
;
12253 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12254 resultobj
= t_output_helper(resultobj
,o
);
12257 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12258 resultobj
= t_output_helper(resultobj
,o
);
12266 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxDC
*arg1
= (wxDC
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self",(char *) "x",(char *) "y", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetLogicalScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->SetLogicalScale(arg2
,arg3
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12292 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxDC
*arg1
= (wxDC
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12311 wxPoint
* resultptr
;
12312 resultptr
= new wxPoint((wxPoint
&) result
);
12313 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12321 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxDC
*arg1
= (wxDC
*) 0 ;
12324 int *arg2
= (int *) 0 ;
12325 int *arg3
= (int *) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12346 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12347 resultobj
= t_output_helper(resultobj
,o
);
12350 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12351 resultobj
= t_output_helper(resultobj
,o
);
12359 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxDC
*arg1
= (wxDC
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self",(char *) "x",(char *) "y", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetLogicalOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 Py_INCREF(Py_None
); resultobj
= Py_None
;
12385 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxDC
*arg1
= (wxDC
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 wxPoint
* resultptr
;
12405 resultptr
= new wxPoint((wxPoint
&) result
);
12406 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12414 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxDC
*arg1
= (wxDC
*) 0 ;
12417 int *arg2
= (int *) 0 ;
12418 int *arg3
= (int *) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 Py_INCREF(Py_None
); resultobj
= Py_None
;
12439 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12440 resultobj
= t_output_helper(resultobj
,o
);
12443 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12444 resultobj
= t_output_helper(resultobj
,o
);
12452 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxDC
*arg1
= (wxDC
*) 0 ;
12457 PyObject
* obj0
= 0 ;
12458 char *kwnames
[] = {
12459 (char *) "self",(char *) "x",(char *) "y", NULL
12462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetDeviceOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 Py_INCREF(Py_None
); resultobj
= Py_None
;
12478 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxDC
*arg1
= (wxDC
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 PyObject
* obj1
= 0 ;
12485 PyObject
* obj2
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12492 arg2
= PyInt_AsLong(obj1
) ? true : false;
12493 if (PyErr_Occurred()) SWIG_fail
;
12494 arg3
= PyInt_AsLong(obj2
) ? true : false;
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->SetAxisOrientation(arg2
,arg3
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxDC
*arg1
= (wxDC
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= PyInt_FromLong((long)result
);
12535 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12536 PyObject
*resultobj
;
12537 wxDC
*arg1
= (wxDC
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self",(char *) "function", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetLogicalFunction",kwnames
,&obj0
,&arg2
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->SetLogicalFunction(arg2
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxDC
*arg1
= (wxDC
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self",(char *) "opt", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 arg2
= PyInt_AsLong(obj1
) ? true : false;
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 (arg1
)->SetOptimization(arg2
);
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 Py_INCREF(Py_None
); resultobj
= Py_None
;
12588 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxDC
*arg1
= (wxDC
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (bool)(arg1
)->GetOptimization();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= PyInt_FromLong((long)result
);
12613 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxDC
*arg1
= (wxDC
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self",(char *) "x",(char *) "y", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CalcBoundingBox",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 (arg1
)->CalcBoundingBox(arg2
,arg3
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 Py_INCREF(Py_None
); resultobj
= Py_None
;
12639 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxDC
*arg1
= (wxDC
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 (arg1
)->ResetBoundingBox();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12656 Py_INCREF(Py_None
); resultobj
= Py_None
;
12663 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12664 PyObject
*resultobj
;
12665 wxDC
*arg1
= (wxDC
*) 0 ;
12667 PyObject
* obj0
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (int)((wxDC
const *)arg1
)->MinX();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= PyInt_FromLong((long)result
);
12688 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxDC
*arg1
= (wxDC
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 result
= (int)((wxDC
const *)arg1
)->MaxX();
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= PyInt_FromLong((long)result
);
12713 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12714 PyObject
*resultobj
;
12715 wxDC
*arg1
= (wxDC
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (int)((wxDC
const *)arg1
)->MinY();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= PyInt_FromLong((long)result
);
12738 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxDC
*arg1
= (wxDC
*) 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (int)((wxDC
const *)arg1
)->MaxY();
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= PyInt_FromLong((long)result
);
12763 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxDC
*arg1
= (wxDC
*) 0 ;
12766 int *arg2
= (int *) 0 ;
12767 int *arg3
= (int *) 0 ;
12768 int *arg4
= (int *) 0 ;
12769 int *arg5
= (int *) 0 ;
12774 PyObject
* obj0
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 Py_INCREF(Py_None
); resultobj
= Py_None
;
12794 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12795 resultobj
= t_output_helper(resultobj
,o
);
12798 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12799 resultobj
= t_output_helper(resultobj
,o
);
12802 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12803 resultobj
= t_output_helper(resultobj
,o
);
12806 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12807 resultobj
= t_output_helper(resultobj
,o
);
12815 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxDC
*arg1
= (wxDC
*) 0 ;
12818 PyObject
*arg2
= (PyObject
*) 0 ;
12819 PyObject
*arg3
= (PyObject
*) 0 ;
12820 PyObject
*arg4
= (PyObject
*) 0 ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 PyObject
* obj2
= 0 ;
12825 PyObject
* obj3
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= result
;
12849 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxDC
*arg1
= (wxDC
*) 0 ;
12852 PyObject
*arg2
= (PyObject
*) 0 ;
12853 PyObject
*arg3
= (PyObject
*) 0 ;
12854 PyObject
*arg4
= (PyObject
*) 0 ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 PyObject
* obj2
= 0 ;
12859 PyObject
* obj3
= 0 ;
12860 char *kwnames
[] = {
12861 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= result
;
12883 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxDC
*arg1
= (wxDC
*) 0 ;
12886 PyObject
*arg2
= (PyObject
*) 0 ;
12887 PyObject
*arg3
= (PyObject
*) 0 ;
12888 PyObject
*arg4
= (PyObject
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 PyObject
* obj2
= 0 ;
12893 PyObject
* obj3
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
;
12917 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxDC
*arg1
= (wxDC
*) 0 ;
12920 PyObject
*arg2
= (PyObject
*) 0 ;
12921 PyObject
*arg3
= (PyObject
*) 0 ;
12922 PyObject
*arg4
= (PyObject
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 PyObject
* obj1
= 0 ;
12926 PyObject
* obj2
= 0 ;
12927 PyObject
* obj3
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= result
;
12951 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxDC
*arg1
= (wxDC
*) 0 ;
12954 PyObject
*arg2
= (PyObject
*) 0 ;
12955 PyObject
*arg3
= (PyObject
*) 0 ;
12956 PyObject
*arg4
= (PyObject
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 PyObject
* obj2
= 0 ;
12961 PyObject
* obj3
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= result
;
12985 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxDC
*arg1
= (wxDC
*) 0 ;
12988 PyObject
*arg2
= (PyObject
*) 0 ;
12989 PyObject
*arg3
= (PyObject
*) 0 ;
12990 PyObject
*arg4
= (PyObject
*) 0 ;
12991 PyObject
*arg5
= (PyObject
*) 0 ;
12993 PyObject
* obj0
= 0 ;
12994 PyObject
* obj1
= 0 ;
12995 PyObject
* obj2
= 0 ;
12996 PyObject
* obj3
= 0 ;
12997 PyObject
* obj4
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= result
;
13022 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
13024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13025 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
13027 return Py_BuildValue((char *)"");
13029 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxMemoryDC
*result
;
13032 char *kwnames
[] = {
13036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxMemoryDC
*)new wxMemoryDC();
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
13051 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxDC
*arg1
= (wxDC
*) 0 ;
13054 wxMemoryDC
*result
;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "oldDC", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
13076 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
13079 wxBitmap
*arg2
= 0 ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "bitmap", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13088 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13089 if (arg2
== NULL
) {
13090 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
13108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13109 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
13111 return Py_BuildValue((char *)"");
13113 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxDC
*arg1
= (wxDC
*) 0 ;
13116 wxBitmap
*arg2
= 0 ;
13117 wxBufferedDC
*result
;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "dc",(char *) "buffer", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13127 if (arg2
== NULL
) {
13128 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13144 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxDC
*arg1
= (wxDC
*) 0 ;
13148 wxBufferedDC
*result
;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "dc",(char *) "area", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDCInternalBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13160 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13176 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
13202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13203 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
13205 return Py_BuildValue((char *)"");
13207 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxWindow
*arg1
= (wxWindow
*) 0 ;
13210 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
13211 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
13212 wxBufferedPaintDC
*result
;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "window",(char *) "buffer", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13222 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13223 if (arg2
== NULL
) {
13224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
13241 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13244 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
13246 return Py_BuildValue((char *)"");
13248 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13249 PyObject
*resultobj
;
13250 wxScreenDC
*result
;
13251 char *kwnames
[] = {
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (wxScreenDC
*)new wxScreenDC();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
13270 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13273 wxWindow
*arg2
= (wxWindow
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self",(char *) "window", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= PyInt_FromLong((long)result
);
13298 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13301 wxRect
*arg2
= (wxRect
*) NULL
;
13303 PyObject
* obj0
= 0 ;
13304 PyObject
* obj1
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self",(char *) "rect", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= PyInt_FromLong((long)result
);
13328 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (bool)(arg1
)->EndDrawingOnTop();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= PyInt_FromLong((long)result
);
13353 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
13355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13356 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
13358 return Py_BuildValue((char *)"");
13360 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxWindow
*arg1
= (wxWindow
*) 0 ;
13363 wxClientDC
*result
;
13364 PyObject
* obj0
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "win", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 result
= (wxClientDC
*)new wxClientDC(arg1
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
13385 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
13387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13388 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
13390 return Py_BuildValue((char *)"");
13392 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxWindow
*arg1
= (wxWindow
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "win", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
13417 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13420 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
13422 return Py_BuildValue((char *)"");
13424 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
;
13426 wxWindow
*arg1
= (wxWindow
*) 0 ;
13427 wxWindowDC
*result
;
13428 PyObject
* obj0
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "win", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
13434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
13449 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
13451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13452 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
13454 return Py_BuildValue((char *)"");
13456 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13460 wxMirrorDC
*result
;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "dc",(char *) "mirror", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13469 if (arg1
== NULL
) {
13470 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13472 arg2
= PyInt_AsLong(obj1
) ? true : false;
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
13488 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
13490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13491 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
13493 return Py_BuildValue((char *)"");
13495 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxPrintData
*arg1
= 0 ;
13498 wxPostScriptDC
*result
;
13499 PyObject
* obj0
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "printData", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13506 if (arg1
== NULL
) {
13507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
13523 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13526 wxPrintData
*result
;
13527 PyObject
* obj0
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
13538 result
= (wxPrintData
*) &_result_ref
;
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
13551 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13554 wxPrintData
*arg2
= 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "data", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13563 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13564 if (arg2
== NULL
) {
13565 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 Py_INCREF(Py_None
); resultobj
= Py_None
;
13581 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13584 char *kwnames
[] = {
13585 (char *) "ppi", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:PostScriptDC_SetResolution",kwnames
,&arg1
)) goto fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 wxPostScriptDC::SetResolution(arg1
);
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 Py_INCREF(Py_None
); resultobj
= Py_None
;
13603 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13606 char *kwnames
[] = {
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (int)wxPostScriptDC::GetResolution();
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= PyInt_FromLong((long)result
);
13625 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
13627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13628 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
13630 return Py_BuildValue((char *)"");
13632 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13635 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13636 wxMetaFile
*result
;
13637 bool temp1
= False
;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "filename", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
13646 arg1
= wxString_in_helper(obj0
);
13647 if (arg1
== NULL
) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
13673 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
13675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13676 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
13678 return Py_BuildValue((char *)"");
13680 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13683 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13684 int arg2
= (int) 0 ;
13685 int arg3
= (int) 0 ;
13686 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13687 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13688 wxMetaFileDC
*result
;
13689 bool temp1
= False
;
13690 bool temp4
= False
;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj3
= 0 ;
13693 char *kwnames
[] = {
13694 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiiO:new_MetaFileDC",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
13700 arg1
= wxString_in_helper(obj0
);
13701 if (arg1
== NULL
) SWIG_fail
;
13707 arg4
= wxString_in_helper(obj3
);
13708 if (arg4
== NULL
) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
13742 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
13744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13745 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
13747 return Py_BuildValue((char *)"");
13749 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxPrintData
*arg1
= 0 ;
13752 wxPrinterDC
*result
;
13753 PyObject
* obj0
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "printData", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13760 if (arg1
== NULL
) {
13761 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
13777 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
13779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13780 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
13782 return Py_BuildValue((char *)"");
13784 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13788 int arg3
= (int) True
;
13789 int arg4
= (int) 1 ;
13790 wxImageList
*result
;
13791 char *kwnames
[] = {
13792 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|ii:new_ImageList",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= wxPyMake_wxObject(result
);
13812 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxImageList
*arg1
= (wxImageList
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 char *kwnames
[] = {
13817 (char *) "self", NULL
13820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
13821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 Py_INCREF(Py_None
); resultobj
= Py_None
;
13836 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxImageList
*arg1
= (wxImageList
*) 0 ;
13839 wxBitmap
*arg2
= 0 ;
13840 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
13841 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 PyObject
* obj2
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13852 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13853 if (arg2
== NULL
) {
13854 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13857 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13858 if (arg3
== NULL
) {
13859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= PyInt_FromLong((long)result
);
13876 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxImageList
*arg1
= (wxImageList
*) 0 ;
13879 wxBitmap
*arg2
= 0 ;
13880 wxColour
*arg3
= 0 ;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 PyObject
* obj2
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13893 if (arg2
== NULL
) {
13894 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13898 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= PyInt_FromLong((long)result
);
13914 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxImageList
*arg1
= (wxImageList
*) 0 ;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self",(char *) "icon", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13928 if (arg2
== NULL
) {
13929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 resultobj
= PyInt_FromLong((long)result
);
13945 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxImageList
*arg1
= (wxImageList
*) 0 ;
13949 wxBitmap
*arg3
= 0 ;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj2
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self",(char *) "index",(char *) "bitmap", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ImageList_Replace",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
13958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13959 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13960 if (arg3
== NULL
) {
13961 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= PyInt_FromLong((long)result
);
13977 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13978 PyObject
*resultobj
;
13979 wxImageList
*arg1
= (wxImageList
*) 0 ;
13984 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
13985 bool arg7
= (bool) (bool)False
;
13987 PyObject
* obj0
= 0 ;
13988 PyObject
* obj2
= 0 ;
13989 PyObject
* obj6
= 0 ;
13990 char *kwnames
[] = {
13991 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
13994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOii|iO:ImageList_Draw",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
13995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13996 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13997 if (arg3
== NULL
) {
13998 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14001 arg7
= PyInt_AsLong(obj6
) ? true : false;
14002 if (PyErr_Occurred()) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= PyInt_FromLong((long)result
);
14018 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxImageList
*arg1
= (wxImageList
*) 0 ;
14022 PyObject
* obj0
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (int)(arg1
)->GetImageCount();
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= PyInt_FromLong((long)result
);
14043 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
;
14045 wxImageList
*arg1
= (wxImageList
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self",(char *) "index", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)(arg1
)->Remove(arg2
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= PyInt_FromLong((long)result
);
14069 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxImageList
*arg1
= (wxImageList
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= (bool)(arg1
)->RemoveAll();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= PyInt_FromLong((long)result
);
14094 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxImageList
*arg1
= (wxImageList
*) 0 ;
14102 PyObject
* obj0
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "index", NULL
14109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_GetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
14110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14121 resultobj
= t_output_helper(resultobj
,o
);
14124 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14125 resultobj
= t_output_helper(resultobj
,o
);
14133 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
14135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14136 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
14138 return Py_BuildValue((char *)"");
14140 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxPenList
*arg1
= (wxPenList
*) 0 ;
14143 wxPen
*arg2
= (wxPen
*) 0 ;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 char *kwnames
[] = {
14147 (char *) "self",(char *) "pen", NULL
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 (arg1
)->AddPen(arg2
);
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 Py_INCREF(Py_None
); resultobj
= Py_None
;
14167 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxPenList
*arg1
= (wxPenList
*) 0 ;
14170 wxColour
*arg2
= 0 ;
14175 PyObject
* obj0
= 0 ;
14176 PyObject
* obj1
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
14201 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxPenList
*arg1
= (wxPenList
*) 0 ;
14204 wxPen
*arg2
= (wxPen
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 PyObject
* obj1
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self",(char *) "pen", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 (arg1
)->RemovePen(arg2
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 Py_INCREF(Py_None
); resultobj
= Py_None
;
14228 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxPenList
*arg1
= (wxPenList
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
14238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (int)(arg1
)->GetCount();
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= PyInt_FromLong((long)result
);
14253 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
14255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14256 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
14258 return Py_BuildValue((char *)"");
14260 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14263 wxBrush
*arg2
= (wxBrush
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 PyObject
* obj1
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "brush", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 (arg1
)->AddBrush(arg2
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 Py_INCREF(Py_None
); resultobj
= Py_None
;
14287 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14290 wxColour
*arg2
= 0 ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self",(char *) "colour",(char *) "style", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
14320 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
;
14322 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14323 wxBrush
*arg2
= (wxBrush
*) 0 ;
14324 PyObject
* obj0
= 0 ;
14325 PyObject
* obj1
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self",(char *) "brush", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 (arg1
)->RemoveBrush(arg2
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14347 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (int)(arg1
)->GetCount();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= PyInt_FromLong((long)result
);
14372 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
14374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14375 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
14377 return Py_BuildValue((char *)"");
14379 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxColourDatabase
*result
;
14382 char *kwnames
[] = {
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (wxColourDatabase
*)new wxColourDatabase();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
14401 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
;
14403 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14404 PyObject
* obj0
= 0 ;
14405 char *kwnames
[] = {
14406 (char *) "self", NULL
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
14410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 Py_INCREF(Py_None
); resultobj
= Py_None
;
14425 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14428 wxString
*arg2
= 0 ;
14430 bool temp2
= False
;
14431 PyObject
* obj0
= 0 ;
14432 PyObject
* obj1
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self",(char *) "name", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
14438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14440 arg2
= wxString_in_helper(obj1
);
14441 if (arg2
== NULL
) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 wxColour
* resultptr
;
14453 resultptr
= new wxColour((wxColour
&) result
);
14454 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
14470 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14473 wxColour
*arg2
= 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self",(char *) "colour", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14508 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14511 wxString
*arg2
= 0 ;
14512 wxColour
*arg3
= 0 ;
14513 bool temp2
= False
;
14515 PyObject
* obj0
= 0 ;
14516 PyObject
* obj1
= 0 ;
14517 PyObject
* obj2
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "name",(char *) "colour", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14525 arg2
= wxString_in_helper(obj1
);
14526 if (arg2
== NULL
) SWIG_fail
;
14531 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
14537 wxPyEndAllowThreads(__tstate
);
14538 if (PyErr_Occurred()) SWIG_fail
;
14540 Py_INCREF(Py_None
); resultobj
= Py_None
;
14555 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14558 wxString
*arg2
= 0 ;
14562 bool temp2
= False
;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiii:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14572 arg2
= wxString_in_helper(obj1
);
14573 if (arg2
== NULL
) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 Py_INCREF(Py_None
); resultobj
= Py_None
;
14598 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
14600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14601 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
14603 return Py_BuildValue((char *)"");
14605 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxFontList
*arg1
= (wxFontList
*) 0 ;
14608 wxFont
*arg2
= (wxFont
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "font", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 (arg1
)->AddFont(arg2
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 Py_INCREF(Py_None
); resultobj
= Py_None
;
14632 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxFontList
*arg1
= (wxFontList
*) 0 ;
14639 bool arg6
= (bool) False
;
14640 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14642 int arg8
= (int) wxFONTENCODING_DEFAULT
;
14644 bool temp7
= False
;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj5
= 0 ;
14647 PyObject
* obj6
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOi:FontList_FindOrCreateFont",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14655 arg6
= PyInt_AsLong(obj5
) ? true : false;
14656 if (PyErr_Occurred()) SWIG_fail
;
14660 arg7
= wxString_in_helper(obj6
);
14661 if (arg7
== NULL
) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
14687 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxFontList
*arg1
= (wxFontList
*) 0 ;
14690 wxFont
*arg2
= (wxFont
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self",(char *) "font", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14699 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 (arg1
)->RemoveFont(arg2
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 Py_INCREF(Py_None
); resultobj
= Py_None
;
14714 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxFontList
*arg1
= (wxFontList
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (int)(arg1
)->GetCount();
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= PyInt_FromLong((long)result
);
14739 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
14741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14742 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
14744 return Py_BuildValue((char *)"");
14746 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
14747 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
14752 static PyObject
*_wrap_NORMAL_FONT_get() {
14755 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
14760 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
14761 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
14766 static PyObject
*_wrap_SMALL_FONT_get() {
14769 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
14774 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
14775 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
14780 static PyObject
*_wrap_ITALIC_FONT_get() {
14783 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
14788 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
14789 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
14794 static PyObject
*_wrap_SWISS_FONT_get() {
14797 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
14802 static int _wrap_RED_PEN_set(PyObject
*_val
) {
14803 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
14808 static PyObject
*_wrap_RED_PEN_get() {
14811 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
14816 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
14817 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
14822 static PyObject
*_wrap_CYAN_PEN_get() {
14825 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
14830 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
14831 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
14836 static PyObject
*_wrap_GREEN_PEN_get() {
14839 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
14844 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
14845 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
14850 static PyObject
*_wrap_BLACK_PEN_get() {
14853 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
14858 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
14859 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
14864 static PyObject
*_wrap_WHITE_PEN_get() {
14867 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
14872 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
14873 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
14878 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
14881 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
14886 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
14887 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
14892 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
14895 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
14900 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
14901 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
14906 static PyObject
*_wrap_GREY_PEN_get() {
14909 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
14914 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
14915 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
14920 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
14923 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
14928 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
14929 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
14934 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
14937 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
14942 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
14943 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
14948 static PyObject
*_wrap_BLUE_BRUSH_get() {
14951 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14956 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
14957 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
14962 static PyObject
*_wrap_GREEN_BRUSH_get() {
14965 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14970 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
14971 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
14976 static PyObject
*_wrap_WHITE_BRUSH_get() {
14979 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14984 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
14985 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
14990 static PyObject
*_wrap_BLACK_BRUSH_get() {
14993 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
14998 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
14999 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
15004 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
15007 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15012 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
15013 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
15018 static PyObject
*_wrap_CYAN_BRUSH_get() {
15021 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15026 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
15027 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
15032 static PyObject
*_wrap_RED_BRUSH_get() {
15035 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15040 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
15041 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
15046 static PyObject
*_wrap_GREY_BRUSH_get() {
15049 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15054 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
15055 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
15060 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
15063 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15068 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
15069 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
15074 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
15077 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15082 static int _wrap_BLACK_set(PyObject
*_val
) {
15083 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
15088 static PyObject
*_wrap_BLACK_get() {
15091 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
15096 static int _wrap_WHITE_set(PyObject
*_val
) {
15097 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
15102 static PyObject
*_wrap_WHITE_get() {
15105 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
15110 static int _wrap_RED_set(PyObject
*_val
) {
15111 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
15116 static PyObject
*_wrap_RED_get() {
15119 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
15124 static int _wrap_BLUE_set(PyObject
*_val
) {
15125 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
15130 static PyObject
*_wrap_BLUE_get() {
15133 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
15138 static int _wrap_GREEN_set(PyObject
*_val
) {
15139 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
15144 static PyObject
*_wrap_GREEN_get() {
15147 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
15152 static int _wrap_CYAN_set(PyObject
*_val
) {
15153 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
15158 static PyObject
*_wrap_CYAN_get() {
15161 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
15166 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
15167 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
15172 static PyObject
*_wrap_LIGHT_GREY_get() {
15175 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
15180 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
15181 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
15186 static PyObject
*_wrap_STANDARD_CURSOR_get() {
15189 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15194 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
15195 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
15200 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
15203 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15208 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
15209 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
15214 static PyObject
*_wrap_CROSS_CURSOR_get() {
15217 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15222 static int _wrap_NullBitmap_set(PyObject
*_val
) {
15223 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
15228 static PyObject
*_wrap_NullBitmap_get() {
15231 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
15236 static int _wrap_NullIcon_set(PyObject
*_val
) {
15237 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
15242 static PyObject
*_wrap_NullIcon_get() {
15245 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
15250 static int _wrap_NullCursor_set(PyObject
*_val
) {
15251 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
15256 static PyObject
*_wrap_NullCursor_get() {
15259 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
15264 static int _wrap_NullPen_set(PyObject
*_val
) {
15265 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
15270 static PyObject
*_wrap_NullPen_get() {
15273 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
15278 static int _wrap_NullBrush_set(PyObject
*_val
) {
15279 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
15284 static PyObject
*_wrap_NullBrush_get() {
15287 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
15292 static int _wrap_NullPalette_set(PyObject
*_val
) {
15293 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
15298 static PyObject
*_wrap_NullPalette_get() {
15301 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
15306 static int _wrap_NullFont_set(PyObject
*_val
) {
15307 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
15312 static PyObject
*_wrap_NullFont_get() {
15315 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
15320 static int _wrap_NullColour_set(PyObject
*_val
) {
15321 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
15326 static PyObject
*_wrap_NullColour_get() {
15329 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
15334 static int _wrap_TheFontList_set(PyObject
*_val
) {
15335 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
15340 static PyObject
*_wrap_TheFontList_get() {
15343 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
15348 static int _wrap_ThePenList_set(PyObject
*_val
) {
15349 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
15354 static PyObject
*_wrap_ThePenList_get() {
15357 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
15362 static int _wrap_TheBrushList_set(PyObject
*_val
) {
15363 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
15368 static PyObject
*_wrap_TheBrushList_get() {
15371 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
15376 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
15377 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
15382 static PyObject
*_wrap_TheColourDatabase_get() {
15385 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
15390 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15393 char *kwnames
[] = {
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (wxEffects
*)new wxEffects();
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
15412 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxEffects
*arg1
= (wxEffects
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 wxColour
* resultptr
;
15432 resultptr
= new wxColour((wxColour
&) result
);
15433 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15441 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxEffects
*arg1
= (wxEffects
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
15451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 wxColour
* resultptr
;
15461 resultptr
= new wxColour((wxColour
&) result
);
15462 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15470 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15472 wxEffects
*arg1
= (wxEffects
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
15480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 wxColour
* resultptr
;
15490 resultptr
= new wxColour((wxColour
&) result
);
15491 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15499 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxEffects
*arg1
= (wxEffects
*) 0 ;
15503 PyObject
* obj0
= 0 ;
15504 char *kwnames
[] = {
15505 (char *) "self", NULL
15508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15518 wxColour
* resultptr
;
15519 resultptr
= new wxColour((wxColour
&) result
);
15520 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15528 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxEffects
*arg1
= (wxEffects
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15547 wxColour
* resultptr
;
15548 resultptr
= new wxColour((wxColour
&) result
);
15549 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15557 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxEffects
*arg1
= (wxEffects
*) 0 ;
15560 wxColour
*arg2
= 0 ;
15562 PyObject
* obj0
= 0 ;
15563 PyObject
* obj1
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self",(char *) "c", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 Py_INCREF(Py_None
); resultobj
= Py_None
;
15588 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxEffects
*arg1
= (wxEffects
*) 0 ;
15591 wxColour
*arg2
= 0 ;
15593 PyObject
* obj0
= 0 ;
15594 PyObject
* obj1
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self",(char *) "c", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15603 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15612 Py_INCREF(Py_None
); resultobj
= Py_None
;
15619 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
;
15621 wxEffects
*arg1
= (wxEffects
*) 0 ;
15622 wxColour
*arg2
= 0 ;
15624 PyObject
* obj0
= 0 ;
15625 PyObject
* obj1
= 0 ;
15626 char *kwnames
[] = {
15627 (char *) "self",(char *) "c", NULL
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15634 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 Py_INCREF(Py_None
); resultobj
= Py_None
;
15650 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxEffects
*arg1
= (wxEffects
*) 0 ;
15653 wxColour
*arg2
= 0 ;
15655 PyObject
* obj0
= 0 ;
15656 PyObject
* obj1
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self",(char *) "c", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15665 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 Py_INCREF(Py_None
); resultobj
= Py_None
;
15681 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15683 wxEffects
*arg1
= (wxEffects
*) 0 ;
15684 wxColour
*arg2
= 0 ;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self",(char *) "c", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 Py_INCREF(Py_None
); resultobj
= Py_None
;
15712 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxEffects
*arg1
= (wxEffects
*) 0 ;
15715 wxColour
*arg2
= 0 ;
15716 wxColour
*arg3
= 0 ;
15717 wxColour
*arg4
= 0 ;
15718 wxColour
*arg5
= 0 ;
15719 wxColour
*arg6
= 0 ;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 PyObject
* obj2
= 0 ;
15728 PyObject
* obj3
= 0 ;
15729 PyObject
* obj4
= 0 ;
15730 PyObject
* obj5
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15739 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15743 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15747 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15751 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
15755 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15764 Py_INCREF(Py_None
); resultobj
= Py_None
;
15771 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxEffects
*arg1
= (wxEffects
*) 0 ;
15776 int arg4
= (int) 1 ;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 PyObject
* obj2
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15788 if (arg2
== NULL
) {
15789 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15793 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 Py_INCREF(Py_None
); resultobj
= Py_None
;
15809 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
;
15811 wxEffects
*arg1
= (wxEffects
*) 0 ;
15814 wxBitmap
*arg4
= 0 ;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 PyObject
* obj2
= 0 ;
15820 PyObject
* obj3
= 0 ;
15821 char *kwnames
[] = {
15822 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
15825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15829 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15831 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15832 if (arg3
== NULL
) {
15833 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15835 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15836 if (arg4
== NULL
) {
15837 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= PyInt_FromLong((long)result
);
15853 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
15855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15856 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
15858 return Py_BuildValue((char *)"");
15860 static PyMethodDef SwigMethods
[] = {
15861 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
15862 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
15863 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
15864 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
15865 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
15866 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
15867 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
15868 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
15869 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
15870 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
15871 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
15872 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
15873 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
15874 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15875 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
15876 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
15877 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
15878 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
15879 { (char *)"Colour_InitFromName", (PyCFunction
) _wrap_Colour_InitFromName
, METH_VARARGS
| METH_KEYWORDS
},
15880 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
15881 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
15882 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
15883 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
15884 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
15885 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
15886 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15887 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
15888 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
15889 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
15890 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
15891 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
15892 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
15893 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15894 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15895 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15896 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
15897 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
15898 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
15899 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15900 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15901 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
15902 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
15903 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
15904 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
15905 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
15906 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
15907 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
15908 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
15909 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
15910 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
15911 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
15912 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15913 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
15914 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
15915 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15916 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
15917 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15918 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
15919 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
15920 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
15921 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15922 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
15923 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
15924 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
15925 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
15926 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15927 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15928 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15929 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15930 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
15931 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
15932 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
15933 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
15934 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15935 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
15936 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
15937 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
15938 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15939 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15940 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15941 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
15942 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
15943 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
15944 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
15945 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
15946 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
15947 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
15948 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
15949 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15950 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
15951 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
15952 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15953 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15954 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15955 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15956 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15957 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15958 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15959 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15960 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
15961 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
15962 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
15963 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
15964 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
15965 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
15966 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
15967 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
15968 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
15969 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
15970 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
15971 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
15972 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
15973 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
15974 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
15975 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
15976 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
15977 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
15978 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
15979 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
15980 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
15981 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
15982 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15983 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
15984 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
15985 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15986 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
15987 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
15988 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
15989 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
15990 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
15991 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
15992 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
15993 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
15994 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
15995 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
15996 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
15997 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
15998 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
15999 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
16000 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
16001 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
16002 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
16003 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
16004 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
16005 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
16006 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
16007 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
16008 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16009 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16010 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
16011 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
16012 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
16013 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
16014 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
16015 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
16016 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16017 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
16018 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16019 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
16020 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
16021 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
16022 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
16023 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
16024 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
16025 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16026 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16027 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
16028 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
16029 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16030 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16031 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16032 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16033 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16034 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16035 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16036 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16037 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16038 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16039 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16040 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16041 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16042 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16043 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
16044 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
16045 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
16046 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
16047 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
16048 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
16049 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
16050 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
16051 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
16052 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
16053 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
16054 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
16055 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
16056 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
16057 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
16058 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16059 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16060 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
16061 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
16062 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
16063 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
16064 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16065 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
16066 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16067 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16068 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
16069 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
16070 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
16071 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
16072 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16073 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
16074 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
16075 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
16076 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
16077 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
16078 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
16079 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
16080 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
16081 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
16082 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16083 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
16084 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
16085 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16086 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16087 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16088 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16089 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16090 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16091 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16092 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16093 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
16094 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
16095 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
16096 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16097 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16098 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16099 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16100 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16101 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16102 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16103 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16104 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
16105 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
16106 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
16107 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
16108 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
16109 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
16110 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
16111 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16112 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16113 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
16114 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
16115 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
16116 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
16117 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
16118 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
16119 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
16120 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
16121 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
16122 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
16123 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
16124 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
16125 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
16126 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
16127 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
16128 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
16129 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
16130 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
16131 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
16132 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
16133 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16134 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16135 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16136 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
16137 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16138 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16139 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
16140 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
16141 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
16142 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
16143 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
16144 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16145 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
16146 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16147 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16148 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
16149 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
16150 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
16151 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16152 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
16153 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16154 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16155 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
16156 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
16157 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16158 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16159 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
16160 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
16161 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
16162 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16163 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16164 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
16165 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
16166 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
16167 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
16168 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
16169 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
16170 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
16171 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
16172 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16173 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
16174 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
16175 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
16176 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16177 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
16178 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
16179 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
16180 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16181 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16182 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16183 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16184 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16185 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16186 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
16187 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
16188 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
16189 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
16190 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
16191 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
16192 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
16193 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
16194 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16195 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16196 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
16197 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16198 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
16199 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
16200 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
16201 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
16202 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
16203 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
16204 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
16205 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
16206 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
16207 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
16208 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
16209 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
16210 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
16211 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
16212 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
16213 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16214 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16215 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16216 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
16217 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
16218 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16219 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16220 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
16221 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16222 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
16223 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16224 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
16225 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
16226 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16227 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16228 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16229 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16230 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
16231 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
16232 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
16233 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
16234 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
16235 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
16236 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
16237 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
16238 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
16239 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
16240 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
16241 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16242 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16243 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16244 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
16245 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16246 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16247 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16248 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16249 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
16250 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
16251 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16252 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16253 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16254 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16255 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16256 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16257 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16258 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16259 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16260 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16261 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16262 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16263 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16264 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16265 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16266 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16267 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
16268 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16269 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16270 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16271 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16272 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16273 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16274 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
16275 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
16276 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
16277 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
16278 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16279 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
16280 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
16281 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
16282 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
16283 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
16284 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
16285 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
16286 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
16287 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
16288 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
16289 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
16290 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
16291 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
16292 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
16293 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
16294 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16295 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
16296 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
16297 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
16298 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16299 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16300 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
16301 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
16302 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
16303 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16304 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
16305 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
16306 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
16307 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
16308 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
16309 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
16310 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16311 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16312 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16313 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16314 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
16315 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
16316 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
16317 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
16318 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
16319 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
16320 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
16321 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
16322 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
16323 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
16324 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
16325 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
16326 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
16327 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
16328 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
16329 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
16330 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
16331 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16332 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
16333 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
16334 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
16335 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
16336 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16337 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
16338 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
16339 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
16340 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
16341 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16342 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
16343 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
16344 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
16345 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
16346 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
16347 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
16348 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
16349 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
16350 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
16351 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
16352 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
16353 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16354 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
16355 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
16356 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16357 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
16358 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
16359 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
16360 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
16361 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16362 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
16363 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
16364 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
16365 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
16366 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
16367 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
16368 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16369 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
16374 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16376 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16377 return (void *)((wxWindow
*) ((wxControl
*) x
));
16379 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16380 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16382 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16383 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16385 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
16386 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
16388 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
16389 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16391 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16392 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16394 static void *_p_wxPenTo_p_wxObject(void *x
) {
16395 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
16397 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
16398 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
16400 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16401 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16403 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16404 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16406 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
16407 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
16409 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16412 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16413 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16415 static void *_p_wxIconTo_p_wxObject(void *x
) {
16416 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
16418 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16419 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16421 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16422 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16424 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16425 return (void *)((wxObject
*) ((wxSizer
*) x
));
16427 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16428 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16430 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16431 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16433 static void *_p_wxPenListTo_p_wxObject(void *x
) {
16434 return (void *)((wxObject
*) ((wxPenList
*) x
));
16436 static void *_p_wxEventTo_p_wxObject(void *x
) {
16437 return (void *)((wxObject
*) ((wxEvent
*) x
));
16439 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16440 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16442 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16443 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16445 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16446 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16448 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16449 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16451 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16452 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16454 static void *_p_wxDCTo_p_wxObject(void *x
) {
16455 return (void *)((wxObject
*) ((wxDC
*) x
));
16457 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16458 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16460 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16461 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16463 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16464 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16466 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16467 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16469 static void *_p_wxControlTo_p_wxObject(void *x
) {
16470 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16472 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16473 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16475 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
16476 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
16478 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16479 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16481 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
16482 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
16484 static void *_p_wxRegionTo_p_wxObject(void *x
) {
16485 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
16487 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16488 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16490 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
16491 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
16493 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
16494 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
16496 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
16497 return (void *)((wxObject
*) ((wxEffects
*) x
));
16499 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16500 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16502 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16505 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
16506 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
16508 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16509 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16511 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16512 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16514 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16515 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16517 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16520 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16521 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16523 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16524 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16526 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16527 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16529 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16530 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16532 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16533 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16535 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16536 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16538 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16539 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16541 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16542 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16544 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16545 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16547 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16550 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16553 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16556 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16557 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16559 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16560 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16562 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16563 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16565 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16566 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16568 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16569 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16571 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16574 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16575 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16577 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
16578 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16580 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
16581 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
16583 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
16584 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
16586 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
16587 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
16589 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16590 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16592 static void *_p_wxImageTo_p_wxObject(void *x
) {
16593 return (void *)((wxObject
*) ((wxImage
*) x
));
16595 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16596 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16598 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
16599 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
16601 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
16602 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
16604 static void *_p_wxImageListTo_p_wxObject(void *x
) {
16605 return (void *)((wxObject
*) ((wxImageList
*) x
));
16607 static void *_p_wxCursorTo_p_wxObject(void *x
) {
16608 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
16610 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
16611 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
16613 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
16614 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
16616 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16619 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16620 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16622 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16623 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16625 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16626 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16628 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16631 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16634 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
16635 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
16637 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
16638 return (void *)((wxObject
*) ((wxBrushList
*) x
));
16640 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
16641 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
16643 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16644 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16646 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
16647 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
16649 static void *_p_wxMaskTo_p_wxObject(void *x
) {
16650 return (void *)((wxObject
*) ((wxMask
*) x
));
16652 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16655 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16656 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16658 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16659 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16661 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16662 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16664 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16665 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16667 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16668 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16670 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16673 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16674 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16676 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16677 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16679 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16680 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16682 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16683 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16685 static void *_p_wxFontTo_p_wxObject(void *x
) {
16686 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
16688 static void *_p_wxBrushTo_p_wxObject(void *x
) {
16689 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
16691 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
16692 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
16694 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16697 static void *_p_wxColourTo_p_wxObject(void *x
) {
16698 return (void *)((wxObject
*) ((wxColour
*) x
));
16700 static void *_p_wxFontListTo_p_wxObject(void *x
) {
16701 return (void *)((wxObject
*) ((wxFontList
*) x
));
16703 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16706 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16707 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16709 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
16710 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16712 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
16713 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
16715 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
16716 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
16718 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
16719 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
16721 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
16722 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
16724 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
16725 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
16727 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
16728 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
16730 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
16731 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16733 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
16734 return (void *)((wxDC
*) ((wxClientDC
*) x
));
16736 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
16737 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
16739 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
16740 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
16742 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
16743 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
16745 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
16746 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
16748 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
16749 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
16751 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
16752 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
16754 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
16755 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
16757 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
16758 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
16760 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
16761 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
16763 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
16764 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
16766 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
16767 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
16769 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
16770 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
16772 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
16773 return (void *)((wxPen
*) ((wxPyPen
*) x
));
16775 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
16776 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
16777 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
16778 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}};
16779 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
16780 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
16781 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
16782 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
16783 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
16784 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
16785 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
16786 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
16787 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}};
16788 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
16789 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
16790 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}};
16791 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
16792 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
16793 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
16794 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
16795 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
16796 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}};
16797 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
16798 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
16799 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
16800 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
16801 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
16802 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
16803 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
16804 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
16805 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
16806 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
16807 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
16808 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
16809 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
16810 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}};
16811 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
16812 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
16813 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
16814 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
16815 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
16816 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
16817 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
16818 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
16819 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
16820 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
16821 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
16822 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
16823 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
16824 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
16825 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16826 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
16827 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
16828 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
16829 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
16831 static swig_type_info
*swig_types_initial
[] = {
16832 _swigt__p_wxPostScriptDC
,
16834 _swigt__p_wxColour
,
16836 _swigt__p_wxMirrorDC
,
16838 _swigt__p_wxPyFontEnumerator
,
16839 _swigt__p_wxIconLocation
,
16841 _swigt__p_wxMetaFileDC
,
16844 _swigt__p_wxWindow
,
16847 _swigt__p_wxMemoryDC
,
16848 _swigt__p_wxFontMapper
,
16849 _swigt__p_wxEffects
,
16850 _swigt__p_wxNativeEncodingInfo
,
16851 _swigt__p_wxPalette
,
16852 _swigt__p_wxBitmap
,
16853 _swigt__p_wxObject
,
16854 _swigt__p_wxRegionIterator
,
16856 _swigt__p_wxString
,
16857 _swigt__p_wxPrinterDC
,
16858 _swigt__p_wxIconBundle
,
16861 _swigt__p_wxScreenDC
,
16862 _swigt__p_wxCursor
,
16863 _swigt__p_wxClientDC
,
16864 _swigt__p_wxBufferedDC
,
16865 _swigt__p_wxImageList
,
16866 _swigt__p_unsigned_char
,
16867 _swigt__p_wxGDIObject
,
16868 _swigt__p_wxLocale
,
16870 _swigt__p_wxRegion
,
16871 _swigt__p_wxLanguageInfo
,
16872 _swigt__p_wxConfigBase
,
16873 _swigt__p_wxWindowDC
,
16874 _swigt__p_wxPrintData
,
16875 _swigt__p_wxBrushList
,
16876 _swigt__p_wxFontList
,
16878 _swigt__p_wxBufferedPaintDC
,
16879 _swigt__p_wxPaintDC
,
16880 _swigt__p_wxPenList
,
16883 _swigt__p_wxMetaFile
,
16884 _swigt__p_wxNativeFontInfo
,
16885 _swigt__p_wxEncodingConverter
,
16886 _swigt__p_wxColourDatabase
,
16891 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16893 static swig_const_info swig_const_table
[] = {
16894 { SWIG_PY_INT
, (char *)"OutRegion", (long) wxOutRegion
, 0, 0, 0},
16895 { SWIG_PY_INT
, (char *)"PartRegion", (long) wxPartRegion
, 0, 0, 0},
16896 { SWIG_PY_INT
, (char *)"InRegion", (long) wxInRegion
, 0, 0, 0},
16897 { SWIG_PY_INT
, (char *)"FONTFAMILY_DEFAULT", (long) wxFONTFAMILY_DEFAULT
, 0, 0, 0},
16898 { SWIG_PY_INT
, (char *)"FONTFAMILY_DECORATIVE", (long) wxFONTFAMILY_DECORATIVE
, 0, 0, 0},
16899 { SWIG_PY_INT
, (char *)"FONTFAMILY_ROMAN", (long) wxFONTFAMILY_ROMAN
, 0, 0, 0},
16900 { SWIG_PY_INT
, (char *)"FONTFAMILY_SCRIPT", (long) wxFONTFAMILY_SCRIPT
, 0, 0, 0},
16901 { SWIG_PY_INT
, (char *)"FONTFAMILY_SWISS", (long) wxFONTFAMILY_SWISS
, 0, 0, 0},
16902 { SWIG_PY_INT
, (char *)"FONTFAMILY_MODERN", (long) wxFONTFAMILY_MODERN
, 0, 0, 0},
16903 { SWIG_PY_INT
, (char *)"FONTFAMILY_TELETYPE", (long) wxFONTFAMILY_TELETYPE
, 0, 0, 0},
16904 { SWIG_PY_INT
, (char *)"FONTFAMILY_MAX", (long) wxFONTFAMILY_MAX
, 0, 0, 0},
16905 { SWIG_PY_INT
, (char *)"FONTFAMILY_UNKNOWN", (long) wxFONTFAMILY_UNKNOWN
, 0, 0, 0},
16906 { SWIG_PY_INT
, (char *)"FONTSTYLE_NORMAL", (long) wxFONTSTYLE_NORMAL
, 0, 0, 0},
16907 { SWIG_PY_INT
, (char *)"FONTSTYLE_ITALIC", (long) wxFONTSTYLE_ITALIC
, 0, 0, 0},
16908 { SWIG_PY_INT
, (char *)"FONTSTYLE_SLANT", (long) wxFONTSTYLE_SLANT
, 0, 0, 0},
16909 { SWIG_PY_INT
, (char *)"FONTSTYLE_MAX", (long) wxFONTSTYLE_MAX
, 0, 0, 0},
16910 { SWIG_PY_INT
, (char *)"FONTWEIGHT_NORMAL", (long) wxFONTWEIGHT_NORMAL
, 0, 0, 0},
16911 { SWIG_PY_INT
, (char *)"FONTWEIGHT_LIGHT", (long) wxFONTWEIGHT_LIGHT
, 0, 0, 0},
16912 { SWIG_PY_INT
, (char *)"FONTWEIGHT_BOLD", (long) wxFONTWEIGHT_BOLD
, 0, 0, 0},
16913 { SWIG_PY_INT
, (char *)"FONTWEIGHT_MAX", (long) wxFONTWEIGHT_MAX
, 0, 0, 0},
16914 { SWIG_PY_INT
, (char *)"FONTFLAG_DEFAULT", (long) wxFONTFLAG_DEFAULT
, 0, 0, 0},
16915 { SWIG_PY_INT
, (char *)"FONTFLAG_ITALIC", (long) wxFONTFLAG_ITALIC
, 0, 0, 0},
16916 { SWIG_PY_INT
, (char *)"FONTFLAG_SLANT", (long) wxFONTFLAG_SLANT
, 0, 0, 0},
16917 { SWIG_PY_INT
, (char *)"FONTFLAG_LIGHT", (long) wxFONTFLAG_LIGHT
, 0, 0, 0},
16918 { SWIG_PY_INT
, (char *)"FONTFLAG_BOLD", (long) wxFONTFLAG_BOLD
, 0, 0, 0},
16919 { SWIG_PY_INT
, (char *)"FONTFLAG_ANTIALIASED", (long) wxFONTFLAG_ANTIALIASED
, 0, 0, 0},
16920 { SWIG_PY_INT
, (char *)"FONTFLAG_NOT_ANTIALIASED", (long) wxFONTFLAG_NOT_ANTIALIASED
, 0, 0, 0},
16921 { SWIG_PY_INT
, (char *)"FONTFLAG_UNDERLINED", (long) wxFONTFLAG_UNDERLINED
, 0, 0, 0},
16922 { SWIG_PY_INT
, (char *)"FONTFLAG_STRIKETHROUGH", (long) wxFONTFLAG_STRIKETHROUGH
, 0, 0, 0},
16923 { SWIG_PY_INT
, (char *)"FONTFLAG_MASK", (long) wxFONTFLAG_MASK
, 0, 0, 0},
16924 { SWIG_PY_INT
, (char *)"FONTENCODING_SYSTEM", (long) wxFONTENCODING_SYSTEM
, 0, 0, 0},
16925 { SWIG_PY_INT
, (char *)"FONTENCODING_DEFAULT", (long) wxFONTENCODING_DEFAULT
, 0, 0, 0},
16926 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_1", (long) wxFONTENCODING_ISO8859_1
, 0, 0, 0},
16927 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_2", (long) wxFONTENCODING_ISO8859_2
, 0, 0, 0},
16928 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_3", (long) wxFONTENCODING_ISO8859_3
, 0, 0, 0},
16929 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_4", (long) wxFONTENCODING_ISO8859_4
, 0, 0, 0},
16930 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_5", (long) wxFONTENCODING_ISO8859_5
, 0, 0, 0},
16931 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_6", (long) wxFONTENCODING_ISO8859_6
, 0, 0, 0},
16932 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_7", (long) wxFONTENCODING_ISO8859_7
, 0, 0, 0},
16933 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_8", (long) wxFONTENCODING_ISO8859_8
, 0, 0, 0},
16934 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_9", (long) wxFONTENCODING_ISO8859_9
, 0, 0, 0},
16935 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_10", (long) wxFONTENCODING_ISO8859_10
, 0, 0, 0},
16936 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_11", (long) wxFONTENCODING_ISO8859_11
, 0, 0, 0},
16937 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_12", (long) wxFONTENCODING_ISO8859_12
, 0, 0, 0},
16938 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_13", (long) wxFONTENCODING_ISO8859_13
, 0, 0, 0},
16939 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_14", (long) wxFONTENCODING_ISO8859_14
, 0, 0, 0},
16940 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_15", (long) wxFONTENCODING_ISO8859_15
, 0, 0, 0},
16941 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_MAX", (long) wxFONTENCODING_ISO8859_MAX
, 0, 0, 0},
16942 { SWIG_PY_INT
, (char *)"FONTENCODING_KOI8", (long) wxFONTENCODING_KOI8
, 0, 0, 0},
16943 { SWIG_PY_INT
, (char *)"FONTENCODING_ALTERNATIVE", (long) wxFONTENCODING_ALTERNATIVE
, 0, 0, 0},
16944 { SWIG_PY_INT
, (char *)"FONTENCODING_BULGARIAN", (long) wxFONTENCODING_BULGARIAN
, 0, 0, 0},
16945 { SWIG_PY_INT
, (char *)"FONTENCODING_CP437", (long) wxFONTENCODING_CP437
, 0, 0, 0},
16946 { SWIG_PY_INT
, (char *)"FONTENCODING_CP850", (long) wxFONTENCODING_CP850
, 0, 0, 0},
16947 { SWIG_PY_INT
, (char *)"FONTENCODING_CP852", (long) wxFONTENCODING_CP852
, 0, 0, 0},
16948 { SWIG_PY_INT
, (char *)"FONTENCODING_CP855", (long) wxFONTENCODING_CP855
, 0, 0, 0},
16949 { SWIG_PY_INT
, (char *)"FONTENCODING_CP866", (long) wxFONTENCODING_CP866
, 0, 0, 0},
16950 { SWIG_PY_INT
, (char *)"FONTENCODING_CP874", (long) wxFONTENCODING_CP874
, 0, 0, 0},
16951 { SWIG_PY_INT
, (char *)"FONTENCODING_CP932", (long) wxFONTENCODING_CP932
, 0, 0, 0},
16952 { SWIG_PY_INT
, (char *)"FONTENCODING_CP936", (long) wxFONTENCODING_CP936
, 0, 0, 0},
16953 { SWIG_PY_INT
, (char *)"FONTENCODING_CP949", (long) wxFONTENCODING_CP949
, 0, 0, 0},
16954 { SWIG_PY_INT
, (char *)"FONTENCODING_CP950", (long) wxFONTENCODING_CP950
, 0, 0, 0},
16955 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1250", (long) wxFONTENCODING_CP1250
, 0, 0, 0},
16956 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1251", (long) wxFONTENCODING_CP1251
, 0, 0, 0},
16957 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1252", (long) wxFONTENCODING_CP1252
, 0, 0, 0},
16958 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1253", (long) wxFONTENCODING_CP1253
, 0, 0, 0},
16959 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1254", (long) wxFONTENCODING_CP1254
, 0, 0, 0},
16960 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1255", (long) wxFONTENCODING_CP1255
, 0, 0, 0},
16961 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1256", (long) wxFONTENCODING_CP1256
, 0, 0, 0},
16962 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1257", (long) wxFONTENCODING_CP1257
, 0, 0, 0},
16963 { SWIG_PY_INT
, (char *)"FONTENCODING_CP12_MAX", (long) wxFONTENCODING_CP12_MAX
, 0, 0, 0},
16964 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF7", (long) wxFONTENCODING_UTF7
, 0, 0, 0},
16965 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF8", (long) wxFONTENCODING_UTF8
, 0, 0, 0},
16966 { SWIG_PY_INT
, (char *)"FONTENCODING_EUC_JP", (long) wxFONTENCODING_EUC_JP
, 0, 0, 0},
16967 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16BE", (long) wxFONTENCODING_UTF16BE
, 0, 0, 0},
16968 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16LE", (long) wxFONTENCODING_UTF16LE
, 0, 0, 0},
16969 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32BE", (long) wxFONTENCODING_UTF32BE
, 0, 0, 0},
16970 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32LE", (long) wxFONTENCODING_UTF32LE
, 0, 0, 0},
16971 { SWIG_PY_INT
, (char *)"FONTENCODING_MAX", (long) wxFONTENCODING_MAX
, 0, 0, 0},
16972 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16", (long) wxFONTENCODING_UTF16
, 0, 0, 0},
16973 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32", (long) wxFONTENCODING_UTF32
, 0, 0, 0},
16974 { SWIG_PY_INT
, (char *)"FONTENCODING_UNICODE", (long) wxFONTENCODING_UNICODE
, 0, 0, 0},
16975 { SWIG_PY_INT
, (char *)"FONTENCODING_GB2312", (long) wxFONTENCODING_GB2312
, 0, 0, 0},
16976 { SWIG_PY_INT
, (char *)"FONTENCODING_BIG5", (long) wxFONTENCODING_BIG5
, 0, 0, 0},
16977 { SWIG_PY_INT
, (char *)"FONTENCODING_SHIFT_JIS", (long) wxFONTENCODING_SHIFT_JIS
, 0, 0, 0},
16978 { SWIG_PY_INT
, (char *)"LANGUAGE_DEFAULT", (long) wxLANGUAGE_DEFAULT
, 0, 0, 0},
16979 { SWIG_PY_INT
, (char *)"LANGUAGE_UNKNOWN", (long) wxLANGUAGE_UNKNOWN
, 0, 0, 0},
16980 { SWIG_PY_INT
, (char *)"LANGUAGE_ABKHAZIAN", (long) wxLANGUAGE_ABKHAZIAN
, 0, 0, 0},
16981 { SWIG_PY_INT
, (char *)"LANGUAGE_AFAR", (long) wxLANGUAGE_AFAR
, 0, 0, 0},
16982 { SWIG_PY_INT
, (char *)"LANGUAGE_AFRIKAANS", (long) wxLANGUAGE_AFRIKAANS
, 0, 0, 0},
16983 { SWIG_PY_INT
, (char *)"LANGUAGE_ALBANIAN", (long) wxLANGUAGE_ALBANIAN
, 0, 0, 0},
16984 { SWIG_PY_INT
, (char *)"LANGUAGE_AMHARIC", (long) wxLANGUAGE_AMHARIC
, 0, 0, 0},
16985 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC", (long) wxLANGUAGE_ARABIC
, 0, 0, 0},
16986 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_ALGERIA", (long) wxLANGUAGE_ARABIC_ALGERIA
, 0, 0, 0},
16987 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_BAHRAIN", (long) wxLANGUAGE_ARABIC_BAHRAIN
, 0, 0, 0},
16988 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_EGYPT", (long) wxLANGUAGE_ARABIC_EGYPT
, 0, 0, 0},
16989 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_IRAQ", (long) wxLANGUAGE_ARABIC_IRAQ
, 0, 0, 0},
16990 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_JORDAN", (long) wxLANGUAGE_ARABIC_JORDAN
, 0, 0, 0},
16991 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_KUWAIT", (long) wxLANGUAGE_ARABIC_KUWAIT
, 0, 0, 0},
16992 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LEBANON", (long) wxLANGUAGE_ARABIC_LEBANON
, 0, 0, 0},
16993 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LIBYA", (long) wxLANGUAGE_ARABIC_LIBYA
, 0, 0, 0},
16994 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_MOROCCO", (long) wxLANGUAGE_ARABIC_MOROCCO
, 0, 0, 0},
16995 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_OMAN", (long) wxLANGUAGE_ARABIC_OMAN
, 0, 0, 0},
16996 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_QATAR", (long) wxLANGUAGE_ARABIC_QATAR
, 0, 0, 0},
16997 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SAUDI_ARABIA", (long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
, 0, 0, 0},
16998 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SUDAN", (long) wxLANGUAGE_ARABIC_SUDAN
, 0, 0, 0},
16999 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SYRIA", (long) wxLANGUAGE_ARABIC_SYRIA
, 0, 0, 0},
17000 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_TUNISIA", (long) wxLANGUAGE_ARABIC_TUNISIA
, 0, 0, 0},
17001 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_UAE", (long) wxLANGUAGE_ARABIC_UAE
, 0, 0, 0},
17002 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_YEMEN", (long) wxLANGUAGE_ARABIC_YEMEN
, 0, 0, 0},
17003 { SWIG_PY_INT
, (char *)"LANGUAGE_ARMENIAN", (long) wxLANGUAGE_ARMENIAN
, 0, 0, 0},
17004 { SWIG_PY_INT
, (char *)"LANGUAGE_ASSAMESE", (long) wxLANGUAGE_ASSAMESE
, 0, 0, 0},
17005 { SWIG_PY_INT
, (char *)"LANGUAGE_AYMARA", (long) wxLANGUAGE_AYMARA
, 0, 0, 0},
17006 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI", (long) wxLANGUAGE_AZERI
, 0, 0, 0},
17007 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_CYRILLIC", (long) wxLANGUAGE_AZERI_CYRILLIC
, 0, 0, 0},
17008 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_LATIN", (long) wxLANGUAGE_AZERI_LATIN
, 0, 0, 0},
17009 { SWIG_PY_INT
, (char *)"LANGUAGE_BASHKIR", (long) wxLANGUAGE_BASHKIR
, 0, 0, 0},
17010 { SWIG_PY_INT
, (char *)"LANGUAGE_BASQUE", (long) wxLANGUAGE_BASQUE
, 0, 0, 0},
17011 { SWIG_PY_INT
, (char *)"LANGUAGE_BELARUSIAN", (long) wxLANGUAGE_BELARUSIAN
, 0, 0, 0},
17012 { SWIG_PY_INT
, (char *)"LANGUAGE_BENGALI", (long) wxLANGUAGE_BENGALI
, 0, 0, 0},
17013 { SWIG_PY_INT
, (char *)"LANGUAGE_BHUTANI", (long) wxLANGUAGE_BHUTANI
, 0, 0, 0},
17014 { SWIG_PY_INT
, (char *)"LANGUAGE_BIHARI", (long) wxLANGUAGE_BIHARI
, 0, 0, 0},
17015 { SWIG_PY_INT
, (char *)"LANGUAGE_BISLAMA", (long) wxLANGUAGE_BISLAMA
, 0, 0, 0},
17016 { SWIG_PY_INT
, (char *)"LANGUAGE_BRETON", (long) wxLANGUAGE_BRETON
, 0, 0, 0},
17017 { SWIG_PY_INT
, (char *)"LANGUAGE_BULGARIAN", (long) wxLANGUAGE_BULGARIAN
, 0, 0, 0},
17018 { SWIG_PY_INT
, (char *)"LANGUAGE_BURMESE", (long) wxLANGUAGE_BURMESE
, 0, 0, 0},
17019 { SWIG_PY_INT
, (char *)"LANGUAGE_CAMBODIAN", (long) wxLANGUAGE_CAMBODIAN
, 0, 0, 0},
17020 { SWIG_PY_INT
, (char *)"LANGUAGE_CATALAN", (long) wxLANGUAGE_CATALAN
, 0, 0, 0},
17021 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE", (long) wxLANGUAGE_CHINESE
, 0, 0, 0},
17022 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SIMPLIFIED", (long) wxLANGUAGE_CHINESE_SIMPLIFIED
, 0, 0, 0},
17023 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TRADITIONAL", (long) wxLANGUAGE_CHINESE_TRADITIONAL
, 0, 0, 0},
17024 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_HONGKONG", (long) wxLANGUAGE_CHINESE_HONGKONG
, 0, 0, 0},
17025 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_MACAU", (long) wxLANGUAGE_CHINESE_MACAU
, 0, 0, 0},
17026 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SINGAPORE", (long) wxLANGUAGE_CHINESE_SINGAPORE
, 0, 0, 0},
17027 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TAIWAN", (long) wxLANGUAGE_CHINESE_TAIWAN
, 0, 0, 0},
17028 { SWIG_PY_INT
, (char *)"LANGUAGE_CORSICAN", (long) wxLANGUAGE_CORSICAN
, 0, 0, 0},
17029 { SWIG_PY_INT
, (char *)"LANGUAGE_CROATIAN", (long) wxLANGUAGE_CROATIAN
, 0, 0, 0},
17030 { SWIG_PY_INT
, (char *)"LANGUAGE_CZECH", (long) wxLANGUAGE_CZECH
, 0, 0, 0},
17031 { SWIG_PY_INT
, (char *)"LANGUAGE_DANISH", (long) wxLANGUAGE_DANISH
, 0, 0, 0},
17032 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH", (long) wxLANGUAGE_DUTCH
, 0, 0, 0},
17033 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH_BELGIAN", (long) wxLANGUAGE_DUTCH_BELGIAN
, 0, 0, 0},
17034 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH", (long) wxLANGUAGE_ENGLISH
, 0, 0, 0},
17035 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_UK", (long) wxLANGUAGE_ENGLISH_UK
, 0, 0, 0},
17036 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_US", (long) wxLANGUAGE_ENGLISH_US
, 0, 0, 0},
17037 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_AUSTRALIA", (long) wxLANGUAGE_ENGLISH_AUSTRALIA
, 0, 0, 0},
17038 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BELIZE", (long) wxLANGUAGE_ENGLISH_BELIZE
, 0, 0, 0},
17039 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BOTSWANA", (long) wxLANGUAGE_ENGLISH_BOTSWANA
, 0, 0, 0},
17040 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CANADA", (long) wxLANGUAGE_ENGLISH_CANADA
, 0, 0, 0},
17041 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CARIBBEAN", (long) wxLANGUAGE_ENGLISH_CARIBBEAN
, 0, 0, 0},
17042 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_DENMARK", (long) wxLANGUAGE_ENGLISH_DENMARK
, 0, 0, 0},
17043 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_EIRE", (long) wxLANGUAGE_ENGLISH_EIRE
, 0, 0, 0},
17044 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_JAMAICA", (long) wxLANGUAGE_ENGLISH_JAMAICA
, 0, 0, 0},
17045 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_NEW_ZEALAND", (long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
, 0, 0, 0},
17046 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_PHILIPPINES", (long) wxLANGUAGE_ENGLISH_PHILIPPINES
, 0, 0, 0},
17047 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_SOUTH_AFRICA", (long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
, 0, 0, 0},
17048 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_TRINIDAD", (long) wxLANGUAGE_ENGLISH_TRINIDAD
, 0, 0, 0},
17049 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_ZIMBABWE", (long) wxLANGUAGE_ENGLISH_ZIMBABWE
, 0, 0, 0},
17050 { SWIG_PY_INT
, (char *)"LANGUAGE_ESPERANTO", (long) wxLANGUAGE_ESPERANTO
, 0, 0, 0},
17051 { SWIG_PY_INT
, (char *)"LANGUAGE_ESTONIAN", (long) wxLANGUAGE_ESTONIAN
, 0, 0, 0},
17052 { SWIG_PY_INT
, (char *)"LANGUAGE_FAEROESE", (long) wxLANGUAGE_FAEROESE
, 0, 0, 0},
17053 { SWIG_PY_INT
, (char *)"LANGUAGE_FARSI", (long) wxLANGUAGE_FARSI
, 0, 0, 0},
17054 { SWIG_PY_INT
, (char *)"LANGUAGE_FIJI", (long) wxLANGUAGE_FIJI
, 0, 0, 0},
17055 { SWIG_PY_INT
, (char *)"LANGUAGE_FINNISH", (long) wxLANGUAGE_FINNISH
, 0, 0, 0},
17056 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH", (long) wxLANGUAGE_FRENCH
, 0, 0, 0},
17057 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_BELGIAN", (long) wxLANGUAGE_FRENCH_BELGIAN
, 0, 0, 0},
17058 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_CANADIAN", (long) wxLANGUAGE_FRENCH_CANADIAN
, 0, 0, 0},
17059 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_LUXEMBOURG", (long) wxLANGUAGE_FRENCH_LUXEMBOURG
, 0, 0, 0},
17060 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_MONACO", (long) wxLANGUAGE_FRENCH_MONACO
, 0, 0, 0},
17061 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_SWISS", (long) wxLANGUAGE_FRENCH_SWISS
, 0, 0, 0},
17062 { SWIG_PY_INT
, (char *)"LANGUAGE_FRISIAN", (long) wxLANGUAGE_FRISIAN
, 0, 0, 0},
17063 { SWIG_PY_INT
, (char *)"LANGUAGE_GALICIAN", (long) wxLANGUAGE_GALICIAN
, 0, 0, 0},
17064 { SWIG_PY_INT
, (char *)"LANGUAGE_GEORGIAN", (long) wxLANGUAGE_GEORGIAN
, 0, 0, 0},
17065 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN", (long) wxLANGUAGE_GERMAN
, 0, 0, 0},
17066 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_AUSTRIAN", (long) wxLANGUAGE_GERMAN_AUSTRIAN
, 0, 0, 0},
17067 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_BELGIUM", (long) wxLANGUAGE_GERMAN_BELGIUM
, 0, 0, 0},
17068 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LIECHTENSTEIN", (long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
, 0, 0, 0},
17069 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LUXEMBOURG", (long) wxLANGUAGE_GERMAN_LUXEMBOURG
, 0, 0, 0},
17070 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_SWISS", (long) wxLANGUAGE_GERMAN_SWISS
, 0, 0, 0},
17071 { SWIG_PY_INT
, (char *)"LANGUAGE_GREEK", (long) wxLANGUAGE_GREEK
, 0, 0, 0},
17072 { SWIG_PY_INT
, (char *)"LANGUAGE_GREENLANDIC", (long) wxLANGUAGE_GREENLANDIC
, 0, 0, 0},
17073 { SWIG_PY_INT
, (char *)"LANGUAGE_GUARANI", (long) wxLANGUAGE_GUARANI
, 0, 0, 0},
17074 { SWIG_PY_INT
, (char *)"LANGUAGE_GUJARATI", (long) wxLANGUAGE_GUJARATI
, 0, 0, 0},
17075 { SWIG_PY_INT
, (char *)"LANGUAGE_HAUSA", (long) wxLANGUAGE_HAUSA
, 0, 0, 0},
17076 { SWIG_PY_INT
, (char *)"LANGUAGE_HEBREW", (long) wxLANGUAGE_HEBREW
, 0, 0, 0},
17077 { SWIG_PY_INT
, (char *)"LANGUAGE_HINDI", (long) wxLANGUAGE_HINDI
, 0, 0, 0},
17078 { SWIG_PY_INT
, (char *)"LANGUAGE_HUNGARIAN", (long) wxLANGUAGE_HUNGARIAN
, 0, 0, 0},
17079 { SWIG_PY_INT
, (char *)"LANGUAGE_ICELANDIC", (long) wxLANGUAGE_ICELANDIC
, 0, 0, 0},
17080 { SWIG_PY_INT
, (char *)"LANGUAGE_INDONESIAN", (long) wxLANGUAGE_INDONESIAN
, 0, 0, 0},
17081 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUA", (long) wxLANGUAGE_INTERLINGUA
, 0, 0, 0},
17082 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUE", (long) wxLANGUAGE_INTERLINGUE
, 0, 0, 0},
17083 { SWIG_PY_INT
, (char *)"LANGUAGE_INUKTITUT", (long) wxLANGUAGE_INUKTITUT
, 0, 0, 0},
17084 { SWIG_PY_INT
, (char *)"LANGUAGE_INUPIAK", (long) wxLANGUAGE_INUPIAK
, 0, 0, 0},
17085 { SWIG_PY_INT
, (char *)"LANGUAGE_IRISH", (long) wxLANGUAGE_IRISH
, 0, 0, 0},
17086 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN", (long) wxLANGUAGE_ITALIAN
, 0, 0, 0},
17087 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN_SWISS", (long) wxLANGUAGE_ITALIAN_SWISS
, 0, 0, 0},
17088 { SWIG_PY_INT
, (char *)"LANGUAGE_JAPANESE", (long) wxLANGUAGE_JAPANESE
, 0, 0, 0},
17089 { SWIG_PY_INT
, (char *)"LANGUAGE_JAVANESE", (long) wxLANGUAGE_JAVANESE
, 0, 0, 0},
17090 { SWIG_PY_INT
, (char *)"LANGUAGE_KANNADA", (long) wxLANGUAGE_KANNADA
, 0, 0, 0},
17091 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI", (long) wxLANGUAGE_KASHMIRI
, 0, 0, 0},
17092 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI_INDIA", (long) wxLANGUAGE_KASHMIRI_INDIA
, 0, 0, 0},
17093 { SWIG_PY_INT
, (char *)"LANGUAGE_KAZAKH", (long) wxLANGUAGE_KAZAKH
, 0, 0, 0},
17094 { SWIG_PY_INT
, (char *)"LANGUAGE_KERNEWEK", (long) wxLANGUAGE_KERNEWEK
, 0, 0, 0},
17095 { SWIG_PY_INT
, (char *)"LANGUAGE_KINYARWANDA", (long) wxLANGUAGE_KINYARWANDA
, 0, 0, 0},
17096 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRGHIZ", (long) wxLANGUAGE_KIRGHIZ
, 0, 0, 0},
17097 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRUNDI", (long) wxLANGUAGE_KIRUNDI
, 0, 0, 0},
17098 { SWIG_PY_INT
, (char *)"LANGUAGE_KONKANI", (long) wxLANGUAGE_KONKANI
, 0, 0, 0},
17099 { SWIG_PY_INT
, (char *)"LANGUAGE_KOREAN", (long) wxLANGUAGE_KOREAN
, 0, 0, 0},
17100 { SWIG_PY_INT
, (char *)"LANGUAGE_KURDISH", (long) wxLANGUAGE_KURDISH
, 0, 0, 0},
17101 { SWIG_PY_INT
, (char *)"LANGUAGE_LAOTHIAN", (long) wxLANGUAGE_LAOTHIAN
, 0, 0, 0},
17102 { SWIG_PY_INT
, (char *)"LANGUAGE_LATIN", (long) wxLANGUAGE_LATIN
, 0, 0, 0},
17103 { SWIG_PY_INT
, (char *)"LANGUAGE_LATVIAN", (long) wxLANGUAGE_LATVIAN
, 0, 0, 0},
17104 { SWIG_PY_INT
, (char *)"LANGUAGE_LINGALA", (long) wxLANGUAGE_LINGALA
, 0, 0, 0},
17105 { SWIG_PY_INT
, (char *)"LANGUAGE_LITHUANIAN", (long) wxLANGUAGE_LITHUANIAN
, 0, 0, 0},
17106 { SWIG_PY_INT
, (char *)"LANGUAGE_MACEDONIAN", (long) wxLANGUAGE_MACEDONIAN
, 0, 0, 0},
17107 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAGASY", (long) wxLANGUAGE_MALAGASY
, 0, 0, 0},
17108 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY", (long) wxLANGUAGE_MALAY
, 0, 0, 0},
17109 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAYALAM", (long) wxLANGUAGE_MALAYALAM
, 0, 0, 0},
17110 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", (long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
, 0, 0, 0},
17111 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_MALAYSIA", (long) wxLANGUAGE_MALAY_MALAYSIA
, 0, 0, 0},
17112 { SWIG_PY_INT
, (char *)"LANGUAGE_MALTESE", (long) wxLANGUAGE_MALTESE
, 0, 0, 0},
17113 { SWIG_PY_INT
, (char *)"LANGUAGE_MANIPURI", (long) wxLANGUAGE_MANIPURI
, 0, 0, 0},
17114 { SWIG_PY_INT
, (char *)"LANGUAGE_MAORI", (long) wxLANGUAGE_MAORI
, 0, 0, 0},
17115 { SWIG_PY_INT
, (char *)"LANGUAGE_MARATHI", (long) wxLANGUAGE_MARATHI
, 0, 0, 0},
17116 { SWIG_PY_INT
, (char *)"LANGUAGE_MOLDAVIAN", (long) wxLANGUAGE_MOLDAVIAN
, 0, 0, 0},
17117 { SWIG_PY_INT
, (char *)"LANGUAGE_MONGOLIAN", (long) wxLANGUAGE_MONGOLIAN
, 0, 0, 0},
17118 { SWIG_PY_INT
, (char *)"LANGUAGE_NAURU", (long) wxLANGUAGE_NAURU
, 0, 0, 0},
17119 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI", (long) wxLANGUAGE_NEPALI
, 0, 0, 0},
17120 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI_INDIA", (long) wxLANGUAGE_NEPALI_INDIA
, 0, 0, 0},
17121 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_BOKMAL", (long) wxLANGUAGE_NORWEGIAN_BOKMAL
, 0, 0, 0},
17122 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_NYNORSK", (long) wxLANGUAGE_NORWEGIAN_NYNORSK
, 0, 0, 0},
17123 { SWIG_PY_INT
, (char *)"LANGUAGE_OCCITAN", (long) wxLANGUAGE_OCCITAN
, 0, 0, 0},
17124 { SWIG_PY_INT
, (char *)"LANGUAGE_ORIYA", (long) wxLANGUAGE_ORIYA
, 0, 0, 0},
17125 { SWIG_PY_INT
, (char *)"LANGUAGE_OROMO", (long) wxLANGUAGE_OROMO
, 0, 0, 0},
17126 { SWIG_PY_INT
, (char *)"LANGUAGE_PASHTO", (long) wxLANGUAGE_PASHTO
, 0, 0, 0},
17127 { SWIG_PY_INT
, (char *)"LANGUAGE_POLISH", (long) wxLANGUAGE_POLISH
, 0, 0, 0},
17128 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE", (long) wxLANGUAGE_PORTUGUESE
, 0, 0, 0},
17129 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE_BRAZILIAN", (long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
, 0, 0, 0},
17130 { SWIG_PY_INT
, (char *)"LANGUAGE_PUNJABI", (long) wxLANGUAGE_PUNJABI
, 0, 0, 0},
17131 { SWIG_PY_INT
, (char *)"LANGUAGE_QUECHUA", (long) wxLANGUAGE_QUECHUA
, 0, 0, 0},
17132 { SWIG_PY_INT
, (char *)"LANGUAGE_RHAETO_ROMANCE", (long) wxLANGUAGE_RHAETO_ROMANCE
, 0, 0, 0},
17133 { SWIG_PY_INT
, (char *)"LANGUAGE_ROMANIAN", (long) wxLANGUAGE_ROMANIAN
, 0, 0, 0},
17134 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN", (long) wxLANGUAGE_RUSSIAN
, 0, 0, 0},
17135 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN_UKRAINE", (long) wxLANGUAGE_RUSSIAN_UKRAINE
, 0, 0, 0},
17136 { SWIG_PY_INT
, (char *)"LANGUAGE_SAMOAN", (long) wxLANGUAGE_SAMOAN
, 0, 0, 0},
17137 { SWIG_PY_INT
, (char *)"LANGUAGE_SANGHO", (long) wxLANGUAGE_SANGHO
, 0, 0, 0},
17138 { SWIG_PY_INT
, (char *)"LANGUAGE_SANSKRIT", (long) wxLANGUAGE_SANSKRIT
, 0, 0, 0},
17139 { SWIG_PY_INT
, (char *)"LANGUAGE_SCOTS_GAELIC", (long) wxLANGUAGE_SCOTS_GAELIC
, 0, 0, 0},
17140 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN", (long) wxLANGUAGE_SERBIAN
, 0, 0, 0},
17141 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_CYRILLIC", (long) wxLANGUAGE_SERBIAN_CYRILLIC
, 0, 0, 0},
17142 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_LATIN", (long) wxLANGUAGE_SERBIAN_LATIN
, 0, 0, 0},
17143 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBO_CROATIAN", (long) wxLANGUAGE_SERBO_CROATIAN
, 0, 0, 0},
17144 { SWIG_PY_INT
, (char *)"LANGUAGE_SESOTHO", (long) wxLANGUAGE_SESOTHO
, 0, 0, 0},
17145 { SWIG_PY_INT
, (char *)"LANGUAGE_SETSWANA", (long) wxLANGUAGE_SETSWANA
, 0, 0, 0},
17146 { SWIG_PY_INT
, (char *)"LANGUAGE_SHONA", (long) wxLANGUAGE_SHONA
, 0, 0, 0},
17147 { SWIG_PY_INT
, (char *)"LANGUAGE_SINDHI", (long) wxLANGUAGE_SINDHI
, 0, 0, 0},
17148 { SWIG_PY_INT
, (char *)"LANGUAGE_SINHALESE", (long) wxLANGUAGE_SINHALESE
, 0, 0, 0},
17149 { SWIG_PY_INT
, (char *)"LANGUAGE_SISWATI", (long) wxLANGUAGE_SISWATI
, 0, 0, 0},
17150 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVAK", (long) wxLANGUAGE_SLOVAK
, 0, 0, 0},
17151 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVENIAN", (long) wxLANGUAGE_SLOVENIAN
, 0, 0, 0},
17152 { SWIG_PY_INT
, (char *)"LANGUAGE_SOMALI", (long) wxLANGUAGE_SOMALI
, 0, 0, 0},
17153 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH", (long) wxLANGUAGE_SPANISH
, 0, 0, 0},
17154 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ARGENTINA", (long) wxLANGUAGE_SPANISH_ARGENTINA
, 0, 0, 0},
17155 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_BOLIVIA", (long) wxLANGUAGE_SPANISH_BOLIVIA
, 0, 0, 0},
17156 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_CHILE", (long) wxLANGUAGE_SPANISH_CHILE
, 0, 0, 0},
17157 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COLOMBIA", (long) wxLANGUAGE_SPANISH_COLOMBIA
, 0, 0, 0},
17158 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COSTA_RICA", (long) wxLANGUAGE_SPANISH_COSTA_RICA
, 0, 0, 0},
17159 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", (long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
, 0, 0, 0},
17160 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ECUADOR", (long) wxLANGUAGE_SPANISH_ECUADOR
, 0, 0, 0},
17161 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_EL_SALVADOR", (long) wxLANGUAGE_SPANISH_EL_SALVADOR
, 0, 0, 0},
17162 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_GUATEMALA", (long) wxLANGUAGE_SPANISH_GUATEMALA
, 0, 0, 0},
17163 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_HONDURAS", (long) wxLANGUAGE_SPANISH_HONDURAS
, 0, 0, 0},
17164 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MEXICAN", (long) wxLANGUAGE_SPANISH_MEXICAN
, 0, 0, 0},
17165 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MODERN", (long) wxLANGUAGE_SPANISH_MODERN
, 0, 0, 0},
17166 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_NICARAGUA", (long) wxLANGUAGE_SPANISH_NICARAGUA
, 0, 0, 0},
17167 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PANAMA", (long) wxLANGUAGE_SPANISH_PANAMA
, 0, 0, 0},
17168 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PARAGUAY", (long) wxLANGUAGE_SPANISH_PARAGUAY
, 0, 0, 0},
17169 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PERU", (long) wxLANGUAGE_SPANISH_PERU
, 0, 0, 0},
17170 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PUERTO_RICO", (long) wxLANGUAGE_SPANISH_PUERTO_RICO
, 0, 0, 0},
17171 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_URUGUAY", (long) wxLANGUAGE_SPANISH_URUGUAY
, 0, 0, 0},
17172 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_US", (long) wxLANGUAGE_SPANISH_US
, 0, 0, 0},
17173 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_VENEZUELA", (long) wxLANGUAGE_SPANISH_VENEZUELA
, 0, 0, 0},
17174 { SWIG_PY_INT
, (char *)"LANGUAGE_SUNDANESE", (long) wxLANGUAGE_SUNDANESE
, 0, 0, 0},
17175 { SWIG_PY_INT
, (char *)"LANGUAGE_SWAHILI", (long) wxLANGUAGE_SWAHILI
, 0, 0, 0},
17176 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH", (long) wxLANGUAGE_SWEDISH
, 0, 0, 0},
17177 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH_FINLAND", (long) wxLANGUAGE_SWEDISH_FINLAND
, 0, 0, 0},
17178 { SWIG_PY_INT
, (char *)"LANGUAGE_TAGALOG", (long) wxLANGUAGE_TAGALOG
, 0, 0, 0},
17179 { SWIG_PY_INT
, (char *)"LANGUAGE_TAJIK", (long) wxLANGUAGE_TAJIK
, 0, 0, 0},
17180 { SWIG_PY_INT
, (char *)"LANGUAGE_TAMIL", (long) wxLANGUAGE_TAMIL
, 0, 0, 0},
17181 { SWIG_PY_INT
, (char *)"LANGUAGE_TATAR", (long) wxLANGUAGE_TATAR
, 0, 0, 0},
17182 { SWIG_PY_INT
, (char *)"LANGUAGE_TELUGU", (long) wxLANGUAGE_TELUGU
, 0, 0, 0},
17183 { SWIG_PY_INT
, (char *)"LANGUAGE_THAI", (long) wxLANGUAGE_THAI
, 0, 0, 0},
17184 { SWIG_PY_INT
, (char *)"LANGUAGE_TIBETAN", (long) wxLANGUAGE_TIBETAN
, 0, 0, 0},
17185 { SWIG_PY_INT
, (char *)"LANGUAGE_TIGRINYA", (long) wxLANGUAGE_TIGRINYA
, 0, 0, 0},
17186 { SWIG_PY_INT
, (char *)"LANGUAGE_TONGA", (long) wxLANGUAGE_TONGA
, 0, 0, 0},
17187 { SWIG_PY_INT
, (char *)"LANGUAGE_TSONGA", (long) wxLANGUAGE_TSONGA
, 0, 0, 0},
17188 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKISH", (long) wxLANGUAGE_TURKISH
, 0, 0, 0},
17189 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKMEN", (long) wxLANGUAGE_TURKMEN
, 0, 0, 0},
17190 { SWIG_PY_INT
, (char *)"LANGUAGE_TWI", (long) wxLANGUAGE_TWI
, 0, 0, 0},
17191 { SWIG_PY_INT
, (char *)"LANGUAGE_UIGHUR", (long) wxLANGUAGE_UIGHUR
, 0, 0, 0},
17192 { SWIG_PY_INT
, (char *)"LANGUAGE_UKRAINIAN", (long) wxLANGUAGE_UKRAINIAN
, 0, 0, 0},
17193 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU", (long) wxLANGUAGE_URDU
, 0, 0, 0},
17194 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_INDIA", (long) wxLANGUAGE_URDU_INDIA
, 0, 0, 0},
17195 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_PAKISTAN", (long) wxLANGUAGE_URDU_PAKISTAN
, 0, 0, 0},
17196 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK", (long) wxLANGUAGE_UZBEK
, 0, 0, 0},
17197 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_CYRILLIC", (long) wxLANGUAGE_UZBEK_CYRILLIC
, 0, 0, 0},
17198 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_LATIN", (long) wxLANGUAGE_UZBEK_LATIN
, 0, 0, 0},
17199 { SWIG_PY_INT
, (char *)"LANGUAGE_VIETNAMESE", (long) wxLANGUAGE_VIETNAMESE
, 0, 0, 0},
17200 { SWIG_PY_INT
, (char *)"LANGUAGE_VOLAPUK", (long) wxLANGUAGE_VOLAPUK
, 0, 0, 0},
17201 { SWIG_PY_INT
, (char *)"LANGUAGE_WELSH", (long) wxLANGUAGE_WELSH
, 0, 0, 0},
17202 { SWIG_PY_INT
, (char *)"LANGUAGE_WOLOF", (long) wxLANGUAGE_WOLOF
, 0, 0, 0},
17203 { SWIG_PY_INT
, (char *)"LANGUAGE_XHOSA", (long) wxLANGUAGE_XHOSA
, 0, 0, 0},
17204 { SWIG_PY_INT
, (char *)"LANGUAGE_YIDDISH", (long) wxLANGUAGE_YIDDISH
, 0, 0, 0},
17205 { SWIG_PY_INT
, (char *)"LANGUAGE_YORUBA", (long) wxLANGUAGE_YORUBA
, 0, 0, 0},
17206 { SWIG_PY_INT
, (char *)"LANGUAGE_ZHUANG", (long) wxLANGUAGE_ZHUANG
, 0, 0, 0},
17207 { SWIG_PY_INT
, (char *)"LANGUAGE_ZULU", (long) wxLANGUAGE_ZULU
, 0, 0, 0},
17208 { SWIG_PY_INT
, (char *)"LANGUAGE_USER_DEFINED", (long) wxLANGUAGE_USER_DEFINED
, 0, 0, 0},
17209 { SWIG_PY_INT
, (char *)"LOCALE_CAT_NUMBER", (long) wxLOCALE_CAT_NUMBER
, 0, 0, 0},
17210 { SWIG_PY_INT
, (char *)"LOCALE_CAT_DATE", (long) wxLOCALE_CAT_DATE
, 0, 0, 0},
17211 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MONEY", (long) wxLOCALE_CAT_MONEY
, 0, 0, 0},
17212 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MAX", (long) wxLOCALE_CAT_MAX
, 0, 0, 0},
17213 { SWIG_PY_INT
, (char *)"LOCALE_THOUSANDS_SEP", (long) wxLOCALE_THOUSANDS_SEP
, 0, 0, 0},
17214 { SWIG_PY_INT
, (char *)"LOCALE_DECIMAL_POINT", (long) wxLOCALE_DECIMAL_POINT
, 0, 0, 0},
17215 { SWIG_PY_INT
, (char *)"LOCALE_LOAD_DEFAULT", (long) wxLOCALE_LOAD_DEFAULT
, 0, 0, 0},
17216 { SWIG_PY_INT
, (char *)"LOCALE_CONV_ENCODING", (long) wxLOCALE_CONV_ENCODING
, 0, 0, 0},
17217 { SWIG_PY_INT
, (char *)"CONVERT_STRICT", (long) wxCONVERT_STRICT
, 0, 0, 0},
17218 { SWIG_PY_INT
, (char *)"CONVERT_SUBSTITUTE", (long) wxCONVERT_SUBSTITUTE
, 0, 0, 0},
17219 { SWIG_PY_INT
, (char *)"PLATFORM_CURRENT", (long) wxPLATFORM_CURRENT
, 0, 0, 0},
17220 { SWIG_PY_INT
, (char *)"PLATFORM_UNIX", (long) wxPLATFORM_UNIX
, 0, 0, 0},
17221 { SWIG_PY_INT
, (char *)"PLATFORM_WINDOWS", (long) wxPLATFORM_WINDOWS
, 0, 0, 0},
17222 { SWIG_PY_INT
, (char *)"PLATFORM_OS2", (long) wxPLATFORM_OS2
, 0, 0, 0},
17223 { SWIG_PY_INT
, (char *)"PLATFORM_MAC", (long) wxPLATFORM_MAC
, 0, 0, 0},
17224 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_NORMAL", (long) wxIMAGELIST_DRAW_NORMAL
, 0, 0, 0},
17225 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_TRANSPARENT", (long) wxIMAGELIST_DRAW_TRANSPARENT
, 0, 0, 0},
17226 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_SELECTED", (long) wxIMAGELIST_DRAW_SELECTED
, 0, 0, 0},
17227 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_FOCUSED", (long) wxIMAGELIST_DRAW_FOCUSED
, 0, 0, 0},
17228 { SWIG_PY_INT
, (char *)"IMAGE_LIST_NORMAL", (long) wxIMAGE_LIST_NORMAL
, 0, 0, 0},
17229 { SWIG_PY_INT
, (char *)"IMAGE_LIST_SMALL", (long) wxIMAGE_LIST_SMALL
, 0, 0, 0},
17230 { SWIG_PY_INT
, (char *)"IMAGE_LIST_STATE", (long) wxIMAGE_LIST_STATE
, 0, 0, 0},
17240 SWIGEXPORT(void) SWIG_init(void) {
17241 static PyObject
*SWIG_globals
= 0;
17242 static int typeinit
= 0;
17245 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17246 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17247 d
= PyModule_GetDict(m
);
17250 for (i
= 0; swig_types_initial
[i
]; i
++) {
17251 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17255 SWIG_InstallConstants(d
,swig_const_table
);
17258 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
17260 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17261 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
17262 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
17263 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
17264 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
17265 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
17266 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
17267 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
17268 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
17269 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
17270 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
17271 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
17272 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
17273 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
17274 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
17275 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
17276 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
17277 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
17278 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
17279 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
17280 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
17281 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
17282 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
17283 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
17284 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
17285 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
17286 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
17287 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
17288 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
17289 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
17290 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
17291 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
17292 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
17293 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
17294 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
17295 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
17296 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
17297 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
17298 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
17299 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
17300 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
17301 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
17302 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
17303 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
17304 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
17305 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
17306 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
17308 // Work around a chicken/egg problem in drawlist.cpp
17309 wxPyDrawList_SetAPIPtr();