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"
283 static const wxString
wxPyEmptyString(wxEmptyString
);
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
){
442 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
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 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
457 wxPyRaiseNotImplemented();
460 void wxRegionIterator_Next(wxRegionIterator
*self
){
463 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
464 return self
->operator bool();
467 #include <wx/fontutil.h>
468 #include <wx/fontmap.h>
469 #include <wx/fontenum.h>
471 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
472 return self
->ToString();
475 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
476 static wxNativeEncodingInfo info
;
477 if ( wxGetNativeFontEncoding(encoding
, &info
) )
483 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
484 wxFontEncoding alt_enc
;
485 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
486 return PyInt_FromLong(alt_enc
);
492 wxFont
*new_wxFont(wxString
const &info
){
493 wxNativeFontInfo nfi
;
494 nfi
.FromString(info
);
495 return new wxFont(nfi
);
497 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
498 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
501 class wxPyFontEnumerator
: public wxFontEnumerator
{
503 wxPyFontEnumerator() {}
504 ~wxPyFontEnumerator() {}
506 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
507 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
512 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
513 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
516 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
517 wxArrayString
* arr
= self
->GetEncodings();
518 return wxArrayString2PyList_helper(*arr
);
520 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
521 wxArrayString
* arr
= self
->GetFacenames();
522 return wxArrayString2PyList_helper(*arr
);
527 #include "wx/wxPython/pydrawxxx.h"
529 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
531 self
->GetPixel(x
, y
, &col
);
534 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
536 self
->GetPixel(pt
, &col
);
539 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
541 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
544 wxRect
wxDC_GetClippingRect(wxDC
*self
){
546 self
->GetClippingBox(rect
);
549 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
550 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
552 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
553 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
555 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
556 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
558 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
559 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
561 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
562 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
564 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
565 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
568 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
579 class wxMetaFile
: public wxObject
{
581 wxMetaFile(const wxString
&)
582 { wxPyRaiseNotImplemented(); }
585 class wxMetaFileDC
: public wxClientDC
{
587 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
588 { wxPyRaiseNotImplemented(); }
594 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
595 self
->AddColour(name
, wxColour(red
, green
, blue
));
598 #include <wx/effects.h>
603 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
613 result
= (wxGDIObject
*)new wxGDIObject();
615 wxPyEndAllowThreads(__tstate
);
616 if (PyErr_Occurred()) SWIG_fail
;
618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
625 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
628 PyObject
* obj0
= 0 ;
630 (char *) "self", NULL
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
639 wxPyEndAllowThreads(__tstate
);
640 if (PyErr_Occurred()) SWIG_fail
;
642 Py_INCREF(Py_None
); resultobj
= Py_None
;
649 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
653 PyObject
* obj0
= 0 ;
655 (char *) "self", NULL
658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
662 result
= (bool)(arg1
)->GetVisible();
664 wxPyEndAllowThreads(__tstate
);
665 if (PyErr_Occurred()) SWIG_fail
;
667 resultobj
= PyInt_FromLong((long)result
);
674 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
676 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
678 PyObject
* obj0
= 0 ;
679 PyObject
* obj1
= 0 ;
681 (char *) "self",(char *) "visible", NULL
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
686 arg2
= PyInt_AsLong(obj1
) ? true : false;
687 if (PyErr_Occurred()) SWIG_fail
;
689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
690 (arg1
)->SetVisible(arg2
);
692 wxPyEndAllowThreads(__tstate
);
693 if (PyErr_Occurred()) SWIG_fail
;
695 Py_INCREF(Py_None
); resultobj
= Py_None
;
702 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
706 PyObject
* obj0
= 0 ;
708 (char *) "self", NULL
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
715 result
= (bool)(arg1
)->IsNull();
717 wxPyEndAllowThreads(__tstate
);
718 if (PyErr_Occurred()) SWIG_fail
;
720 resultobj
= PyInt_FromLong((long)result
);
727 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
730 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
732 return Py_BuildValue((char *)"");
734 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 unsigned char arg1
= (unsigned char) 0 ;
737 unsigned char arg2
= (unsigned char) 0 ;
738 unsigned char arg3
= (unsigned char) 0 ;
740 PyObject
* obj0
= 0 ;
741 PyObject
* obj1
= 0 ;
742 PyObject
* obj2
= 0 ;
744 (char *) "red",(char *) "green",(char *) "blue", NULL
747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
749 arg1
= (unsigned char) PyInt_AsLong(obj0
);
750 if (PyErr_Occurred()) SWIG_fail
;
753 arg2
= (unsigned char) PyInt_AsLong(obj1
);
754 if (PyErr_Occurred()) SWIG_fail
;
757 arg3
= (unsigned char) PyInt_AsLong(obj2
);
758 if (PyErr_Occurred()) SWIG_fail
;
761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
762 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
764 wxPyEndAllowThreads(__tstate
);
765 if (PyErr_Occurred()) SWIG_fail
;
767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
774 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 wxColour
*arg1
= (wxColour
*) 0 ;
777 PyObject
* obj0
= 0 ;
779 (char *) "self", NULL
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 wxPyEndAllowThreads(__tstate
);
789 if (PyErr_Occurred()) SWIG_fail
;
791 Py_INCREF(Py_None
); resultobj
= Py_None
;
798 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* obj0
= 0 ;
805 (char *) "colorName", NULL
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
810 arg1
= wxString_in_helper(obj0
);
811 if (arg1
== NULL
) SWIG_fail
;
815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
816 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
818 wxPyEndAllowThreads(__tstate
);
819 if (PyErr_Occurred()) SWIG_fail
;
821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
836 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* obj0
= 0 ;
842 (char *) "colRGB", NULL
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
846 arg1
= (unsigned long) PyInt_AsLong(obj0
);
847 if (PyErr_Occurred()) SWIG_fail
;
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 result
= (wxColour
*)new wxColour(arg1
);
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) SWIG_fail
;
855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
862 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 wxColour
*arg1
= (wxColour
*) 0 ;
865 unsigned char result
;
866 PyObject
* obj0
= 0 ;
868 (char *) "self", NULL
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
875 result
= (unsigned char)(arg1
)->Red();
877 wxPyEndAllowThreads(__tstate
);
878 if (PyErr_Occurred()) SWIG_fail
;
880 resultobj
= PyInt_FromLong((long)result
);
887 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 wxColour
*arg1
= (wxColour
*) 0 ;
890 unsigned char result
;
891 PyObject
* obj0
= 0 ;
893 (char *) "self", NULL
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
900 result
= (unsigned char)(arg1
)->Green();
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) SWIG_fail
;
905 resultobj
= PyInt_FromLong((long)result
);
912 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 wxColour
*arg1
= (wxColour
*) 0 ;
915 unsigned char result
;
916 PyObject
* obj0
= 0 ;
918 (char *) "self", NULL
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 result
= (unsigned char)(arg1
)->Blue();
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) SWIG_fail
;
930 resultobj
= PyInt_FromLong((long)result
);
937 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
939 wxColour
*arg1
= (wxColour
*) 0 ;
941 PyObject
* obj0
= 0 ;
943 (char *) "self", NULL
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
950 result
= (bool)(arg1
)->Ok();
952 wxPyEndAllowThreads(__tstate
);
953 if (PyErr_Occurred()) SWIG_fail
;
955 resultobj
= PyInt_FromLong((long)result
);
962 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 wxColour
*arg1
= (wxColour
*) 0 ;
968 PyObject
* obj0
= 0 ;
969 PyObject
* obj1
= 0 ;
970 PyObject
* obj2
= 0 ;
971 PyObject
* obj3
= 0 ;
973 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
978 arg2
= (unsigned char) PyInt_AsLong(obj1
);
979 if (PyErr_Occurred()) SWIG_fail
;
980 arg3
= (unsigned char) PyInt_AsLong(obj2
);
981 if (PyErr_Occurred()) SWIG_fail
;
982 arg4
= (unsigned char) PyInt_AsLong(obj3
);
983 if (PyErr_Occurred()) SWIG_fail
;
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 (arg1
)->Set(arg2
,arg3
,arg4
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) SWIG_fail
;
991 Py_INCREF(Py_None
); resultobj
= Py_None
;
998 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 wxColour
*arg1
= (wxColour
*) 0 ;
1001 unsigned long arg2
;
1002 PyObject
* obj0
= 0 ;
1003 PyObject
* obj1
= 0 ;
1005 (char *) "self",(char *) "colRGB", NULL
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1010 arg2
= (unsigned long) PyInt_AsLong(obj1
);
1011 if (PyErr_Occurred()) SWIG_fail
;
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) SWIG_fail
;
1019 Py_INCREF(Py_None
); resultobj
= Py_None
;
1026 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
*resultobj
;
1028 wxColour
*arg1
= (wxColour
*) 0 ;
1029 wxColour
*arg2
= 0 ;
1032 PyObject
* obj0
= 0 ;
1033 PyObject
* obj1
= 0 ;
1035 (char *) "self",(char *) "colour", NULL
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1042 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) SWIG_fail
;
1051 resultobj
= PyInt_FromLong((long)result
);
1058 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
*resultobj
;
1060 wxColour
*arg1
= (wxColour
*) 0 ;
1061 wxColour
*arg2
= 0 ;
1064 PyObject
* obj0
= 0 ;
1065 PyObject
* obj1
= 0 ;
1067 (char *) "self",(char *) "colour", NULL
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1074 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1080 wxPyEndAllowThreads(__tstate
);
1081 if (PyErr_Occurred()) SWIG_fail
;
1083 resultobj
= PyInt_FromLong((long)result
);
1090 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
*resultobj
;
1092 wxColour
*arg1
= (wxColour
*) 0 ;
1093 wxString
*arg2
= 0 ;
1094 bool temp2
= False
;
1095 PyObject
* obj0
= 0 ;
1096 PyObject
* obj1
= 0 ;
1098 (char *) "self",(char *) "colourName", NULL
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1104 arg2
= wxString_in_helper(obj1
);
1105 if (arg2
== NULL
) SWIG_fail
;
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 (arg1
)->InitFromName((wxString
const &)*arg2
);
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) SWIG_fail
;
1115 Py_INCREF(Py_None
); resultobj
= Py_None
;
1130 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
*resultobj
;
1132 wxColour
*arg1
= (wxColour
*) 0 ;
1134 PyObject
* obj0
= 0 ;
1136 (char *) "self", NULL
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 result
= (PyObject
*)wxColour_Get(arg1
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) SWIG_fail
;
1155 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1158 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1160 return Py_BuildValue((char *)"");
1162 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
*resultobj
;
1165 unsigned char *arg2
= (unsigned char *) 0 ;
1166 unsigned char *arg3
= (unsigned char *) 0 ;
1167 unsigned char *arg4
= (unsigned char *) 0 ;
1169 PyObject
* obj1
= 0 ;
1170 PyObject
* obj2
= 0 ;
1171 PyObject
* obj3
= 0 ;
1173 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOOO:new_Palette",kwnames
,&arg1
,&obj1
,&obj2
,&obj3
)) goto fail
;
1177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1178 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1179 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) SWIG_fail
;
1187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1194 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1196 wxPalette
*arg1
= (wxPalette
*) 0 ;
1197 PyObject
* obj0
= 0 ;
1199 (char *) "self", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1211 Py_INCREF(Py_None
); resultobj
= Py_None
;
1218 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
*resultobj
;
1220 wxPalette
*arg1
= (wxPalette
*) 0 ;
1225 PyObject
* obj0
= 0 ;
1226 PyObject
* obj1
= 0 ;
1227 PyObject
* obj2
= 0 ;
1228 PyObject
* obj3
= 0 ;
1230 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1235 arg2
= (byte
) PyInt_AsLong(obj1
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1237 arg3
= (byte
) PyInt_AsLong(obj2
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1239 arg4
= (byte
) PyInt_AsLong(obj3
);
1240 if (PyErr_Occurred()) SWIG_fail
;
1242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1243 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1245 wxPyEndAllowThreads(__tstate
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1248 resultobj
= PyInt_FromLong((long)result
);
1255 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
*resultobj
;
1257 wxPalette
*arg1
= (wxPalette
*) 0 ;
1259 byte
*arg3
= (byte
*) 0 ;
1260 byte
*arg4
= (byte
*) 0 ;
1261 byte
*arg5
= (byte
*) 0 ;
1266 PyObject
* obj0
= 0 ;
1268 (char *) "self",(char *) "pixel", NULL
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Palette_GetRGB",kwnames
,&obj0
,&arg2
)) goto fail
;
1275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) SWIG_fail
;
1283 resultobj
= PyInt_FromLong((long)result
);
1285 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1286 resultobj
= t_output_helper(resultobj
,o
);
1289 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1290 resultobj
= t_output_helper(resultobj
,o
);
1293 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1294 resultobj
= t_output_helper(resultobj
,o
);
1302 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
*resultobj
;
1304 wxPalette
*arg1
= (wxPalette
*) 0 ;
1306 PyObject
* obj0
= 0 ;
1308 (char *) "self", NULL
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 result
= (bool)(arg1
)->Ok();
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) SWIG_fail
;
1320 resultobj
= PyInt_FromLong((long)result
);
1327 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1330 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1332 return Py_BuildValue((char *)"");
1334 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
*resultobj
;
1336 wxColour
*arg1
= 0 ;
1337 int arg2
= (int) 1 ;
1338 int arg3
= (int) wxSOLID
;
1341 PyObject
* obj0
= 0 ;
1343 (char *) "colour",(char *) "width",(char *) "style", NULL
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_Pen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1349 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1353 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1355 wxPyEndAllowThreads(__tstate
);
1356 if (PyErr_Occurred()) SWIG_fail
;
1358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1365 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
*resultobj
;
1367 wxPen
*arg1
= (wxPen
*) 0 ;
1368 PyObject
* obj0
= 0 ;
1370 (char *) "self", NULL
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) SWIG_fail
;
1382 Py_INCREF(Py_None
); resultobj
= Py_None
;
1389 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
*resultobj
;
1391 wxPen
*arg1
= (wxPen
*) 0 ;
1393 PyObject
* obj0
= 0 ;
1395 (char *) "self", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 result
= (int)(arg1
)->GetCap();
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1407 resultobj
= PyInt_FromLong((long)result
);
1414 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
*resultobj
;
1416 wxPen
*arg1
= (wxPen
*) 0 ;
1418 PyObject
* obj0
= 0 ;
1420 (char *) "self", NULL
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 result
= (arg1
)->GetColour();
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) SWIG_fail
;
1433 wxColour
* resultptr
;
1434 resultptr
= new wxColour((wxColour
&) result
);
1435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1443 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
*resultobj
;
1445 wxPen
*arg1
= (wxPen
*) 0 ;
1447 PyObject
* obj0
= 0 ;
1449 (char *) "self", NULL
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 result
= (int)(arg1
)->GetJoin();
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) SWIG_fail
;
1461 resultobj
= PyInt_FromLong((long)result
);
1468 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
*resultobj
;
1470 wxPen
*arg1
= (wxPen
*) 0 ;
1472 PyObject
* obj0
= 0 ;
1474 (char *) "self", NULL
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 result
= (int)(arg1
)->GetStyle();
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1486 resultobj
= PyInt_FromLong((long)result
);
1493 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxPen
*arg1
= (wxPen
*) 0 ;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "self", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 result
= (int)(arg1
)->GetWidth();
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) SWIG_fail
;
1511 resultobj
= PyInt_FromLong((long)result
);
1518 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxPen
*arg1
= (wxPen
*) 0 ;
1522 PyObject
* obj0
= 0 ;
1524 (char *) "self", NULL
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 result
= (bool)(arg1
)->Ok();
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 resultobj
= PyInt_FromLong((long)result
);
1543 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
*resultobj
;
1545 wxPen
*arg1
= (wxPen
*) 0 ;
1547 PyObject
* obj0
= 0 ;
1549 (char *) "self",(char *) "cap_style", NULL
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetCap",kwnames
,&obj0
,&arg2
)) goto fail
;
1553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 (arg1
)->SetCap(arg2
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1561 Py_INCREF(Py_None
); resultobj
= Py_None
;
1568 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
*resultobj
;
1570 wxPen
*arg1
= (wxPen
*) 0 ;
1571 wxColour
*arg2
= 0 ;
1573 PyObject
* obj0
= 0 ;
1574 PyObject
* obj1
= 0 ;
1576 (char *) "self",(char *) "colour", NULL
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1583 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 (arg1
)->SetColour(*arg2
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1592 Py_INCREF(Py_None
); resultobj
= Py_None
;
1599 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxPen
*arg1
= (wxPen
*) 0 ;
1603 PyObject
* obj0
= 0 ;
1605 (char *) "self",(char *) "join_style", NULL
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetJoin",kwnames
,&obj0
,&arg2
)) goto fail
;
1609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 (arg1
)->SetJoin(arg2
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1617 Py_INCREF(Py_None
); resultobj
= Py_None
;
1624 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
*resultobj
;
1626 wxPen
*arg1
= (wxPen
*) 0 ;
1628 PyObject
* obj0
= 0 ;
1630 (char *) "self",(char *) "style", NULL
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 (arg1
)->SetStyle(arg2
);
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) SWIG_fail
;
1642 Py_INCREF(Py_None
); resultobj
= Py_None
;
1649 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1651 wxPen
*arg1
= (wxPen
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1655 (char *) "self",(char *) "width", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 (arg1
)->SetWidth(arg2
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 Py_INCREF(Py_None
); resultobj
= Py_None
;
1674 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxPen
*arg1
= (wxPen
*) 0 ;
1678 wxDash
*arg3
= (wxDash
*) 0 ;
1679 PyObject
* obj0
= 0 ;
1680 PyObject
* obj1
= 0 ;
1682 (char *) "self",(char *) "dashes", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1688 arg2
= PyList_Size(obj1
);
1689 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1690 if (arg3
== NULL
) SWIG_fail
;
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 (arg1
)->SetDashes(arg2
,arg3
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) SWIG_fail
;
1699 Py_INCREF(Py_None
); resultobj
= Py_None
;
1701 if (arg3
) delete [] arg3
;
1706 if (arg3
) delete [] arg3
;
1712 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxPen
*arg1
= (wxPen
*) 0 ;
1716 PyObject
* obj0
= 0 ;
1718 (char *) "self", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1737 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1740 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1742 return Py_BuildValue((char *)"");
1744 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxColour
*arg1
= 0 ;
1747 int arg2
= (int) 1 ;
1748 int arg3
= (int) wxSOLID
;
1751 PyObject
* obj0
= 0 ;
1753 (char *) "colour",(char *) "width",(char *) "style", NULL
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_PyPen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1759 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) SWIG_fail
;
1768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
1775 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1778 PyObject
* obj0
= 0 ;
1780 (char *) "self", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) SWIG_fail
;
1792 Py_INCREF(Py_None
); resultobj
= Py_None
;
1799 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1803 wxDash
*arg3
= (wxDash
*) 0 ;
1804 PyObject
* obj0
= 0 ;
1805 PyObject
* obj1
= 0 ;
1807 (char *) "self",(char *) "dashes", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1813 arg2
= PyList_Size(obj1
);
1814 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1815 if (arg3
== NULL
) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 (arg1
)->SetDashes(arg2
,arg3
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 Py_INCREF(Py_None
); resultobj
= Py_None
;
1826 if (arg3
) delete [] arg3
;
1831 if (arg3
) delete [] arg3
;
1837 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
1839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1840 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
1842 return Py_BuildValue((char *)"");
1844 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1846 wxColour
*arg1
= 0 ;
1847 int arg2
= (int) wxSOLID
;
1850 PyObject
* obj0
= 0 ;
1852 (char *) "colour",(char *) "style", NULL
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Brush",kwnames
,&obj0
,&arg2
)) goto fail
;
1858 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
1874 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxBrush
*arg1
= (wxBrush
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1879 (char *) "self", NULL
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
1883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 Py_INCREF(Py_None
); resultobj
= Py_None
;
1898 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxBrush
*arg1
= (wxBrush
*) 0 ;
1901 wxColour
*arg2
= 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1906 (char *) "self",(char *) "col", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1913 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 (arg1
)->SetColour((wxColour
const &)*arg2
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 Py_INCREF(Py_None
); resultobj
= Py_None
;
1929 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
*resultobj
;
1931 wxBrush
*arg1
= (wxBrush
*) 0 ;
1933 PyObject
* obj0
= 0 ;
1935 (char *) "self",(char *) "style", NULL
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Brush_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 (arg1
)->SetStyle(arg2
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 Py_INCREF(Py_None
); resultobj
= Py_None
;
1954 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
*resultobj
;
1956 wxBrush
*arg1
= (wxBrush
*) 0 ;
1957 wxBitmap
*arg2
= 0 ;
1958 PyObject
* obj0
= 0 ;
1959 PyObject
* obj1
= 0 ;
1961 (char *) "self",(char *) "stipple", NULL
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
1965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1966 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1968 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1977 Py_INCREF(Py_None
); resultobj
= Py_None
;
1984 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
*resultobj
;
1986 wxBrush
*arg1
= (wxBrush
*) 0 ;
1988 PyObject
* obj0
= 0 ;
1990 (char *) "self", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 result
= ((wxBrush
const *)arg1
)->GetColour();
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) SWIG_fail
;
2003 wxColour
* resultptr
;
2004 resultptr
= new wxColour((wxColour
&) result
);
2005 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2013 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2015 wxBrush
*arg1
= (wxBrush
*) 0 ;
2017 PyObject
* obj0
= 0 ;
2019 (char *) "self", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 resultobj
= PyInt_FromLong((long)result
);
2038 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxBrush
*arg1
= (wxBrush
*) 0 ;
2042 PyObject
* obj0
= 0 ;
2044 (char *) "self", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2063 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxBrush
*arg1
= (wxBrush
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2069 (char *) "self", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (bool)(arg1
)->Ok();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= PyInt_FromLong((long)result
);
2088 static PyObject
*_wrap_Brush_GetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxBrush
*arg1
= (wxBrush
*) 0 ;
2092 PyObject
* obj0
= 0 ;
2094 (char *) "self", NULL
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetMacTheme",kwnames
,&obj0
)) goto fail
;
2098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 result
= (short)(arg1
)->GetMacTheme();
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 resultobj
= PyInt_FromLong((long)result
);
2113 static PyObject
*_wrap_Brush_SetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2115 wxBrush
*arg1
= (wxBrush
*) 0 ;
2117 PyObject
* obj0
= 0 ;
2119 (char *) "self",(char *) "macThemeBrush", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oh:Brush_SetMacTheme",kwnames
,&obj0
,&arg2
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 (arg1
)->SetMacTheme(arg2
);
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 Py_INCREF(Py_None
); resultobj
= Py_None
;
2138 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2141 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2143 return Py_BuildValue((char *)"");
2145 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2147 wxString
*arg1
= 0 ;
2148 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2150 bool temp1
= False
;
2151 PyObject
* obj0
= 0 ;
2153 (char *) "name",(char *) "type", NULL
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Bitmap",kwnames
,&obj0
,&arg2
)) goto fail
;
2158 arg1
= wxString_in_helper(obj0
);
2159 if (arg1
== NULL
) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2184 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2187 PyObject
* obj0
= 0 ;
2189 (char *) "self", NULL
2192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 Py_INCREF(Py_None
); resultobj
= Py_None
;
2208 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2212 int arg3
= (int) -1 ;
2215 (char *) "width",(char *) "height",(char *) "depth", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|i:new_EmptyBitmap",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2233 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2237 PyObject
* obj0
= 0 ;
2239 (char *) "icon", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2261 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2264 int arg2
= (int) -1 ;
2266 PyObject
* obj0
= 0 ;
2268 (char *) "image",(char *) "depth", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_BitmapFromImage",kwnames
,&obj0
,&arg2
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2274 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2290 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 PyObject
*arg1
= (PyObject
*) 0 ;
2294 PyObject
* obj0
= 0 ;
2296 (char *) "listOfStrings", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2308 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2315 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 PyObject
*arg1
= (PyObject
*) 0 ;
2320 int arg4
= (int) 1 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:new_BitmapFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2343 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
*resultobj
;
2345 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2347 PyObject
* obj0
= 0 ;
2349 (char *) "self", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 result
= (bool)(arg1
)->Ok();
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 resultobj
= PyInt_FromLong((long)result
);
2368 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
*resultobj
;
2370 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2372 PyObject
* obj0
= 0 ;
2374 (char *) "self", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 result
= (int)(arg1
)->GetWidth();
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= PyInt_FromLong((long)result
);
2393 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
*resultobj
;
2395 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2397 PyObject
* obj0
= 0 ;
2399 (char *) "self", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (int)(arg1
)->GetHeight();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= PyInt_FromLong((long)result
);
2418 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2424 (char *) "self", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 result
= (int)(arg1
)->GetDepth();
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 resultobj
= PyInt_FromLong((long)result
);
2443 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2446 SwigValueWrapper
< wxImage
> result
;
2447 PyObject
* obj0
= 0 ;
2449 (char *) "self", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) SWIG_fail
;
2462 wxImage
* resultptr
;
2463 resultptr
= new wxImage((wxImage
&) result
);
2464 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2472 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2474 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2476 PyObject
* obj0
= 0 ;
2478 (char *) "self", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2497 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2500 wxMask
*arg2
= (wxMask
*) 0 ;
2501 PyObject
* obj0
= 0 ;
2502 PyObject
* obj1
= 0 ;
2504 (char *) "self",(char *) "mask", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 (arg1
)->SetMask(arg2
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 Py_INCREF(Py_None
); resultobj
= Py_None
;
2524 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2527 wxColour
*arg2
= 0 ;
2529 PyObject
* obj0
= 0 ;
2530 PyObject
* obj1
= 0 ;
2532 (char *) "self",(char *) "colour", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2559 SwigValueWrapper
< wxBitmap
> result
;
2561 PyObject
* obj0
= 0 ;
2562 PyObject
* obj1
= 0 ;
2564 (char *) "self",(char *) "rect", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2571 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2581 wxBitmap
* resultptr
;
2582 resultptr
= new wxBitmap((wxBitmap
&) result
);
2583 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2591 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2594 wxString
*arg2
= 0 ;
2596 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2598 bool temp2
= False
;
2599 PyObject
* obj0
= 0 ;
2600 PyObject
* obj1
= 0 ;
2601 PyObject
* obj3
= 0 ;
2603 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2609 arg2
= wxString_in_helper(obj1
);
2610 if (arg2
== NULL
) SWIG_fail
;
2614 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= PyInt_FromLong((long)result
);
2638 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2641 wxString
*arg2
= 0 ;
2644 bool temp2
= False
;
2645 PyObject
* obj0
= 0 ;
2646 PyObject
* obj1
= 0 ;
2648 (char *) "self",(char *) "name",(char *) "type", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2654 arg2
= wxString_in_helper(obj1
);
2655 if (arg2
== NULL
) SWIG_fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= PyInt_FromLong((long)result
);
2680 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2686 PyObject
* obj1
= 0 ;
2688 (char *) "self",(char *) "icon", NULL
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2693 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2695 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2704 resultobj
= PyInt_FromLong((long)result
);
2711 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
*resultobj
;
2713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2715 PyObject
* obj0
= 0 ;
2717 (char *) "self",(char *) "height", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 (arg1
)->SetHeight(arg2
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) SWIG_fail
;
2729 Py_INCREF(Py_None
); resultobj
= Py_None
;
2736 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2740 PyObject
* obj0
= 0 ;
2742 (char *) "self",(char *) "width", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 (arg1
)->SetWidth(arg2
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 Py_INCREF(Py_None
); resultobj
= Py_None
;
2761 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2765 PyObject
* obj0
= 0 ;
2767 (char *) "self",(char *) "depth", NULL
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
2771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 (arg1
)->SetDepth(arg2
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
2788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2789 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
2791 return Py_BuildValue((char *)"");
2793 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxBitmap
*arg1
= 0 ;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "bitmap", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2821 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
*resultobj
;
2823 wxBitmap
*arg1
= 0 ;
2824 wxColour
*arg2
= 0 ;
2827 PyObject
* obj0
= 0 ;
2828 PyObject
* obj1
= 0 ;
2830 (char *) "bitmap",(char *) "colour", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2836 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2840 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
2856 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
2858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2859 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
2861 return Py_BuildValue((char *)"");
2863 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxString
*arg1
= 0 ;
2867 int arg3
= (int) -1 ;
2868 int arg4
= (int) -1 ;
2870 bool temp1
= False
;
2871 PyObject
* obj0
= 0 ;
2873 (char *) "name",(char *) "flags",(char *) "desiredWidth",(char *) "desiredHeight", NULL
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Icon",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2878 arg1
= wxString_in_helper(obj0
);
2879 if (arg1
== NULL
) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2904 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxIcon
*arg1
= (wxIcon
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2909 (char *) "self", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2918 wxPyEndAllowThreads(__tstate
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2921 Py_INCREF(Py_None
); resultobj
= Py_None
;
2928 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (wxIcon
*)new wxIcon();
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2950 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxIconLocation
*arg1
= 0 ;
2954 PyObject
* obj0
= 0 ;
2956 (char *) "loc", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2971 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
2978 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxBitmap
*arg1
= 0 ;
2982 PyObject
* obj0
= 0 ;
2984 (char *) "bmp", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2990 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) SWIG_fail
;
2999 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3006 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 PyObject
*arg1
= (PyObject
*) 0 ;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "listOfStrings", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (wxIcon
*)new_wxIcon(arg1
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3031 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxIcon
*arg1
= (wxIcon
*) 0 ;
3035 PyObject
* obj0
= 0 ;
3037 (char *) "self", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (bool)(arg1
)->Ok();
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= PyInt_FromLong((long)result
);
3056 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
*resultobj
;
3058 wxIcon
*arg1
= (wxIcon
*) 0 ;
3060 PyObject
* obj0
= 0 ;
3062 (char *) "self", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= (int)(arg1
)->GetWidth();
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= PyInt_FromLong((long)result
);
3081 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxIcon
*arg1
= (wxIcon
*) 0 ;
3085 PyObject
* obj0
= 0 ;
3087 (char *) "self", NULL
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (int)(arg1
)->GetHeight();
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 resultobj
= PyInt_FromLong((long)result
);
3106 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxIcon
*arg1
= (wxIcon
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3112 (char *) "self", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 result
= (int)(arg1
)->GetDepth();
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3124 resultobj
= PyInt_FromLong((long)result
);
3131 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxIcon
*arg1
= (wxIcon
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3137 (char *) "self",(char *) "w", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 (arg1
)->SetWidth(arg2
);
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3149 Py_INCREF(Py_None
); resultobj
= Py_None
;
3156 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxIcon
*arg1
= (wxIcon
*) 0 ;
3160 PyObject
* obj0
= 0 ;
3162 (char *) "self",(char *) "h", NULL
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
3166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 (arg1
)->SetHeight(arg2
);
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) SWIG_fail
;
3174 Py_INCREF(Py_None
); resultobj
= Py_None
;
3181 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxIcon
*arg1
= (wxIcon
*) 0 ;
3185 PyObject
* obj0
= 0 ;
3187 (char *) "self",(char *) "d", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 (arg1
)->SetDepth(arg2
);
3196 wxPyEndAllowThreads(__tstate
);
3197 if (PyErr_Occurred()) SWIG_fail
;
3199 Py_INCREF(Py_None
); resultobj
= Py_None
;
3206 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
*resultobj
;
3208 wxIcon
*arg1
= (wxIcon
*) 0 ;
3209 wxBitmap
*arg2
= 0 ;
3210 PyObject
* obj0
= 0 ;
3211 PyObject
* obj1
= 0 ;
3213 (char *) "self",(char *) "bmp", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3218 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3220 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3229 Py_INCREF(Py_None
); resultobj
= Py_None
;
3236 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3239 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3241 return Py_BuildValue((char *)"");
3243 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3246 int arg2
= (int) 0 ;
3247 wxIconLocation
*result
;
3248 bool temp1
= False
;
3249 PyObject
* obj0
= 0 ;
3251 (char *) "filename",(char *) "num", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_IconLocation",kwnames
,&obj0
,&arg2
)) goto fail
;
3257 arg1
= wxString_in_helper(obj0
);
3258 if (arg1
== NULL
) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3284 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3308 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= PyInt_FromLong((long)result
);
3333 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
*resultobj
;
3335 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3336 wxString
*arg2
= 0 ;
3337 bool temp2
= False
;
3338 PyObject
* obj0
= 0 ;
3339 PyObject
* obj1
= 0 ;
3341 (char *) "self",(char *) "filename", NULL
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3347 arg2
= wxString_in_helper(obj1
);
3348 if (arg2
== NULL
) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 (arg1
)->SetFileName((wxString
const &)*arg2
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 Py_INCREF(Py_None
); resultobj
= Py_None
;
3373 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3375 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3379 (char *) "self", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3388 result
= (wxString
*) &_result_ref
;
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) SWIG_fail
;
3396 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3398 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3407 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 (char *) "self",(char *) "num", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IconLocation_SetIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 wxIconLocation_SetIndex(arg1
,arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3438 (char *) "self", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (int)wxIconLocation_GetIndex(arg1
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= PyInt_FromLong((long)result
);
3457 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3460 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3462 return Py_BuildValue((char *)"");
3464 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3466 wxIconBundle
*result
;
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (wxIconBundle
*)new wxIconBundle();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3486 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxString
*arg1
= 0 ;
3490 wxIconBundle
*result
;
3491 bool temp1
= False
;
3492 PyObject
* obj0
= 0 ;
3494 (char *) "file",(char *) "type", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_IconBundleFromFile",kwnames
,&obj0
,&arg2
)) goto fail
;
3499 arg1
= wxString_in_helper(obj0
);
3500 if (arg1
== NULL
) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3525 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3528 wxIconBundle
*result
;
3529 PyObject
* obj0
= 0 ;
3531 (char *) "icon", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3553 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
;
3555 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3558 (char *) "self", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3570 Py_INCREF(Py_None
); resultobj
= Py_None
;
3577 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3579 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3581 PyObject
* obj0
= 0 ;
3582 PyObject
* obj1
= 0 ;
3584 (char *) "self",(char *) "icon", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 Py_INCREF(Py_None
); resultobj
= Py_None
;
3607 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3610 wxString
*arg2
= 0 ;
3612 bool temp2
= False
;
3613 PyObject
* obj0
= 0 ;
3614 PyObject
* obj1
= 0 ;
3616 (char *) "self",(char *) "file",(char *) "type", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3622 arg2
= wxString_in_helper(obj1
);
3623 if (arg2
== NULL
) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 Py_INCREF(Py_None
); resultobj
= Py_None
;
3648 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3657 (char *) "self",(char *) "size", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
3670 result
= (wxIcon
*) &_result_ref
;
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
3683 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
3685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3686 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
3688 return Py_BuildValue((char *)"");
3690 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxString
*arg1
= (wxString
*) 0 ;
3694 int arg3
= (int) 0 ;
3695 int arg4
= (int) 0 ;
3697 bool temp1
= False
;
3698 PyObject
* obj0
= 0 ;
3700 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Cursor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
3705 arg1
= wxString_in_helper(obj0
);
3706 if (arg1
== NULL
) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3731 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3733 wxCursor
*arg1
= (wxCursor
*) 0 ;
3734 PyObject
* obj0
= 0 ;
3736 (char *) "self", NULL
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
3740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_StockCursor",kwnames
,&arg1
)) goto fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= (wxCursor
*)new wxCursor(arg1
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3778 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "image", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3790 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3806 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3808 PyObject
*arg1
= (PyObject
*) 0 ;
3811 int arg4
= (int) -1 ;
3812 int arg5
= (int) -1 ;
3813 PyObject
*arg6
= (PyObject
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3816 PyObject
* obj5
= 0 ;
3818 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiO:new_CursorFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3840 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxCursor
*arg1
= (wxCursor
*) 0 ;
3844 PyObject
* obj0
= 0 ;
3846 (char *) "self", NULL
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
3850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 result
= (bool)(arg1
)->Ok();
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= PyInt_FromLong((long)result
);
3865 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
3867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3868 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
3870 return Py_BuildValue((char *)"");
3872 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 int arg1
= (int) 0 ;
3875 int arg2
= (int) 0 ;
3876 int arg3
= (int) 0 ;
3877 int arg4
= (int) 0 ;
3880 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Region",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3898 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3900 wxBitmap
*arg1
= 0 ;
3901 wxColour
const &arg2_defvalue
= wxNullColour
;
3902 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3903 int arg3
= (int) 0 ;
3906 PyObject
* obj0
= 0 ;
3907 PyObject
* obj1
= 0 ;
3909 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3920 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3937 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3940 wxPoint
*arg2
= (wxPoint
*) 0 ;
3941 int arg3
= (int) wxWINDING_RULE
;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "points",(char *) "fillStyle", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_RegionFromPoints",kwnames
,&obj0
,&arg3
)) goto fail
;
3950 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
3951 if (arg2
== NULL
) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
3962 if (arg2
) delete [] arg2
;
3967 if (arg2
) delete [] arg2
;
3973 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxRegion
*arg1
= (wxRegion
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3978 (char *) "self", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 Py_INCREF(Py_None
); resultobj
= Py_None
;
3997 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxRegion
*arg1
= (wxRegion
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4002 (char *) "self", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxRegion
*arg1
= (wxRegion
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4029 (char *) "self",(char *) "x",(char *) "y", NULL
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Contains",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= PyInt_FromLong((long)result
);
4048 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxRegion
*arg1
= (wxRegion
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4057 (char *) "self",(char *) "pt", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4064 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= PyInt_FromLong((long)result
);
4080 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxRegion
*arg1
= (wxRegion
*) 0 ;
4086 PyObject
* obj0
= 0 ;
4087 PyObject
* obj1
= 0 ;
4089 (char *) "self",(char *) "rect", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4096 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 resultobj
= PyInt_FromLong((long)result
);
4112 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxRegion
*arg1
= (wxRegion
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4122 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_ContainsRectDim",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= PyInt_FromLong((long)result
);
4141 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxRegion
*arg1
= (wxRegion
*) 0 ;
4145 PyObject
* obj0
= 0 ;
4147 (char *) "self", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (arg1
)->GetBox();
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4161 resultptr
= new wxRect((wxRect
&) result
);
4162 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4170 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxRegion
*arg1
= (wxRegion
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4180 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Intersect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= PyInt_FromLong((long)result
);
4199 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxRegion
*arg1
= (wxRegion
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4206 PyObject
* obj1
= 0 ;
4208 (char *) "self",(char *) "rect", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4215 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= PyInt_FromLong((long)result
);
4231 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 wxRegion
*arg1
= (wxRegion
*) 0 ;
4234 wxRegion
*arg2
= 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "region", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4246 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= PyInt_FromLong((long)result
);
4262 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxRegion
*arg1
= (wxRegion
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4268 (char *) "self", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (bool)(arg1
)->IsEmpty();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= PyInt_FromLong((long)result
);
4287 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxRegion
*arg1
= (wxRegion
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Union",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= PyInt_FromLong((long)result
);
4316 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxRegion
*arg1
= (wxRegion
*) 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "rect", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4332 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= PyInt_FromLong((long)result
);
4348 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxRegion
*arg1
= (wxRegion
*) 0 ;
4351 wxRegion
*arg2
= 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4356 (char *) "self",(char *) "region", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4363 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4372 resultobj
= PyInt_FromLong((long)result
);
4379 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4381 wxRegion
*arg1
= (wxRegion
*) 0 ;
4387 PyObject
* obj0
= 0 ;
4389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Subtract",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= PyInt_FromLong((long)result
);
4408 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 wxRegion
*arg1
= (wxRegion
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4417 (char *) "self",(char *) "rect", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4424 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= PyInt_FromLong((long)result
);
4440 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxRegion
*arg1
= (wxRegion
*) 0 ;
4443 wxRegion
*arg2
= 0 ;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4448 (char *) "self",(char *) "region", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= PyInt_FromLong((long)result
);
4471 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxRegion
*arg1
= (wxRegion
*) 0 ;
4479 PyObject
* obj0
= 0 ;
4481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Xor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= PyInt_FromLong((long)result
);
4500 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxRegion
*arg1
= (wxRegion
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4509 (char *) "self",(char *) "rect", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4516 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= PyInt_FromLong((long)result
);
4532 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
;
4534 wxRegion
*arg1
= (wxRegion
*) 0 ;
4535 wxRegion
*arg2
= 0 ;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4540 (char *) "self",(char *) "region", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4547 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= PyInt_FromLong((long)result
);
4563 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxRegion
*arg1
= (wxRegion
*) 0 ;
4566 SwigValueWrapper
< wxBitmap
> result
;
4567 PyObject
* obj0
= 0 ;
4569 (char *) "self", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
4573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 result
= (arg1
)->ConvertToBitmap();
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4582 wxBitmap
* resultptr
;
4583 resultptr
= new wxBitmap((wxBitmap
&) result
);
4584 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4592 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxRegion
*arg1
= (wxRegion
*) 0 ;
4595 wxBitmap
*arg2
= 0 ;
4596 wxColour
const &arg3_defvalue
= wxNullColour
;
4597 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
4598 int arg4
= (int) 0 ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4603 PyObject
* obj2
= 0 ;
4605 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4617 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= PyInt_FromLong((long)result
);
4634 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
4636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4637 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
4639 return Py_BuildValue((char *)"");
4641 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxRegion
*arg1
= 0 ;
4644 wxRegionIterator
*result
;
4645 PyObject
* obj0
= 0 ;
4647 (char *) "region", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4653 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
4669 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4672 PyObject
* obj0
= 0 ;
4674 (char *) "self", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
4678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4686 Py_INCREF(Py_None
); resultobj
= Py_None
;
4693 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
*resultobj
;
4695 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4699 (char *) "self", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (int)(arg1
)->GetX();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= PyInt_FromLong((long)result
);
4718 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 result
= (int)(arg1
)->GetY();
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= PyInt_FromLong((long)result
);
4743 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (int)(arg1
)->GetW();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= PyInt_FromLong((long)result
);
4768 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4774 (char *) "self", NULL
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
4778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (int)(arg1
)->GetWidth();
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= PyInt_FromLong((long)result
);
4793 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4797 PyObject
* obj0
= 0 ;
4799 (char *) "self", NULL
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
4803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (int)(arg1
)->GetH();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= PyInt_FromLong((long)result
);
4818 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4822 PyObject
* obj0
= 0 ;
4824 (char *) "self", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
4828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (int)(arg1
)->GetHeight();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= PyInt_FromLong((long)result
);
4843 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4847 PyObject
* obj0
= 0 ;
4849 (char *) "self", NULL
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
4853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (arg1
)->GetRect();
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4863 resultptr
= new wxRect((wxRect
&) result
);
4864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4872 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4878 (char *) "self", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (bool)(arg1
)->HaveRects();
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= PyInt_FromLong((long)result
);
4897 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4900 PyObject
* obj0
= 0 ;
4902 (char *) "self", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",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();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 Py_INCREF(Py_None
); resultobj
= Py_None
;
4921 static PyObject
*_wrap_RegionIterator_Next(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_Next",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();
4933 wxRegionIterator_Next(arg1
);
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 Py_INCREF(Py_None
); resultobj
= Py_None
;
4945 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
*resultobj
;
4947 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (bool)wxRegionIterator___nonzero__(arg1
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= PyInt_FromLong((long)result
);
4970 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
4972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4973 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
4975 return Py_BuildValue((char *)"");
4977 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxNativeFontInfo
*result
;
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
4999 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5004 (char *) "self", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 Py_INCREF(Py_None
); resultobj
= Py_None
;
5023 static PyObject
*_wrap_NativeFontInfo_Init(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:NativeFontInfo_Init",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_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5054 (char *) "self",(char *) "font", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5061 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5083 (char *) "self", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= PyInt_FromLong((long)result
);
5102 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5108 (char *) "self", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= PyInt_FromLong((long)result
);
5127 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5133 (char *) "self", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= PyInt_FromLong((long)result
);
5152 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= PyInt_FromLong((long)result
);
5177 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5183 (char *) "self", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5208 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "self", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= PyInt_FromLong((long)result
);
5233 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5239 (char *) "self", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= PyInt_FromLong((long)result
);
5258 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5264 (char *) "self",(char *) "pointsize", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 (arg1
)->SetPointSize(arg2
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 Py_INCREF(Py_None
); resultobj
= Py_None
;
5283 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5289 (char *) "self",(char *) "style", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
5293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 Py_INCREF(Py_None
); resultobj
= Py_None
;
5308 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5314 (char *) "self",(char *) "weight", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
5318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 Py_INCREF(Py_None
); resultobj
= Py_None
;
5333 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5340 (char *) "self",(char *) "underlined", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5345 arg2
= PyInt_AsLong(obj1
) ? true : false;
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 (arg1
)->SetUnderlined(arg2
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 Py_INCREF(Py_None
); resultobj
= Py_None
;
5361 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "facename", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5374 wxString
* sptr
= wxString_in_helper(obj1
);
5375 if (sptr
== NULL
) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->SetFaceName(arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self",(char *) "family", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->SetFamily((wxFontFamily
)arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 Py_INCREF(Py_None
); resultobj
= Py_None
;
5418 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5424 (char *) "self",(char *) "encoding", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
5428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5446 wxString
*arg2
= 0 ;
5448 bool temp2
= False
;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5452 (char *) "self",(char *) "s", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5458 arg2
= wxString_in_helper(obj1
);
5459 if (arg2
== NULL
) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= PyInt_FromLong((long)result
);
5484 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
*resultobj
;
5486 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5488 PyObject
* obj0
= 0 ;
5490 (char *) "self", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5515 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
;
5517 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5519 PyObject
* obj0
= 0 ;
5521 (char *) "self", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
5525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= wxNativeFontInfo___str__(arg1
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5546 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5549 wxString
*arg2
= 0 ;
5551 bool temp2
= False
;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5555 (char *) "self",(char *) "s", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5561 arg2
= wxString_in_helper(obj1
);
5562 if (arg2
== NULL
) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= PyInt_FromLong((long)result
);
5587 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5593 (char *) "self", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
5597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5618 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5621 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
5623 return Py_BuildValue((char *)"");
5625 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5628 wxString
*arg2
= (wxString
*) 0 ;
5629 bool temp2
= False
;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5633 (char *) "self",(char *) "facename", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5639 arg2
= wxString_in_helper(obj1
);
5640 if (arg2
== NULL
) SWIG_fail
;
5643 if (arg1
) (arg1
)->facename
= *arg2
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5660 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5666 (char *) "self", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
5670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5671 result
= (wxString
*)& ((arg1
)->facename
);
5675 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5677 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5686 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self",(char *) "encoding", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&arg2
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5697 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
5699 Py_INCREF(Py_None
); resultobj
= Py_None
;
5706 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5712 (char *) "self", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5717 result
= (int) ((arg1
)->encoding
);
5719 resultobj
= PyInt_FromLong((long)result
);
5726 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
;
5728 wxNativeEncodingInfo
*result
;
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
5748 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5753 (char *) "self", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5772 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5775 wxString
*arg2
= 0 ;
5777 bool temp2
= False
;
5778 PyObject
* obj0
= 0 ;
5779 PyObject
* obj1
= 0 ;
5781 (char *) "self",(char *) "s", NULL
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5787 arg2
= wxString_in_helper(obj1
);
5788 if (arg2
== NULL
) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 resultobj
= PyInt_FromLong((long)result
);
5813 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "self", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5844 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5847 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
5849 return Py_BuildValue((char *)"");
5851 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5854 wxNativeEncodingInfo
*result
;
5856 (char *) "encoding", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetNativeFontEncoding",kwnames
,&arg1
)) goto fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
5874 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxNativeEncodingInfo
*arg1
= 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "info", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= PyInt_FromLong((long)result
);
5902 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxFontMapper
*result
;
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (wxFontMapper
*)new wxFontMapper();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
5924 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
;
5926 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "self", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 Py_INCREF(Py_None
); resultobj
= Py_None
;
5948 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxFontMapper
*result
;
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (wxFontMapper
*)wxFontMapper::Get();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
5970 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
5973 wxFontMapper
*result
;
5974 PyObject
* obj0
= 0 ;
5976 (char *) "mapper", NULL
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
5980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
5995 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
5998 wxString
*arg2
= 0 ;
5999 bool arg3
= (bool) True
;
6001 bool temp2
= False
;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 PyObject
* obj2
= 0 ;
6006 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6012 arg2
= wxString_in_helper(obj1
);
6013 if (arg2
== NULL
) SWIG_fail
;
6017 arg3
= PyInt_AsLong(obj2
) ? true : false;
6018 if (PyErr_Occurred()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= PyInt_FromLong((long)result
);
6042 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= PyInt_FromLong((long)result
);
6064 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6068 PyObject
* obj0
= 0 ;
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6074 arg1
= (size_t) PyInt_AsLong(obj0
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (int)wxFontMapper::GetEncoding(arg1
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= PyInt_FromLong((long)result
);
6090 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6095 (char *) "encoding", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingName",kwnames
,&arg1
)) goto fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6119 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6124 (char *) "encoding", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingDescription",kwnames
,&arg1
)) goto fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6148 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6151 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6155 (char *) "self",(char *) "config", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6160 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 (arg1
)->SetConfig(arg2
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 Py_INCREF(Py_None
); resultobj
= Py_None
;
6175 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6177 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6178 wxString
*arg2
= 0 ;
6179 bool temp2
= False
;
6180 PyObject
* obj0
= 0 ;
6181 PyObject
* obj1
= 0 ;
6183 (char *) "self",(char *) "prefix", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 arg2
= wxString_in_helper(obj1
);
6190 if (arg2
== NULL
) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 Py_INCREF(Py_None
); resultobj
= Py_None
;
6215 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= wxFontMapper::GetDefaultConfigPath();
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6243 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
*resultobj
;
6245 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6247 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6248 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6249 bool arg4
= (bool) True
;
6251 bool temp3
= False
;
6252 PyObject
* obj0
= 0 ;
6253 PyObject
* obj2
= 0 ;
6254 PyObject
* obj3
= 0 ;
6256 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
6260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6263 arg3
= wxString_in_helper(obj2
);
6264 if (arg3
== NULL
) SWIG_fail
;
6269 arg4
= PyInt_AsLong(obj3
) ? true : false;
6270 if (PyErr_Occurred()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6294 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6298 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6299 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6301 bool temp3
= False
;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj2
= 0 ;
6305 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6312 arg3
= wxString_in_helper(obj2
);
6313 if (arg3
== NULL
) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= PyInt_FromLong((long)result
);
6339 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6342 wxWindow
*arg2
= (wxWindow
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6346 (char *) "self",(char *) "parent", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 (arg1
)->SetDialogParent(arg2
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 Py_INCREF(Py_None
); resultobj
= Py_None
;
6366 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6369 wxString
*arg2
= 0 ;
6370 bool temp2
= False
;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6374 (char *) "self",(char *) "title", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6380 arg2
= wxString_in_helper(obj1
);
6381 if (arg2
== NULL
) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 Py_INCREF(Py_None
); resultobj
= Py_None
;
6406 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
6408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6409 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
6411 return Py_BuildValue((char *)"");
6413 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6419 bool arg5
= (bool) False
;
6420 wxString
const &arg6_defvalue
= wxPyEmptyString
;
6421 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6422 int arg7
= (int) wxFONTENCODING_DEFAULT
;
6424 bool temp6
= False
;
6425 PyObject
* obj4
= 0 ;
6426 PyObject
* obj5
= 0 ;
6428 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiii|OOi:new_Font",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
6433 arg5
= PyInt_AsLong(obj4
) ? true : false;
6434 if (PyErr_Occurred()) SWIG_fail
;
6438 arg6
= wxString_in_helper(obj5
);
6439 if (arg6
== NULL
) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6465 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6467 wxFont
*arg1
= (wxFont
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6489 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
*resultobj
;
6491 wxNativeFontInfo
*arg1
= 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "info", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6517 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxString
*arg1
= 0 ;
6521 bool temp1
= False
;
6522 PyObject
* obj0
= 0 ;
6524 (char *) "info", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
6529 arg1
= wxString_in_helper(obj0
);
6530 if (arg1
== NULL
) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6555 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6559 int arg3
= (int) wxFONTFLAG_DEFAULT
;
6560 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6561 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6562 int arg5
= (int) wxFONTENCODING_DEFAULT
;
6564 bool temp4
= False
;
6565 PyObject
* obj3
= 0 ;
6567 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|iOi:new_Font2",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
6573 arg4
= wxString_in_helper(obj3
);
6574 if (arg4
== NULL
) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6600 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxFont
*arg1
= (wxFont
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6606 (char *) "self", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (bool)((wxFont
const *)arg1
)->Ok();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= PyInt_FromLong((long)result
);
6625 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxFont
*arg1
= (wxFont
*) 0 ;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6633 (char *) "self",(char *) "font", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= PyInt_FromLong((long)result
);
6656 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxFont
*arg1
= (wxFont
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6662 PyObject
* obj1
= 0 ;
6664 (char *) "self",(char *) "font", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6671 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= PyInt_FromLong((long)result
);
6687 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxFont
*arg1
= (wxFont
*) 0 ;
6691 PyObject
* obj0
= 0 ;
6693 (char *) "self", NULL
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
6697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= PyInt_FromLong((long)result
);
6712 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxFont
*arg1
= (wxFont
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6718 (char *) "self", NULL
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
6722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (int)((wxFont
const *)arg1
)->GetFamily();
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= PyInt_FromLong((long)result
);
6737 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
;
6739 wxFont
*arg1
= (wxFont
*) 0 ;
6741 PyObject
* obj0
= 0 ;
6743 (char *) "self", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
6747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (int)((wxFont
const *)arg1
)->GetStyle();
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= PyInt_FromLong((long)result
);
6762 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6764 wxFont
*arg1
= (wxFont
*) 0 ;
6766 PyObject
* obj0
= 0 ;
6768 (char *) "self", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (int)((wxFont
const *)arg1
)->GetWeight();
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= PyInt_FromLong((long)result
);
6787 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxFont
*arg1
= (wxFont
*) 0 ;
6791 PyObject
* obj0
= 0 ;
6793 (char *) "self", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= PyInt_FromLong((long)result
);
6812 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxFont
*arg1
= (wxFont
*) 0 ;
6816 PyObject
* obj0
= 0 ;
6818 (char *) "self", NULL
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
6822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= ((wxFont
const *)arg1
)->GetFaceName();
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6843 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxFont
*arg1
= (wxFont
*) 0 ;
6847 PyObject
* obj0
= 0 ;
6849 (char *) "self", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= PyInt_FromLong((long)result
);
6868 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxFont
*arg1
= (wxFont
*) 0 ;
6871 wxNativeFontInfo
*result
;
6872 PyObject
* obj0
= 0 ;
6874 (char *) "self", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
6878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
6893 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxFont
*arg1
= (wxFont
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "self", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= PyInt_FromLong((long)result
);
6918 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
*resultobj
;
6920 wxFont
*arg1
= (wxFont
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6924 (char *) "self", NULL
6927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
6928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6949 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxFont
*arg1
= (wxFont
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6955 (char *) "self", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6980 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxFont
*arg1
= (wxFont
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6986 (char *) "self",(char *) "pointSize", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 (arg1
)->SetPointSize(arg2
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 Py_INCREF(Py_None
); resultobj
= Py_None
;
7005 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxFont
*arg1
= (wxFont
*) 0 ;
7009 PyObject
* obj0
= 0 ;
7011 (char *) "self",(char *) "family", NULL
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
7015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 (arg1
)->SetFamily(arg2
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 Py_INCREF(Py_None
); resultobj
= Py_None
;
7030 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxFont
*arg1
= (wxFont
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7036 (char *) "self",(char *) "style", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
7040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 (arg1
)->SetStyle(arg2
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7048 Py_INCREF(Py_None
); resultobj
= Py_None
;
7055 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxFont
*arg1
= (wxFont
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "self",(char *) "weight", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 (arg1
)->SetWeight(arg2
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 Py_INCREF(Py_None
); resultobj
= Py_None
;
7080 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
;
7082 wxFont
*arg1
= (wxFont
*) 0 ;
7083 wxString
*arg2
= 0 ;
7084 bool temp2
= False
;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7088 (char *) "self",(char *) "faceName", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7094 arg2
= wxString_in_helper(obj1
);
7095 if (arg2
== NULL
) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7120 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7122 wxFont
*arg1
= (wxFont
*) 0 ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "self",(char *) "underlined", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7132 arg2
= PyInt_AsLong(obj1
) ? true : false;
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 (arg1
)->SetUnderlined(arg2
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxFont
*arg1
= (wxFont
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7154 (char *) "self",(char *) "encoding", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
7158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 Py_INCREF(Py_None
); resultobj
= Py_None
;
7173 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxFont
*arg1
= (wxFont
*) 0 ;
7176 wxNativeFontInfo
*arg2
= 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "self",(char *) "info", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 Py_INCREF(Py_None
); resultobj
= Py_None
;
7203 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxFont
*arg1
= (wxFont
*) 0 ;
7206 wxString
*arg2
= 0 ;
7207 bool temp2
= False
;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7211 (char *) "self",(char *) "info", NULL
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7217 arg2
= wxString_in_helper(obj1
);
7218 if (arg2
== NULL
) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxFont
*arg1
= (wxFont
*) 0 ;
7246 wxString
*arg2
= 0 ;
7247 bool temp2
= False
;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj1
= 0 ;
7251 (char *) "self",(char *) "info", NULL
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7257 arg2
= wxString_in_helper(obj1
);
7258 if (arg2
== NULL
) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 Py_INCREF(Py_None
); resultobj
= Py_None
;
7283 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxFont
*arg1
= (wxFont
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7289 (char *) "self", NULL
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
7293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 result
= ((wxFont
const *)arg1
)->GetFamilyString();
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7314 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7316 wxFont
*arg1
= (wxFont
*) 0 ;
7318 PyObject
* obj0
= 0 ;
7320 (char *) "self", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= ((wxFont
const *)arg1
)->GetStyleString();
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7345 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxFont
*arg1
= (wxFont
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "self", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
7355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= ((wxFont
const *)arg1
)->GetWeightString();
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7376 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxFont
*arg1
= (wxFont
*) 0 ;
7379 bool arg2
= (bool) True
;
7380 PyObject
* obj0
= 0 ;
7381 PyObject
* obj1
= 0 ;
7383 (char *) "self",(char *) "no", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
7387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7389 arg2
= PyInt_AsLong(obj1
) ? true : false;
7390 if (PyErr_Occurred()) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 (arg1
)->SetNoAntiAliasing(arg2
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxFont
*arg1
= (wxFont
*) 0 ;
7410 PyObject
* obj0
= 0 ;
7412 (char *) "self", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (bool)(arg1
)->GetNoAntiAliasing();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= PyInt_FromLong((long)result
);
7431 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (int)wxFont::GetDefaultEncoding();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= PyInt_FromLong((long)result
);
7453 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7457 (char *) "encoding", NULL
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Font_SetDefaultEncoding",kwnames
,&arg1
)) goto fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
7477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7478 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
7480 return Py_BuildValue((char *)"");
7482 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxPyFontEnumerator
*result
;
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
7504 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7509 (char *) "self", NULL
7512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
7513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7531 PyObject
*arg2
= (PyObject
*) 0 ;
7532 PyObject
*arg3
= (PyObject
*) 0 ;
7534 PyObject
* obj0
= 0 ;
7535 PyObject
* obj1
= 0 ;
7536 PyObject
* obj2
= 0 ;
7537 PyObject
* obj3
= 0 ;
7539 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7546 arg4
= PyInt_AsLong(obj3
) ? true : false;
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 Py_INCREF(Py_None
); resultobj
= Py_None
;
7562 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7565 int arg2
= (int) wxFONTENCODING_SYSTEM
;
7566 bool arg3
= (bool) False
;
7568 PyObject
* obj0
= 0 ;
7569 PyObject
* obj2
= 0 ;
7571 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7577 arg3
= PyInt_AsLong(obj2
) ? true : false;
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= PyInt_FromLong((long)result
);
7594 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7597 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7598 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7600 bool temp2
= False
;
7601 PyObject
* obj0
= 0 ;
7602 PyObject
* obj1
= 0 ;
7604 (char *) "self",(char *) "facename", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7611 arg2
= wxString_in_helper(obj1
);
7612 if (arg2
== NULL
) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= PyInt_FromLong((long)result
);
7638 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7644 (char *) "self", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
7648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7663 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7667 PyObject
* obj0
= 0 ;
7669 (char *) "self", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
7673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7688 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
7690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7691 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
7693 return Py_BuildValue((char *)"");
7695 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7701 (char *) "self",(char *) "Language", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:LanguageInfo_Language_set",kwnames
,&obj0
,&arg2
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7706 if (arg1
) (arg1
)->Language
= arg2
;
7708 Py_INCREF(Py_None
); resultobj
= Py_None
;
7715 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7726 result
= (int) ((arg1
)->Language
);
7728 resultobj
= PyInt_FromLong((long)result
);
7735 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
;
7737 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7738 wxString
*arg2
= (wxString
*) 0 ;
7739 bool temp2
= False
;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7743 (char *) "self",(char *) "CanonicalName", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7749 arg2
= wxString_in_helper(obj1
);
7750 if (arg2
== NULL
) SWIG_fail
;
7753 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
7755 Py_INCREF(Py_None
); resultobj
= Py_None
;
7770 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "self", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7781 result
= (wxString
*)& ((arg1
)->CanonicalName
);
7785 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7787 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7796 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7799 wxString
*arg2
= (wxString
*) 0 ;
7800 bool temp2
= False
;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7804 (char *) "self",(char *) "Description", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7810 arg2
= wxString_in_helper(obj1
);
7811 if (arg2
== NULL
) SWIG_fail
;
7814 if (arg1
) (arg1
)->Description
= *arg2
;
7816 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
= (wxString
*)& ((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_swigregister", Pen_swigregister
, METH_VARARGS
},
15904 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
15905 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
15906 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
15907 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
15908 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
15909 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
15910 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
15911 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15912 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
15913 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
15914 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
15915 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
15916 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15917 { (char *)"Brush_GetMacTheme", (PyCFunction
) _wrap_Brush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
15918 { (char *)"Brush_SetMacTheme", (PyCFunction
) _wrap_Brush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
15919 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
15920 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
15921 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
15922 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15923 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
15924 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
15925 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
15926 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
15927 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
15928 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15929 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15930 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15931 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
15932 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
15933 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
15934 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
15935 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15936 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
15937 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
15938 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
15939 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
15940 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
15941 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
15942 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
15943 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
15944 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
15945 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
15946 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
15947 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
15948 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
15949 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
15950 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
15951 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, 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_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
15990 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
15991 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
15992 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
15993 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
15994 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
15995 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
15996 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
15997 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
15998 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
15999 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
16000 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
16001 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
16002 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
16003 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
16004 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
16005 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
16006 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
16007 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16008 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16009 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
16010 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
16011 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
16012 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
16013 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
16014 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
16015 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16016 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
16017 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16018 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
16019 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
16020 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
16021 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
16022 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
16023 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
16024 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16025 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16026 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
16027 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
16028 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16029 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16030 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16031 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16032 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16033 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16034 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16035 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16036 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16037 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16038 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16039 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16040 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16041 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16042 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
16043 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
16044 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
16045 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
16046 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
16047 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
16048 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
16049 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
16050 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
16051 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
16052 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
16053 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
16054 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
16055 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
16056 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
16057 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16058 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16059 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
16060 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
16061 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
16062 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
16063 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16064 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
16065 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16066 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16067 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
16068 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
16069 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
16070 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
16071 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16072 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
16073 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
16074 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
16075 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
16076 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
16077 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
16078 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
16079 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
16080 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
16081 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16082 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
16083 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
16084 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16085 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16086 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16087 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16088 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16089 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16090 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16091 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16092 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
16093 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
16094 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
16095 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16096 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16097 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16098 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16099 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16100 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16101 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16102 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16103 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
16104 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
16105 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
16106 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
16107 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
16108 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
16109 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
16110 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16111 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16112 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
16113 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
16114 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
16115 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
16116 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
16117 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
16118 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
16119 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
16120 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
16121 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
16122 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
16123 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
16124 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
16125 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
16126 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
16127 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
16128 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
16129 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
16130 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
16131 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
16132 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16133 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16134 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16135 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
16136 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16137 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16138 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
16139 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
16140 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
16141 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
16142 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
16143 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16144 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
16145 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16146 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16147 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
16148 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
16149 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
16150 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16151 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
16152 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16153 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16154 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
16155 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
16156 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16157 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16158 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
16159 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
16160 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
16161 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16162 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16163 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
16164 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
16165 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
16166 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
16167 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
16168 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
16169 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
16170 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
16171 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16172 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
16173 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
16174 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
16175 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16176 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
16177 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
16178 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
16179 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16180 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16181 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16182 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16183 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16184 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16185 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
16186 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
16187 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
16188 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
16189 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
16190 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
16191 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
16192 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
16193 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16194 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16195 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
16196 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16197 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
16198 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
16199 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
16200 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
16201 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
16202 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
16203 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
16204 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
16205 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
16206 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
16207 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
16208 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
16209 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
16210 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
16211 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
16212 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16213 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16214 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16215 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
16216 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
16217 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16218 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16219 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
16220 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16221 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
16222 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16223 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
16224 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
16225 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16226 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16227 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16228 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16229 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
16230 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
16231 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
16232 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
16233 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
16234 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
16235 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
16236 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
16237 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
16238 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
16239 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
16240 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16241 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16242 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16243 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
16244 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16245 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16246 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16247 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16248 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
16249 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
16250 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16251 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16252 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16253 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16254 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16255 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16256 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16257 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16258 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16259 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16260 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16261 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16262 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16263 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16264 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16265 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16266 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
16267 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16268 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16269 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16270 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16271 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16272 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16273 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
16274 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
16275 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
16276 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
16277 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16278 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
16279 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
16280 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
16281 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
16282 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
16283 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
16284 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
16285 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
16286 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
16287 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
16288 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
16289 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
16290 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
16291 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
16292 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
16293 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16294 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
16295 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
16296 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
16297 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16298 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16299 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
16300 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
16301 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
16302 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16303 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
16304 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
16305 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
16306 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
16307 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
16308 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
16309 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16310 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16311 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16312 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16313 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
16314 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
16315 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
16316 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
16317 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
16318 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
16319 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
16320 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
16321 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
16322 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
16323 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
16324 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
16325 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
16326 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
16327 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
16328 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
16329 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
16330 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16331 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
16332 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
16333 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
16334 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
16335 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16336 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
16337 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
16338 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
16339 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
16340 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16341 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
16342 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
16343 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
16344 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
16345 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
16346 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
16347 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
16348 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
16349 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
16350 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
16351 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
16352 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16353 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
16354 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
16355 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16356 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
16357 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
16358 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
16359 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
16360 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16361 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
16362 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
16363 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
16364 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
16365 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
16366 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
16367 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16368 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
16373 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16375 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16376 return (void *)((wxWindow
*) ((wxControl
*) x
));
16378 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16379 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16381 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16382 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16384 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
16385 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
16387 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
16388 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16390 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16391 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16393 static void *_p_wxPenTo_p_wxObject(void *x
) {
16394 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
16396 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
16397 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
16399 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16400 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16402 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16403 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16405 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
16406 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
16408 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16411 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16412 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16414 static void *_p_wxIconTo_p_wxObject(void *x
) {
16415 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
16417 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16418 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16420 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16421 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16423 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16424 return (void *)((wxObject
*) ((wxSizer
*) x
));
16426 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16427 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16429 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16432 static void *_p_wxPenListTo_p_wxObject(void *x
) {
16433 return (void *)((wxObject
*) ((wxPenList
*) x
));
16435 static void *_p_wxEventTo_p_wxObject(void *x
) {
16436 return (void *)((wxObject
*) ((wxEvent
*) x
));
16438 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16439 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16441 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16442 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16444 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16445 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16447 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16448 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16450 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16451 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16453 static void *_p_wxDCTo_p_wxObject(void *x
) {
16454 return (void *)((wxObject
*) ((wxDC
*) x
));
16456 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16457 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16459 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16460 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16462 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16463 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16465 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16466 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16468 static void *_p_wxControlTo_p_wxObject(void *x
) {
16469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16471 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16472 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16474 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
16475 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
16477 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16478 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16480 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
16481 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
16483 static void *_p_wxRegionTo_p_wxObject(void *x
) {
16484 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
16486 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16487 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16489 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
16490 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
16492 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
16493 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
16495 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
16496 return (void *)((wxObject
*) ((wxEffects
*) x
));
16498 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16499 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16501 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16504 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
16505 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
16507 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16508 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16510 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16511 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16513 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16514 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16516 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16519 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16520 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16522 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16523 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16525 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16526 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16528 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16529 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16531 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16532 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16534 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16535 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16537 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16540 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16543 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16546 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16547 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16549 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16550 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16552 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16553 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16555 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16556 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16558 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16559 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16561 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16562 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16564 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16567 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16568 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16570 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16573 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16574 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16576 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
16577 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16579 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
16580 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
16582 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
16583 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
16585 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
16586 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
16588 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16589 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16591 static void *_p_wxImageTo_p_wxObject(void *x
) {
16592 return (void *)((wxObject
*) ((wxImage
*) x
));
16594 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16595 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16597 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
16598 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
16600 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
16601 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
16603 static void *_p_wxImageListTo_p_wxObject(void *x
) {
16604 return (void *)((wxObject
*) ((wxImageList
*) x
));
16606 static void *_p_wxCursorTo_p_wxObject(void *x
) {
16607 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
16609 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
16610 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
16612 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
16613 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
16615 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16618 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16619 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16621 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16622 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16624 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16625 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16627 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16628 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16630 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16633 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
16634 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
16636 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
16637 return (void *)((wxObject
*) ((wxBrushList
*) x
));
16639 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
16640 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
16642 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16643 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16645 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
16646 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
16648 static void *_p_wxMaskTo_p_wxObject(void *x
) {
16649 return (void *)((wxObject
*) ((wxMask
*) x
));
16651 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16654 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16655 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16657 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16658 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16660 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16661 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16663 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16664 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16666 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16667 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16669 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16672 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16673 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16675 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16676 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16678 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16679 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16681 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16684 static void *_p_wxFontTo_p_wxObject(void *x
) {
16685 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
16687 static void *_p_wxBrushTo_p_wxObject(void *x
) {
16688 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
16690 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
16691 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
16693 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16696 static void *_p_wxColourTo_p_wxObject(void *x
) {
16697 return (void *)((wxObject
*) ((wxColour
*) x
));
16699 static void *_p_wxFontListTo_p_wxObject(void *x
) {
16700 return (void *)((wxObject
*) ((wxFontList
*) x
));
16702 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16705 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16706 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16708 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
16709 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16711 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
16712 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
16714 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
16715 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
16717 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
16718 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
16720 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
16721 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
16723 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
16724 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
16726 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
16727 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
16729 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
16730 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16732 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
16733 return (void *)((wxDC
*) ((wxClientDC
*) x
));
16735 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
16736 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
16738 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
16739 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
16741 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
16742 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
16744 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
16745 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
16747 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
16748 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
16750 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
16751 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
16753 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
16754 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
16756 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
16757 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
16759 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
16760 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
16762 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
16763 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
16765 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
16766 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
16768 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
16769 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
16771 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
16772 return (void *)((wxPen
*) ((wxPyPen
*) x
));
16774 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
16775 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
16776 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
16777 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}};
16778 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
16779 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
16780 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
16781 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
16782 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
16783 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
16784 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
16785 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
16786 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}};
16787 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
16788 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
16789 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}};
16790 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
16791 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
16792 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
16793 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
16794 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
16795 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}};
16796 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
16797 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
16798 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
16799 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
16800 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
16801 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
16802 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
16803 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
16804 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
16805 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
16806 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
16807 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
16808 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
16809 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}};
16810 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
16811 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
16812 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
16813 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
16814 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
16815 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
16816 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
16817 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
16818 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
16819 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
16820 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
16821 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
16822 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
16823 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
16824 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
16825 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
16826 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
16827 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
16828 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
16830 static swig_type_info
*swig_types_initial
[] = {
16831 _swigt__p_wxPostScriptDC
,
16833 _swigt__p_wxColour
,
16835 _swigt__p_wxMirrorDC
,
16837 _swigt__p_wxPyFontEnumerator
,
16838 _swigt__p_wxIconLocation
,
16840 _swigt__p_wxMetaFileDC
,
16843 _swigt__p_wxWindow
,
16846 _swigt__p_wxMemoryDC
,
16847 _swigt__p_wxFontMapper
,
16848 _swigt__p_wxEffects
,
16849 _swigt__p_wxNativeEncodingInfo
,
16850 _swigt__p_wxPalette
,
16851 _swigt__p_wxBitmap
,
16852 _swigt__p_wxObject
,
16853 _swigt__p_wxRegionIterator
,
16855 _swigt__p_wxString
,
16856 _swigt__p_wxPrinterDC
,
16857 _swigt__p_wxIconBundle
,
16860 _swigt__p_wxScreenDC
,
16861 _swigt__p_wxCursor
,
16862 _swigt__p_wxClientDC
,
16863 _swigt__p_wxBufferedDC
,
16864 _swigt__p_wxImageList
,
16865 _swigt__p_unsigned_char
,
16866 _swigt__p_wxGDIObject
,
16867 _swigt__p_wxLocale
,
16869 _swigt__p_wxRegion
,
16870 _swigt__p_wxLanguageInfo
,
16871 _swigt__p_wxConfigBase
,
16872 _swigt__p_wxWindowDC
,
16873 _swigt__p_wxPrintData
,
16874 _swigt__p_wxBrushList
,
16875 _swigt__p_wxFontList
,
16877 _swigt__p_wxBufferedPaintDC
,
16878 _swigt__p_wxPaintDC
,
16879 _swigt__p_wxPenList
,
16882 _swigt__p_wxMetaFile
,
16883 _swigt__p_wxNativeFontInfo
,
16884 _swigt__p_wxEncodingConverter
,
16885 _swigt__p_wxColourDatabase
,
16890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16892 static swig_const_info swig_const_table
[] = {
16893 { SWIG_PY_INT
, (char *)"OutRegion", (long) wxOutRegion
, 0, 0, 0},
16894 { SWIG_PY_INT
, (char *)"PartRegion", (long) wxPartRegion
, 0, 0, 0},
16895 { SWIG_PY_INT
, (char *)"InRegion", (long) wxInRegion
, 0, 0, 0},
16896 { SWIG_PY_INT
, (char *)"FONTFAMILY_DEFAULT", (long) wxFONTFAMILY_DEFAULT
, 0, 0, 0},
16897 { SWIG_PY_INT
, (char *)"FONTFAMILY_DECORATIVE", (long) wxFONTFAMILY_DECORATIVE
, 0, 0, 0},
16898 { SWIG_PY_INT
, (char *)"FONTFAMILY_ROMAN", (long) wxFONTFAMILY_ROMAN
, 0, 0, 0},
16899 { SWIG_PY_INT
, (char *)"FONTFAMILY_SCRIPT", (long) wxFONTFAMILY_SCRIPT
, 0, 0, 0},
16900 { SWIG_PY_INT
, (char *)"FONTFAMILY_SWISS", (long) wxFONTFAMILY_SWISS
, 0, 0, 0},
16901 { SWIG_PY_INT
, (char *)"FONTFAMILY_MODERN", (long) wxFONTFAMILY_MODERN
, 0, 0, 0},
16902 { SWIG_PY_INT
, (char *)"FONTFAMILY_TELETYPE", (long) wxFONTFAMILY_TELETYPE
, 0, 0, 0},
16903 { SWIG_PY_INT
, (char *)"FONTFAMILY_MAX", (long) wxFONTFAMILY_MAX
, 0, 0, 0},
16904 { SWIG_PY_INT
, (char *)"FONTFAMILY_UNKNOWN", (long) wxFONTFAMILY_UNKNOWN
, 0, 0, 0},
16905 { SWIG_PY_INT
, (char *)"FONTSTYLE_NORMAL", (long) wxFONTSTYLE_NORMAL
, 0, 0, 0},
16906 { SWIG_PY_INT
, (char *)"FONTSTYLE_ITALIC", (long) wxFONTSTYLE_ITALIC
, 0, 0, 0},
16907 { SWIG_PY_INT
, (char *)"FONTSTYLE_SLANT", (long) wxFONTSTYLE_SLANT
, 0, 0, 0},
16908 { SWIG_PY_INT
, (char *)"FONTSTYLE_MAX", (long) wxFONTSTYLE_MAX
, 0, 0, 0},
16909 { SWIG_PY_INT
, (char *)"FONTWEIGHT_NORMAL", (long) wxFONTWEIGHT_NORMAL
, 0, 0, 0},
16910 { SWIG_PY_INT
, (char *)"FONTWEIGHT_LIGHT", (long) wxFONTWEIGHT_LIGHT
, 0, 0, 0},
16911 { SWIG_PY_INT
, (char *)"FONTWEIGHT_BOLD", (long) wxFONTWEIGHT_BOLD
, 0, 0, 0},
16912 { SWIG_PY_INT
, (char *)"FONTWEIGHT_MAX", (long) wxFONTWEIGHT_MAX
, 0, 0, 0},
16913 { SWIG_PY_INT
, (char *)"FONTFLAG_DEFAULT", (long) wxFONTFLAG_DEFAULT
, 0, 0, 0},
16914 { SWIG_PY_INT
, (char *)"FONTFLAG_ITALIC", (long) wxFONTFLAG_ITALIC
, 0, 0, 0},
16915 { SWIG_PY_INT
, (char *)"FONTFLAG_SLANT", (long) wxFONTFLAG_SLANT
, 0, 0, 0},
16916 { SWIG_PY_INT
, (char *)"FONTFLAG_LIGHT", (long) wxFONTFLAG_LIGHT
, 0, 0, 0},
16917 { SWIG_PY_INT
, (char *)"FONTFLAG_BOLD", (long) wxFONTFLAG_BOLD
, 0, 0, 0},
16918 { SWIG_PY_INT
, (char *)"FONTFLAG_ANTIALIASED", (long) wxFONTFLAG_ANTIALIASED
, 0, 0, 0},
16919 { SWIG_PY_INT
, (char *)"FONTFLAG_NOT_ANTIALIASED", (long) wxFONTFLAG_NOT_ANTIALIASED
, 0, 0, 0},
16920 { SWIG_PY_INT
, (char *)"FONTFLAG_UNDERLINED", (long) wxFONTFLAG_UNDERLINED
, 0, 0, 0},
16921 { SWIG_PY_INT
, (char *)"FONTFLAG_STRIKETHROUGH", (long) wxFONTFLAG_STRIKETHROUGH
, 0, 0, 0},
16922 { SWIG_PY_INT
, (char *)"FONTFLAG_MASK", (long) wxFONTFLAG_MASK
, 0, 0, 0},
16923 { SWIG_PY_INT
, (char *)"FONTENCODING_SYSTEM", (long) wxFONTENCODING_SYSTEM
, 0, 0, 0},
16924 { SWIG_PY_INT
, (char *)"FONTENCODING_DEFAULT", (long) wxFONTENCODING_DEFAULT
, 0, 0, 0},
16925 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_1", (long) wxFONTENCODING_ISO8859_1
, 0, 0, 0},
16926 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_2", (long) wxFONTENCODING_ISO8859_2
, 0, 0, 0},
16927 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_3", (long) wxFONTENCODING_ISO8859_3
, 0, 0, 0},
16928 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_4", (long) wxFONTENCODING_ISO8859_4
, 0, 0, 0},
16929 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_5", (long) wxFONTENCODING_ISO8859_5
, 0, 0, 0},
16930 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_6", (long) wxFONTENCODING_ISO8859_6
, 0, 0, 0},
16931 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_7", (long) wxFONTENCODING_ISO8859_7
, 0, 0, 0},
16932 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_8", (long) wxFONTENCODING_ISO8859_8
, 0, 0, 0},
16933 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_9", (long) wxFONTENCODING_ISO8859_9
, 0, 0, 0},
16934 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_10", (long) wxFONTENCODING_ISO8859_10
, 0, 0, 0},
16935 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_11", (long) wxFONTENCODING_ISO8859_11
, 0, 0, 0},
16936 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_12", (long) wxFONTENCODING_ISO8859_12
, 0, 0, 0},
16937 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_13", (long) wxFONTENCODING_ISO8859_13
, 0, 0, 0},
16938 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_14", (long) wxFONTENCODING_ISO8859_14
, 0, 0, 0},
16939 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_15", (long) wxFONTENCODING_ISO8859_15
, 0, 0, 0},
16940 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_MAX", (long) wxFONTENCODING_ISO8859_MAX
, 0, 0, 0},
16941 { SWIG_PY_INT
, (char *)"FONTENCODING_KOI8", (long) wxFONTENCODING_KOI8
, 0, 0, 0},
16942 { SWIG_PY_INT
, (char *)"FONTENCODING_ALTERNATIVE", (long) wxFONTENCODING_ALTERNATIVE
, 0, 0, 0},
16943 { SWIG_PY_INT
, (char *)"FONTENCODING_BULGARIAN", (long) wxFONTENCODING_BULGARIAN
, 0, 0, 0},
16944 { SWIG_PY_INT
, (char *)"FONTENCODING_CP437", (long) wxFONTENCODING_CP437
, 0, 0, 0},
16945 { SWIG_PY_INT
, (char *)"FONTENCODING_CP850", (long) wxFONTENCODING_CP850
, 0, 0, 0},
16946 { SWIG_PY_INT
, (char *)"FONTENCODING_CP852", (long) wxFONTENCODING_CP852
, 0, 0, 0},
16947 { SWIG_PY_INT
, (char *)"FONTENCODING_CP855", (long) wxFONTENCODING_CP855
, 0, 0, 0},
16948 { SWIG_PY_INT
, (char *)"FONTENCODING_CP866", (long) wxFONTENCODING_CP866
, 0, 0, 0},
16949 { SWIG_PY_INT
, (char *)"FONTENCODING_CP874", (long) wxFONTENCODING_CP874
, 0, 0, 0},
16950 { SWIG_PY_INT
, (char *)"FONTENCODING_CP932", (long) wxFONTENCODING_CP932
, 0, 0, 0},
16951 { SWIG_PY_INT
, (char *)"FONTENCODING_CP936", (long) wxFONTENCODING_CP936
, 0, 0, 0},
16952 { SWIG_PY_INT
, (char *)"FONTENCODING_CP949", (long) wxFONTENCODING_CP949
, 0, 0, 0},
16953 { SWIG_PY_INT
, (char *)"FONTENCODING_CP950", (long) wxFONTENCODING_CP950
, 0, 0, 0},
16954 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1250", (long) wxFONTENCODING_CP1250
, 0, 0, 0},
16955 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1251", (long) wxFONTENCODING_CP1251
, 0, 0, 0},
16956 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1252", (long) wxFONTENCODING_CP1252
, 0, 0, 0},
16957 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1253", (long) wxFONTENCODING_CP1253
, 0, 0, 0},
16958 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1254", (long) wxFONTENCODING_CP1254
, 0, 0, 0},
16959 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1255", (long) wxFONTENCODING_CP1255
, 0, 0, 0},
16960 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1256", (long) wxFONTENCODING_CP1256
, 0, 0, 0},
16961 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1257", (long) wxFONTENCODING_CP1257
, 0, 0, 0},
16962 { SWIG_PY_INT
, (char *)"FONTENCODING_CP12_MAX", (long) wxFONTENCODING_CP12_MAX
, 0, 0, 0},
16963 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF7", (long) wxFONTENCODING_UTF7
, 0, 0, 0},
16964 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF8", (long) wxFONTENCODING_UTF8
, 0, 0, 0},
16965 { SWIG_PY_INT
, (char *)"FONTENCODING_EUC_JP", (long) wxFONTENCODING_EUC_JP
, 0, 0, 0},
16966 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16BE", (long) wxFONTENCODING_UTF16BE
, 0, 0, 0},
16967 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16LE", (long) wxFONTENCODING_UTF16LE
, 0, 0, 0},
16968 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32BE", (long) wxFONTENCODING_UTF32BE
, 0, 0, 0},
16969 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32LE", (long) wxFONTENCODING_UTF32LE
, 0, 0, 0},
16970 { SWIG_PY_INT
, (char *)"FONTENCODING_MAX", (long) wxFONTENCODING_MAX
, 0, 0, 0},
16971 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16", (long) wxFONTENCODING_UTF16
, 0, 0, 0},
16972 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32", (long) wxFONTENCODING_UTF32
, 0, 0, 0},
16973 { SWIG_PY_INT
, (char *)"FONTENCODING_UNICODE", (long) wxFONTENCODING_UNICODE
, 0, 0, 0},
16974 { SWIG_PY_INT
, (char *)"FONTENCODING_GB2312", (long) wxFONTENCODING_GB2312
, 0, 0, 0},
16975 { SWIG_PY_INT
, (char *)"FONTENCODING_BIG5", (long) wxFONTENCODING_BIG5
, 0, 0, 0},
16976 { SWIG_PY_INT
, (char *)"FONTENCODING_SHIFT_JIS", (long) wxFONTENCODING_SHIFT_JIS
, 0, 0, 0},
16977 { SWIG_PY_INT
, (char *)"LANGUAGE_DEFAULT", (long) wxLANGUAGE_DEFAULT
, 0, 0, 0},
16978 { SWIG_PY_INT
, (char *)"LANGUAGE_UNKNOWN", (long) wxLANGUAGE_UNKNOWN
, 0, 0, 0},
16979 { SWIG_PY_INT
, (char *)"LANGUAGE_ABKHAZIAN", (long) wxLANGUAGE_ABKHAZIAN
, 0, 0, 0},
16980 { SWIG_PY_INT
, (char *)"LANGUAGE_AFAR", (long) wxLANGUAGE_AFAR
, 0, 0, 0},
16981 { SWIG_PY_INT
, (char *)"LANGUAGE_AFRIKAANS", (long) wxLANGUAGE_AFRIKAANS
, 0, 0, 0},
16982 { SWIG_PY_INT
, (char *)"LANGUAGE_ALBANIAN", (long) wxLANGUAGE_ALBANIAN
, 0, 0, 0},
16983 { SWIG_PY_INT
, (char *)"LANGUAGE_AMHARIC", (long) wxLANGUAGE_AMHARIC
, 0, 0, 0},
16984 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC", (long) wxLANGUAGE_ARABIC
, 0, 0, 0},
16985 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_ALGERIA", (long) wxLANGUAGE_ARABIC_ALGERIA
, 0, 0, 0},
16986 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_BAHRAIN", (long) wxLANGUAGE_ARABIC_BAHRAIN
, 0, 0, 0},
16987 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_EGYPT", (long) wxLANGUAGE_ARABIC_EGYPT
, 0, 0, 0},
16988 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_IRAQ", (long) wxLANGUAGE_ARABIC_IRAQ
, 0, 0, 0},
16989 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_JORDAN", (long) wxLANGUAGE_ARABIC_JORDAN
, 0, 0, 0},
16990 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_KUWAIT", (long) wxLANGUAGE_ARABIC_KUWAIT
, 0, 0, 0},
16991 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LEBANON", (long) wxLANGUAGE_ARABIC_LEBANON
, 0, 0, 0},
16992 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LIBYA", (long) wxLANGUAGE_ARABIC_LIBYA
, 0, 0, 0},
16993 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_MOROCCO", (long) wxLANGUAGE_ARABIC_MOROCCO
, 0, 0, 0},
16994 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_OMAN", (long) wxLANGUAGE_ARABIC_OMAN
, 0, 0, 0},
16995 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_QATAR", (long) wxLANGUAGE_ARABIC_QATAR
, 0, 0, 0},
16996 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SAUDI_ARABIA", (long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
, 0, 0, 0},
16997 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SUDAN", (long) wxLANGUAGE_ARABIC_SUDAN
, 0, 0, 0},
16998 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SYRIA", (long) wxLANGUAGE_ARABIC_SYRIA
, 0, 0, 0},
16999 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_TUNISIA", (long) wxLANGUAGE_ARABIC_TUNISIA
, 0, 0, 0},
17000 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_UAE", (long) wxLANGUAGE_ARABIC_UAE
, 0, 0, 0},
17001 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_YEMEN", (long) wxLANGUAGE_ARABIC_YEMEN
, 0, 0, 0},
17002 { SWIG_PY_INT
, (char *)"LANGUAGE_ARMENIAN", (long) wxLANGUAGE_ARMENIAN
, 0, 0, 0},
17003 { SWIG_PY_INT
, (char *)"LANGUAGE_ASSAMESE", (long) wxLANGUAGE_ASSAMESE
, 0, 0, 0},
17004 { SWIG_PY_INT
, (char *)"LANGUAGE_AYMARA", (long) wxLANGUAGE_AYMARA
, 0, 0, 0},
17005 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI", (long) wxLANGUAGE_AZERI
, 0, 0, 0},
17006 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_CYRILLIC", (long) wxLANGUAGE_AZERI_CYRILLIC
, 0, 0, 0},
17007 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_LATIN", (long) wxLANGUAGE_AZERI_LATIN
, 0, 0, 0},
17008 { SWIG_PY_INT
, (char *)"LANGUAGE_BASHKIR", (long) wxLANGUAGE_BASHKIR
, 0, 0, 0},
17009 { SWIG_PY_INT
, (char *)"LANGUAGE_BASQUE", (long) wxLANGUAGE_BASQUE
, 0, 0, 0},
17010 { SWIG_PY_INT
, (char *)"LANGUAGE_BELARUSIAN", (long) wxLANGUAGE_BELARUSIAN
, 0, 0, 0},
17011 { SWIG_PY_INT
, (char *)"LANGUAGE_BENGALI", (long) wxLANGUAGE_BENGALI
, 0, 0, 0},
17012 { SWIG_PY_INT
, (char *)"LANGUAGE_BHUTANI", (long) wxLANGUAGE_BHUTANI
, 0, 0, 0},
17013 { SWIG_PY_INT
, (char *)"LANGUAGE_BIHARI", (long) wxLANGUAGE_BIHARI
, 0, 0, 0},
17014 { SWIG_PY_INT
, (char *)"LANGUAGE_BISLAMA", (long) wxLANGUAGE_BISLAMA
, 0, 0, 0},
17015 { SWIG_PY_INT
, (char *)"LANGUAGE_BRETON", (long) wxLANGUAGE_BRETON
, 0, 0, 0},
17016 { SWIG_PY_INT
, (char *)"LANGUAGE_BULGARIAN", (long) wxLANGUAGE_BULGARIAN
, 0, 0, 0},
17017 { SWIG_PY_INT
, (char *)"LANGUAGE_BURMESE", (long) wxLANGUAGE_BURMESE
, 0, 0, 0},
17018 { SWIG_PY_INT
, (char *)"LANGUAGE_CAMBODIAN", (long) wxLANGUAGE_CAMBODIAN
, 0, 0, 0},
17019 { SWIG_PY_INT
, (char *)"LANGUAGE_CATALAN", (long) wxLANGUAGE_CATALAN
, 0, 0, 0},
17020 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE", (long) wxLANGUAGE_CHINESE
, 0, 0, 0},
17021 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SIMPLIFIED", (long) wxLANGUAGE_CHINESE_SIMPLIFIED
, 0, 0, 0},
17022 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TRADITIONAL", (long) wxLANGUAGE_CHINESE_TRADITIONAL
, 0, 0, 0},
17023 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_HONGKONG", (long) wxLANGUAGE_CHINESE_HONGKONG
, 0, 0, 0},
17024 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_MACAU", (long) wxLANGUAGE_CHINESE_MACAU
, 0, 0, 0},
17025 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SINGAPORE", (long) wxLANGUAGE_CHINESE_SINGAPORE
, 0, 0, 0},
17026 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TAIWAN", (long) wxLANGUAGE_CHINESE_TAIWAN
, 0, 0, 0},
17027 { SWIG_PY_INT
, (char *)"LANGUAGE_CORSICAN", (long) wxLANGUAGE_CORSICAN
, 0, 0, 0},
17028 { SWIG_PY_INT
, (char *)"LANGUAGE_CROATIAN", (long) wxLANGUAGE_CROATIAN
, 0, 0, 0},
17029 { SWIG_PY_INT
, (char *)"LANGUAGE_CZECH", (long) wxLANGUAGE_CZECH
, 0, 0, 0},
17030 { SWIG_PY_INT
, (char *)"LANGUAGE_DANISH", (long) wxLANGUAGE_DANISH
, 0, 0, 0},
17031 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH", (long) wxLANGUAGE_DUTCH
, 0, 0, 0},
17032 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH_BELGIAN", (long) wxLANGUAGE_DUTCH_BELGIAN
, 0, 0, 0},
17033 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH", (long) wxLANGUAGE_ENGLISH
, 0, 0, 0},
17034 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_UK", (long) wxLANGUAGE_ENGLISH_UK
, 0, 0, 0},
17035 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_US", (long) wxLANGUAGE_ENGLISH_US
, 0, 0, 0},
17036 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_AUSTRALIA", (long) wxLANGUAGE_ENGLISH_AUSTRALIA
, 0, 0, 0},
17037 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BELIZE", (long) wxLANGUAGE_ENGLISH_BELIZE
, 0, 0, 0},
17038 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BOTSWANA", (long) wxLANGUAGE_ENGLISH_BOTSWANA
, 0, 0, 0},
17039 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CANADA", (long) wxLANGUAGE_ENGLISH_CANADA
, 0, 0, 0},
17040 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CARIBBEAN", (long) wxLANGUAGE_ENGLISH_CARIBBEAN
, 0, 0, 0},
17041 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_DENMARK", (long) wxLANGUAGE_ENGLISH_DENMARK
, 0, 0, 0},
17042 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_EIRE", (long) wxLANGUAGE_ENGLISH_EIRE
, 0, 0, 0},
17043 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_JAMAICA", (long) wxLANGUAGE_ENGLISH_JAMAICA
, 0, 0, 0},
17044 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_NEW_ZEALAND", (long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
, 0, 0, 0},
17045 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_PHILIPPINES", (long) wxLANGUAGE_ENGLISH_PHILIPPINES
, 0, 0, 0},
17046 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_SOUTH_AFRICA", (long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
, 0, 0, 0},
17047 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_TRINIDAD", (long) wxLANGUAGE_ENGLISH_TRINIDAD
, 0, 0, 0},
17048 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_ZIMBABWE", (long) wxLANGUAGE_ENGLISH_ZIMBABWE
, 0, 0, 0},
17049 { SWIG_PY_INT
, (char *)"LANGUAGE_ESPERANTO", (long) wxLANGUAGE_ESPERANTO
, 0, 0, 0},
17050 { SWIG_PY_INT
, (char *)"LANGUAGE_ESTONIAN", (long) wxLANGUAGE_ESTONIAN
, 0, 0, 0},
17051 { SWIG_PY_INT
, (char *)"LANGUAGE_FAEROESE", (long) wxLANGUAGE_FAEROESE
, 0, 0, 0},
17052 { SWIG_PY_INT
, (char *)"LANGUAGE_FARSI", (long) wxLANGUAGE_FARSI
, 0, 0, 0},
17053 { SWIG_PY_INT
, (char *)"LANGUAGE_FIJI", (long) wxLANGUAGE_FIJI
, 0, 0, 0},
17054 { SWIG_PY_INT
, (char *)"LANGUAGE_FINNISH", (long) wxLANGUAGE_FINNISH
, 0, 0, 0},
17055 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH", (long) wxLANGUAGE_FRENCH
, 0, 0, 0},
17056 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_BELGIAN", (long) wxLANGUAGE_FRENCH_BELGIAN
, 0, 0, 0},
17057 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_CANADIAN", (long) wxLANGUAGE_FRENCH_CANADIAN
, 0, 0, 0},
17058 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_LUXEMBOURG", (long) wxLANGUAGE_FRENCH_LUXEMBOURG
, 0, 0, 0},
17059 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_MONACO", (long) wxLANGUAGE_FRENCH_MONACO
, 0, 0, 0},
17060 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_SWISS", (long) wxLANGUAGE_FRENCH_SWISS
, 0, 0, 0},
17061 { SWIG_PY_INT
, (char *)"LANGUAGE_FRISIAN", (long) wxLANGUAGE_FRISIAN
, 0, 0, 0},
17062 { SWIG_PY_INT
, (char *)"LANGUAGE_GALICIAN", (long) wxLANGUAGE_GALICIAN
, 0, 0, 0},
17063 { SWIG_PY_INT
, (char *)"LANGUAGE_GEORGIAN", (long) wxLANGUAGE_GEORGIAN
, 0, 0, 0},
17064 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN", (long) wxLANGUAGE_GERMAN
, 0, 0, 0},
17065 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_AUSTRIAN", (long) wxLANGUAGE_GERMAN_AUSTRIAN
, 0, 0, 0},
17066 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_BELGIUM", (long) wxLANGUAGE_GERMAN_BELGIUM
, 0, 0, 0},
17067 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LIECHTENSTEIN", (long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
, 0, 0, 0},
17068 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LUXEMBOURG", (long) wxLANGUAGE_GERMAN_LUXEMBOURG
, 0, 0, 0},
17069 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_SWISS", (long) wxLANGUAGE_GERMAN_SWISS
, 0, 0, 0},
17070 { SWIG_PY_INT
, (char *)"LANGUAGE_GREEK", (long) wxLANGUAGE_GREEK
, 0, 0, 0},
17071 { SWIG_PY_INT
, (char *)"LANGUAGE_GREENLANDIC", (long) wxLANGUAGE_GREENLANDIC
, 0, 0, 0},
17072 { SWIG_PY_INT
, (char *)"LANGUAGE_GUARANI", (long) wxLANGUAGE_GUARANI
, 0, 0, 0},
17073 { SWIG_PY_INT
, (char *)"LANGUAGE_GUJARATI", (long) wxLANGUAGE_GUJARATI
, 0, 0, 0},
17074 { SWIG_PY_INT
, (char *)"LANGUAGE_HAUSA", (long) wxLANGUAGE_HAUSA
, 0, 0, 0},
17075 { SWIG_PY_INT
, (char *)"LANGUAGE_HEBREW", (long) wxLANGUAGE_HEBREW
, 0, 0, 0},
17076 { SWIG_PY_INT
, (char *)"LANGUAGE_HINDI", (long) wxLANGUAGE_HINDI
, 0, 0, 0},
17077 { SWIG_PY_INT
, (char *)"LANGUAGE_HUNGARIAN", (long) wxLANGUAGE_HUNGARIAN
, 0, 0, 0},
17078 { SWIG_PY_INT
, (char *)"LANGUAGE_ICELANDIC", (long) wxLANGUAGE_ICELANDIC
, 0, 0, 0},
17079 { SWIG_PY_INT
, (char *)"LANGUAGE_INDONESIAN", (long) wxLANGUAGE_INDONESIAN
, 0, 0, 0},
17080 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUA", (long) wxLANGUAGE_INTERLINGUA
, 0, 0, 0},
17081 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUE", (long) wxLANGUAGE_INTERLINGUE
, 0, 0, 0},
17082 { SWIG_PY_INT
, (char *)"LANGUAGE_INUKTITUT", (long) wxLANGUAGE_INUKTITUT
, 0, 0, 0},
17083 { SWIG_PY_INT
, (char *)"LANGUAGE_INUPIAK", (long) wxLANGUAGE_INUPIAK
, 0, 0, 0},
17084 { SWIG_PY_INT
, (char *)"LANGUAGE_IRISH", (long) wxLANGUAGE_IRISH
, 0, 0, 0},
17085 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN", (long) wxLANGUAGE_ITALIAN
, 0, 0, 0},
17086 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN_SWISS", (long) wxLANGUAGE_ITALIAN_SWISS
, 0, 0, 0},
17087 { SWIG_PY_INT
, (char *)"LANGUAGE_JAPANESE", (long) wxLANGUAGE_JAPANESE
, 0, 0, 0},
17088 { SWIG_PY_INT
, (char *)"LANGUAGE_JAVANESE", (long) wxLANGUAGE_JAVANESE
, 0, 0, 0},
17089 { SWIG_PY_INT
, (char *)"LANGUAGE_KANNADA", (long) wxLANGUAGE_KANNADA
, 0, 0, 0},
17090 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI", (long) wxLANGUAGE_KASHMIRI
, 0, 0, 0},
17091 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI_INDIA", (long) wxLANGUAGE_KASHMIRI_INDIA
, 0, 0, 0},
17092 { SWIG_PY_INT
, (char *)"LANGUAGE_KAZAKH", (long) wxLANGUAGE_KAZAKH
, 0, 0, 0},
17093 { SWIG_PY_INT
, (char *)"LANGUAGE_KERNEWEK", (long) wxLANGUAGE_KERNEWEK
, 0, 0, 0},
17094 { SWIG_PY_INT
, (char *)"LANGUAGE_KINYARWANDA", (long) wxLANGUAGE_KINYARWANDA
, 0, 0, 0},
17095 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRGHIZ", (long) wxLANGUAGE_KIRGHIZ
, 0, 0, 0},
17096 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRUNDI", (long) wxLANGUAGE_KIRUNDI
, 0, 0, 0},
17097 { SWIG_PY_INT
, (char *)"LANGUAGE_KONKANI", (long) wxLANGUAGE_KONKANI
, 0, 0, 0},
17098 { SWIG_PY_INT
, (char *)"LANGUAGE_KOREAN", (long) wxLANGUAGE_KOREAN
, 0, 0, 0},
17099 { SWIG_PY_INT
, (char *)"LANGUAGE_KURDISH", (long) wxLANGUAGE_KURDISH
, 0, 0, 0},
17100 { SWIG_PY_INT
, (char *)"LANGUAGE_LAOTHIAN", (long) wxLANGUAGE_LAOTHIAN
, 0, 0, 0},
17101 { SWIG_PY_INT
, (char *)"LANGUAGE_LATIN", (long) wxLANGUAGE_LATIN
, 0, 0, 0},
17102 { SWIG_PY_INT
, (char *)"LANGUAGE_LATVIAN", (long) wxLANGUAGE_LATVIAN
, 0, 0, 0},
17103 { SWIG_PY_INT
, (char *)"LANGUAGE_LINGALA", (long) wxLANGUAGE_LINGALA
, 0, 0, 0},
17104 { SWIG_PY_INT
, (char *)"LANGUAGE_LITHUANIAN", (long) wxLANGUAGE_LITHUANIAN
, 0, 0, 0},
17105 { SWIG_PY_INT
, (char *)"LANGUAGE_MACEDONIAN", (long) wxLANGUAGE_MACEDONIAN
, 0, 0, 0},
17106 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAGASY", (long) wxLANGUAGE_MALAGASY
, 0, 0, 0},
17107 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY", (long) wxLANGUAGE_MALAY
, 0, 0, 0},
17108 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAYALAM", (long) wxLANGUAGE_MALAYALAM
, 0, 0, 0},
17109 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", (long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
, 0, 0, 0},
17110 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_MALAYSIA", (long) wxLANGUAGE_MALAY_MALAYSIA
, 0, 0, 0},
17111 { SWIG_PY_INT
, (char *)"LANGUAGE_MALTESE", (long) wxLANGUAGE_MALTESE
, 0, 0, 0},
17112 { SWIG_PY_INT
, (char *)"LANGUAGE_MANIPURI", (long) wxLANGUAGE_MANIPURI
, 0, 0, 0},
17113 { SWIG_PY_INT
, (char *)"LANGUAGE_MAORI", (long) wxLANGUAGE_MAORI
, 0, 0, 0},
17114 { SWIG_PY_INT
, (char *)"LANGUAGE_MARATHI", (long) wxLANGUAGE_MARATHI
, 0, 0, 0},
17115 { SWIG_PY_INT
, (char *)"LANGUAGE_MOLDAVIAN", (long) wxLANGUAGE_MOLDAVIAN
, 0, 0, 0},
17116 { SWIG_PY_INT
, (char *)"LANGUAGE_MONGOLIAN", (long) wxLANGUAGE_MONGOLIAN
, 0, 0, 0},
17117 { SWIG_PY_INT
, (char *)"LANGUAGE_NAURU", (long) wxLANGUAGE_NAURU
, 0, 0, 0},
17118 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI", (long) wxLANGUAGE_NEPALI
, 0, 0, 0},
17119 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI_INDIA", (long) wxLANGUAGE_NEPALI_INDIA
, 0, 0, 0},
17120 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_BOKMAL", (long) wxLANGUAGE_NORWEGIAN_BOKMAL
, 0, 0, 0},
17121 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_NYNORSK", (long) wxLANGUAGE_NORWEGIAN_NYNORSK
, 0, 0, 0},
17122 { SWIG_PY_INT
, (char *)"LANGUAGE_OCCITAN", (long) wxLANGUAGE_OCCITAN
, 0, 0, 0},
17123 { SWIG_PY_INT
, (char *)"LANGUAGE_ORIYA", (long) wxLANGUAGE_ORIYA
, 0, 0, 0},
17124 { SWIG_PY_INT
, (char *)"LANGUAGE_OROMO", (long) wxLANGUAGE_OROMO
, 0, 0, 0},
17125 { SWIG_PY_INT
, (char *)"LANGUAGE_PASHTO", (long) wxLANGUAGE_PASHTO
, 0, 0, 0},
17126 { SWIG_PY_INT
, (char *)"LANGUAGE_POLISH", (long) wxLANGUAGE_POLISH
, 0, 0, 0},
17127 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE", (long) wxLANGUAGE_PORTUGUESE
, 0, 0, 0},
17128 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE_BRAZILIAN", (long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
, 0, 0, 0},
17129 { SWIG_PY_INT
, (char *)"LANGUAGE_PUNJABI", (long) wxLANGUAGE_PUNJABI
, 0, 0, 0},
17130 { SWIG_PY_INT
, (char *)"LANGUAGE_QUECHUA", (long) wxLANGUAGE_QUECHUA
, 0, 0, 0},
17131 { SWIG_PY_INT
, (char *)"LANGUAGE_RHAETO_ROMANCE", (long) wxLANGUAGE_RHAETO_ROMANCE
, 0, 0, 0},
17132 { SWIG_PY_INT
, (char *)"LANGUAGE_ROMANIAN", (long) wxLANGUAGE_ROMANIAN
, 0, 0, 0},
17133 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN", (long) wxLANGUAGE_RUSSIAN
, 0, 0, 0},
17134 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN_UKRAINE", (long) wxLANGUAGE_RUSSIAN_UKRAINE
, 0, 0, 0},
17135 { SWIG_PY_INT
, (char *)"LANGUAGE_SAMOAN", (long) wxLANGUAGE_SAMOAN
, 0, 0, 0},
17136 { SWIG_PY_INT
, (char *)"LANGUAGE_SANGHO", (long) wxLANGUAGE_SANGHO
, 0, 0, 0},
17137 { SWIG_PY_INT
, (char *)"LANGUAGE_SANSKRIT", (long) wxLANGUAGE_SANSKRIT
, 0, 0, 0},
17138 { SWIG_PY_INT
, (char *)"LANGUAGE_SCOTS_GAELIC", (long) wxLANGUAGE_SCOTS_GAELIC
, 0, 0, 0},
17139 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN", (long) wxLANGUAGE_SERBIAN
, 0, 0, 0},
17140 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_CYRILLIC", (long) wxLANGUAGE_SERBIAN_CYRILLIC
, 0, 0, 0},
17141 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_LATIN", (long) wxLANGUAGE_SERBIAN_LATIN
, 0, 0, 0},
17142 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBO_CROATIAN", (long) wxLANGUAGE_SERBO_CROATIAN
, 0, 0, 0},
17143 { SWIG_PY_INT
, (char *)"LANGUAGE_SESOTHO", (long) wxLANGUAGE_SESOTHO
, 0, 0, 0},
17144 { SWIG_PY_INT
, (char *)"LANGUAGE_SETSWANA", (long) wxLANGUAGE_SETSWANA
, 0, 0, 0},
17145 { SWIG_PY_INT
, (char *)"LANGUAGE_SHONA", (long) wxLANGUAGE_SHONA
, 0, 0, 0},
17146 { SWIG_PY_INT
, (char *)"LANGUAGE_SINDHI", (long) wxLANGUAGE_SINDHI
, 0, 0, 0},
17147 { SWIG_PY_INT
, (char *)"LANGUAGE_SINHALESE", (long) wxLANGUAGE_SINHALESE
, 0, 0, 0},
17148 { SWIG_PY_INT
, (char *)"LANGUAGE_SISWATI", (long) wxLANGUAGE_SISWATI
, 0, 0, 0},
17149 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVAK", (long) wxLANGUAGE_SLOVAK
, 0, 0, 0},
17150 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVENIAN", (long) wxLANGUAGE_SLOVENIAN
, 0, 0, 0},
17151 { SWIG_PY_INT
, (char *)"LANGUAGE_SOMALI", (long) wxLANGUAGE_SOMALI
, 0, 0, 0},
17152 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH", (long) wxLANGUAGE_SPANISH
, 0, 0, 0},
17153 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ARGENTINA", (long) wxLANGUAGE_SPANISH_ARGENTINA
, 0, 0, 0},
17154 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_BOLIVIA", (long) wxLANGUAGE_SPANISH_BOLIVIA
, 0, 0, 0},
17155 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_CHILE", (long) wxLANGUAGE_SPANISH_CHILE
, 0, 0, 0},
17156 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COLOMBIA", (long) wxLANGUAGE_SPANISH_COLOMBIA
, 0, 0, 0},
17157 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COSTA_RICA", (long) wxLANGUAGE_SPANISH_COSTA_RICA
, 0, 0, 0},
17158 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", (long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
, 0, 0, 0},
17159 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ECUADOR", (long) wxLANGUAGE_SPANISH_ECUADOR
, 0, 0, 0},
17160 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_EL_SALVADOR", (long) wxLANGUAGE_SPANISH_EL_SALVADOR
, 0, 0, 0},
17161 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_GUATEMALA", (long) wxLANGUAGE_SPANISH_GUATEMALA
, 0, 0, 0},
17162 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_HONDURAS", (long) wxLANGUAGE_SPANISH_HONDURAS
, 0, 0, 0},
17163 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MEXICAN", (long) wxLANGUAGE_SPANISH_MEXICAN
, 0, 0, 0},
17164 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MODERN", (long) wxLANGUAGE_SPANISH_MODERN
, 0, 0, 0},
17165 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_NICARAGUA", (long) wxLANGUAGE_SPANISH_NICARAGUA
, 0, 0, 0},
17166 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PANAMA", (long) wxLANGUAGE_SPANISH_PANAMA
, 0, 0, 0},
17167 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PARAGUAY", (long) wxLANGUAGE_SPANISH_PARAGUAY
, 0, 0, 0},
17168 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PERU", (long) wxLANGUAGE_SPANISH_PERU
, 0, 0, 0},
17169 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PUERTO_RICO", (long) wxLANGUAGE_SPANISH_PUERTO_RICO
, 0, 0, 0},
17170 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_URUGUAY", (long) wxLANGUAGE_SPANISH_URUGUAY
, 0, 0, 0},
17171 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_US", (long) wxLANGUAGE_SPANISH_US
, 0, 0, 0},
17172 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_VENEZUELA", (long) wxLANGUAGE_SPANISH_VENEZUELA
, 0, 0, 0},
17173 { SWIG_PY_INT
, (char *)"LANGUAGE_SUNDANESE", (long) wxLANGUAGE_SUNDANESE
, 0, 0, 0},
17174 { SWIG_PY_INT
, (char *)"LANGUAGE_SWAHILI", (long) wxLANGUAGE_SWAHILI
, 0, 0, 0},
17175 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH", (long) wxLANGUAGE_SWEDISH
, 0, 0, 0},
17176 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH_FINLAND", (long) wxLANGUAGE_SWEDISH_FINLAND
, 0, 0, 0},
17177 { SWIG_PY_INT
, (char *)"LANGUAGE_TAGALOG", (long) wxLANGUAGE_TAGALOG
, 0, 0, 0},
17178 { SWIG_PY_INT
, (char *)"LANGUAGE_TAJIK", (long) wxLANGUAGE_TAJIK
, 0, 0, 0},
17179 { SWIG_PY_INT
, (char *)"LANGUAGE_TAMIL", (long) wxLANGUAGE_TAMIL
, 0, 0, 0},
17180 { SWIG_PY_INT
, (char *)"LANGUAGE_TATAR", (long) wxLANGUAGE_TATAR
, 0, 0, 0},
17181 { SWIG_PY_INT
, (char *)"LANGUAGE_TELUGU", (long) wxLANGUAGE_TELUGU
, 0, 0, 0},
17182 { SWIG_PY_INT
, (char *)"LANGUAGE_THAI", (long) wxLANGUAGE_THAI
, 0, 0, 0},
17183 { SWIG_PY_INT
, (char *)"LANGUAGE_TIBETAN", (long) wxLANGUAGE_TIBETAN
, 0, 0, 0},
17184 { SWIG_PY_INT
, (char *)"LANGUAGE_TIGRINYA", (long) wxLANGUAGE_TIGRINYA
, 0, 0, 0},
17185 { SWIG_PY_INT
, (char *)"LANGUAGE_TONGA", (long) wxLANGUAGE_TONGA
, 0, 0, 0},
17186 { SWIG_PY_INT
, (char *)"LANGUAGE_TSONGA", (long) wxLANGUAGE_TSONGA
, 0, 0, 0},
17187 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKISH", (long) wxLANGUAGE_TURKISH
, 0, 0, 0},
17188 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKMEN", (long) wxLANGUAGE_TURKMEN
, 0, 0, 0},
17189 { SWIG_PY_INT
, (char *)"LANGUAGE_TWI", (long) wxLANGUAGE_TWI
, 0, 0, 0},
17190 { SWIG_PY_INT
, (char *)"LANGUAGE_UIGHUR", (long) wxLANGUAGE_UIGHUR
, 0, 0, 0},
17191 { SWIG_PY_INT
, (char *)"LANGUAGE_UKRAINIAN", (long) wxLANGUAGE_UKRAINIAN
, 0, 0, 0},
17192 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU", (long) wxLANGUAGE_URDU
, 0, 0, 0},
17193 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_INDIA", (long) wxLANGUAGE_URDU_INDIA
, 0, 0, 0},
17194 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_PAKISTAN", (long) wxLANGUAGE_URDU_PAKISTAN
, 0, 0, 0},
17195 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK", (long) wxLANGUAGE_UZBEK
, 0, 0, 0},
17196 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_CYRILLIC", (long) wxLANGUAGE_UZBEK_CYRILLIC
, 0, 0, 0},
17197 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_LATIN", (long) wxLANGUAGE_UZBEK_LATIN
, 0, 0, 0},
17198 { SWIG_PY_INT
, (char *)"LANGUAGE_VIETNAMESE", (long) wxLANGUAGE_VIETNAMESE
, 0, 0, 0},
17199 { SWIG_PY_INT
, (char *)"LANGUAGE_VOLAPUK", (long) wxLANGUAGE_VOLAPUK
, 0, 0, 0},
17200 { SWIG_PY_INT
, (char *)"LANGUAGE_WELSH", (long) wxLANGUAGE_WELSH
, 0, 0, 0},
17201 { SWIG_PY_INT
, (char *)"LANGUAGE_WOLOF", (long) wxLANGUAGE_WOLOF
, 0, 0, 0},
17202 { SWIG_PY_INT
, (char *)"LANGUAGE_XHOSA", (long) wxLANGUAGE_XHOSA
, 0, 0, 0},
17203 { SWIG_PY_INT
, (char *)"LANGUAGE_YIDDISH", (long) wxLANGUAGE_YIDDISH
, 0, 0, 0},
17204 { SWIG_PY_INT
, (char *)"LANGUAGE_YORUBA", (long) wxLANGUAGE_YORUBA
, 0, 0, 0},
17205 { SWIG_PY_INT
, (char *)"LANGUAGE_ZHUANG", (long) wxLANGUAGE_ZHUANG
, 0, 0, 0},
17206 { SWIG_PY_INT
, (char *)"LANGUAGE_ZULU", (long) wxLANGUAGE_ZULU
, 0, 0, 0},
17207 { SWIG_PY_INT
, (char *)"LANGUAGE_USER_DEFINED", (long) wxLANGUAGE_USER_DEFINED
, 0, 0, 0},
17208 { SWIG_PY_INT
, (char *)"LOCALE_CAT_NUMBER", (long) wxLOCALE_CAT_NUMBER
, 0, 0, 0},
17209 { SWIG_PY_INT
, (char *)"LOCALE_CAT_DATE", (long) wxLOCALE_CAT_DATE
, 0, 0, 0},
17210 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MONEY", (long) wxLOCALE_CAT_MONEY
, 0, 0, 0},
17211 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MAX", (long) wxLOCALE_CAT_MAX
, 0, 0, 0},
17212 { SWIG_PY_INT
, (char *)"LOCALE_THOUSANDS_SEP", (long) wxLOCALE_THOUSANDS_SEP
, 0, 0, 0},
17213 { SWIG_PY_INT
, (char *)"LOCALE_DECIMAL_POINT", (long) wxLOCALE_DECIMAL_POINT
, 0, 0, 0},
17214 { SWIG_PY_INT
, (char *)"LOCALE_LOAD_DEFAULT", (long) wxLOCALE_LOAD_DEFAULT
, 0, 0, 0},
17215 { SWIG_PY_INT
, (char *)"LOCALE_CONV_ENCODING", (long) wxLOCALE_CONV_ENCODING
, 0, 0, 0},
17216 { SWIG_PY_INT
, (char *)"CONVERT_STRICT", (long) wxCONVERT_STRICT
, 0, 0, 0},
17217 { SWIG_PY_INT
, (char *)"CONVERT_SUBSTITUTE", (long) wxCONVERT_SUBSTITUTE
, 0, 0, 0},
17218 { SWIG_PY_INT
, (char *)"PLATFORM_CURRENT", (long) wxPLATFORM_CURRENT
, 0, 0, 0},
17219 { SWIG_PY_INT
, (char *)"PLATFORM_UNIX", (long) wxPLATFORM_UNIX
, 0, 0, 0},
17220 { SWIG_PY_INT
, (char *)"PLATFORM_WINDOWS", (long) wxPLATFORM_WINDOWS
, 0, 0, 0},
17221 { SWIG_PY_INT
, (char *)"PLATFORM_OS2", (long) wxPLATFORM_OS2
, 0, 0, 0},
17222 { SWIG_PY_INT
, (char *)"PLATFORM_MAC", (long) wxPLATFORM_MAC
, 0, 0, 0},
17223 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_NORMAL", (long) wxIMAGELIST_DRAW_NORMAL
, 0, 0, 0},
17224 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_TRANSPARENT", (long) wxIMAGELIST_DRAW_TRANSPARENT
, 0, 0, 0},
17225 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_SELECTED", (long) wxIMAGELIST_DRAW_SELECTED
, 0, 0, 0},
17226 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_FOCUSED", (long) wxIMAGELIST_DRAW_FOCUSED
, 0, 0, 0},
17227 { SWIG_PY_INT
, (char *)"IMAGE_LIST_NORMAL", (long) wxIMAGE_LIST_NORMAL
, 0, 0, 0},
17228 { SWIG_PY_INT
, (char *)"IMAGE_LIST_SMALL", (long) wxIMAGE_LIST_SMALL
, 0, 0, 0},
17229 { SWIG_PY_INT
, (char *)"IMAGE_LIST_STATE", (long) wxIMAGE_LIST_STATE
, 0, 0, 0},
17239 SWIGEXPORT(void) SWIG_init(void) {
17240 static PyObject
*SWIG_globals
= 0;
17241 static int typeinit
= 0;
17244 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17245 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17246 d
= PyModule_GetDict(m
);
17249 for (i
= 0; swig_types_initial
[i
]; i
++) {
17250 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17254 SWIG_InstallConstants(d
,swig_const_table
);
17257 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
17259 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17260 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
17261 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
17262 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
17263 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
17264 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
17265 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
17266 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
17267 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
17268 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
17269 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
17270 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
17271 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
17272 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
17273 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
17274 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
17275 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
17276 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
17277 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
17278 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
17279 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
17280 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
17281 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
17282 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
17283 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
17284 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
17285 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
17286 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
17287 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
17288 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
17289 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
17290 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
17291 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
17292 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
17293 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
17294 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
17295 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
17296 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
17297 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
17298 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
17299 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
17300 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
17301 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
17302 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
17303 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
17304 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
17305 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
17307 // Work around a chicken/egg problem in drawlist.cpp
17308 wxPyDrawList_SetAPIPtr();