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_STATIC_INLINE static inline
146 #define SWIG_STATIC_INLINE static
149 SWIG_STATIC_INLINE
long
150 SPyObj_AsLong(PyObject
* obj
)
152 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
155 SWIG_STATIC_INLINE
unsigned long
156 SPyObj_AsUnsignedLong(PyObject
* obj
)
158 if (PyLong_Check(obj
)) {
159 return PyLong_AsUnsignedLong(obj
);
161 long i
= PyInt_AsLong(obj
);
162 if ( !PyErr_Occurred() && (i
< 0)) {
163 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject
*
171 SPyObj_FromLongLong(long long value
)
173 return (value
> (long)(LONG_MAX
)) ?
174 PyLong_FromLongLong(value
) : PyInt_FromLong((long)value
);
178 SWIG_STATIC_INLINE PyObject
*
179 SPyObj_FromUnsignedLong(unsigned long value
)
181 return (value
> (unsigned long)(LONG_MAX
)) ?
182 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject
*
187 SPyObj_FromUnsignedLongLong(unsigned long long value
)
189 return (value
> (unsigned long long)(LONG_MAX
)) ?
190 PyLong_FromUnsignedLongLong(value
) : PyInt_FromLong((long)value
);
194 SWIG_STATIC_INLINE
long
195 SPyObj_AsLongInRange(PyObject
* obj
, long min_value
, long max_value
)
197 long value
= SPyObj_AsLong(obj
);
198 if (!PyErr_Occurred()) {
199 if (value
< min_value
) {
200 PyErr_SetString(PyExc_OverflowError
,"value is smaller than type minimum");
201 } else if (value
> max_value
) {
202 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
208 SWIG_STATIC_INLINE
unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject
*obj
, unsigned long max_value
)
211 unsigned long value
= SPyObj_AsUnsignedLong(obj
);
212 if (!PyErr_Occurred()) {
213 if (value
> max_value
) {
214 PyErr_SetString(PyExc_OverflowError
,"value is greater than type maximum");
220 SWIG_STATIC_INLINE
signed char
221 SPyObj_AsSignedChar(PyObject
*obj
) {
222 return (signed char)SPyObj_AsLongInRange(obj
, SCHAR_MIN
, SCHAR_MAX
);
225 SWIG_STATIC_INLINE
short
226 SPyObj_AsShort(PyObject
*obj
) {
227 return (short)SPyObj_AsLongInRange(obj
, SHRT_MIN
, SHRT_MAX
);
230 SWIG_STATIC_INLINE
int
231 SPyObj_AsInt(PyObject
*obj
) {
232 return SPyObj_AsLongInRange(obj
, INT_MIN
, INT_MAX
);
235 SWIG_STATIC_INLINE
unsigned char
236 SPyObj_AsUnsignedChar(PyObject
*obj
) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj
, UCHAR_MAX
);
240 SWIG_STATIC_INLINE
unsigned short
241 SPyObj_AsUnsignedShort(PyObject
*obj
) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj
, USHRT_MAX
);
245 SWIG_STATIC_INLINE
unsigned int
246 SPyObj_AsUnsignedInt(PyObject
*obj
) {
247 return SPyObj_AsUnsignedLongInRange(obj
, UINT_MAX
);
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE
long long
252 SPyObj_AsLongLong(PyObject
*obj
) {
253 return PyInt_Check(obj
) ?
254 PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
);
257 SWIG_STATIC_INLINE
unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject
*obj
) {
259 return PyLong_Check(obj
) ?
260 PyLong_AsUnsignedLongLong(obj
) : SPyObj_AsUnsignedLong(obj
);
264 SWIG_STATIC_INLINE
double
265 SPyObj_AsDouble(PyObject
*obj
) {
266 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
267 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
270 SWIG_STATIC_INLINE
float
271 SPyObj_AsFloat(PyObject
*obj
) {
272 double value
= SPyObj_AsDouble(obj
);
273 if (!PyErr_Occurred()) {
274 if (value
< FLT_MIN
) {
275 PyErr_SetString(PyExc_OverflowError
,"float is smaller than flt_min");
276 } else if (value
> FLT_MAX
) {
277 PyErr_SetString(PyExc_OverflowError
,"float is greater than flt_max");
280 return (float) value
;
283 SWIG_STATIC_INLINE
char
284 SPyObj_AsChar(PyObject
*obj
) {
285 char c
= (PyString_Check(obj
) && PyString_Size(obj
) == 1) ?
286 PyString_AsString(obj
)[0]
287 : (char) SPyObj_AsLongInRange(obj
, CHAR_MIN
, CHAR_MAX
);
288 if (PyErr_Occurred()) {
290 PyErr_SetString(PyExc_TypeError
, "a char is required");
295 SWIG_STATIC_INLINE PyObject
*
296 SPyObj_FromChar(char c
) {
297 return PyString_FromStringAndSize(&c
,1);
300 SWIG_STATIC_INLINE PyObject
*
301 SPyObj_FromCharPtr(const char* cptr
) {
302 return cptr
? PyString_FromString(cptr
) : Py_BuildValue((char*)"");
305 SWIG_STATIC_INLINE
int
306 SPyObj_AsBool(PyObject
*obj
) {
307 return SPyObj_AsLong
/*Long*/(obj
) ? 1 : 0;
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
322 /* Flags for pointer conversion */
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
330 /* Constant information structure */
331 typedef struct swig_const_info
{
337 swig_type_info
**ptype
;
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
362 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
364 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
367 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
372 /* Contract support */
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
382 /* -------- TYPES TABLE (BEGIN) -------- */
384 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
385 #define SWIGTYPE_p_wxBrush swig_types[1]
386 #define SWIGTYPE_p_wxColour swig_types[2]
387 #define SWIGTYPE_p_wxDC swig_types[3]
388 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
389 #define SWIGTYPE_p_byte swig_types[5]
390 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
391 #define SWIGTYPE_p_wxIconLocation swig_types[7]
392 #define SWIGTYPE_p_wxImage swig_types[8]
393 #define SWIGTYPE_p_wxMetaFileDC swig_types[9]
394 #define SWIGTYPE_p_wxMask swig_types[10]
395 #define SWIGTYPE_p_wxFont swig_types[11]
396 #define SWIGTYPE_p_wxWindow swig_types[12]
397 #define SWIGTYPE_p_wxSize swig_types[13]
398 #define SWIGTYPE_p_double swig_types[14]
399 #define SWIGTYPE_p_wxMemoryDC swig_types[15]
400 #define SWIGTYPE_p_wxFontMapper swig_types[16]
401 #define SWIGTYPE_p_wxEffects swig_types[17]
402 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[18]
403 #define SWIGTYPE_p_wxPalette swig_types[19]
404 #define SWIGTYPE_p_wxBitmap swig_types[20]
405 #define SWIGTYPE_p_wxObject swig_types[21]
406 #define SWIGTYPE_p_wxRegionIterator swig_types[22]
407 #define SWIGTYPE_p_wxRect swig_types[23]
408 #define SWIGTYPE_p_wxString swig_types[24]
409 #define SWIGTYPE_p_wxPrinterDC swig_types[25]
410 #define SWIGTYPE_p_wxIconBundle swig_types[26]
411 #define SWIGTYPE_p_wxPoint swig_types[27]
412 #define SWIGTYPE_p_wxDash swig_types[28]
413 #define SWIGTYPE_p_wxScreenDC swig_types[29]
414 #define SWIGTYPE_p_wxCursor swig_types[30]
415 #define SWIGTYPE_p_wxClientDC swig_types[31]
416 #define SWIGTYPE_p_wxBufferedDC swig_types[32]
417 #define SWIGTYPE_p_wxImageList swig_types[33]
418 #define SWIGTYPE_p_unsigned_char swig_types[34]
419 #define SWIGTYPE_p_wxGDIObject swig_types[35]
420 #define SWIGTYPE_p_wxLocale swig_types[36]
421 #define SWIGTYPE_p_wxIcon swig_types[37]
422 #define SWIGTYPE_p_wxRegion swig_types[38]
423 #define SWIGTYPE_p_wxLanguageInfo swig_types[39]
424 #define SWIGTYPE_p_wxConfigBase swig_types[40]
425 #define SWIGTYPE_p_wxWindowDC swig_types[41]
426 #define SWIGTYPE_p_wxPrintData swig_types[42]
427 #define SWIGTYPE_p_wxBrushList swig_types[43]
428 #define SWIGTYPE_p_wxFontList swig_types[44]
429 #define SWIGTYPE_p_wxPen swig_types[45]
430 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[46]
431 #define SWIGTYPE_p_wxPaintDC swig_types[47]
432 #define SWIGTYPE_p_wxPenList swig_types[48]
433 #define SWIGTYPE_p_wxPyPen swig_types[49]
434 #define SWIGTYPE_p_int swig_types[50]
435 #define SWIGTYPE_p_wxMetaFile swig_types[51]
436 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
437 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
438 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
439 static swig_type_info
*swig_types
[56];
441 /* -------- TYPES TABLE (END) -------- */
444 /*-----------------------------------------------
446 ------------------------------------------------*/
447 #define SWIG_init init_gdi
449 #define SWIG_name "_gdi"
451 #include "wx/wxPython/wxPython.h"
452 #include "wx/wxPython/pyclasses.h"
455 static const wxString
wxPyEmptyString(wxEmptyString
);
456 PyObject
*wxColour_Get(wxColour
*self
){
457 PyObject
* rv
= PyTuple_New(3);
463 green
= self
->Green();
466 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
467 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
468 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
472 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
478 } else if (target
== Py_None
) {
482 if (!PyTuple_Check(target
)) {
484 target
= PyTuple_New(1);
485 PyTuple_SetItem(target
, 0, o2
);
488 PyTuple_SetItem(o3
, 0, o
);
491 target
= PySequence_Concat(o2
, o3
);
498 PyObject
*wxPen_GetDashes(wxPen
*self
){
500 int count
= self
->GetDashes(&dashes
);
501 wxPyBeginBlockThreads();
502 PyObject
* retval
= PyList_New(0);
503 for (int x
=0; x
<count
; x
++)
504 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
505 wxPyEndBlockThreads();
515 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
519 m_dash
= new wxDash
[nb_dashes
];
520 for (int i
=0; i
<nb_dashes
; i
++) {
523 wxPen::SetDashes(nb_dashes
, m_dash
);
527 #include <wx/image.h>
529 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
530 char** cArray
= NULL
;
533 if (!PyList_Check(listOfStrings
)) {
534 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
537 count
= PyList_Size(listOfStrings
);
538 cArray
= new char*[count
];
540 for(int x
=0; x
<count
; x
++) {
541 // TODO: Need some validation and error checking here
542 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
548 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
549 char** cArray
= NULL
;
552 cArray
= ConvertListOfStrings(listOfStrings
);
555 bmp
= new wxBitmap(cArray
);
559 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
562 PyString_AsStringAndSize(bits
, &buf
, &length
);
563 return new wxBitmap(buf
, width
, height
, depth
);
565 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
566 wxMask
*mask
= new wxMask(*self
, colour
);
570 #include <wx/iconbndl.h>
572 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
573 wxIcon
* icon
= new wxIcon();
574 icon
->CopyFromBitmap(bmp
);
577 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
578 char** cArray
= NULL
;
581 cArray
= ConvertListOfStrings(listOfStrings
);
584 icon
= new wxIcon(cArray
);
588 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
592 return new wxIconLocation(*filename
);
595 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
602 int wxIconLocation_GetIndex(wxIconLocation
*self
){
609 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
614 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
617 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
619 char* maskbuf
= NULL
;
621 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
623 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
624 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
628 wxRegion
*new_wxRegion(int points
,wxPoint
*points_array
,int fillStyle
){
629 wxPyRaiseNotImplemented();
632 void wxRegionIterator_Next(wxRegionIterator
*self
){
635 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
636 return self
->operator bool();
639 #include <wx/fontutil.h>
640 #include <wx/fontmap.h>
641 #include <wx/fontenum.h>
643 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
644 return self
->ToString();
647 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
648 static wxNativeEncodingInfo info
;
649 if ( wxGetNativeFontEncoding(encoding
, &info
) )
655 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
656 wxFontEncoding alt_enc
;
657 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
658 return PyInt_FromLong(alt_enc
);
664 wxFont
*new_wxFont(wxString
const &info
){
665 wxNativeFontInfo nfi
;
666 nfi
.FromString(info
);
667 return new wxFont(nfi
);
669 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
670 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
673 class wxPyFontEnumerator
: public wxFontEnumerator
{
675 wxPyFontEnumerator() {}
676 ~wxPyFontEnumerator() {}
678 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
679 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
684 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
685 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
688 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
689 wxArrayString
* arr
= self
->GetEncodings();
690 return wxArrayString2PyList_helper(*arr
);
692 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
693 wxArrayString
* arr
= self
->GetFacenames();
694 return wxArrayString2PyList_helper(*arr
);
699 #include "wx/wxPython/pydrawxxx.h"
701 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
703 self
->GetPixel(x
, y
, &col
);
706 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
708 self
->GetPixel(pt
, &col
);
711 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
713 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
716 wxRect
wxDC_GetClippingRect(wxDC
*self
){
718 self
->GetClippingBox(rect
);
721 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
722 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
724 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
725 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
727 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
728 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
730 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
731 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
733 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
734 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
736 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
737 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
740 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
751 class wxMetaFile
: public wxObject
{
753 wxMetaFile(const wxString
&)
754 { wxPyRaiseNotImplemented(); }
757 class wxMetaFileDC
: public wxClientDC
{
759 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
760 { wxPyRaiseNotImplemented(); }
766 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
767 self
->AddColour(name
, wxColour(red
, green
, blue
));
770 #include <wx/effects.h>
775 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
785 result
= (wxGDIObject
*)new wxGDIObject();
787 wxPyEndAllowThreads(__tstate
);
788 if (PyErr_Occurred()) SWIG_fail
;
790 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
797 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
800 PyObject
* obj0
= 0 ;
802 (char *) "self", NULL
805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 wxPyEndAllowThreads(__tstate
);
812 if (PyErr_Occurred()) SWIG_fail
;
814 Py_INCREF(Py_None
); resultobj
= Py_None
;
821 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
825 PyObject
* obj0
= 0 ;
827 (char *) "self", NULL
830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 result
= (bool)(arg1
)->GetVisible();
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) SWIG_fail
;
839 resultobj
= PyInt_FromLong((long)result
);
846 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
850 PyObject
* obj0
= 0 ;
851 PyObject
* obj1
= 0 ;
853 (char *) "self",(char *) "visible", NULL
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
859 arg2
= (bool) SPyObj_AsBool(obj1
);
860 if (PyErr_Occurred()) SWIG_fail
;
863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
864 (arg1
)->SetVisible(arg2
);
866 wxPyEndAllowThreads(__tstate
);
867 if (PyErr_Occurred()) SWIG_fail
;
869 Py_INCREF(Py_None
); resultobj
= Py_None
;
876 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
880 PyObject
* obj0
= 0 ;
882 (char *) "self", NULL
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
889 result
= (bool)(arg1
)->IsNull();
891 wxPyEndAllowThreads(__tstate
);
892 if (PyErr_Occurred()) SWIG_fail
;
894 resultobj
= PyInt_FromLong((long)result
);
901 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
904 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
906 return Py_BuildValue((char *)"");
908 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 unsigned char arg1
= (unsigned char) 0 ;
911 unsigned char arg2
= (unsigned char) 0 ;
912 unsigned char arg3
= (unsigned char) 0 ;
914 PyObject
* obj0
= 0 ;
915 PyObject
* obj1
= 0 ;
916 PyObject
* obj2
= 0 ;
918 (char *) "red",(char *) "green",(char *) "blue", NULL
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
924 arg1
= (unsigned char) SPyObj_AsUnsignedChar(obj0
);
925 if (PyErr_Occurred()) SWIG_fail
;
930 arg2
= (unsigned char) SPyObj_AsUnsignedChar(obj1
);
931 if (PyErr_Occurred()) SWIG_fail
;
936 arg3
= (unsigned char) SPyObj_AsUnsignedChar(obj2
);
937 if (PyErr_Occurred()) SWIG_fail
;
941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
942 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
944 wxPyEndAllowThreads(__tstate
);
945 if (PyErr_Occurred()) SWIG_fail
;
947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
954 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 wxColour
*arg1
= (wxColour
*) 0 ;
957 PyObject
* obj0
= 0 ;
959 (char *) "self", NULL
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 wxPyEndAllowThreads(__tstate
);
969 if (PyErr_Occurred()) SWIG_fail
;
971 Py_INCREF(Py_None
); resultobj
= Py_None
;
978 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
983 PyObject
* obj0
= 0 ;
985 (char *) "colorName", NULL
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
990 arg1
= wxString_in_helper(obj0
);
991 if (arg1
== NULL
) SWIG_fail
;
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) SWIG_fail
;
1001 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1016 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1017 PyObject
*resultobj
;
1018 unsigned long arg1
;
1020 PyObject
* obj0
= 0 ;
1022 (char *) "colRGB", NULL
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1027 arg1
= (unsigned long) SPyObj_AsUnsignedLong(obj0
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1032 result
= (wxColour
*)new wxColour(arg1
);
1034 wxPyEndAllowThreads(__tstate
);
1035 if (PyErr_Occurred()) SWIG_fail
;
1037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1044 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
*resultobj
;
1046 wxColour
*arg1
= (wxColour
*) 0 ;
1047 unsigned char result
;
1048 PyObject
* obj0
= 0 ;
1050 (char *) "self", NULL
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1057 result
= (unsigned char)(arg1
)->Red();
1059 wxPyEndAllowThreads(__tstate
);
1060 if (PyErr_Occurred()) SWIG_fail
;
1062 resultobj
= PyInt_FromLong((long)result
);
1069 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
*resultobj
;
1071 wxColour
*arg1
= (wxColour
*) 0 ;
1072 unsigned char result
;
1073 PyObject
* obj0
= 0 ;
1075 (char *) "self", NULL
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1082 result
= (unsigned char)(arg1
)->Green();
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) SWIG_fail
;
1087 resultobj
= PyInt_FromLong((long)result
);
1094 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
*resultobj
;
1096 wxColour
*arg1
= (wxColour
*) 0 ;
1097 unsigned char result
;
1098 PyObject
* obj0
= 0 ;
1100 (char *) "self", NULL
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 result
= (unsigned char)(arg1
)->Blue();
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) SWIG_fail
;
1112 resultobj
= PyInt_FromLong((long)result
);
1119 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1120 PyObject
*resultobj
;
1121 wxColour
*arg1
= (wxColour
*) 0 ;
1123 PyObject
* obj0
= 0 ;
1125 (char *) "self", NULL
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 result
= (bool)(arg1
)->Ok();
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) SWIG_fail
;
1137 resultobj
= PyInt_FromLong((long)result
);
1144 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxColour
*arg1
= (wxColour
*) 0 ;
1147 unsigned char arg2
;
1148 unsigned char arg3
;
1149 unsigned char arg4
;
1150 PyObject
* obj0
= 0 ;
1151 PyObject
* obj1
= 0 ;
1152 PyObject
* obj2
= 0 ;
1153 PyObject
* obj3
= 0 ;
1155 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1161 arg2
= (unsigned char) SPyObj_AsUnsignedChar(obj1
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1165 arg3
= (unsigned char) SPyObj_AsUnsignedChar(obj2
);
1166 if (PyErr_Occurred()) SWIG_fail
;
1169 arg4
= (unsigned char) SPyObj_AsUnsignedChar(obj3
);
1170 if (PyErr_Occurred()) SWIG_fail
;
1173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1174 (arg1
)->Set(arg2
,arg3
,arg4
);
1176 wxPyEndAllowThreads(__tstate
);
1177 if (PyErr_Occurred()) SWIG_fail
;
1179 Py_INCREF(Py_None
); resultobj
= Py_None
;
1186 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
*resultobj
;
1188 wxColour
*arg1
= (wxColour
*) 0 ;
1189 unsigned long arg2
;
1190 PyObject
* obj0
= 0 ;
1191 PyObject
* obj1
= 0 ;
1193 (char *) "self",(char *) "colRGB", NULL
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1199 arg2
= (unsigned long) SPyObj_AsUnsignedLong(obj1
);
1200 if (PyErr_Occurred()) SWIG_fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 Py_INCREF(Py_None
); resultobj
= Py_None
;
1216 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
*resultobj
;
1218 wxColour
*arg1
= (wxColour
*) 0 ;
1219 wxColour
*arg2
= 0 ;
1222 PyObject
* obj0
= 0 ;
1223 PyObject
* obj1
= 0 ;
1225 (char *) "self",(char *) "colour", NULL
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1241 resultobj
= PyInt_FromLong((long)result
);
1248 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
*resultobj
;
1250 wxColour
*arg1
= (wxColour
*) 0 ;
1251 wxColour
*arg2
= 0 ;
1254 PyObject
* obj0
= 0 ;
1255 PyObject
* obj1
= 0 ;
1257 (char *) "self",(char *) "colour", NULL
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1268 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1270 wxPyEndAllowThreads(__tstate
);
1271 if (PyErr_Occurred()) SWIG_fail
;
1273 resultobj
= PyInt_FromLong((long)result
);
1280 static PyObject
*_wrap_Colour_InitFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
*resultobj
;
1282 wxColour
*arg1
= (wxColour
*) 0 ;
1283 wxString
*arg2
= 0 ;
1284 bool temp2
= False
;
1285 PyObject
* obj0
= 0 ;
1286 PyObject
* obj1
= 0 ;
1288 (char *) "self",(char *) "colourName", NULL
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_InitFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1294 arg2
= wxString_in_helper(obj1
);
1295 if (arg2
== NULL
) SWIG_fail
;
1299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 (arg1
)->InitFromName((wxString
const &)*arg2
);
1302 wxPyEndAllowThreads(__tstate
);
1303 if (PyErr_Occurred()) SWIG_fail
;
1305 Py_INCREF(Py_None
); resultobj
= Py_None
;
1320 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxColour
*arg1
= (wxColour
*) 0 ;
1324 PyObject
* obj0
= 0 ;
1326 (char *) "self", NULL
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1333 result
= (PyObject
*)wxColour_Get(arg1
);
1335 wxPyEndAllowThreads(__tstate
);
1336 if (PyErr_Occurred()) SWIG_fail
;
1345 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1347 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1348 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1350 return Py_BuildValue((char *)"");
1352 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
*resultobj
;
1355 unsigned char *arg2
= (unsigned char *) 0 ;
1356 unsigned char *arg3
= (unsigned char *) 0 ;
1357 unsigned char *arg4
= (unsigned char *) 0 ;
1359 PyObject
* obj1
= 0 ;
1360 PyObject
* obj2
= 0 ;
1361 PyObject
* obj3
= 0 ;
1363 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOOO:new_Palette",kwnames
,&arg1
,&obj1
,&obj2
,&obj3
)) goto fail
;
1367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1368 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1369 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1372 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1374 wxPyEndAllowThreads(__tstate
);
1375 if (PyErr_Occurred()) SWIG_fail
;
1377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1384 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxPalette
*arg1
= (wxPalette
*) 0 ;
1387 PyObject
* obj0
= 0 ;
1389 (char *) "self", NULL
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 Py_INCREF(Py_None
); resultobj
= Py_None
;
1408 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
*resultobj
;
1410 wxPalette
*arg1
= (wxPalette
*) 0 ;
1415 PyObject
* obj0
= 0 ;
1416 PyObject
* obj1
= 0 ;
1417 PyObject
* obj2
= 0 ;
1418 PyObject
* obj3
= 0 ;
1420 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1426 arg2
= (byte
) SPyObj_AsUnsignedChar(obj1
);
1427 if (PyErr_Occurred()) SWIG_fail
;
1430 arg3
= (byte
) SPyObj_AsUnsignedChar(obj2
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1434 arg4
= (byte
) SPyObj_AsUnsignedChar(obj3
);
1435 if (PyErr_Occurred()) SWIG_fail
;
1438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1441 wxPyEndAllowThreads(__tstate
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1444 resultobj
= PyInt_FromLong((long)result
);
1451 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
*resultobj
;
1453 wxPalette
*arg1
= (wxPalette
*) 0 ;
1455 byte
*arg3
= (byte
*) 0 ;
1456 byte
*arg4
= (byte
*) 0 ;
1457 byte
*arg5
= (byte
*) 0 ;
1462 PyObject
* obj0
= 0 ;
1464 (char *) "self",(char *) "pixel", NULL
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Palette_GetRGB",kwnames
,&obj0
,&arg2
)) goto fail
;
1471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1479 resultobj
= PyInt_FromLong((long)result
);
1481 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1482 resultobj
= t_output_helper(resultobj
,o
);
1485 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1486 resultobj
= t_output_helper(resultobj
,o
);
1489 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1490 resultobj
= t_output_helper(resultobj
,o
);
1498 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
*resultobj
;
1500 wxPalette
*arg1
= (wxPalette
*) 0 ;
1502 PyObject
* obj0
= 0 ;
1504 (char *) "self", NULL
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 result
= (bool)(arg1
)->Ok();
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1516 resultobj
= PyInt_FromLong((long)result
);
1523 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1526 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1528 return Py_BuildValue((char *)"");
1530 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
*resultobj
;
1532 wxColour
*arg1
= 0 ;
1533 int arg2
= (int) 1 ;
1534 int arg3
= (int) wxSOLID
;
1537 PyObject
* obj0
= 0 ;
1539 (char *) "colour",(char *) "width",(char *) "style", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_Pen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1545 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1549 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1551 wxPyEndAllowThreads(__tstate
);
1552 if (PyErr_Occurred()) SWIG_fail
;
1554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1561 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
*resultobj
;
1563 wxPen
*arg1
= (wxPen
*) 0 ;
1564 PyObject
* obj0
= 0 ;
1566 (char *) "self", NULL
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1578 Py_INCREF(Py_None
); resultobj
= Py_None
;
1585 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
*resultobj
;
1587 wxPen
*arg1
= (wxPen
*) 0 ;
1589 PyObject
* obj0
= 0 ;
1591 (char *) "self", NULL
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 result
= (int)(arg1
)->GetCap();
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1603 resultobj
= PyInt_FromLong((long)result
);
1610 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
*resultobj
;
1612 wxPen
*arg1
= (wxPen
*) 0 ;
1614 PyObject
* obj0
= 0 ;
1616 (char *) "self", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (arg1
)->GetColour();
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1629 wxColour
* resultptr
;
1630 resultptr
= new wxColour((wxColour
&) result
);
1631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1639 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxPen
*arg1
= (wxPen
*) 0 ;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "self", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 result
= (int)(arg1
)->GetJoin();
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1657 resultobj
= PyInt_FromLong((long)result
);
1664 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
*resultobj
;
1666 wxPen
*arg1
= (wxPen
*) 0 ;
1668 PyObject
* obj0
= 0 ;
1670 (char *) "self", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 result
= (int)(arg1
)->GetStyle();
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= PyInt_FromLong((long)result
);
1689 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxPen
*arg1
= (wxPen
*) 0 ;
1693 PyObject
* obj0
= 0 ;
1695 (char *) "self", NULL
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 result
= (int)(arg1
)->GetWidth();
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 resultobj
= PyInt_FromLong((long)result
);
1714 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxPen
*arg1
= (wxPen
*) 0 ;
1718 PyObject
* obj0
= 0 ;
1720 (char *) "self", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 result
= (bool)(arg1
)->Ok();
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1732 resultobj
= PyInt_FromLong((long)result
);
1739 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxPen
*arg1
= (wxPen
*) 0 ;
1743 PyObject
* obj0
= 0 ;
1745 (char *) "self",(char *) "cap_style", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetCap",kwnames
,&obj0
,&arg2
)) goto fail
;
1749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 (arg1
)->SetCap(arg2
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 Py_INCREF(Py_None
); resultobj
= Py_None
;
1764 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxPen
*arg1
= (wxPen
*) 0 ;
1767 wxColour
*arg2
= 0 ;
1769 PyObject
* obj0
= 0 ;
1770 PyObject
* obj1
= 0 ;
1772 (char *) "self",(char *) "colour", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1779 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1783 (arg1
)->SetColour(*arg2
);
1785 wxPyEndAllowThreads(__tstate
);
1786 if (PyErr_Occurred()) SWIG_fail
;
1788 Py_INCREF(Py_None
); resultobj
= Py_None
;
1795 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
*resultobj
;
1797 wxPen
*arg1
= (wxPen
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1801 (char *) "self",(char *) "join_style", NULL
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetJoin",kwnames
,&obj0
,&arg2
)) goto fail
;
1805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 (arg1
)->SetJoin(arg2
);
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 Py_INCREF(Py_None
); resultobj
= Py_None
;
1820 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxPen
*arg1
= (wxPen
*) 0 ;
1824 PyObject
* obj0
= 0 ;
1826 (char *) "self",(char *) "style", NULL
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
1830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 (arg1
)->SetStyle(arg2
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) SWIG_fail
;
1838 Py_INCREF(Py_None
); resultobj
= Py_None
;
1845 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
*resultobj
;
1847 wxPen
*arg1
= (wxPen
*) 0 ;
1849 PyObject
* obj0
= 0 ;
1851 (char *) "self",(char *) "width", NULL
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Pen_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 (arg1
)->SetWidth(arg2
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1863 Py_INCREF(Py_None
); resultobj
= Py_None
;
1870 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxPen
*arg1
= (wxPen
*) 0 ;
1874 wxDash
*arg3
= (wxDash
*) 0 ;
1875 PyObject
* obj0
= 0 ;
1876 PyObject
* obj1
= 0 ;
1878 (char *) "self",(char *) "dashes", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1884 arg2
= PyList_Size(obj1
);
1885 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
1886 if (arg3
== NULL
) SWIG_fail
;
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 (arg1
)->SetDashes(arg2
,arg3
);
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1895 Py_INCREF(Py_None
); resultobj
= Py_None
;
1897 if (arg3
) delete [] arg3
;
1902 if (arg3
) delete [] arg3
;
1908 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxPen
*arg1
= (wxPen
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 result
= (PyObject
*)wxPen_GetDashes(arg1
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1933 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
1935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1936 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
1938 return Py_BuildValue((char *)"");
1940 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxColour
*arg1
= 0 ;
1943 int arg2
= (int) 1 ;
1944 int arg3
= (int) wxSOLID
;
1947 PyObject
* obj0
= 0 ;
1949 (char *) "colour",(char *) "width",(char *) "style", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:new_PyPen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1955 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
1971 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
*resultobj
;
1973 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1974 PyObject
* obj0
= 0 ;
1976 (char *) "self", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1988 Py_INCREF(Py_None
); resultobj
= Py_None
;
1995 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
*resultobj
;
1997 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
1999 wxDash
*arg3
= (wxDash
*) 0 ;
2000 PyObject
* obj0
= 0 ;
2001 PyObject
* obj1
= 0 ;
2003 (char *) "self",(char *) "dashes", NULL
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2009 arg2
= PyList_Size(obj1
);
2010 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2011 if (arg3
== NULL
) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 (arg1
)->SetDashes(arg2
,arg3
);
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 Py_INCREF(Py_None
); resultobj
= Py_None
;
2022 if (arg3
) delete [] arg3
;
2027 if (arg3
) delete [] arg3
;
2033 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2036 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2038 return Py_BuildValue((char *)"");
2040 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxColour
*arg1
= 0 ;
2043 int arg2
= (int) wxSOLID
;
2046 PyObject
* obj0
= 0 ;
2048 (char *) "colour",(char *) "style", NULL
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Brush",kwnames
,&obj0
,&arg2
)) goto fail
;
2054 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2070 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxBrush
*arg1
= (wxBrush
*) 0 ;
2073 PyObject
* obj0
= 0 ;
2075 (char *) "self", NULL
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 Py_INCREF(Py_None
); resultobj
= Py_None
;
2094 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxBrush
*arg1
= (wxBrush
*) 0 ;
2097 wxColour
*arg2
= 0 ;
2099 PyObject
* obj0
= 0 ;
2100 PyObject
* obj1
= 0 ;
2102 (char *) "self",(char *) "col", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2109 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 (arg1
)->SetColour((wxColour
const &)*arg2
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2118 Py_INCREF(Py_None
); resultobj
= Py_None
;
2125 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxBrush
*arg1
= (wxBrush
*) 0 ;
2129 PyObject
* obj0
= 0 ;
2131 (char *) "self",(char *) "style", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Brush_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 (arg1
)->SetStyle(arg2
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2143 Py_INCREF(Py_None
); resultobj
= Py_None
;
2150 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 wxBrush
*arg1
= (wxBrush
*) 0 ;
2153 wxBitmap
*arg2
= 0 ;
2154 PyObject
* obj0
= 0 ;
2155 PyObject
* obj1
= 0 ;
2157 (char *) "self",(char *) "stipple", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2164 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) SWIG_fail
;
2173 Py_INCREF(Py_None
); resultobj
= Py_None
;
2180 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
*resultobj
;
2182 wxBrush
*arg1
= (wxBrush
*) 0 ;
2184 PyObject
* obj0
= 0 ;
2186 (char *) "self", NULL
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= ((wxBrush
const *)arg1
)->GetColour();
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2199 wxColour
* resultptr
;
2200 resultptr
= new wxColour((wxColour
&) result
);
2201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2209 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxBrush
*arg1
= (wxBrush
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= PyInt_FromLong((long)result
);
2234 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxBrush
*arg1
= (wxBrush
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2259 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxBrush
*arg1
= (wxBrush
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= (bool)(arg1
)->Ok();
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 resultobj
= PyInt_FromLong((long)result
);
2284 static PyObject
*_wrap_Brush_GetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxBrush
*arg1
= (wxBrush
*) 0 ;
2288 PyObject
* obj0
= 0 ;
2290 (char *) "self", NULL
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetMacTheme",kwnames
,&obj0
)) goto fail
;
2294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (short)(arg1
)->GetMacTheme();
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= PyInt_FromLong((long)result
);
2309 static PyObject
*_wrap_Brush_SetMacTheme(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxBrush
*arg1
= (wxBrush
*) 0 ;
2313 PyObject
* obj0
= 0 ;
2315 (char *) "self",(char *) "macThemeBrush", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oh:Brush_SetMacTheme",kwnames
,&obj0
,&arg2
)) goto fail
;
2319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 (arg1
)->SetMacTheme(arg2
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 Py_INCREF(Py_None
); resultobj
= Py_None
;
2334 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2337 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2339 return Py_BuildValue((char *)"");
2341 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxString
*arg1
= 0 ;
2344 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2346 bool temp1
= False
;
2347 PyObject
* obj0
= 0 ;
2349 (char *) "name",(char *) "type", NULL
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_Bitmap",kwnames
,&obj0
,&arg2
)) goto fail
;
2354 arg1
= wxString_in_helper(obj0
);
2355 if (arg1
== NULL
) SWIG_fail
;
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) SWIG_fail
;
2365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2380 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
*resultobj
;
2382 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2385 (char *) "self", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2404 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2408 int arg3
= (int) -1 ;
2411 (char *) "width",(char *) "height",(char *) "depth", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|i:new_EmptyBitmap",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2429 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
*resultobj
;
2433 PyObject
* obj0
= 0 ;
2435 (char *) "icon", NULL
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2441 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2457 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2460 int arg2
= (int) -1 ;
2462 PyObject
* obj0
= 0 ;
2464 (char *) "image",(char *) "depth", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_BitmapFromImage",kwnames
,&obj0
,&arg2
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2470 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2486 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 PyObject
*arg1
= (PyObject
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2492 (char *) "listOfStrings", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2499 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2501 wxPyEndAllowThreads(__tstate
);
2502 if (PyErr_Occurred()) SWIG_fail
;
2504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2511 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
*resultobj
;
2513 PyObject
*arg1
= (PyObject
*) 0 ;
2516 int arg4
= (int) 1 ;
2518 PyObject
* obj0
= 0 ;
2520 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:new_BitmapFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2532 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2539 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2541 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2543 PyObject
* obj0
= 0 ;
2545 (char *) "self", NULL
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 result
= (bool)(arg1
)->Ok();
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) SWIG_fail
;
2557 resultobj
= PyInt_FromLong((long)result
);
2564 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
*resultobj
;
2566 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2568 PyObject
* obj0
= 0 ;
2570 (char *) "self", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 result
= (int)(arg1
)->GetWidth();
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2582 resultobj
= PyInt_FromLong((long)result
);
2589 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "self", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 result
= (int)(arg1
)->GetHeight();
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= PyInt_FromLong((long)result
);
2614 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "self", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (int)(arg1
)->GetDepth();
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= PyInt_FromLong((long)result
);
2639 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2642 SwigValueWrapper
< wxImage
> result
;
2643 PyObject
* obj0
= 0 ;
2645 (char *) "self", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) SWIG_fail
;
2658 wxImage
* resultptr
;
2659 resultptr
= new wxImage((wxImage
&) result
);
2660 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2668 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2674 (char *) "self", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2693 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2696 wxMask
*arg2
= (wxMask
*) 0 ;
2697 PyObject
* obj0
= 0 ;
2698 PyObject
* obj1
= 0 ;
2700 (char *) "self",(char *) "mask", NULL
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 (arg1
)->SetMask(arg2
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 Py_INCREF(Py_None
); resultobj
= Py_None
;
2720 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2723 wxColour
*arg2
= 0 ;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "colour", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 Py_INCREF(Py_None
); resultobj
= Py_None
;
2751 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2755 SwigValueWrapper
< wxBitmap
> result
;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "rect", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2767 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2777 wxBitmap
* resultptr
;
2778 resultptr
= new wxBitmap((wxBitmap
&) result
);
2779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
2787 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2790 wxString
*arg2
= 0 ;
2792 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
2794 bool temp2
= False
;
2795 PyObject
* obj0
= 0 ;
2796 PyObject
* obj1
= 0 ;
2797 PyObject
* obj3
= 0 ;
2799 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2805 arg2
= wxString_in_helper(obj1
);
2806 if (arg2
== NULL
) SWIG_fail
;
2810 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 resultobj
= PyInt_FromLong((long)result
);
2834 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2837 wxString
*arg2
= 0 ;
2840 bool temp2
= False
;
2841 PyObject
* obj0
= 0 ;
2842 PyObject
* obj1
= 0 ;
2844 (char *) "self",(char *) "name",(char *) "type", NULL
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
2848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2850 arg2
= wxString_in_helper(obj1
);
2851 if (arg2
== NULL
) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2861 resultobj
= PyInt_FromLong((long)result
);
2876 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
*resultobj
;
2878 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2881 PyObject
* obj0
= 0 ;
2882 PyObject
* obj1
= 0 ;
2884 (char *) "self",(char *) "icon", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2891 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2900 resultobj
= PyInt_FromLong((long)result
);
2907 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2911 PyObject
* obj0
= 0 ;
2913 (char *) "self",(char *) "height", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 (arg1
)->SetHeight(arg2
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 Py_INCREF(Py_None
); resultobj
= Py_None
;
2932 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
;
2934 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2936 PyObject
* obj0
= 0 ;
2938 (char *) "self",(char *) "width", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 (arg1
)->SetWidth(arg2
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 Py_INCREF(Py_None
); resultobj
= Py_None
;
2957 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2963 (char *) "self",(char *) "depth", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Bitmap_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
2967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 (arg1
)->SetDepth(arg2
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2975 Py_INCREF(Py_None
); resultobj
= Py_None
;
2982 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
2984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2985 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
2987 return Py_BuildValue((char *)"");
2989 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
*resultobj
;
2991 wxBitmap
*arg1
= 0 ;
2993 PyObject
* obj0
= 0 ;
2995 (char *) "bitmap", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Mask",kwnames
,&obj0
)) goto fail
;
2999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3001 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3017 static PyObject
*_wrap_new_MaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxBitmap
*arg1
= 0 ;
3020 wxColour
*arg2
= 0 ;
3023 PyObject
* obj0
= 0 ;
3024 PyObject
* obj1
= 0 ;
3026 (char *) "bitmap",(char *) "colour", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 result
= (wxMask
*)new wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3052 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3055 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3057 return Py_BuildValue((char *)"");
3059 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxString
*arg1
= 0 ;
3063 int arg3
= (int) -1 ;
3064 int arg4
= (int) -1 ;
3066 bool temp1
= False
;
3067 PyObject
* obj0
= 0 ;
3069 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:new_Icon",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
3074 arg1
= wxString_in_helper(obj0
);
3075 if (arg1
== NULL
) SWIG_fail
;
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) SWIG_fail
;
3085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3100 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxIcon
*arg1
= (wxIcon
*) 0 ;
3103 PyObject
* obj0
= 0 ;
3105 (char *) "self", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 Py_INCREF(Py_None
); resultobj
= Py_None
;
3124 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3134 result
= (wxIcon
*)new wxIcon();
3136 wxPyEndAllowThreads(__tstate
);
3137 if (PyErr_Occurred()) SWIG_fail
;
3139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3146 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxIconLocation
*arg1
= 0 ;
3150 PyObject
* obj0
= 0 ;
3152 (char *) "loc", NULL
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3174 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxBitmap
*arg1
= 0 ;
3178 PyObject
* obj0
= 0 ;
3180 (char *) "bmp", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3186 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3202 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 PyObject
*arg1
= (PyObject
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "listOfStrings", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 result
= (wxIcon
*)new_wxIcon(arg1
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3227 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxIcon
*arg1
= (wxIcon
*) 0 ;
3231 PyObject
* obj0
= 0 ;
3233 (char *) "self", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 result
= (bool)(arg1
)->Ok();
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 resultobj
= PyInt_FromLong((long)result
);
3252 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxIcon
*arg1
= (wxIcon
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3258 (char *) "self", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (int)(arg1
)->GetWidth();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 resultobj
= PyInt_FromLong((long)result
);
3277 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxIcon
*arg1
= (wxIcon
*) 0 ;
3281 PyObject
* obj0
= 0 ;
3283 (char *) "self", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (int)(arg1
)->GetHeight();
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= PyInt_FromLong((long)result
);
3302 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 wxIcon
*arg1
= (wxIcon
*) 0 ;
3306 PyObject
* obj0
= 0 ;
3308 (char *) "self", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 result
= (int)(arg1
)->GetDepth();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 resultobj
= PyInt_FromLong((long)result
);
3327 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxIcon
*arg1
= (wxIcon
*) 0 ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "self",(char *) "w", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 (arg1
)->SetWidth(arg2
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3345 Py_INCREF(Py_None
); resultobj
= Py_None
;
3352 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
*resultobj
;
3354 wxIcon
*arg1
= (wxIcon
*) 0 ;
3356 PyObject
* obj0
= 0 ;
3358 (char *) "self",(char *) "h", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
3362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3365 (arg1
)->SetHeight(arg2
);
3367 wxPyEndAllowThreads(__tstate
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3370 Py_INCREF(Py_None
); resultobj
= Py_None
;
3377 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3378 PyObject
*resultobj
;
3379 wxIcon
*arg1
= (wxIcon
*) 0 ;
3381 PyObject
* obj0
= 0 ;
3383 (char *) "self",(char *) "d", NULL
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Icon_SetDepth",kwnames
,&obj0
,&arg2
)) goto fail
;
3387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3390 (arg1
)->SetDepth(arg2
);
3392 wxPyEndAllowThreads(__tstate
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxIcon
*arg1
= (wxIcon
*) 0 ;
3405 wxBitmap
*arg2
= 0 ;
3406 PyObject
* obj0
= 0 ;
3407 PyObject
* obj1
= 0 ;
3409 (char *) "self",(char *) "bmp", NULL
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3435 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3437 return Py_BuildValue((char *)"");
3439 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
;
3441 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3442 int arg2
= (int) 0 ;
3443 wxIconLocation
*result
;
3444 bool temp1
= False
;
3445 PyObject
* obj0
= 0 ;
3447 (char *) "filename",(char *) "num", NULL
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_IconLocation",kwnames
,&obj0
,&arg2
)) goto fail
;
3453 arg1
= wxString_in_helper(obj0
);
3454 if (arg1
== NULL
) SWIG_fail
;
3459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3460 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3462 wxPyEndAllowThreads(__tstate
);
3463 if (PyErr_Occurred()) SWIG_fail
;
3465 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3480 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3483 PyObject
* obj0
= 0 ;
3485 (char *) "self", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 Py_INCREF(Py_None
); resultobj
= Py_None
;
3504 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3510 (char *) "self", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 resultobj
= PyInt_FromLong((long)result
);
3529 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3532 wxString
*arg2
= 0 ;
3533 bool temp2
= False
;
3534 PyObject
* obj0
= 0 ;
3535 PyObject
* obj1
= 0 ;
3537 (char *) "self",(char *) "filename", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3543 arg2
= wxString_in_helper(obj1
);
3544 if (arg2
== NULL
) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SetFileName((wxString
const &)*arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3569 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3575 (char *) "self", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3584 result
= (wxString
*) &_result_ref
;
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3594 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3603 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3607 PyObject
* obj0
= 0 ;
3609 (char *) "self",(char *) "num", NULL
3612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IconLocation_SetIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
3613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 wxIconLocation_SetIndex(arg1
,arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3632 PyObject
* obj0
= 0 ;
3634 (char *) "self", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 result
= (int)wxIconLocation_GetIndex(arg1
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3646 resultobj
= PyInt_FromLong((long)result
);
3653 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
3655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3656 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
3658 return Py_BuildValue((char *)"");
3660 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxIconBundle
*result
;
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 result
= (wxIconBundle
*)new wxIconBundle();
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3682 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxString
*arg1
= 0 ;
3686 wxIconBundle
*result
;
3687 bool temp1
= False
;
3688 PyObject
* obj0
= 0 ;
3690 (char *) "file",(char *) "type", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_IconBundleFromFile",kwnames
,&obj0
,&arg2
)) goto fail
;
3695 arg1
= wxString_in_helper(obj0
);
3696 if (arg1
== NULL
) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3721 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3724 wxIconBundle
*result
;
3725 PyObject
* obj0
= 0 ;
3727 (char *) "icon", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
3749 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
;
3751 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3752 PyObject
* obj0
= 0 ;
3754 (char *) "self", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3766 Py_INCREF(Py_None
); resultobj
= Py_None
;
3773 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3780 (char *) "self",(char *) "icon", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3806 wxString
*arg2
= 0 ;
3808 bool temp2
= False
;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3812 (char *) "self",(char *) "file",(char *) "type", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
3816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3818 arg2
= wxString_in_helper(obj1
);
3819 if (arg2
== NULL
) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3851 PyObject
* obj1
= 0 ;
3853 (char *) "self",(char *) "size", NULL
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3860 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
3866 result
= (wxIcon
*) &_result_ref
;
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
3879 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
3881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3882 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
3884 return Py_BuildValue((char *)"");
3886 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 wxString
*arg1
= (wxString
*) 0 ;
3890 int arg3
= (int) 0 ;
3891 int arg4
= (int) 0 ;
3893 bool temp1
= False
;
3894 PyObject
* obj0
= 0 ;
3896 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:new_Cursor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
3901 arg1
= wxString_in_helper(obj0
);
3902 if (arg1
== NULL
) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3927 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxCursor
*arg1
= (wxCursor
*) 0 ;
3930 PyObject
* obj0
= 0 ;
3932 (char *) "self", NULL
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
3936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 Py_INCREF(Py_None
); resultobj
= Py_None
;
3951 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_StockCursor",kwnames
,&arg1
)) goto fail
;
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 result
= (wxCursor
*)new wxCursor(arg1
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
3974 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3978 PyObject
* obj0
= 0 ;
3980 (char *) "image", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
3984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4002 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4004 PyObject
*arg1
= (PyObject
*) 0 ;
4007 int arg4
= (int) -1 ;
4008 int arg5
= (int) -1 ;
4009 PyObject
*arg6
= (PyObject
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj5
= 0 ;
4014 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiO:new_CursorFromBits",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4036 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
;
4038 wxCursor
*arg1
= (wxCursor
*) 0 ;
4040 PyObject
* obj0
= 0 ;
4042 (char *) "self", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 result
= (bool)(arg1
)->Ok();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= PyInt_FromLong((long)result
);
4061 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4064 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4066 return Py_BuildValue((char *)"");
4068 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 int arg1
= (int) 0 ;
4071 int arg2
= (int) 0 ;
4072 int arg3
= (int) 0 ;
4073 int arg4
= (int) 0 ;
4076 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Region",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
4081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4082 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4094 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxBitmap
*arg1
= 0 ;
4097 wxColour
const &arg2_defvalue
= wxNullColour
;
4098 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4099 int arg3
= (int) 0 ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4105 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4116 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4133 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4136 wxPoint
*arg2
= (wxPoint
*) 0 ;
4137 int arg3
= (int) wxWINDING_RULE
;
4139 PyObject
* obj0
= 0 ;
4141 (char *) "points",(char *) "fillStyle", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_RegionFromPoints",kwnames
,&obj0
,&arg3
)) goto fail
;
4146 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4147 if (arg2
== NULL
) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (wxRegion
*)new_wxRegion(arg1
,arg2
,arg3
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4158 if (arg2
) delete [] arg2
;
4163 if (arg2
) delete [] arg2
;
4169 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxRegion
*arg1
= (wxRegion
*) 0 ;
4172 PyObject
* obj0
= 0 ;
4174 (char *) "self", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 Py_INCREF(Py_None
); resultobj
= Py_None
;
4193 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4195 wxRegion
*arg1
= (wxRegion
*) 0 ;
4196 PyObject
* obj0
= 0 ;
4198 (char *) "self", NULL
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4210 Py_INCREF(Py_None
); resultobj
= Py_None
;
4217 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxRegion
*arg1
= (wxRegion
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "self",(char *) "x",(char *) "y", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Region_Contains",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= PyInt_FromLong((long)result
);
4244 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
*resultobj
;
4246 wxRegion
*arg1
= (wxRegion
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4251 PyObject
* obj1
= 0 ;
4253 (char *) "self",(char *) "pt", NULL
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= PyInt_FromLong((long)result
);
4276 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxRegion
*arg1
= (wxRegion
*) 0 ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4285 (char *) "self",(char *) "rect", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= PyInt_FromLong((long)result
);
4308 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxRegion
*arg1
= (wxRegion
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4318 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_ContainsRectDim",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= PyInt_FromLong((long)result
);
4337 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxRegion
*arg1
= (wxRegion
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4343 (char *) "self", NULL
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (arg1
)->GetBox();
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4357 resultptr
= new wxRect((wxRect
&) result
);
4358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4366 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
;
4368 wxRegion
*arg1
= (wxRegion
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4376 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Intersect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= PyInt_FromLong((long)result
);
4395 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxRegion
*arg1
= (wxRegion
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4404 (char *) "self",(char *) "rect", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4411 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= PyInt_FromLong((long)result
);
4427 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
;
4429 wxRegion
*arg1
= (wxRegion
*) 0 ;
4430 wxRegion
*arg2
= 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4435 (char *) "self",(char *) "region", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= PyInt_FromLong((long)result
);
4458 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxRegion
*arg1
= (wxRegion
*) 0 ;
4462 PyObject
* obj0
= 0 ;
4464 (char *) "self", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
4468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (bool)(arg1
)->IsEmpty();
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= PyInt_FromLong((long)result
);
4483 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxRegion
*arg1
= (wxRegion
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4493 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Union",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= PyInt_FromLong((long)result
);
4512 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxRegion
*arg1
= (wxRegion
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4521 (char *) "self",(char *) "rect", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4528 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= PyInt_FromLong((long)result
);
4544 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxRegion
*arg1
= (wxRegion
*) 0 ;
4547 wxRegion
*arg2
= 0 ;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4552 (char *) "self",(char *) "region", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4559 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= PyInt_FromLong((long)result
);
4575 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxRegion
*arg1
= (wxRegion
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Subtract",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= PyInt_FromLong((long)result
);
4604 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxRegion
*arg1
= (wxRegion
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4611 PyObject
* obj1
= 0 ;
4613 (char *) "self",(char *) "rect", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= PyInt_FromLong((long)result
);
4636 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxRegion
*arg1
= (wxRegion
*) 0 ;
4639 wxRegion
*arg2
= 0 ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4644 (char *) "self",(char *) "region", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= PyInt_FromLong((long)result
);
4667 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxRegion
*arg1
= (wxRegion
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4677 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Region_Xor",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
4681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= PyInt_FromLong((long)result
);
4696 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
*resultobj
;
4698 wxRegion
*arg1
= (wxRegion
*) 0 ;
4702 PyObject
* obj0
= 0 ;
4703 PyObject
* obj1
= 0 ;
4705 (char *) "self",(char *) "rect", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4712 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= PyInt_FromLong((long)result
);
4728 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxRegion
*arg1
= (wxRegion
*) 0 ;
4731 wxRegion
*arg2
= 0 ;
4733 PyObject
* obj0
= 0 ;
4734 PyObject
* obj1
= 0 ;
4736 (char *) "self",(char *) "region", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4741 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4743 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= PyInt_FromLong((long)result
);
4759 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxRegion
*arg1
= (wxRegion
*) 0 ;
4762 SwigValueWrapper
< wxBitmap
> result
;
4763 PyObject
* obj0
= 0 ;
4765 (char *) "self", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (arg1
)->ConvertToBitmap();
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4778 wxBitmap
* resultptr
;
4779 resultptr
= new wxBitmap((wxBitmap
&) result
);
4780 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4788 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 wxRegion
*arg1
= (wxRegion
*) 0 ;
4791 wxBitmap
*arg2
= 0 ;
4792 wxColour
const &arg3_defvalue
= wxNullColour
;
4793 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
4794 int arg4
= (int) 0 ;
4797 PyObject
* obj0
= 0 ;
4798 PyObject
* obj1
= 0 ;
4799 PyObject
* obj2
= 0 ;
4801 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|Oi:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
4805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4808 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4813 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= PyInt_FromLong((long)result
);
4830 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
4832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4833 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
4835 return Py_BuildValue((char *)"");
4837 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxRegion
*arg1
= 0 ;
4840 wxRegionIterator
*result
;
4841 PyObject
* obj0
= 0 ;
4843 (char *) "region", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
4847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
4865 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4870 (char *) "self", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
4874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 Py_INCREF(Py_None
); resultobj
= Py_None
;
4889 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4895 (char *) "self", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (int)(arg1
)->GetX();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= PyInt_FromLong((long)result
);
4914 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (int)(arg1
)->GetY();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= PyInt_FromLong((long)result
);
4939 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4945 (char *) "self", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (int)(arg1
)->GetW();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= PyInt_FromLong((long)result
);
4964 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (int)(arg1
)->GetWidth();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= PyInt_FromLong((long)result
);
4989 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
4993 PyObject
* obj0
= 0 ;
4995 (char *) "self", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 result
= (int)(arg1
)->GetH();
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= PyInt_FromLong((long)result
);
5014 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
;
5016 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5018 PyObject
* obj0
= 0 ;
5020 (char *) "self", NULL
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (int)(arg1
)->GetHeight();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 resultobj
= PyInt_FromLong((long)result
);
5039 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (arg1
)->GetRect();
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5059 resultptr
= new wxRect((wxRect
&) result
);
5060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5068 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (bool)(arg1
)->HaveRects();
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= PyInt_FromLong((long)result
);
5093 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5096 PyObject
* obj0
= 0 ;
5098 (char *) "self", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 Py_INCREF(Py_None
); resultobj
= Py_None
;
5117 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5122 (char *) "self", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 wxRegionIterator_Next(arg1
);
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 Py_INCREF(Py_None
); resultobj
= Py_None
;
5141 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5147 (char *) "self", NULL
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= PyInt_FromLong((long)result
);
5166 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5169 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5171 return Py_BuildValue((char *)"");
5173 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxNativeFontInfo
*result
;
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5195 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5198 PyObject
* obj0
= 0 ;
5200 (char *) "self", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 Py_INCREF(Py_None
); resultobj
= Py_None
;
5219 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
;
5221 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5222 PyObject
* obj0
= 0 ;
5224 (char *) "self", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 Py_INCREF(Py_None
); resultobj
= Py_None
;
5243 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5250 (char *) "self",(char *) "font", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5257 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 Py_INCREF(Py_None
); resultobj
= Py_None
;
5273 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5277 PyObject
* obj0
= 0 ;
5279 (char *) "self", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= PyInt_FromLong((long)result
);
5298 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5304 (char *) "self", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= PyInt_FromLong((long)result
);
5323 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "self", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= PyInt_FromLong((long)result
);
5348 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 resultobj
= PyInt_FromLong((long)result
);
5373 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5379 (char *) "self", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5404 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= PyInt_FromLong((long)result
);
5429 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5435 (char *) "self", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= PyInt_FromLong((long)result
);
5454 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5460 (char *) "self",(char *) "pointsize", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 (arg1
)->SetPointSize(arg2
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 Py_INCREF(Py_None
); resultobj
= Py_None
;
5479 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
*resultobj
;
5481 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5485 (char *) "self",(char *) "style", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 (arg1
)->SetStyle((wxFontStyle
)arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 Py_INCREF(Py_None
); resultobj
= Py_None
;
5504 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5510 (char *) "self",(char *) "weight", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 (arg1
)->SetWeight((wxFontWeight
)arg2
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5529 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5533 PyObject
* obj0
= 0 ;
5534 PyObject
* obj1
= 0 ;
5536 (char *) "self",(char *) "underlined", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 arg2
= (bool) SPyObj_AsBool(obj1
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5547 (arg1
)->SetUnderlined(arg2
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 Py_INCREF(Py_None
); resultobj
= Py_None
;
5559 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5566 (char *) "self",(char *) "facename", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5572 wxString
* sptr
= wxString_in_helper(obj1
);
5573 if (sptr
== NULL
) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 (arg1
)->SetFaceName(arg2
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 Py_INCREF(Py_None
); resultobj
= Py_None
;
5591 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "self",(char *) "family", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->SetFamily((wxFontFamily
)arg2
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5616 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5622 (char *) "self",(char *) "encoding", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5644 wxString
*arg2
= 0 ;
5646 bool temp2
= False
;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5650 (char *) "self",(char *) "s", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5656 arg2
= wxString_in_helper(obj1
);
5657 if (arg2
== NULL
) SWIG_fail
;
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 resultobj
= PyInt_FromLong((long)result
);
5682 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5686 PyObject
* obj0
= 0 ;
5688 (char *) "self", NULL
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
5692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5713 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5719 (char *) "self", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
5723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= wxNativeFontInfo___str__(arg1
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5744 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5747 wxString
*arg2
= 0 ;
5749 bool temp2
= False
;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "s", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5759 arg2
= wxString_in_helper(obj1
);
5760 if (arg2
== NULL
) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= PyInt_FromLong((long)result
);
5785 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
;
5787 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5791 (char *) "self", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5816 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5819 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
5821 return Py_BuildValue((char *)"");
5823 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5826 wxString
*arg2
= (wxString
*) 0 ;
5827 bool temp2
= False
;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5831 (char *) "self",(char *) "facename", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5837 arg2
= wxString_in_helper(obj1
);
5838 if (arg2
== NULL
) SWIG_fail
;
5841 if (arg1
) (arg1
)->facename
= *arg2
;
5843 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5869 result
= (wxString
*)& ((arg1
)->facename
);
5873 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5875 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5884 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self",(char *) "encoding", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&arg2
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5895 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
5897 Py_INCREF(Py_None
); resultobj
= Py_None
;
5904 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
;
5906 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5908 PyObject
* obj0
= 0 ;
5910 (char *) "self", NULL
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
5914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5915 result
= (int) ((arg1
)->encoding
);
5917 resultobj
= PyInt_FromLong((long)result
);
5924 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
;
5926 wxNativeEncodingInfo
*result
;
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
5946 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5951 (char *) "self", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 Py_INCREF(Py_None
); resultobj
= Py_None
;
5970 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
5973 wxString
*arg2
= 0 ;
5975 bool temp2
= False
;
5976 PyObject
* obj0
= 0 ;
5977 PyObject
* obj1
= 0 ;
5979 (char *) "self",(char *) "s", NULL
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
5983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5985 arg2
= wxString_in_helper(obj1
);
5986 if (arg2
== NULL
) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= PyInt_FromLong((long)result
);
6011 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6042 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6045 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6047 return Py_BuildValue((char *)"");
6049 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6052 wxNativeEncodingInfo
*result
;
6054 (char *) "encoding", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetNativeFontEncoding",kwnames
,&arg1
)) goto fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6072 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxNativeEncodingInfo
*arg1
= 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "info", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= PyInt_FromLong((long)result
);
6100 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxFontMapper
*result
;
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 result
= (wxFontMapper
*)new wxFontMapper();
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6115 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6122 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6125 PyObject
* obj0
= 0 ;
6127 (char *) "self", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 Py_INCREF(Py_None
); resultobj
= Py_None
;
6146 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxFontMapper
*result
;
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (wxFontMapper
*)wxFontMapper::Get();
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6168 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6171 wxFontMapper
*result
;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "mapper", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6193 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6196 wxString
*arg2
= 0 ;
6197 bool arg3
= (bool) True
;
6199 bool temp2
= False
;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6202 PyObject
* obj2
= 0 ;
6204 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6210 arg2
= wxString_in_helper(obj1
);
6211 if (arg2
== NULL
) SWIG_fail
;
6216 arg3
= (bool) SPyObj_AsBool(obj2
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= PyInt_FromLong((long)result
);
6242 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SPyObj_FromUnsignedLong((unsigned long)result
);
6264 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6268 PyObject
* obj0
= 0 ;
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6275 arg1
= (size_t) SPyObj_AsUnsignedLong(obj0
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (int)wxFontMapper::GetEncoding(arg1
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= PyInt_FromLong((long)result
);
6292 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6297 (char *) "encoding", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingName",kwnames
,&arg1
)) goto fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6321 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6326 (char *) "encoding", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:FontMapper_GetEncodingDescription",kwnames
,&arg1
)) goto fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6350 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
;
6352 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6353 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6355 PyObject
* obj1
= 0 ;
6357 (char *) "self",(char *) "config", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 (arg1
)->SetConfig(arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 Py_INCREF(Py_None
); resultobj
= Py_None
;
6377 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6380 wxString
*arg2
= 0 ;
6381 bool temp2
= False
;
6382 PyObject
* obj0
= 0 ;
6383 PyObject
* obj1
= 0 ;
6385 (char *) "self",(char *) "prefix", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
6389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6391 arg2
= wxString_in_helper(obj1
);
6392 if (arg2
== NULL
) SWIG_fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 Py_INCREF(Py_None
); resultobj
= Py_None
;
6417 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 result
= wxFontMapper::GetDefaultConfigPath();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6445 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6449 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6450 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6451 bool arg4
= (bool) True
;
6453 bool temp3
= False
;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj2
= 0 ;
6456 PyObject
* obj3
= 0 ;
6458 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
6462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6465 arg3
= wxString_in_helper(obj2
);
6466 if (arg3
== NULL
) SWIG_fail
;
6472 arg4
= (bool) SPyObj_AsBool(obj3
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6498 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6502 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6503 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6505 bool temp3
= False
;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj2
= 0 ;
6509 (char *) "self",(char *) "encoding",(char *) "facename", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6516 arg3
= wxString_in_helper(obj2
);
6517 if (arg3
== NULL
) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= PyInt_FromLong((long)result
);
6543 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6546 wxWindow
*arg2
= (wxWindow
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6548 PyObject
* obj1
= 0 ;
6550 (char *) "self",(char *) "parent", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
6554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6555 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 (arg1
)->SetDialogParent(arg2
);
6560 wxPyEndAllowThreads(__tstate
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 Py_INCREF(Py_None
); resultobj
= Py_None
;
6570 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
;
6572 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6573 wxString
*arg2
= 0 ;
6574 bool temp2
= False
;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6578 (char *) "self",(char *) "title", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6584 arg2
= wxString_in_helper(obj1
);
6585 if (arg2
== NULL
) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
6612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6613 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
6615 return Py_BuildValue((char *)"");
6617 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6623 bool arg5
= (bool) False
;
6624 wxString
const &arg6_defvalue
= wxPyEmptyString
;
6625 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6626 int arg7
= (int) wxFONTENCODING_DEFAULT
;
6628 bool temp6
= False
;
6629 PyObject
* obj4
= 0 ;
6630 PyObject
* obj5
= 0 ;
6632 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiii|OOi:new_Font",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
)) goto fail
;
6638 arg5
= (bool) SPyObj_AsBool(obj4
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6644 arg6
= wxString_in_helper(obj5
);
6645 if (arg6
== NULL
) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6671 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxFont
*arg1
= (wxFont
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 Py_INCREF(Py_None
); resultobj
= Py_None
;
6695 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxNativeFontInfo
*arg1
= 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "info", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6723 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxString
*arg1
= 0 ;
6727 bool temp1
= False
;
6728 PyObject
* obj0
= 0 ;
6730 (char *) "info", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
6735 arg1
= wxString_in_helper(obj0
);
6736 if (arg1
== NULL
) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6761 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
;
6765 int arg3
= (int) wxFONTFLAG_DEFAULT
;
6766 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6767 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6768 int arg5
= (int) wxFONTENCODING_DEFAULT
;
6770 bool temp4
= False
;
6771 PyObject
* obj3
= 0 ;
6773 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|iOi:new_Font2",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
6779 arg4
= wxString_in_helper(obj3
);
6780 if (arg4
== NULL
) SWIG_fail
;
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
6806 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 wxFont
*arg1
= (wxFont
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6812 (char *) "self", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
6816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (bool)((wxFont
const *)arg1
)->Ok();
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= PyInt_FromLong((long)result
);
6831 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxFont
*arg1
= (wxFont
*) 0 ;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6839 (char *) "self",(char *) "font", NULL
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (bool)((wxFont
const *)arg1
)->operator ==((wxFont
const &)*arg2
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= PyInt_FromLong((long)result
);
6862 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxFont
*arg1
= (wxFont
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6868 PyObject
* obj1
= 0 ;
6870 (char *) "self",(char *) "font", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6877 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (bool)((wxFont
const *)arg1
)->operator !=((wxFont
const &)*arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= PyInt_FromLong((long)result
);
6893 static PyObject
*_wrap_Font_GetPointSize(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_GetPointSize",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
= (int)((wxFont
const *)arg1
)->GetPointSize();
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= PyInt_FromLong((long)result
);
6918 static PyObject
*_wrap_Font_GetFamily(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_GetFamily",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
= (int)((wxFont
const *)arg1
)->GetFamily();
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6936 resultobj
= PyInt_FromLong((long)result
);
6943 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6944 PyObject
*resultobj
;
6945 wxFont
*arg1
= (wxFont
*) 0 ;
6947 PyObject
* obj0
= 0 ;
6949 (char *) "self", NULL
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
6953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (int)((wxFont
const *)arg1
)->GetStyle();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= PyInt_FromLong((long)result
);
6968 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxFont
*arg1
= (wxFont
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (int)((wxFont
const *)arg1
)->GetWeight();
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= PyInt_FromLong((long)result
);
6993 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxFont
*arg1
= (wxFont
*) 0 ;
6997 PyObject
* obj0
= 0 ;
6999 (char *) "self", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= PyInt_FromLong((long)result
);
7018 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxFont
*arg1
= (wxFont
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "self", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 result
= ((wxFont
const *)arg1
)->GetFaceName();
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7049 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxFont
*arg1
= (wxFont
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "self", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= PyInt_FromLong((long)result
);
7074 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxFont
*arg1
= (wxFont
*) 0 ;
7077 wxNativeFontInfo
*result
;
7078 PyObject
* obj0
= 0 ;
7080 (char *) "self", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7099 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7101 wxFont
*arg1
= (wxFont
*) 0 ;
7103 PyObject
* obj0
= 0 ;
7105 (char *) "self", NULL
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= PyInt_FromLong((long)result
);
7124 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxFont
*arg1
= (wxFont
*) 0 ;
7128 PyObject
* obj0
= 0 ;
7130 (char *) "self", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7155 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxFont
*arg1
= (wxFont
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "self", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7186 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxFont
*arg1
= (wxFont
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "self",(char *) "pointSize", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetPointSize",kwnames
,&obj0
,&arg2
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 (arg1
)->SetPointSize(arg2
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 Py_INCREF(Py_None
); resultobj
= Py_None
;
7211 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
;
7213 wxFont
*arg1
= (wxFont
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7217 (char *) "self",(char *) "family", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetFamily",kwnames
,&obj0
,&arg2
)) goto fail
;
7221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 (arg1
)->SetFamily(arg2
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 Py_INCREF(Py_None
); resultobj
= Py_None
;
7236 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxFont
*arg1
= (wxFont
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7242 (char *) "self",(char *) "style", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
7246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetStyle(arg2
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxFont
*arg1
= (wxFont
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7267 (char *) "self",(char *) "weight", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetWeight",kwnames
,&obj0
,&arg2
)) goto fail
;
7271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->SetWeight(arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxFont
*arg1
= (wxFont
*) 0 ;
7289 wxString
*arg2
= 0 ;
7290 bool temp2
= False
;
7291 PyObject
* obj0
= 0 ;
7292 PyObject
* obj1
= 0 ;
7294 (char *) "self",(char *) "faceName", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7300 arg2
= wxString_in_helper(obj1
);
7301 if (arg2
== NULL
) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 (arg1
)->SetFaceName((wxString
const &)*arg2
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 Py_INCREF(Py_None
); resultobj
= Py_None
;
7326 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxFont
*arg1
= (wxFont
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7333 (char *) "self",(char *) "underlined", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7339 arg2
= (bool) SPyObj_AsBool(obj1
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 (arg1
)->SetUnderlined(arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxFont
*arg1
= (wxFont
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7362 (char *) "self",(char *) "encoding", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Font_SetEncoding",kwnames
,&obj0
,&arg2
)) goto fail
;
7366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxFont
*arg1
= (wxFont
*) 0 ;
7384 wxNativeFontInfo
*arg2
= 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7388 (char *) "self",(char *) "info", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 Py_INCREF(Py_None
); resultobj
= Py_None
;
7411 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxFont
*arg1
= (wxFont
*) 0 ;
7414 wxString
*arg2
= 0 ;
7415 bool temp2
= False
;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7419 (char *) "self",(char *) "info", NULL
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7425 arg2
= wxString_in_helper(obj1
);
7426 if (arg2
== NULL
) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7451 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7453 wxFont
*arg1
= (wxFont
*) 0 ;
7454 wxString
*arg2
= 0 ;
7455 bool temp2
= False
;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7459 (char *) "self",(char *) "info", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7465 arg2
= wxString_in_helper(obj1
);
7466 if (arg2
== NULL
) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 Py_INCREF(Py_None
); resultobj
= Py_None
;
7491 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxFont
*arg1
= (wxFont
*) 0 ;
7495 PyObject
* obj0
= 0 ;
7497 (char *) "self", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
7501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= ((wxFont
const *)arg1
)->GetFamilyString();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7522 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxFont
*arg1
= (wxFont
*) 0 ;
7526 PyObject
* obj0
= 0 ;
7528 (char *) "self", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= ((wxFont
const *)arg1
)->GetStyleString();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7553 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxFont
*arg1
= (wxFont
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7559 (char *) "self", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= ((wxFont
const *)arg1
)->GetWeightString();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7584 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxFont
*arg1
= (wxFont
*) 0 ;
7587 bool arg2
= (bool) True
;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7591 (char *) "self",(char *) "no", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7598 arg2
= (bool) SPyObj_AsBool(obj1
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 (arg1
)->SetNoAntiAliasing(arg2
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 Py_INCREF(Py_None
); resultobj
= Py_None
;
7616 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
;
7618 wxFont
*arg1
= (wxFont
*) 0 ;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "self", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7629 result
= (bool)(arg1
)->GetNoAntiAliasing();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= PyInt_FromLong((long)result
);
7641 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (int)wxFont::GetDefaultEncoding();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= PyInt_FromLong((long)result
);
7663 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7667 (char *) "encoding", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Font_SetDefaultEncoding",kwnames
,&arg1
)) goto fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 Py_INCREF(Py_None
); resultobj
= Py_None
;
7685 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
7687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7688 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
7690 return Py_BuildValue((char *)"");
7692 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxPyFontEnumerator
*result
;
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
7714 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7717 PyObject
* obj0
= 0 ;
7719 (char *) "self", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
7723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 Py_INCREF(Py_None
); resultobj
= Py_None
;
7738 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7740 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7741 PyObject
*arg2
= (PyObject
*) 0 ;
7742 PyObject
*arg3
= (PyObject
*) 0 ;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7746 PyObject
* obj2
= 0 ;
7747 PyObject
* obj3
= 0 ;
7749 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7757 arg4
= (bool) SPyObj_AsBool(obj3
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 Py_INCREF(Py_None
); resultobj
= Py_None
;
7774 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7777 int arg2
= (int) wxFONTENCODING_SYSTEM
;
7778 bool arg3
= (bool) False
;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj2
= 0 ;
7783 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7790 arg3
= (bool) SPyObj_AsBool(obj2
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= PyInt_FromLong((long)result
);
7808 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7811 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7812 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7814 bool temp2
= False
;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7818 (char *) "self",(char *) "facename", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7825 arg2
= wxString_in_helper(obj1
);
7826 if (arg2
== NULL
) SWIG_fail
;
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= PyInt_FromLong((long)result
);
7852 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7856 PyObject
* obj0
= 0 ;
7858 (char *) "self", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7877 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7902 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
7904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7905 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
7907 return Py_BuildValue((char *)"");
7909 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7913 PyObject
* obj0
= 0 ;
7915 (char *) "self",(char *) "Language", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:LanguageInfo_Language_set",kwnames
,&obj0
,&arg2
)) goto fail
;
7919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7920 if (arg1
) (arg1
)->Language
= arg2
;
7922 Py_INCREF(Py_None
); resultobj
= Py_None
;
7929 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7940 result
= (int) ((arg1
)->Language
);
7942 resultobj
= PyInt_FromLong((long)result
);
7949 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7952 wxString
*arg2
= (wxString
*) 0 ;
7953 bool temp2
= False
;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7957 (char *) "self",(char *) "CanonicalName", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7963 arg2
= wxString_in_helper(obj1
);
7964 if (arg2
== NULL
) SWIG_fail
;
7967 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
7969 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7995 result
= (wxString
*)& ((arg1
)->CanonicalName
);
7999 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8001 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8010 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8013 wxString
*arg2
= (wxString
*) 0 ;
8014 bool temp2
= False
;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8018 (char *) "self",(char *) "Description", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8024 arg2
= wxString_in_helper(obj1
);
8025 if (arg2
== NULL
) SWIG_fail
;
8028 if (arg1
) (arg1
)->Description
= *arg2
;
8030 Py_INCREF(Py_None
); resultobj
= Py_None
;
8045 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8051 (char *) "self", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8056 result
= (wxString
*)& ((arg1
)->Description
);
8060 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8062 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8071 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8074 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8076 return Py_BuildValue((char *)"");
8078 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8081 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8084 (char *) "language",(char *) "flags", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Locale",kwnames
,&arg1
,&arg2
)) goto fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8102 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxLocale
*arg1
= (wxLocale
*) 0 ;
8105 PyObject
* obj0
= 0 ;
8107 (char *) "self", NULL
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8126 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxLocale
*arg1
= (wxLocale
*) 0 ;
8129 wxString
*arg2
= 0 ;
8130 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8132 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8133 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8134 bool arg5
= (bool) True
;
8135 bool arg6
= (bool) False
;
8137 bool temp2
= False
;
8138 bool temp3
= False
;
8139 bool temp4
= False
;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8142 PyObject
* obj2
= 0 ;
8143 PyObject
* obj3
= 0 ;
8144 PyObject
* obj4
= 0 ;
8145 PyObject
* obj5
= 0 ;
8147 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8153 arg2
= wxString_in_helper(obj1
);
8154 if (arg2
== NULL
) SWIG_fail
;
8159 arg3
= wxString_in_helper(obj2
);
8160 if (arg3
== NULL
) SWIG_fail
;
8166 arg4
= wxString_in_helper(obj3
);
8167 if (arg4
== NULL
) SWIG_fail
;
8173 arg5
= (bool) SPyObj_AsBool(obj4
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8179 arg6
= (bool) SPyObj_AsBool(obj5
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= PyInt_FromLong((long)result
);
8221 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
;
8223 wxLocale
*arg1
= (wxLocale
*) 0 ;
8224 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8225 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8227 PyObject
* obj0
= 0 ;
8229 (char *) "self",(char *) "language",(char *) "flags", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:Locale_Init2",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (bool)(arg1
)->Init(arg2
,arg3
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= PyInt_FromLong((long)result
);
8248 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 result
= (int)wxLocale::GetSystemLanguage();
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= PyInt_FromLong((long)result
);
8270 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (int)wxLocale::GetSystemEncoding();
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= PyInt_FromLong((long)result
);
8292 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= wxLocale::GetSystemEncodingName();
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8320 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxLocale
*arg1
= (wxLocale
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "self", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= PyInt_FromLong((long)result
);
8345 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxLocale
*arg1
= (wxLocale
*) 0 ;
8349 PyObject
* obj0
= 0 ;
8351 (char *) "self", NULL
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
8355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= ((wxLocale
const *)arg1
)->GetLocale();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8376 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxLocale
*arg1
= (wxLocale
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8382 (char *) "self", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
8386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= PyInt_FromLong((long)result
);
8401 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxLocale
*arg1
= (wxLocale
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8407 (char *) "self", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 result
= ((wxLocale
const *)arg1
)->GetSysName();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8432 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxLocale
*arg1
= (wxLocale
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8463 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxString
*arg1
= 0 ;
8466 bool temp1
= False
;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "prefix", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
8474 arg1
= wxString_in_helper(obj0
);
8475 if (arg1
== NULL
) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 Py_INCREF(Py_None
); resultobj
= Py_None
;
8500 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
*resultobj
;
8502 wxLocale
*arg1
= (wxLocale
*) 0 ;
8503 wxString
*arg2
= 0 ;
8505 bool temp2
= False
;
8506 PyObject
* obj0
= 0 ;
8507 PyObject
* obj1
= 0 ;
8509 (char *) "self",(char *) "szDomain", NULL
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
8513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8515 arg2
= wxString_in_helper(obj1
);
8516 if (arg2
== NULL
) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= PyInt_FromLong((long)result
);
8541 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxLocale
*arg1
= (wxLocale
*) 0 ;
8544 wxString
*arg2
= 0 ;
8546 bool temp2
= False
;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8550 (char *) "self",(char *) "szDomain", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8556 arg2
= wxString_in_helper(obj1
);
8557 if (arg2
== NULL
) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= PyInt_FromLong((long)result
);
8582 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8585 wxLanguageInfo
*result
;
8587 (char *) "lang", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageInfo",kwnames
,&arg1
)) goto fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8605 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8610 (char *) "lang", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Locale_GetLanguageName",kwnames
,&arg1
)) goto fail
;
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= wxLocale::GetLanguageName(arg1
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8634 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxString
*arg1
= 0 ;
8637 wxLanguageInfo
*result
;
8638 bool temp1
= False
;
8639 PyObject
* obj0
= 0 ;
8641 (char *) "locale", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
8646 arg1
= wxString_in_helper(obj0
);
8647 if (arg1
== NULL
) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
8672 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxLanguageInfo
*arg1
= 0 ;
8675 PyObject
* obj0
= 0 ;
8677 (char *) "info", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8683 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 Py_INCREF(Py_None
); resultobj
= Py_None
;
8699 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxLocale
*arg1
= (wxLocale
*) 0 ;
8702 wxString
*arg2
= 0 ;
8703 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8704 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8706 bool temp2
= False
;
8707 bool temp3
= False
;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8710 PyObject
* obj2
= 0 ;
8712 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8718 arg2
= wxString_in_helper(obj1
);
8719 if (arg2
== NULL
) SWIG_fail
;
8724 arg3
= wxString_in_helper(obj2
);
8725 if (arg3
== NULL
) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8765 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxLocale
*arg1
= (wxLocale
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8771 (char *) "self", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
8780 result
= (wxString
*) &_result_ref
;
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8790 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8799 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
8801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8802 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
8804 return Py_BuildValue((char *)"");
8806 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (wxLocale
*)wxGetLocale();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
8828 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
8829 PyObject
*resultobj
;
8830 wxString
*arg1
= 0 ;
8832 bool temp1
= False
;
8833 PyObject
* obj0
= 0 ;
8835 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
8837 arg1
= wxString_in_helper(obj0
);
8838 if (arg1
== NULL
) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= wxGetTranslation((wxString
const &)*arg1
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8869 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
8870 PyObject
*resultobj
;
8871 wxString
*arg1
= 0 ;
8872 wxString
*arg2
= 0 ;
8875 bool temp1
= False
;
8876 bool temp2
= False
;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8879 PyObject
* obj2
= 0 ;
8881 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
8883 arg1
= wxString_in_helper(obj0
);
8884 if (arg1
== NULL
) SWIG_fail
;
8888 arg2
= wxString_in_helper(obj1
);
8889 if (arg2
== NULL
) SWIG_fail
;
8893 arg3
= (size_t) SPyObj_AsUnsignedLong(obj2
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8932 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
8937 argc
= PyObject_Length(args
);
8938 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
8939 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8945 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8953 return _wrap_GetTranslation__SWIG_0(self
,args
);
8960 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8970 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
8979 SPyObj_AsUnsignedInt(argv
[2]);
8980 if (PyErr_Occurred()) {
8988 return _wrap_GetTranslation__SWIG_1(self
,args
);
8994 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
8999 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxEncodingConverter
*result
;
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9021 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9024 PyObject
* obj0
= 0 ;
9026 (char *) "self", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9050 int arg4
= (int) wxCONVERT_STRICT
;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:EncodingConverter_Init",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= PyInt_FromLong((long)result
);
9073 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9076 wxString
*arg2
= 0 ;
9078 bool temp2
= False
;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9082 (char *) "self",(char *) "input", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9088 arg2
= wxString_in_helper(obj1
);
9089 if (arg2
== NULL
) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9120 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9123 int arg2
= (int) wxPLATFORM_CURRENT
;
9124 wxFontEncodingArray result
;
9126 (char *) "enc",(char *) "platform", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:EncodingConverter_GetPlatformEquivalents",kwnames
,&arg1
,&arg2
)) goto fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= PyList_New(0);
9139 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9140 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9141 PyList_Append(resultobj
, number
);
9151 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9154 wxFontEncodingArray result
;
9156 (char *) "enc", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:EncodingConverter_GetAllEquivalents",kwnames
,&arg1
)) goto fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= PyList_New(0);
9169 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9170 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9171 PyList_Append(resultobj
, number
);
9181 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9187 (char *) "encIn",(char *) "encOut", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii:EncodingConverter_CanConvert",kwnames
,&arg1
,&arg2
)) goto fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= PyInt_FromLong((long)result
);
9205 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
9207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9208 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
9210 return Py_BuildValue((char *)"");
9212 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxDC
*arg1
= (wxDC
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9217 (char *) "self", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 Py_INCREF(Py_None
); resultobj
= Py_None
;
9236 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxDC
*arg1
= (wxDC
*) 0 ;
9239 PyObject
* obj0
= 0 ;
9241 (char *) "self", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 (arg1
)->BeginDrawing();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxDC
*arg1
= (wxDC
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "self", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->EndDrawing();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 Py_INCREF(Py_None
); resultobj
= Py_None
;
9284 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxDC
*arg1
= (wxDC
*) 0 ;
9289 wxColour
*arg4
= 0 ;
9290 int arg5
= (int) wxFLOOD_SURFACE
;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj3
= 0 ;
9296 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO|i:DC_FloodFillXY",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
9300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9303 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= PyInt_FromLong((long)result
);
9319 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxDC
*arg1
= (wxDC
*) 0 ;
9323 wxColour
*arg3
= 0 ;
9324 int arg4
= (int) wxFLOOD_SURFACE
;
9328 PyObject
* obj0
= 0 ;
9329 PyObject
* obj1
= 0 ;
9330 PyObject
* obj2
= 0 ;
9332 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9339 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9343 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= PyInt_FromLong((long)result
);
9359 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxDC
*arg1
= (wxDC
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self",(char *) "x",(char *) "y", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_GetPixelXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 wxColour
* resultptr
;
9381 resultptr
= new wxColour((wxColour
&) result
);
9382 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9390 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 wxDC
*arg1
= (wxDC
*) 0 ;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9399 (char *) "self",(char *) "pt", NULL
9402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
9403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9416 wxColour
* resultptr
;
9417 resultptr
= new wxColour((wxColour
&) result
);
9418 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
9426 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxDC
*arg1
= (wxDC
*) 0 ;
9433 PyObject
* obj0
= 0 ;
9435 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawLineXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 Py_INCREF(Py_None
); resultobj
= Py_None
;
9454 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxDC
*arg1
= (wxDC
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 PyObject
* obj2
= 0 ;
9465 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 Py_INCREF(Py_None
); resultobj
= Py_None
;
9492 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxDC
*arg1
= (wxDC
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9499 (char *) "self",(char *) "x",(char *) "y", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CrossHairXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 (arg1
)->CrossHair(arg2
,arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 Py_INCREF(Py_None
); resultobj
= Py_None
;
9518 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxDC
*arg1
= (wxDC
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9526 (char *) "self",(char *) "pt", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 Py_INCREF(Py_None
); resultobj
= Py_None
;
9549 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
;
9551 wxDC
*arg1
= (wxDC
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9560 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiiii:DC_DrawArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 Py_INCREF(Py_None
); resultobj
= Py_None
;
9579 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxDC
*arg1
= (wxDC
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9589 PyObject
* obj1
= 0 ;
9590 PyObject
* obj2
= 0 ;
9591 PyObject
* obj3
= 0 ;
9593 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 Py_INCREF(Py_None
); resultobj
= Py_None
;
9624 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxDC
*arg1
= (wxDC
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9633 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawCheckMarkXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 Py_INCREF(Py_None
); resultobj
= Py_None
;
9652 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxDC
*arg1
= (wxDC
*) 0 ;
9657 PyObject
* obj0
= 0 ;
9658 PyObject
* obj1
= 0 ;
9660 (char *) "self",(char *) "rect", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9667 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 Py_INCREF(Py_None
); resultobj
= Py_None
;
9683 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxDC
*arg1
= (wxDC
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9694 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiidd:DC_DrawEllipticArcXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) SWIG_fail
;
9706 Py_INCREF(Py_None
); resultobj
= Py_None
;
9713 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 wxDC
*arg1
= (wxDC
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9724 PyObject
* obj2
= 0 ;
9726 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOdd:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9737 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 Py_INCREF(Py_None
); resultobj
= Py_None
;
9753 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxDC
*arg1
= (wxDC
*) 0 ;
9758 PyObject
* obj0
= 0 ;
9760 (char *) "self",(char *) "x",(char *) "y", NULL
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_DrawPointXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 (arg1
)->DrawPoint(arg2
,arg3
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 Py_INCREF(Py_None
); resultobj
= Py_None
;
9779 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxDC
*arg1
= (wxDC
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9785 PyObject
* obj1
= 0 ;
9787 (char *) "self",(char *) "pt", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9794 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 Py_INCREF(Py_None
); resultobj
= Py_None
;
9810 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
;
9812 wxDC
*arg1
= (wxDC
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9819 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9826 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 Py_INCREF(Py_None
); resultobj
= Py_None
;
9838 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
;
9840 wxDC
*arg1
= (wxDC
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9849 (char *) "self",(char *) "pt",(char *) "sz", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9860 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 Py_INCREF(Py_None
); resultobj
= Py_None
;
9876 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxDC
*arg1
= (wxDC
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9884 (char *) "self",(char *) "rect", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9891 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 Py_INCREF(Py_None
); resultobj
= Py_None
;
9907 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
;
9909 wxDC
*arg1
= (wxDC
*) 0 ;
9915 PyObject
* obj0
= 0 ;
9917 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiiid:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
9921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 Py_INCREF(Py_None
); resultobj
= Py_None
;
9936 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxDC
*arg1
= (wxDC
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9945 PyObject
* obj1
= 0 ;
9946 PyObject
* obj2
= 0 ;
9948 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
9952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9959 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 Py_INCREF(Py_None
); resultobj
= Py_None
;
9975 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxDC
*arg1
= (wxDC
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "r",(char *) "radius", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9991 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 Py_INCREF(Py_None
); resultobj
= Py_None
;
10007 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxDC
*arg1
= (wxDC
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DC_DrawCircleXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 Py_INCREF(Py_None
); resultobj
= Py_None
;
10034 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxDC
*arg1
= (wxDC
*) 0 ;
10037 wxPoint
*arg2
= 0 ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self",(char *) "pt",(char *) "radius", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10050 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 Py_INCREF(Py_None
); resultobj
= Py_None
;
10066 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
*resultobj
;
10068 wxDC
*arg1
= (wxDC
*) 0 ;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_DrawEllipseXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
10079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 Py_INCREF(Py_None
); resultobj
= Py_None
;
10094 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
*resultobj
;
10096 wxDC
*arg1
= (wxDC
*) 0 ;
10097 wxPoint
*arg2
= 0 ;
10101 PyObject
* obj0
= 0 ;
10102 PyObject
* obj1
= 0 ;
10103 PyObject
* obj2
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self",(char *) "pt",(char *) "sz", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10112 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10116 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 Py_INCREF(Py_None
); resultobj
= Py_None
;
10132 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxDC
*arg1
= (wxDC
*) 0 ;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self",(char *) "rect", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10147 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10163 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxDC
*arg1
= (wxDC
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10178 if (arg2
== NULL
) {
10179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 Py_INCREF(Py_None
); resultobj
= Py_None
;
10195 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10197 wxDC
*arg1
= (wxDC
*) 0 ;
10199 wxPoint
*arg3
= 0 ;
10201 PyObject
* obj0
= 0 ;
10202 PyObject
* obj1
= 0 ;
10203 PyObject
* obj2
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "icon",(char *) "pt", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10211 if (arg2
== NULL
) {
10212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10216 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 Py_INCREF(Py_None
); resultobj
= Py_None
;
10232 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxDC
*arg1
= (wxDC
*) 0 ;
10235 wxBitmap
*arg2
= 0 ;
10238 bool arg5
= (bool) False
;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 PyObject
* obj4
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10249 if (arg2
== NULL
) {
10250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10254 arg5
= (bool) SPyObj_AsBool(obj4
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 Py_INCREF(Py_None
); resultobj
= Py_None
;
10272 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxDC
*arg1
= (wxDC
*) 0 ;
10275 wxBitmap
*arg2
= 0 ;
10276 wxPoint
*arg3
= 0 ;
10277 bool arg4
= (bool) False
;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10281 PyObject
* obj2
= 0 ;
10282 PyObject
* obj3
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10290 if (arg2
== NULL
) {
10291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10295 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10299 arg4
= (bool) SPyObj_AsBool(obj3
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10317 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxDC
*arg1
= (wxDC
*) 0 ;
10320 wxString
*arg2
= 0 ;
10323 bool temp2
= False
;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10333 arg2
= wxString_in_helper(obj1
);
10334 if (arg2
== NULL
) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 Py_INCREF(Py_None
); resultobj
= Py_None
;
10359 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxDC
*arg1
= (wxDC
*) 0 ;
10362 wxString
*arg2
= 0 ;
10363 wxPoint
*arg3
= 0 ;
10364 bool temp2
= False
;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 PyObject
* obj2
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self",(char *) "text",(char *) "pt", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10376 arg2
= wxString_in_helper(obj1
);
10377 if (arg2
== NULL
) SWIG_fail
;
10382 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 Py_INCREF(Py_None
); resultobj
= Py_None
;
10406 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxDC
*arg1
= (wxDC
*) 0 ;
10409 wxString
*arg2
= 0 ;
10413 bool temp2
= False
;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiid:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10423 arg2
= wxString_in_helper(obj1
);
10424 if (arg2
== NULL
) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10434 Py_INCREF(Py_None
); resultobj
= Py_None
;
10449 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxDC
*arg1
= (wxDC
*) 0 ;
10452 wxString
*arg2
= 0 ;
10453 wxPoint
*arg3
= 0 ;
10455 bool temp2
= False
;
10457 PyObject
* obj0
= 0 ;
10458 PyObject
* obj1
= 0 ;
10459 PyObject
* obj2
= 0 ;
10460 char *kwnames
[] = {
10461 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
10464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOd:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
10465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10467 arg2
= wxString_in_helper(obj1
);
10468 if (arg2
== NULL
) SWIG_fail
;
10473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 Py_INCREF(Py_None
); resultobj
= Py_None
;
10497 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxDC
*arg1
= (wxDC
*) 0 ;
10504 wxDC
*arg6
= (wxDC
*) 0 ;
10507 int arg9
= (int) wxCOPY
;
10508 bool arg10
= (bool) False
;
10509 int arg11
= (int) -1 ;
10510 int arg12
= (int) -1 ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj5
= 0 ;
10514 PyObject
* obj9
= 0 ;
10515 char *kwnames
[] = {
10516 (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
10519 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
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10521 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10524 arg10
= (bool) SPyObj_AsBool(obj9
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= PyInt_FromLong((long)result
);
10542 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxDC
*arg1
= (wxDC
*) 0 ;
10545 wxPoint
*arg2
= 0 ;
10547 wxDC
*arg4
= (wxDC
*) 0 ;
10548 wxPoint
*arg5
= 0 ;
10549 int arg6
= (int) wxCOPY
;
10550 bool arg7
= (bool) False
;
10551 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
10552 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 PyObject
* obj2
= 0 ;
10561 PyObject
* obj3
= 0 ;
10562 PyObject
* obj4
= 0 ;
10563 PyObject
* obj6
= 0 ;
10564 PyObject
* obj7
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|iOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10577 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10579 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10582 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10586 arg7
= (bool) SPyObj_AsBool(obj6
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10593 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= PyInt_FromLong((long)result
);
10610 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxDC
*arg1
= (wxDC
*) 0 ;
10614 wxPoint
*arg3
= (wxPoint
*) 0 ;
10615 int arg4
= (int) 0 ;
10616 int arg5
= (int) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|ii:DC_DrawLines",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
)) goto fail
;
10624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10626 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10627 if (arg3
== NULL
) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 Py_INCREF(Py_None
); resultobj
= Py_None
;
10638 if (arg3
) delete [] arg3
;
10643 if (arg3
) delete [] arg3
;
10649 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxDC
*arg1
= (wxDC
*) 0 ;
10653 wxPoint
*arg3
= (wxPoint
*) 0 ;
10654 int arg4
= (int) 0 ;
10655 int arg5
= (int) 0 ;
10656 int arg6
= (int) wxODDEVEN_RULE
;
10657 PyObject
* obj0
= 0 ;
10658 PyObject
* obj1
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iii:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&arg4
,&arg5
,&arg6
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10666 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10667 if (arg3
== NULL
) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 Py_INCREF(Py_None
); resultobj
= Py_None
;
10678 if (arg3
) delete [] arg3
;
10683 if (arg3
) delete [] arg3
;
10689 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxDC
*arg1
= (wxDC
*) 0 ;
10692 wxString
*arg2
= 0 ;
10694 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10695 int arg5
= (int) -1 ;
10696 bool temp2
= False
;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 PyObject
* obj2
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|ii:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10708 arg2
= wxString_in_helper(obj1
);
10709 if (arg2
== NULL
) SWIG_fail
;
10714 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 Py_INCREF(Py_None
); resultobj
= Py_None
;
10738 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
;
10740 wxDC
*arg1
= (wxDC
*) 0 ;
10741 wxString
*arg2
= 0 ;
10742 wxBitmap
*arg3
= 0 ;
10744 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
10745 int arg6
= (int) -1 ;
10747 bool temp2
= False
;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 PyObject
* obj2
= 0 ;
10752 PyObject
* obj3
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|ii:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10760 arg2
= wxString_in_helper(obj1
);
10761 if (arg2
== NULL
) SWIG_fail
;
10764 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10765 if (arg3
== NULL
) {
10766 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10770 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10780 wxRect
* resultptr
;
10781 resultptr
= new wxRect((wxRect
&) result
);
10782 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
10798 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxDC
*arg1
= (wxDC
*) 0 ;
10802 wxPoint
*arg3
= (wxPoint
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "points", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10812 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
10813 if (arg3
== NULL
) SWIG_fail
;
10816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10817 (arg1
)->DrawSpline(arg2
,arg3
);
10819 wxPyEndAllowThreads(__tstate
);
10820 if (PyErr_Occurred()) SWIG_fail
;
10822 Py_INCREF(Py_None
); resultobj
= Py_None
;
10824 if (arg3
) delete [] arg3
;
10829 if (arg3
) delete [] arg3
;
10835 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxDC
*arg1
= (wxDC
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 Py_INCREF(Py_None
); resultobj
= Py_None
;
10859 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxDC
*arg1
= (wxDC
*) 0 ;
10862 wxString
*arg2
= 0 ;
10864 bool temp2
= False
;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self",(char *) "message", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10874 arg2
= wxString_in_helper(obj1
);
10875 if (arg2
== NULL
) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= PyInt_FromLong((long)result
);
10900 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxDC
*arg1
= (wxDC
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 wxPyEndAllowThreads(__tstate
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxDC
*arg1
= (wxDC
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->StartPage();
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxDC
*arg1
= (wxDC
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxDC
*arg1
= (wxDC
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 PyObject
* obj1
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "font", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10985 if (arg2
== NULL
) {
10986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->SetFont((wxFont
const &)*arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 Py_INCREF(Py_None
); resultobj
= Py_None
;
11002 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxDC
*arg1
= (wxDC
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "pen", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11015 if (arg2
== NULL
) {
11016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->SetPen((wxPen
const &)*arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxDC
*arg1
= (wxDC
*) 0 ;
11035 wxBrush
*arg2
= 0 ;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self",(char *) "brush", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11045 if (arg2
== NULL
) {
11046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11062 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxDC
*arg1
= (wxDC
*) 0 ;
11065 wxBrush
*arg2
= 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self",(char *) "brush", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11075 if (arg2
== NULL
) {
11076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 Py_INCREF(Py_None
); resultobj
= Py_None
;
11092 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxDC
*arg1
= (wxDC
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self",(char *) "mode", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetBackgroundMode",kwnames
,&obj0
,&arg2
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 (arg1
)->SetBackgroundMode(arg2
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxDC
*arg1
= (wxDC
*) 0 ;
11120 wxPalette
*arg2
= 0 ;
11121 PyObject
* obj0
= 0 ;
11122 PyObject
* obj1
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self",(char *) "palette", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11130 if (arg2
== NULL
) {
11131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 Py_INCREF(Py_None
); resultobj
= Py_None
;
11147 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxDC
*arg1
= (wxDC
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:DC_SetClippingRegionXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxDC
*arg1
= (wxDC
*) 0 ;
11178 wxPoint
*arg2
= 0 ;
11182 PyObject
* obj0
= 0 ;
11183 PyObject
* obj1
= 0 ;
11184 PyObject
* obj2
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self",(char *) "pt",(char *) "sz", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11197 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxDC
*arg1
= (wxDC
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self",(char *) "rect", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11228 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11244 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxDC
*arg1
= (wxDC
*) 0 ;
11247 wxRegion
*arg2
= 0 ;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "region", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11257 if (arg2
== NULL
) {
11258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 Py_INCREF(Py_None
); resultobj
= Py_None
;
11274 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxDC
*arg1
= (wxDC
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 (arg1
)->DestroyClippingRegion();
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 Py_INCREF(Py_None
); resultobj
= Py_None
;
11298 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxDC
*arg1
= (wxDC
*) 0 ;
11301 int *arg2
= (int *) 0 ;
11302 int *arg3
= (int *) 0 ;
11303 int *arg4
= (int *) 0 ;
11304 int *arg5
= (int *) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11329 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11330 resultobj
= t_output_helper(resultobj
,o
);
11333 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11334 resultobj
= t_output_helper(resultobj
,o
);
11337 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11338 resultobj
= t_output_helper(resultobj
,o
);
11341 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11342 resultobj
= t_output_helper(resultobj
,o
);
11350 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxDC
*arg1
= (wxDC
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= wxDC_GetClippingRect(arg1
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 wxRect
* resultptr
;
11370 resultptr
= new wxRect((wxRect
&) result
);
11371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
11379 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxDC
*arg1
= (wxDC
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 char *kwnames
[] = {
11385 (char *) "self", NULL
11388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
11389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= PyInt_FromLong((long)result
);
11404 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11405 PyObject
*resultobj
;
11406 wxDC
*arg1
= (wxDC
*) 0 ;
11408 PyObject
* obj0
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= PyInt_FromLong((long)result
);
11429 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
;
11431 wxDC
*arg1
= (wxDC
*) 0 ;
11432 wxString
*arg2
= 0 ;
11433 int *arg3
= (int *) 0 ;
11434 int *arg4
= (int *) 0 ;
11435 bool temp2
= False
;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 char *kwnames
[] = {
11441 (char *) "self",(char *) "string", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11449 arg2
= wxString_in_helper(obj1
);
11450 if (arg2
== NULL
) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 Py_INCREF(Py_None
); resultobj
= Py_None
;
11462 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11463 resultobj
= t_output_helper(resultobj
,o
);
11466 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11467 resultobj
= t_output_helper(resultobj
,o
);
11483 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxDC
*arg1
= (wxDC
*) 0 ;
11486 wxString
*arg2
= 0 ;
11487 int *arg3
= (int *) 0 ;
11488 int *arg4
= (int *) 0 ;
11489 int *arg5
= (int *) 0 ;
11490 int *arg6
= (int *) 0 ;
11491 wxFont
*arg7
= (wxFont
*) NULL
;
11492 bool temp2
= False
;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 PyObject
* obj2
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "string",(char *) "font", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11511 arg2
= wxString_in_helper(obj1
);
11512 if (arg2
== NULL
) SWIG_fail
;
11516 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 Py_INCREF(Py_None
); resultobj
= Py_None
;
11527 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11528 resultobj
= t_output_helper(resultobj
,o
);
11531 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11532 resultobj
= t_output_helper(resultobj
,o
);
11535 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11536 resultobj
= t_output_helper(resultobj
,o
);
11539 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
11540 resultobj
= t_output_helper(resultobj
,o
);
11556 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxDC
*arg1
= (wxDC
*) 0 ;
11559 wxString
*arg2
= 0 ;
11560 int *arg3
= (int *) 0 ;
11561 int *arg4
= (int *) 0 ;
11562 int *arg5
= (int *) 0 ;
11563 wxFont
*arg6
= (wxFont
*) NULL
;
11564 bool temp2
= False
;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 PyObject
* obj2
= 0 ;
11571 char *kwnames
[] = {
11572 (char *) "self",(char *) "text",(char *) "font", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11581 arg2
= wxString_in_helper(obj1
);
11582 if (arg2
== NULL
) SWIG_fail
;
11586 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 Py_INCREF(Py_None
); resultobj
= Py_None
;
11597 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11598 resultobj
= t_output_helper(resultobj
,o
);
11601 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
11602 resultobj
= t_output_helper(resultobj
,o
);
11605 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
11606 resultobj
= t_output_helper(resultobj
,o
);
11622 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxDC
*arg1
= (wxDC
*) 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (arg1
)->GetSize();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 wxSize
* resultptr
;
11642 resultptr
= new wxSize((wxSize
&) result
);
11643 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11651 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxDC
*arg1
= (wxDC
*) 0 ;
11654 int *arg2
= (int *) 0 ;
11655 int *arg3
= (int *) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
11666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 (arg1
)->GetSize(arg2
,arg3
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 Py_INCREF(Py_None
); resultobj
= Py_None
;
11676 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11677 resultobj
= t_output_helper(resultobj
,o
);
11680 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11681 resultobj
= t_output_helper(resultobj
,o
);
11689 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxDC
*arg1
= (wxDC
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 result
= ((wxDC
const *)arg1
)->GetSizeMM();
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11708 wxSize
* resultptr
;
11709 resultptr
= new wxSize((wxSize
&) result
);
11710 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11718 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxDC
*arg1
= (wxDC
*) 0 ;
11721 int *arg2
= (int *) 0 ;
11722 int *arg3
= (int *) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11743 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
11744 resultobj
= t_output_helper(resultobj
,o
);
11747 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
11748 resultobj
= t_output_helper(resultobj
,o
);
11756 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxDC
*arg1
= (wxDC
*) 0 ;
11761 PyObject
* obj0
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self",(char *) "x", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalX",kwnames
,&obj0
,&arg2
)) goto fail
;
11767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= PyInt_FromLong((long)result
);
11782 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxDC
*arg1
= (wxDC
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self",(char *) "y", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalY",kwnames
,&obj0
,&arg2
)) goto fail
;
11793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= PyInt_FromLong((long)result
);
11808 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxDC
*arg1
= (wxDC
*) 0 ;
11813 PyObject
* obj0
= 0 ;
11814 char *kwnames
[] = {
11815 (char *) "self",(char *) "x", NULL
11818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= PyInt_FromLong((long)result
);
11834 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
;
11836 wxDC
*arg1
= (wxDC
*) 0 ;
11839 PyObject
* obj0
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self",(char *) "y", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= PyInt_FromLong((long)result
);
11860 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxDC
*arg1
= (wxDC
*) 0 ;
11865 PyObject
* obj0
= 0 ;
11866 char *kwnames
[] = {
11867 (char *) "self",(char *) "x", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceX",kwnames
,&obj0
,&arg2
)) goto fail
;
11871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= PyInt_FromLong((long)result
);
11886 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxDC
*arg1
= (wxDC
*) 0 ;
11891 PyObject
* obj0
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self",(char *) "y", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceY",kwnames
,&obj0
,&arg2
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= PyInt_FromLong((long)result
);
11912 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxDC
*arg1
= (wxDC
*) 0 ;
11917 PyObject
* obj0
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self",(char *) "x", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= PyInt_FromLong((long)result
);
11938 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxDC
*arg1
= (wxDC
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "y", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&arg2
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= PyInt_FromLong((long)result
);
11964 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxDC
*arg1
= (wxDC
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 char *kwnames
[] = {
11970 (char *) "self", NULL
11973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
11974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= PyInt_FromLong((long)result
);
11989 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxDC
*arg1
= (wxDC
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
11999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= PyInt_FromLong((long)result
);
12014 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxDC
*arg1
= (wxDC
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (int)((wxDC
const *)arg1
)->GetDepth();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= PyInt_FromLong((long)result
);
12039 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxDC
*arg1
= (wxDC
*) 0 ;
12043 PyObject
* obj0
= 0 ;
12044 char *kwnames
[] = {
12045 (char *) "self", NULL
12048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
12049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= ((wxDC
const *)arg1
)->GetPPI();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12058 wxSize
* resultptr
;
12059 resultptr
= new wxSize((wxSize
&) result
);
12060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12068 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxDC
*arg1
= (wxDC
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 char *kwnames
[] = {
12074 (char *) "self", NULL
12077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
12078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (bool)((wxDC
const *)arg1
)->Ok();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= PyInt_FromLong((long)result
);
12093 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxDC
*arg1
= (wxDC
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= PyInt_FromLong((long)result
);
12118 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxDC
*arg1
= (wxDC
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
12133 result
= (wxBrush
*) &_result_ref
;
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
12146 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
;
12148 wxDC
*arg1
= (wxDC
*) 0 ;
12150 PyObject
* obj0
= 0 ;
12151 char *kwnames
[] = {
12152 (char *) "self", NULL
12155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
12156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
12161 result
= (wxBrush
*) &_result_ref
;
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
12174 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12176 wxDC
*arg1
= (wxDC
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
12189 result
= (wxFont
*) &_result_ref
;
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
12202 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxDC
*arg1
= (wxDC
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
12212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
12217 result
= (wxPen
*) &_result_ref
;
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
12230 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxDC
*arg1
= (wxDC
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
12245 result
= (wxColour
*) &_result_ref
;
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
12258 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxDC
*arg1
= (wxDC
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
12273 result
= (wxColour
*) &_result_ref
;
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
12286 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxDC
*arg1
= (wxDC
*) 0 ;
12289 wxColour
*arg2
= 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "colour", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 Py_INCREF(Py_None
); resultobj
= Py_None
;
12317 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxDC
*arg1
= (wxDC
*) 0 ;
12320 wxColour
*arg2
= 0 ;
12322 PyObject
* obj0
= 0 ;
12323 PyObject
* obj1
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "colour", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12332 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 Py_INCREF(Py_None
); resultobj
= Py_None
;
12348 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxDC
*arg1
= (wxDC
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= PyInt_FromLong((long)result
);
12373 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxDC
*arg1
= (wxDC
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self",(char *) "mode", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetMapMode",kwnames
,&obj0
,&arg2
)) goto fail
;
12383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 (arg1
)->SetMapMode(arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 Py_INCREF(Py_None
); resultobj
= Py_None
;
12398 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxDC
*arg1
= (wxDC
*) 0 ;
12401 double *arg2
= (double *) 0 ;
12402 double *arg3
= (double *) 0 ;
12405 PyObject
* obj0
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12424 resultobj
= t_output_helper(resultobj
,o
);
12427 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12428 resultobj
= t_output_helper(resultobj
,o
);
12436 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxDC
*arg1
= (wxDC
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "x",(char *) "y", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetUserScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 (arg1
)->SetUserScale(arg2
,arg3
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 Py_INCREF(Py_None
); resultobj
= Py_None
;
12462 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxDC
*arg1
= (wxDC
*) 0 ;
12465 double *arg2
= (double *) 0 ;
12466 double *arg3
= (double *) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->GetLogicalScale(arg2
,arg3
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 Py_INCREF(Py_None
); resultobj
= Py_None
;
12487 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
12488 resultobj
= t_output_helper(resultobj
,o
);
12491 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
12492 resultobj
= t_output_helper(resultobj
,o
);
12500 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxDC
*arg1
= (wxDC
*) 0 ;
12505 PyObject
* obj0
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "self",(char *) "x",(char *) "y", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:DC_SetLogicalScale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->SetLogicalScale(arg2
,arg3
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 Py_INCREF(Py_None
); resultobj
= Py_None
;
12526 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxDC
*arg1
= (wxDC
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 char *kwnames
[] = {
12532 (char *) "self", NULL
12535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
12536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 wxPoint
* resultptr
;
12546 resultptr
= new wxPoint((wxPoint
&) result
);
12547 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12555 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxDC
*arg1
= (wxDC
*) 0 ;
12558 int *arg2
= (int *) 0 ;
12559 int *arg3
= (int *) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 Py_INCREF(Py_None
); resultobj
= Py_None
;
12580 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12581 resultobj
= t_output_helper(resultobj
,o
);
12584 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12585 resultobj
= t_output_helper(resultobj
,o
);
12593 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxDC
*arg1
= (wxDC
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "x",(char *) "y", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetLogicalOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12619 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxDC
*arg1
= (wxDC
*) 0 ;
12623 PyObject
* obj0
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12638 wxPoint
* resultptr
;
12639 resultptr
= new wxPoint((wxPoint
&) result
);
12640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12648 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxDC
*arg1
= (wxDC
*) 0 ;
12651 int *arg2
= (int *) 0 ;
12652 int *arg3
= (int *) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12674 resultobj
= t_output_helper(resultobj
,o
);
12677 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12678 resultobj
= t_output_helper(resultobj
,o
);
12686 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxDC
*arg1
= (wxDC
*) 0 ;
12691 PyObject
* obj0
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "self",(char *) "x",(char *) "y", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_SetDeviceOrigin",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 Py_INCREF(Py_None
); resultobj
= Py_None
;
12712 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxDC
*arg1
= (wxDC
*) 0 ;
12717 PyObject
* obj0
= 0 ;
12718 PyObject
* obj1
= 0 ;
12719 PyObject
* obj2
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12727 arg2
= (bool) SPyObj_AsBool(obj1
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12731 arg3
= (bool) SPyObj_AsBool(obj2
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 (arg1
)->SetAxisOrientation(arg2
,arg3
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 Py_INCREF(Py_None
); resultobj
= Py_None
;
12748 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxDC
*arg1
= (wxDC
*) 0 ;
12752 PyObject
* obj0
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
12758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
12763 wxPyEndAllowThreads(__tstate
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= PyInt_FromLong((long)result
);
12773 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12774 PyObject
*resultobj
;
12775 wxDC
*arg1
= (wxDC
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 char *kwnames
[] = {
12779 (char *) "self",(char *) "function", NULL
12782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DC_SetLogicalFunction",kwnames
,&obj0
,&arg2
)) goto fail
;
12783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->SetLogicalFunction(arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxDC
*arg1
= (wxDC
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 char *kwnames
[] = {
12805 (char *) "self",(char *) "opt", NULL
12808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
12809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12811 arg2
= (bool) SPyObj_AsBool(obj1
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->SetOptimization(arg2
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxDC
*arg1
= (wxDC
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (bool)(arg1
)->GetOptimization();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= PyInt_FromLong((long)result
);
12853 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxDC
*arg1
= (wxDC
*) 0 ;
12858 PyObject
* obj0
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self",(char *) "x",(char *) "y", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DC_CalcBoundingBox",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 (arg1
)->CalcBoundingBox(arg2
,arg3
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxDC
*arg1
= (wxDC
*) 0 ;
12882 PyObject
* obj0
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
12888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 (arg1
)->ResetBoundingBox();
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 Py_INCREF(Py_None
); resultobj
= Py_None
;
12903 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxDC
*arg1
= (wxDC
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 result
= (int)((wxDC
const *)arg1
)->MinX();
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 resultobj
= PyInt_FromLong((long)result
);
12928 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxDC
*arg1
= (wxDC
*) 0 ;
12932 PyObject
* obj0
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
12938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (int)((wxDC
const *)arg1
)->MaxX();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= PyInt_FromLong((long)result
);
12953 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxDC
*arg1
= (wxDC
*) 0 ;
12957 PyObject
* obj0
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (int)((wxDC
const *)arg1
)->MinY();
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= PyInt_FromLong((long)result
);
12978 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxDC
*arg1
= (wxDC
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
12988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (int)((wxDC
const *)arg1
)->MaxY();
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= PyInt_FromLong((long)result
);
13003 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
;
13005 wxDC
*arg1
= (wxDC
*) 0 ;
13006 int *arg2
= (int *) 0 ;
13007 int *arg3
= (int *) 0 ;
13008 int *arg4
= (int *) 0 ;
13009 int *arg5
= (int *) 0 ;
13014 PyObject
* obj0
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
13024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 Py_INCREF(Py_None
); resultobj
= Py_None
;
13034 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13035 resultobj
= t_output_helper(resultobj
,o
);
13038 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13039 resultobj
= t_output_helper(resultobj
,o
);
13042 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13043 resultobj
= t_output_helper(resultobj
,o
);
13046 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13047 resultobj
= t_output_helper(resultobj
,o
);
13055 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
;
13057 wxDC
*arg1
= (wxDC
*) 0 ;
13058 PyObject
*arg2
= (PyObject
*) 0 ;
13059 PyObject
*arg3
= (PyObject
*) 0 ;
13060 PyObject
*arg4
= (PyObject
*) 0 ;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 PyObject
* obj2
= 0 ;
13065 PyObject
* obj3
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 resultobj
= result
;
13089 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxDC
*arg1
= (wxDC
*) 0 ;
13092 PyObject
*arg2
= (PyObject
*) 0 ;
13093 PyObject
*arg3
= (PyObject
*) 0 ;
13094 PyObject
*arg4
= (PyObject
*) 0 ;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 PyObject
* obj2
= 0 ;
13099 PyObject
* obj3
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= result
;
13123 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxDC
*arg1
= (wxDC
*) 0 ;
13126 PyObject
*arg2
= (PyObject
*) 0 ;
13127 PyObject
*arg3
= (PyObject
*) 0 ;
13128 PyObject
*arg4
= (PyObject
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 PyObject
* obj2
= 0 ;
13133 PyObject
* obj3
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= result
;
13157 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxDC
*arg1
= (wxDC
*) 0 ;
13160 PyObject
*arg2
= (PyObject
*) 0 ;
13161 PyObject
*arg3
= (PyObject
*) 0 ;
13162 PyObject
*arg4
= (PyObject
*) 0 ;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 PyObject
* obj2
= 0 ;
13167 PyObject
* obj3
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= result
;
13191 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxDC
*arg1
= (wxDC
*) 0 ;
13194 PyObject
*arg2
= (PyObject
*) 0 ;
13195 PyObject
*arg3
= (PyObject
*) 0 ;
13196 PyObject
*arg4
= (PyObject
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 PyObject
* obj2
= 0 ;
13201 PyObject
* obj3
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= result
;
13225 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13226 PyObject
*resultobj
;
13227 wxDC
*arg1
= (wxDC
*) 0 ;
13228 PyObject
*arg2
= (PyObject
*) 0 ;
13229 PyObject
*arg3
= (PyObject
*) 0 ;
13230 PyObject
*arg4
= (PyObject
*) 0 ;
13231 PyObject
*arg5
= (PyObject
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 PyObject
* obj2
= 0 ;
13236 PyObject
* obj3
= 0 ;
13237 PyObject
* obj4
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13255 resultobj
= result
;
13262 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
13264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13265 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
13267 return Py_BuildValue((char *)"");
13269 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxMemoryDC
*result
;
13272 char *kwnames
[] = {
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
13278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13279 result
= (wxMemoryDC
*)new wxMemoryDC();
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
13291 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxDC
*arg1
= (wxDC
*) 0 ;
13294 wxMemoryDC
*result
;
13295 PyObject
* obj0
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "oldDC", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
13301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
13316 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
13319 wxBitmap
*arg2
= 0 ;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self",(char *) "bitmap", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13328 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13329 if (arg2
== NULL
) {
13330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 Py_INCREF(Py_None
); resultobj
= Py_None
;
13346 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
13348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13349 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
13351 return Py_BuildValue((char *)"");
13353 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 wxDC
*arg1
= (wxDC
*) 0 ;
13356 wxBitmap
*arg2
= 0 ;
13357 wxBufferedDC
*result
;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "dc",(char *) "buffer", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13367 if (arg2
== NULL
) {
13368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13384 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxDC
*arg1
= (wxDC
*) 0 ;
13388 wxBufferedDC
*result
;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "dc",(char *) "area", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_BufferedDCInternalBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
13416 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13440 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
13442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13443 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
13445 return Py_BuildValue((char *)"");
13447 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxWindow
*arg1
= (wxWindow
*) 0 ;
13450 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
13451 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
13452 wxBufferedPaintDC
*result
;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "window",(char *) "buffer", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13463 if (arg2
== NULL
) {
13464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
13481 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13484 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
13486 return Py_BuildValue((char *)"");
13488 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
;
13490 wxScreenDC
*result
;
13491 char *kwnames
[] = {
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (wxScreenDC
*)new wxScreenDC();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
13510 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13513 wxWindow
*arg2
= (wxWindow
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self",(char *) "window", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13523 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= PyInt_FromLong((long)result
);
13538 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13541 wxRect
*arg2
= (wxRect
*) NULL
;
13543 PyObject
* obj0
= 0 ;
13544 PyObject
* obj1
= 0 ;
13545 char *kwnames
[] = {
13546 (char *) "self",(char *) "rect", NULL
13549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
13550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= PyInt_FromLong((long)result
);
13568 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
13572 PyObject
* obj0
= 0 ;
13573 char *kwnames
[] = {
13574 (char *) "self", NULL
13577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
13578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (bool)(arg1
)->EndDrawingOnTop();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= PyInt_FromLong((long)result
);
13593 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
13595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13596 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
13598 return Py_BuildValue((char *)"");
13600 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxWindow
*arg1
= (wxWindow
*) 0 ;
13603 wxClientDC
*result
;
13604 PyObject
* obj0
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "win", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
13610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (wxClientDC
*)new wxClientDC(arg1
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
13625 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
13627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13628 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
13630 return Py_BuildValue((char *)"");
13632 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxWindow
*arg1
= (wxWindow
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 char *kwnames
[] = {
13638 (char *) "win", NULL
13641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
13642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
13647 wxPyEndAllowThreads(__tstate
);
13648 if (PyErr_Occurred()) SWIG_fail
;
13650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
13657 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
13659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13660 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
13662 return Py_BuildValue((char *)"");
13664 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxWindow
*arg1
= (wxWindow
*) 0 ;
13667 wxWindowDC
*result
;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "win", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
13689 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
13691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13692 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
13694 return Py_BuildValue((char *)"");
13696 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13700 wxMirrorDC
*result
;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "dc",(char *) "mirror", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13709 if (arg1
== NULL
) {
13710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13713 arg2
= (bool) SPyObj_AsBool(obj1
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
13730 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
13732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13733 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
13735 return Py_BuildValue((char *)"");
13737 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxPrintData
*arg1
= 0 ;
13740 wxPostScriptDC
*result
;
13741 PyObject
* obj0
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "printData", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
13747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13748 if (arg1
== NULL
) {
13749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
13765 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13768 wxPrintData
*result
;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
13780 result
= (wxPrintData
*) &_result_ref
;
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
13793 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
13796 wxPrintData
*arg2
= 0 ;
13797 PyObject
* obj0
= 0 ;
13798 PyObject
* obj1
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self",(char *) "data", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13806 if (arg2
== NULL
) {
13807 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 Py_INCREF(Py_None
); resultobj
= Py_None
;
13823 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
;
13826 char *kwnames
[] = {
13827 (char *) "ppi", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:PostScriptDC_SetResolution",kwnames
,&arg1
)) goto fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 wxPostScriptDC::SetResolution(arg1
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 Py_INCREF(Py_None
); resultobj
= Py_None
;
13845 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13848 char *kwnames
[] = {
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (int)wxPostScriptDC::GetResolution();
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= PyInt_FromLong((long)result
);
13867 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
13869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13870 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
13872 return Py_BuildValue((char *)"");
13874 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
;
13876 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13877 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13878 wxMetaFile
*result
;
13879 bool temp1
= False
;
13880 PyObject
* obj0
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "filename", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
13888 arg1
= wxString_in_helper(obj0
);
13889 if (arg1
== NULL
) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
13915 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
13917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13918 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
13920 return Py_BuildValue((char *)"");
13922 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxString
const &arg1_defvalue
= wxPyEmptyString
;
13925 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
13926 int arg2
= (int) 0 ;
13927 int arg3
= (int) 0 ;
13928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13930 wxMetaFileDC
*result
;
13931 bool temp1
= False
;
13932 bool temp4
= False
;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj3
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiiO:new_MetaFileDC",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
13942 arg1
= wxString_in_helper(obj0
);
13943 if (arg1
== NULL
) SWIG_fail
;
13949 arg4
= wxString_in_helper(obj3
);
13950 if (arg4
== NULL
) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
13984 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
13986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13987 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
13989 return Py_BuildValue((char *)"");
13991 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxPrintData
*arg1
= 0 ;
13994 wxPrinterDC
*result
;
13995 PyObject
* obj0
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "printData", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14002 if (arg1
== NULL
) {
14003 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
14019 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
14021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14022 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
14024 return Py_BuildValue((char *)"");
14026 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14030 int arg3
= (int) True
;
14031 int arg4
= (int) 1 ;
14032 wxImageList
*result
;
14033 char *kwnames
[] = {
14034 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"ii|ii:new_ImageList",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= wxPyMake_wxObject(result
);
14054 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxImageList
*arg1
= (wxImageList
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 Py_INCREF(Py_None
); resultobj
= Py_None
;
14078 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
;
14080 wxImageList
*arg1
= (wxImageList
*) 0 ;
14081 wxBitmap
*arg2
= 0 ;
14082 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
14083 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
14085 PyObject
* obj0
= 0 ;
14086 PyObject
* obj1
= 0 ;
14087 PyObject
* obj2
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14094 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14095 if (arg2
== NULL
) {
14096 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14099 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14100 if (arg3
== NULL
) {
14101 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= PyInt_FromLong((long)result
);
14118 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxImageList
*arg1
= (wxImageList
*) 0 ;
14121 wxBitmap
*arg2
= 0 ;
14122 wxColour
*arg3
= 0 ;
14125 PyObject
* obj0
= 0 ;
14126 PyObject
* obj1
= 0 ;
14127 PyObject
* obj2
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14135 if (arg2
== NULL
) {
14136 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14140 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= PyInt_FromLong((long)result
);
14156 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxImageList
*arg1
= (wxImageList
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 PyObject
* obj1
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self",(char *) "icon", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
14168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14170 if (arg2
== NULL
) {
14171 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= PyInt_FromLong((long)result
);
14187 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 wxImageList
*arg1
= (wxImageList
*) 0 ;
14191 wxBitmap
*arg3
= 0 ;
14193 PyObject
* obj0
= 0 ;
14194 PyObject
* obj2
= 0 ;
14195 char *kwnames
[] = {
14196 (char *) "self",(char *) "index",(char *) "bitmap", NULL
14199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ImageList_Replace",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14201 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14202 if (arg3
== NULL
) {
14203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= PyInt_FromLong((long)result
);
14219 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxImageList
*arg1
= (wxImageList
*) 0 ;
14226 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
14227 bool arg7
= (bool) (bool)False
;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj2
= 0 ;
14231 PyObject
* obj6
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOii|iO:ImageList_Draw",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14238 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14239 if (arg3
== NULL
) {
14240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14244 arg7
= (bool const) SPyObj_AsBool(obj6
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= PyInt_FromLong((long)result
);
14262 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxImageList
*arg1
= (wxImageList
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (int)(arg1
)->GetImageCount();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= PyInt_FromLong((long)result
);
14287 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14288 PyObject
*resultobj
;
14289 wxImageList
*arg1
= (wxImageList
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self",(char *) "index", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (bool)(arg1
)->Remove(arg2
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= PyInt_FromLong((long)result
);
14313 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxImageList
*arg1
= (wxImageList
*) 0 ;
14317 PyObject
* obj0
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "self", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
14323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (bool)(arg1
)->RemoveAll();
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= PyInt_FromLong((long)result
);
14338 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxImageList
*arg1
= (wxImageList
*) 0 ;
14346 PyObject
* obj0
= 0 ;
14347 char *kwnames
[] = {
14348 (char *) "self",(char *) "index", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ImageList_GetSize",kwnames
,&obj0
,&arg2
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14362 Py_INCREF(Py_None
); resultobj
= Py_None
;
14364 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14365 resultobj
= t_output_helper(resultobj
,o
);
14368 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14369 resultobj
= t_output_helper(resultobj
,o
);
14377 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
14379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14380 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
14382 return Py_BuildValue((char *)"");
14384 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxPenList
*arg1
= (wxPenList
*) 0 ;
14387 wxPen
*arg2
= (wxPen
*) 0 ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "self",(char *) "pen", NULL
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
14395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14396 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 (arg1
)->AddPen(arg2
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 Py_INCREF(Py_None
); resultobj
= Py_None
;
14411 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
;
14413 wxPenList
*arg1
= (wxPenList
*) 0 ;
14414 wxColour
*arg2
= 0 ;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
14445 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxPenList
*arg1
= (wxPenList
*) 0 ;
14448 wxPen
*arg2
= (wxPen
*) 0 ;
14449 PyObject
* obj0
= 0 ;
14450 PyObject
* obj1
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self",(char *) "pen", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 (arg1
)->RemovePen(arg2
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 Py_INCREF(Py_None
); resultobj
= Py_None
;
14472 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxPenList
*arg1
= (wxPenList
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self", NULL
14481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
14482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14485 result
= (int)(arg1
)->GetCount();
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= PyInt_FromLong((long)result
);
14497 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
14499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14500 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
14502 return Py_BuildValue((char *)"");
14504 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14507 wxBrush
*arg2
= (wxBrush
*) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 char *kwnames
[] = {
14511 (char *) "self",(char *) "brush", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 (arg1
)->AddBrush(arg2
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 Py_INCREF(Py_None
); resultobj
= Py_None
;
14531 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14534 wxColour
*arg2
= 0 ;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self",(char *) "colour",(char *) "style", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
14564 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14567 wxBrush
*arg2
= (wxBrush
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "brush", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 (arg1
)->RemoveBrush(arg2
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 Py_INCREF(Py_None
); resultobj
= Py_None
;
14591 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "self", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
14601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (int)(arg1
)->GetCount();
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 resultobj
= PyInt_FromLong((long)result
);
14616 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
14618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14619 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
14621 return Py_BuildValue((char *)"");
14623 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14624 PyObject
*resultobj
;
14625 wxColourDatabase
*result
;
14626 char *kwnames
[] = {
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (wxColourDatabase
*)new wxColourDatabase();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
14645 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 Py_INCREF(Py_None
); resultobj
= Py_None
;
14669 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14672 wxString
*arg2
= 0 ;
14674 bool temp2
= False
;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "name", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14684 arg2
= wxString_in_helper(obj1
);
14685 if (arg2
== NULL
) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14696 wxColour
* resultptr
;
14697 resultptr
= new wxColour((wxColour
&) result
);
14698 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
14714 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
;
14716 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14717 wxColour
*arg2
= 0 ;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self",(char *) "colour", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
14727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14752 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14755 wxString
*arg2
= 0 ;
14756 wxColour
*arg3
= 0 ;
14757 bool temp2
= False
;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 PyObject
* obj2
= 0 ;
14762 char *kwnames
[] = {
14763 (char *) "self",(char *) "name",(char *) "colour", NULL
14766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14769 arg2
= wxString_in_helper(obj1
);
14770 if (arg2
== NULL
) SWIG_fail
;
14775 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14799 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
14802 wxString
*arg2
= 0 ;
14806 bool temp2
= False
;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiii:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14816 arg2
= wxString_in_helper(obj1
);
14817 if (arg2
== NULL
) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 Py_INCREF(Py_None
); resultobj
= Py_None
;
14842 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
14844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14845 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
14847 return Py_BuildValue((char *)"");
14849 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxFontList
*arg1
= (wxFontList
*) 0 ;
14852 wxFont
*arg2
= (wxFont
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "font", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 (arg1
)->AddFont(arg2
);
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 Py_INCREF(Py_None
); resultobj
= Py_None
;
14876 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14877 PyObject
*resultobj
;
14878 wxFontList
*arg1
= (wxFontList
*) 0 ;
14883 bool arg6
= (bool) False
;
14884 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14885 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14886 int arg8
= (int) wxFONTENCODING_DEFAULT
;
14888 bool temp7
= False
;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj5
= 0 ;
14891 PyObject
* obj6
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOi:FontList_FindOrCreateFont",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14900 arg6
= (bool) SPyObj_AsBool(obj5
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14906 arg7
= wxString_in_helper(obj6
);
14907 if (arg7
== NULL
) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
14915 wxPyEndAllowThreads(__tstate
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
14933 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxFontList
*arg1
= (wxFontList
*) 0 ;
14936 wxFont
*arg2
= (wxFont
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char *kwnames
[] = {
14940 (char *) "self",(char *) "font", NULL
14943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
14944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14945 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 (arg1
)->RemoveFont(arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 Py_INCREF(Py_None
); resultobj
= Py_None
;
14960 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxFontList
*arg1
= (wxFontList
*) 0 ;
14964 PyObject
* obj0
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (int)(arg1
)->GetCount();
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= PyInt_FromLong((long)result
);
14985 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
14987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14988 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
14990 return Py_BuildValue((char *)"");
14992 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
14993 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
14998 static PyObject
*_wrap_NORMAL_FONT_get() {
15001 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15006 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
15007 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
15012 static PyObject
*_wrap_SMALL_FONT_get() {
15015 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
15020 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
15021 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
15026 static PyObject
*_wrap_ITALIC_FONT_get() {
15029 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
15034 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
15035 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
15040 static PyObject
*_wrap_SWISS_FONT_get() {
15043 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
15048 static int _wrap_RED_PEN_set(PyObject
*_val
) {
15049 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
15054 static PyObject
*_wrap_RED_PEN_get() {
15057 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
15062 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
15063 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
15068 static PyObject
*_wrap_CYAN_PEN_get() {
15071 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
15076 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
15077 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
15082 static PyObject
*_wrap_GREEN_PEN_get() {
15085 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
15090 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
15091 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
15096 static PyObject
*_wrap_BLACK_PEN_get() {
15099 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
15104 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
15105 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
15110 static PyObject
*_wrap_WHITE_PEN_get() {
15113 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
15118 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
15119 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
15124 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
15127 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
15132 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
15133 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
15138 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
15141 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
15146 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
15147 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
15152 static PyObject
*_wrap_GREY_PEN_get() {
15155 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15160 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
15161 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
15166 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
15169 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15174 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
15175 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
15180 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
15183 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
15188 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
15189 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
15194 static PyObject
*_wrap_BLUE_BRUSH_get() {
15197 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15202 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
15203 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
15208 static PyObject
*_wrap_GREEN_BRUSH_get() {
15211 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15216 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
15217 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
15222 static PyObject
*_wrap_WHITE_BRUSH_get() {
15225 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15230 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
15231 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
15236 static PyObject
*_wrap_BLACK_BRUSH_get() {
15239 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15244 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
15245 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
15250 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
15253 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15258 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
15259 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
15264 static PyObject
*_wrap_CYAN_BRUSH_get() {
15267 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15272 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
15273 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
15278 static PyObject
*_wrap_RED_BRUSH_get() {
15281 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15286 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
15287 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
15292 static PyObject
*_wrap_GREY_BRUSH_get() {
15295 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15300 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
15301 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
15306 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
15309 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15314 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
15315 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
15320 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
15323 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
15328 static int _wrap_BLACK_set(PyObject
*_val
) {
15329 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
15334 static PyObject
*_wrap_BLACK_get() {
15337 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
15342 static int _wrap_WHITE_set(PyObject
*_val
) {
15343 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
15348 static PyObject
*_wrap_WHITE_get() {
15351 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
15356 static int _wrap_RED_set(PyObject
*_val
) {
15357 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
15362 static PyObject
*_wrap_RED_get() {
15365 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
15370 static int _wrap_BLUE_set(PyObject
*_val
) {
15371 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
15376 static PyObject
*_wrap_BLUE_get() {
15379 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
15384 static int _wrap_GREEN_set(PyObject
*_val
) {
15385 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
15390 static PyObject
*_wrap_GREEN_get() {
15393 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
15398 static int _wrap_CYAN_set(PyObject
*_val
) {
15399 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
15404 static PyObject
*_wrap_CYAN_get() {
15407 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
15412 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
15413 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
15418 static PyObject
*_wrap_LIGHT_GREY_get() {
15421 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
15426 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
15427 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
15432 static PyObject
*_wrap_STANDARD_CURSOR_get() {
15435 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15440 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
15441 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
15446 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
15449 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15454 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
15455 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
15460 static PyObject
*_wrap_CROSS_CURSOR_get() {
15463 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
15468 static int _wrap_NullBitmap_set(PyObject
*_val
) {
15469 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
15474 static PyObject
*_wrap_NullBitmap_get() {
15477 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
15482 static int _wrap_NullIcon_set(PyObject
*_val
) {
15483 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
15488 static PyObject
*_wrap_NullIcon_get() {
15491 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
15496 static int _wrap_NullCursor_set(PyObject
*_val
) {
15497 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
15502 static PyObject
*_wrap_NullCursor_get() {
15505 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
15510 static int _wrap_NullPen_set(PyObject
*_val
) {
15511 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
15516 static PyObject
*_wrap_NullPen_get() {
15519 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
15524 static int _wrap_NullBrush_set(PyObject
*_val
) {
15525 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
15530 static PyObject
*_wrap_NullBrush_get() {
15533 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
15538 static int _wrap_NullPalette_set(PyObject
*_val
) {
15539 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
15544 static PyObject
*_wrap_NullPalette_get() {
15547 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
15552 static int _wrap_NullFont_set(PyObject
*_val
) {
15553 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
15558 static PyObject
*_wrap_NullFont_get() {
15561 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
15566 static int _wrap_NullColour_set(PyObject
*_val
) {
15567 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
15572 static PyObject
*_wrap_NullColour_get() {
15575 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
15580 static int _wrap_TheFontList_set(PyObject
*_val
) {
15581 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
15586 static PyObject
*_wrap_TheFontList_get() {
15589 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
15594 static int _wrap_ThePenList_set(PyObject
*_val
) {
15595 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
15600 static PyObject
*_wrap_ThePenList_get() {
15603 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
15608 static int _wrap_TheBrushList_set(PyObject
*_val
) {
15609 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
15614 static PyObject
*_wrap_TheBrushList_get() {
15617 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
15622 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
15623 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
15628 static PyObject
*_wrap_TheColourDatabase_get() {
15631 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
15636 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15639 char *kwnames
[] = {
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 result
= (wxEffects
*)new wxEffects();
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
15658 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxEffects
*arg1
= (wxEffects
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15677 wxColour
* resultptr
;
15678 resultptr
= new wxColour((wxColour
&) result
);
15679 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15687 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxEffects
*arg1
= (wxEffects
*) 0 ;
15691 PyObject
* obj0
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 wxColour
* resultptr
;
15707 resultptr
= new wxColour((wxColour
&) result
);
15708 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15716 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxEffects
*arg1
= (wxEffects
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 char *kwnames
[] = {
15722 (char *) "self", NULL
15725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
15726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 wxColour
* resultptr
;
15736 resultptr
= new wxColour((wxColour
&) result
);
15737 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15745 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxEffects
*arg1
= (wxEffects
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 wxColour
* resultptr
;
15765 resultptr
= new wxColour((wxColour
&) result
);
15766 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15774 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxEffects
*arg1
= (wxEffects
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15793 wxColour
* resultptr
;
15794 resultptr
= new wxColour((wxColour
&) result
);
15795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15803 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxEffects
*arg1
= (wxEffects
*) 0 ;
15806 wxColour
*arg2
= 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "c", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 Py_INCREF(Py_None
); resultobj
= Py_None
;
15834 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxEffects
*arg1
= (wxEffects
*) 0 ;
15837 wxColour
*arg2
= 0 ;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self",(char *) "c", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15849 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 Py_INCREF(Py_None
); resultobj
= Py_None
;
15865 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxEffects
*arg1
= (wxEffects
*) 0 ;
15868 wxColour
*arg2
= 0 ;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self",(char *) "c", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 Py_INCREF(Py_None
); resultobj
= Py_None
;
15896 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxEffects
*arg1
= (wxEffects
*) 0 ;
15899 wxColour
*arg2
= 0 ;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "c", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15911 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 Py_INCREF(Py_None
); resultobj
= Py_None
;
15927 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15928 PyObject
*resultobj
;
15929 wxEffects
*arg1
= (wxEffects
*) 0 ;
15930 wxColour
*arg2
= 0 ;
15932 PyObject
* obj0
= 0 ;
15933 PyObject
* obj1
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self",(char *) "c", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15942 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15946 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 Py_INCREF(Py_None
); resultobj
= Py_None
;
15958 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
;
15960 wxEffects
*arg1
= (wxEffects
*) 0 ;
15961 wxColour
*arg2
= 0 ;
15962 wxColour
*arg3
= 0 ;
15963 wxColour
*arg4
= 0 ;
15964 wxColour
*arg5
= 0 ;
15965 wxColour
*arg6
= 0 ;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 PyObject
* obj2
= 0 ;
15974 PyObject
* obj3
= 0 ;
15975 PyObject
* obj4
= 0 ;
15976 PyObject
* obj5
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15985 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15989 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15993 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15997 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
16001 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxEffects
*arg1
= (wxEffects
*) 0 ;
16022 int arg4
= (int) 1 ;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 PyObject
* obj2
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16034 if (arg2
== NULL
) {
16035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16039 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 Py_INCREF(Py_None
); resultobj
= Py_None
;
16055 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxEffects
*arg1
= (wxEffects
*) 0 ;
16060 wxBitmap
*arg4
= 0 ;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 PyObject
* obj3
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16075 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16077 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16078 if (arg3
== NULL
) {
16079 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16081 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16082 if (arg4
== NULL
) {
16083 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= PyInt_FromLong((long)result
);
16099 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
16101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16102 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
16104 return Py_BuildValue((char *)"");
16106 static PyMethodDef SwigMethods
[] = {
16107 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
16108 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
16109 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
16110 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
16111 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
16112 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
16113 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
16114 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
16115 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
16116 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
16117 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
16118 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
16119 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
16120 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16121 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
16122 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
16123 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
16124 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
16125 { (char *)"Colour_InitFromName", (PyCFunction
) _wrap_Colour_InitFromName
, METH_VARARGS
| METH_KEYWORDS
},
16126 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
16127 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
16128 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
16129 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
16130 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
16131 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
16132 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16133 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
16134 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
16135 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
16136 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
16137 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
16138 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
16139 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16140 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16141 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16142 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
16143 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
16144 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
16145 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16146 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16147 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
16148 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
16149 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
16150 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
16151 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
16152 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
16153 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
16154 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
16155 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
16156 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
16157 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16158 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
16159 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
16160 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16161 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
16162 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16163 { (char *)"Brush_GetMacTheme", (PyCFunction
) _wrap_Brush_GetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
16164 { (char *)"Brush_SetMacTheme", (PyCFunction
) _wrap_Brush_SetMacTheme
, METH_VARARGS
| METH_KEYWORDS
},
16165 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
16166 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
16167 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
16168 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16169 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
16170 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
16171 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
16172 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
16173 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16174 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16175 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16176 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16177 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
16178 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
16179 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
16180 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
16181 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16182 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
16183 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
16184 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
16185 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16186 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16187 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16188 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
16189 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
16190 { (char *)"new_MaskColour", (PyCFunction
) _wrap_new_MaskColour
, METH_VARARGS
| METH_KEYWORDS
},
16191 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
16192 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
16193 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
16194 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
16195 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
16196 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16197 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
16198 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16199 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16200 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16201 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16202 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16203 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16204 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16205 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16206 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
16207 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
16208 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
16209 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
16210 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
16211 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
16212 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
16213 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
16214 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
16215 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
16216 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
16217 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
16218 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
16219 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
16220 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
16221 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
16222 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
16223 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
16224 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
16225 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
16226 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
16227 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
16228 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16229 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
16230 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
16231 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16232 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
16233 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
16234 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
16235 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
16236 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
16237 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
16238 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
16239 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
16240 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
16241 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
16242 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
16243 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
16244 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
16245 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
16246 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
16247 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
16248 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
16249 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
16250 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
16251 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
16252 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
16253 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16254 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16255 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
16256 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
16257 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
16258 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
16259 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
16260 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
16261 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
16262 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
16263 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
16264 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
16265 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
16266 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
16267 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
16268 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
16269 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
16270 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16271 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16272 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
16273 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
16274 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16275 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16276 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16277 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16278 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16279 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16280 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16281 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16282 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16283 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16284 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16285 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16286 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16287 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16288 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
16289 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
16290 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
16291 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
16292 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
16293 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
16294 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
16295 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
16296 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
16297 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
16298 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
16299 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
16300 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
16301 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
16302 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
16303 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16304 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16305 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
16306 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
16307 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
16308 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
16309 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16310 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
16311 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16312 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16313 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
16314 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
16315 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
16316 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
16317 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16318 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
16319 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
16320 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
16321 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
16322 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
16323 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
16324 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
16325 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
16326 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
16327 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16328 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
16329 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
16330 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16331 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16332 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16333 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16334 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16335 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16336 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16337 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16338 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
16339 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
16340 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
16341 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
16342 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
16343 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
16344 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
16345 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
16346 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
16347 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16348 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
16349 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
16350 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
16351 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
16352 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
16353 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
16354 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
16355 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
16356 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16357 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16358 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
16359 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
16360 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
16361 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
16362 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
16363 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
16364 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
16365 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
16366 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
16367 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
16368 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
16369 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
16370 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
16371 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
16372 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
16373 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
16374 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
16375 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
16376 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
16377 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
16378 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16379 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
16380 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
16381 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
16382 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16383 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16384 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
16385 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
16386 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
16387 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
16388 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
16389 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16390 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
16391 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
16392 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
16393 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
16394 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
16395 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
16396 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
16397 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
16398 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16399 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
16400 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
16401 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
16402 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16403 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
16404 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
16405 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
16406 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
16407 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16408 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
16409 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
16410 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
16411 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
16412 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
16413 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
16414 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
16415 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
16416 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
16417 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16418 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
16419 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
16420 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
16421 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
16422 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
16423 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
16424 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
16425 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16426 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16427 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16428 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
16429 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
16430 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
16431 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
16432 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
16433 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
16434 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
16435 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
16436 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
16437 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
16438 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
16439 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16440 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16441 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
16442 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
16443 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
16444 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
16445 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
16446 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
16447 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
16448 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
16449 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
16450 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
16451 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
16452 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
16453 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
16454 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
16455 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
16456 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
16457 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
16458 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16459 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16460 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16461 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
16462 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
16463 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16464 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16465 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
16466 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
16467 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
16468 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
16469 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
16470 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
16471 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16472 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16473 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16474 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16475 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
16476 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
16477 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
16478 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
16479 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
16480 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
16481 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
16482 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
16483 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
16484 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
16485 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
16486 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16487 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
16488 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
16489 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
16490 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
16491 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
16492 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
16493 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
16494 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
16495 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
16496 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16497 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16498 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
16499 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
16500 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16501 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
16502 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16503 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
16504 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16505 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
16506 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16507 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16508 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16509 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16510 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
16511 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
16512 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
16513 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16514 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
16515 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16516 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
16517 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16518 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16519 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
16520 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
16521 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
16522 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
16523 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
16524 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
16525 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
16526 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
16527 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
16528 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
16529 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
16530 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
16531 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
16532 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
16533 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
16534 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
16535 { (char *)"new_BufferedDC", (PyCFunction
) _wrap_new_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
16536 { (char *)"new_BufferedDCInternalBuffer", (PyCFunction
) _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
| METH_KEYWORDS
},
16537 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
16538 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
16539 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16540 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
16541 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
16542 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
16543 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16544 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
16545 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
16546 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
16547 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
16548 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
16549 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
16550 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
16551 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
16552 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
16553 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
16554 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
16555 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16556 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
16557 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16558 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
16559 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
16560 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
16561 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
16562 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
16563 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
16564 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
16565 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
16566 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
16567 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
16568 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
16569 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
16570 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
16571 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
16572 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
16573 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
16574 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
16575 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
16576 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
16577 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
16578 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
16579 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
16580 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
16581 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16582 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
16583 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
16584 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
16585 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
16586 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16587 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
16588 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
16589 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
16590 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
16591 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
16592 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
16593 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
16594 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
16595 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
16596 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
16597 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
16598 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
16599 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
16600 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
16601 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16602 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
16603 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
16604 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
16605 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
16606 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
16607 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
16608 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
16609 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
16610 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
16611 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
16612 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
16613 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
16614 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
16619 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16621 static void *_p_wxControlTo_p_wxWindow(void *x
) {
16622 return (void *)((wxWindow
*) ((wxControl
*) x
));
16624 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
16625 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
16627 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
16628 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
16630 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
16631 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
16633 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
16634 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16636 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
16637 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
16639 static void *_p_wxPenTo_p_wxObject(void *x
) {
16640 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
16642 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
16643 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
16645 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
16646 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
16648 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
16649 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
16651 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
16652 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
16654 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
16655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
16657 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
16658 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
16660 static void *_p_wxIconTo_p_wxObject(void *x
) {
16661 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
16663 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
16664 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
16666 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
16667 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
16669 static void *_p_wxSizerTo_p_wxObject(void *x
) {
16670 return (void *)((wxObject
*) ((wxSizer
*) x
));
16672 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
16673 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
16675 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
16676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
16678 static void *_p_wxPenListTo_p_wxObject(void *x
) {
16679 return (void *)((wxObject
*) ((wxPenList
*) x
));
16681 static void *_p_wxEventTo_p_wxObject(void *x
) {
16682 return (void *)((wxObject
*) ((wxEvent
*) x
));
16684 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
16685 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
16687 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
16688 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
16690 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
16691 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
16693 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
16694 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
16696 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
16697 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
16699 static void *_p_wxDCTo_p_wxObject(void *x
) {
16700 return (void *)((wxObject
*) ((wxDC
*) x
));
16702 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
16703 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
16705 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
16706 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
16708 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
16709 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
16711 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
16712 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
16714 static void *_p_wxControlTo_p_wxObject(void *x
) {
16715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
16717 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
16718 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
16720 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
16721 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
16723 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
16724 return (void *)((wxObject
*) ((wxFSFile
*) x
));
16726 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
16727 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
16729 static void *_p_wxRegionTo_p_wxObject(void *x
) {
16730 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
16732 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
16733 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
16735 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
16736 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
16738 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
16739 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
16741 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
16742 return (void *)((wxObject
*) ((wxEffects
*) x
));
16744 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
16745 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
16747 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
16748 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
16750 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
16751 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
16753 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
16754 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
16756 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
16757 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
16759 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
16760 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
16762 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
16763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
16765 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
16766 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
16768 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
16769 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
16771 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
16772 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
16774 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
16775 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
16777 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
16778 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
16780 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
16781 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
16783 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
16784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
16786 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
16787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
16789 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
16790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
16792 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
16793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
16795 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
16796 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
16798 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
16799 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
16801 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
16802 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
16804 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
16805 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
16807 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
16808 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
16810 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
16811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
16813 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
16814 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
16816 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
16817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
16819 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
16820 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
16822 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
16823 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16825 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
16826 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
16828 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
16829 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
16831 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
16832 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
16834 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
16835 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
16837 static void *_p_wxImageTo_p_wxObject(void *x
) {
16838 return (void *)((wxObject
*) ((wxImage
*) x
));
16840 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
16841 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
16843 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
16844 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
16846 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
16847 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
16849 static void *_p_wxImageListTo_p_wxObject(void *x
) {
16850 return (void *)((wxObject
*) ((wxImageList
*) x
));
16852 static void *_p_wxCursorTo_p_wxObject(void *x
) {
16853 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
16855 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
16856 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
16858 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
16859 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
16861 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
16862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
16864 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
16865 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
16867 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
16868 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
16870 static void *_p_wxWindowTo_p_wxObject(void *x
) {
16871 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
16873 static void *_p_wxMenuTo_p_wxObject(void *x
) {
16874 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
16876 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
16877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
16879 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
16880 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
16882 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
16883 return (void *)((wxObject
*) ((wxBrushList
*) x
));
16885 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
16886 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
16888 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
16889 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
16891 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
16892 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
16894 static void *_p_wxMaskTo_p_wxObject(void *x
) {
16895 return (void *)((wxObject
*) ((wxMask
*) x
));
16897 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
16898 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
16900 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
16901 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
16903 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
16904 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
16906 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
16907 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
16909 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
16910 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
16912 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
16913 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
16915 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
16916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
16918 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
16919 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
16921 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
16922 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
16924 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
16925 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
16927 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
16928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
16930 static void *_p_wxFontTo_p_wxObject(void *x
) {
16931 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
16933 static void *_p_wxBrushTo_p_wxObject(void *x
) {
16934 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
16936 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
16937 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
16939 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
16940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
16942 static void *_p_wxColourTo_p_wxObject(void *x
) {
16943 return (void *)((wxObject
*) ((wxColour
*) x
));
16945 static void *_p_wxFontListTo_p_wxObject(void *x
) {
16946 return (void *)((wxObject
*) ((wxFontList
*) x
));
16948 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
16949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
16951 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
16952 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
16954 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
16955 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16957 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
16958 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
16960 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
16961 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
16963 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
16964 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
16966 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
16967 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
16969 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
16970 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
16972 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
16973 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
16975 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
16976 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
16978 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
16979 return (void *)((wxDC
*) ((wxClientDC
*) x
));
16981 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
16982 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
16984 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
16985 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
16987 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
16988 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
16990 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
16991 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
16993 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
16994 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
16996 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
16997 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
16999 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
17000 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
17002 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
17003 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
17005 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
17006 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
17008 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
17009 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
17011 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
17012 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
17014 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
17015 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
17017 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
17018 return (void *)((wxPen
*) ((wxPyPen
*) x
));
17020 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
17021 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
17022 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
17023 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}};
17024 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
17025 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
17026 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
17027 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
17028 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
17029 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
17030 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
17031 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
17032 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}};
17033 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
17034 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
17035 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}};
17036 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
17037 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
17038 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
17039 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
17040 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
17041 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}};
17042 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
17043 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
17044 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
17045 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
17046 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
17047 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
17048 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
17049 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
17050 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
17051 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
17052 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
17053 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
17054 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
17055 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}};
17056 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
17057 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
17058 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
17059 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
17060 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
17061 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
17062 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
17063 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
17064 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
17065 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
17066 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
17067 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
17068 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
17069 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
17070 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
17071 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
17072 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
17073 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
17074 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
17076 static swig_type_info
*swig_types_initial
[] = {
17077 _swigt__p_wxPostScriptDC
,
17079 _swigt__p_wxColour
,
17081 _swigt__p_wxMirrorDC
,
17083 _swigt__p_wxPyFontEnumerator
,
17084 _swigt__p_wxIconLocation
,
17086 _swigt__p_wxMetaFileDC
,
17089 _swigt__p_wxWindow
,
17092 _swigt__p_wxMemoryDC
,
17093 _swigt__p_wxFontMapper
,
17094 _swigt__p_wxEffects
,
17095 _swigt__p_wxNativeEncodingInfo
,
17096 _swigt__p_wxPalette
,
17097 _swigt__p_wxBitmap
,
17098 _swigt__p_wxObject
,
17099 _swigt__p_wxRegionIterator
,
17101 _swigt__p_wxString
,
17102 _swigt__p_wxPrinterDC
,
17103 _swigt__p_wxIconBundle
,
17106 _swigt__p_wxScreenDC
,
17107 _swigt__p_wxCursor
,
17108 _swigt__p_wxClientDC
,
17109 _swigt__p_wxBufferedDC
,
17110 _swigt__p_wxImageList
,
17111 _swigt__p_unsigned_char
,
17112 _swigt__p_wxGDIObject
,
17113 _swigt__p_wxLocale
,
17115 _swigt__p_wxRegion
,
17116 _swigt__p_wxLanguageInfo
,
17117 _swigt__p_wxConfigBase
,
17118 _swigt__p_wxWindowDC
,
17119 _swigt__p_wxPrintData
,
17120 _swigt__p_wxBrushList
,
17121 _swigt__p_wxFontList
,
17123 _swigt__p_wxBufferedPaintDC
,
17124 _swigt__p_wxPaintDC
,
17125 _swigt__p_wxPenList
,
17128 _swigt__p_wxMetaFile
,
17129 _swigt__p_wxNativeFontInfo
,
17130 _swigt__p_wxEncodingConverter
,
17131 _swigt__p_wxColourDatabase
,
17136 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17138 static swig_const_info swig_const_table
[] = {
17139 { SWIG_PY_INT
, (char *)"OutRegion", (long) wxOutRegion
, 0, 0, 0},
17140 { SWIG_PY_INT
, (char *)"PartRegion", (long) wxPartRegion
, 0, 0, 0},
17141 { SWIG_PY_INT
, (char *)"InRegion", (long) wxInRegion
, 0, 0, 0},
17142 { SWIG_PY_INT
, (char *)"FONTFAMILY_DEFAULT", (long) wxFONTFAMILY_DEFAULT
, 0, 0, 0},
17143 { SWIG_PY_INT
, (char *)"FONTFAMILY_DECORATIVE", (long) wxFONTFAMILY_DECORATIVE
, 0, 0, 0},
17144 { SWIG_PY_INT
, (char *)"FONTFAMILY_ROMAN", (long) wxFONTFAMILY_ROMAN
, 0, 0, 0},
17145 { SWIG_PY_INT
, (char *)"FONTFAMILY_SCRIPT", (long) wxFONTFAMILY_SCRIPT
, 0, 0, 0},
17146 { SWIG_PY_INT
, (char *)"FONTFAMILY_SWISS", (long) wxFONTFAMILY_SWISS
, 0, 0, 0},
17147 { SWIG_PY_INT
, (char *)"FONTFAMILY_MODERN", (long) wxFONTFAMILY_MODERN
, 0, 0, 0},
17148 { SWIG_PY_INT
, (char *)"FONTFAMILY_TELETYPE", (long) wxFONTFAMILY_TELETYPE
, 0, 0, 0},
17149 { SWIG_PY_INT
, (char *)"FONTFAMILY_MAX", (long) wxFONTFAMILY_MAX
, 0, 0, 0},
17150 { SWIG_PY_INT
, (char *)"FONTFAMILY_UNKNOWN", (long) wxFONTFAMILY_UNKNOWN
, 0, 0, 0},
17151 { SWIG_PY_INT
, (char *)"FONTSTYLE_NORMAL", (long) wxFONTSTYLE_NORMAL
, 0, 0, 0},
17152 { SWIG_PY_INT
, (char *)"FONTSTYLE_ITALIC", (long) wxFONTSTYLE_ITALIC
, 0, 0, 0},
17153 { SWIG_PY_INT
, (char *)"FONTSTYLE_SLANT", (long) wxFONTSTYLE_SLANT
, 0, 0, 0},
17154 { SWIG_PY_INT
, (char *)"FONTSTYLE_MAX", (long) wxFONTSTYLE_MAX
, 0, 0, 0},
17155 { SWIG_PY_INT
, (char *)"FONTWEIGHT_NORMAL", (long) wxFONTWEIGHT_NORMAL
, 0, 0, 0},
17156 { SWIG_PY_INT
, (char *)"FONTWEIGHT_LIGHT", (long) wxFONTWEIGHT_LIGHT
, 0, 0, 0},
17157 { SWIG_PY_INT
, (char *)"FONTWEIGHT_BOLD", (long) wxFONTWEIGHT_BOLD
, 0, 0, 0},
17158 { SWIG_PY_INT
, (char *)"FONTWEIGHT_MAX", (long) wxFONTWEIGHT_MAX
, 0, 0, 0},
17159 { SWIG_PY_INT
, (char *)"FONTFLAG_DEFAULT", (long) wxFONTFLAG_DEFAULT
, 0, 0, 0},
17160 { SWIG_PY_INT
, (char *)"FONTFLAG_ITALIC", (long) wxFONTFLAG_ITALIC
, 0, 0, 0},
17161 { SWIG_PY_INT
, (char *)"FONTFLAG_SLANT", (long) wxFONTFLAG_SLANT
, 0, 0, 0},
17162 { SWIG_PY_INT
, (char *)"FONTFLAG_LIGHT", (long) wxFONTFLAG_LIGHT
, 0, 0, 0},
17163 { SWIG_PY_INT
, (char *)"FONTFLAG_BOLD", (long) wxFONTFLAG_BOLD
, 0, 0, 0},
17164 { SWIG_PY_INT
, (char *)"FONTFLAG_ANTIALIASED", (long) wxFONTFLAG_ANTIALIASED
, 0, 0, 0},
17165 { SWIG_PY_INT
, (char *)"FONTFLAG_NOT_ANTIALIASED", (long) wxFONTFLAG_NOT_ANTIALIASED
, 0, 0, 0},
17166 { SWIG_PY_INT
, (char *)"FONTFLAG_UNDERLINED", (long) wxFONTFLAG_UNDERLINED
, 0, 0, 0},
17167 { SWIG_PY_INT
, (char *)"FONTFLAG_STRIKETHROUGH", (long) wxFONTFLAG_STRIKETHROUGH
, 0, 0, 0},
17168 { SWIG_PY_INT
, (char *)"FONTFLAG_MASK", (long) wxFONTFLAG_MASK
, 0, 0, 0},
17169 { SWIG_PY_INT
, (char *)"FONTENCODING_SYSTEM", (long) wxFONTENCODING_SYSTEM
, 0, 0, 0},
17170 { SWIG_PY_INT
, (char *)"FONTENCODING_DEFAULT", (long) wxFONTENCODING_DEFAULT
, 0, 0, 0},
17171 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_1", (long) wxFONTENCODING_ISO8859_1
, 0, 0, 0},
17172 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_2", (long) wxFONTENCODING_ISO8859_2
, 0, 0, 0},
17173 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_3", (long) wxFONTENCODING_ISO8859_3
, 0, 0, 0},
17174 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_4", (long) wxFONTENCODING_ISO8859_4
, 0, 0, 0},
17175 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_5", (long) wxFONTENCODING_ISO8859_5
, 0, 0, 0},
17176 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_6", (long) wxFONTENCODING_ISO8859_6
, 0, 0, 0},
17177 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_7", (long) wxFONTENCODING_ISO8859_7
, 0, 0, 0},
17178 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_8", (long) wxFONTENCODING_ISO8859_8
, 0, 0, 0},
17179 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_9", (long) wxFONTENCODING_ISO8859_9
, 0, 0, 0},
17180 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_10", (long) wxFONTENCODING_ISO8859_10
, 0, 0, 0},
17181 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_11", (long) wxFONTENCODING_ISO8859_11
, 0, 0, 0},
17182 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_12", (long) wxFONTENCODING_ISO8859_12
, 0, 0, 0},
17183 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_13", (long) wxFONTENCODING_ISO8859_13
, 0, 0, 0},
17184 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_14", (long) wxFONTENCODING_ISO8859_14
, 0, 0, 0},
17185 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_15", (long) wxFONTENCODING_ISO8859_15
, 0, 0, 0},
17186 { SWIG_PY_INT
, (char *)"FONTENCODING_ISO8859_MAX", (long) wxFONTENCODING_ISO8859_MAX
, 0, 0, 0},
17187 { SWIG_PY_INT
, (char *)"FONTENCODING_KOI8", (long) wxFONTENCODING_KOI8
, 0, 0, 0},
17188 { SWIG_PY_INT
, (char *)"FONTENCODING_ALTERNATIVE", (long) wxFONTENCODING_ALTERNATIVE
, 0, 0, 0},
17189 { SWIG_PY_INT
, (char *)"FONTENCODING_BULGARIAN", (long) wxFONTENCODING_BULGARIAN
, 0, 0, 0},
17190 { SWIG_PY_INT
, (char *)"FONTENCODING_CP437", (long) wxFONTENCODING_CP437
, 0, 0, 0},
17191 { SWIG_PY_INT
, (char *)"FONTENCODING_CP850", (long) wxFONTENCODING_CP850
, 0, 0, 0},
17192 { SWIG_PY_INT
, (char *)"FONTENCODING_CP852", (long) wxFONTENCODING_CP852
, 0, 0, 0},
17193 { SWIG_PY_INT
, (char *)"FONTENCODING_CP855", (long) wxFONTENCODING_CP855
, 0, 0, 0},
17194 { SWIG_PY_INT
, (char *)"FONTENCODING_CP866", (long) wxFONTENCODING_CP866
, 0, 0, 0},
17195 { SWIG_PY_INT
, (char *)"FONTENCODING_CP874", (long) wxFONTENCODING_CP874
, 0, 0, 0},
17196 { SWIG_PY_INT
, (char *)"FONTENCODING_CP932", (long) wxFONTENCODING_CP932
, 0, 0, 0},
17197 { SWIG_PY_INT
, (char *)"FONTENCODING_CP936", (long) wxFONTENCODING_CP936
, 0, 0, 0},
17198 { SWIG_PY_INT
, (char *)"FONTENCODING_CP949", (long) wxFONTENCODING_CP949
, 0, 0, 0},
17199 { SWIG_PY_INT
, (char *)"FONTENCODING_CP950", (long) wxFONTENCODING_CP950
, 0, 0, 0},
17200 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1250", (long) wxFONTENCODING_CP1250
, 0, 0, 0},
17201 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1251", (long) wxFONTENCODING_CP1251
, 0, 0, 0},
17202 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1252", (long) wxFONTENCODING_CP1252
, 0, 0, 0},
17203 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1253", (long) wxFONTENCODING_CP1253
, 0, 0, 0},
17204 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1254", (long) wxFONTENCODING_CP1254
, 0, 0, 0},
17205 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1255", (long) wxFONTENCODING_CP1255
, 0, 0, 0},
17206 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1256", (long) wxFONTENCODING_CP1256
, 0, 0, 0},
17207 { SWIG_PY_INT
, (char *)"FONTENCODING_CP1257", (long) wxFONTENCODING_CP1257
, 0, 0, 0},
17208 { SWIG_PY_INT
, (char *)"FONTENCODING_CP12_MAX", (long) wxFONTENCODING_CP12_MAX
, 0, 0, 0},
17209 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF7", (long) wxFONTENCODING_UTF7
, 0, 0, 0},
17210 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF8", (long) wxFONTENCODING_UTF8
, 0, 0, 0},
17211 { SWIG_PY_INT
, (char *)"FONTENCODING_EUC_JP", (long) wxFONTENCODING_EUC_JP
, 0, 0, 0},
17212 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16BE", (long) wxFONTENCODING_UTF16BE
, 0, 0, 0},
17213 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16LE", (long) wxFONTENCODING_UTF16LE
, 0, 0, 0},
17214 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32BE", (long) wxFONTENCODING_UTF32BE
, 0, 0, 0},
17215 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32LE", (long) wxFONTENCODING_UTF32LE
, 0, 0, 0},
17216 { SWIG_PY_INT
, (char *)"FONTENCODING_MACROMAN", (long) wxFONTENCODING_MACROMAN
, 0, 0, 0},
17217 { SWIG_PY_INT
, (char *)"FONTENCODING_MACJAPANESE", (long) wxFONTENCODING_MACJAPANESE
, 0, 0, 0},
17218 { SWIG_PY_INT
, (char *)"FONTENCODING_MACCHINESETRAD", (long) wxFONTENCODING_MACCHINESETRAD
, 0, 0, 0},
17219 { SWIG_PY_INT
, (char *)"FONTENCODING_MACKOREAN", (long) wxFONTENCODING_MACKOREAN
, 0, 0, 0},
17220 { SWIG_PY_INT
, (char *)"FONTENCODING_MACARABIC", (long) wxFONTENCODING_MACARABIC
, 0, 0, 0},
17221 { SWIG_PY_INT
, (char *)"FONTENCODING_MACHEBREW", (long) wxFONTENCODING_MACHEBREW
, 0, 0, 0},
17222 { SWIG_PY_INT
, (char *)"FONTENCODING_MACGREEK", (long) wxFONTENCODING_MACGREEK
, 0, 0, 0},
17223 { SWIG_PY_INT
, (char *)"FONTENCODING_MACCYRILLIC", (long) wxFONTENCODING_MACCYRILLIC
, 0, 0, 0},
17224 { SWIG_PY_INT
, (char *)"FONTENCODING_MACDEVANAGARI", (long) wxFONTENCODING_MACDEVANAGARI
, 0, 0, 0},
17225 { SWIG_PY_INT
, (char *)"FONTENCODING_MACGURMUKHI", (long) wxFONTENCODING_MACGURMUKHI
, 0, 0, 0},
17226 { SWIG_PY_INT
, (char *)"FONTENCODING_MACGUJARATI", (long) wxFONTENCODING_MACGUJARATI
, 0, 0, 0},
17227 { SWIG_PY_INT
, (char *)"FONTENCODING_MACORIYA", (long) wxFONTENCODING_MACORIYA
, 0, 0, 0},
17228 { SWIG_PY_INT
, (char *)"FONTENCODING_MACBENGALI", (long) wxFONTENCODING_MACBENGALI
, 0, 0, 0},
17229 { SWIG_PY_INT
, (char *)"FONTENCODING_MACTAMIL", (long) wxFONTENCODING_MACTAMIL
, 0, 0, 0},
17230 { SWIG_PY_INT
, (char *)"FONTENCODING_MACTELUGU", (long) wxFONTENCODING_MACTELUGU
, 0, 0, 0},
17231 { SWIG_PY_INT
, (char *)"FONTENCODING_MACKANNADA", (long) wxFONTENCODING_MACKANNADA
, 0, 0, 0},
17232 { SWIG_PY_INT
, (char *)"FONTENCODING_MACMALAJALAM", (long) wxFONTENCODING_MACMALAJALAM
, 0, 0, 0},
17233 { SWIG_PY_INT
, (char *)"FONTENCODING_MACSINHALESE", (long) wxFONTENCODING_MACSINHALESE
, 0, 0, 0},
17234 { SWIG_PY_INT
, (char *)"FONTENCODING_MACBURMESE", (long) wxFONTENCODING_MACBURMESE
, 0, 0, 0},
17235 { SWIG_PY_INT
, (char *)"FONTENCODING_MACKHMER", (long) wxFONTENCODING_MACKHMER
, 0, 0, 0},
17236 { SWIG_PY_INT
, (char *)"FONTENCODING_MACTHAI", (long) wxFONTENCODING_MACTHAI
, 0, 0, 0},
17237 { SWIG_PY_INT
, (char *)"FONTENCODING_MACLAOTIAN", (long) wxFONTENCODING_MACLAOTIAN
, 0, 0, 0},
17238 { SWIG_PY_INT
, (char *)"FONTENCODING_MACGEORGIAN", (long) wxFONTENCODING_MACGEORGIAN
, 0, 0, 0},
17239 { SWIG_PY_INT
, (char *)"FONTENCODING_MACARMENIAN", (long) wxFONTENCODING_MACARMENIAN
, 0, 0, 0},
17240 { SWIG_PY_INT
, (char *)"FONTENCODING_MACCHINESESIMP", (long) wxFONTENCODING_MACCHINESESIMP
, 0, 0, 0},
17241 { SWIG_PY_INT
, (char *)"FONTENCODING_MACTIBETAN", (long) wxFONTENCODING_MACTIBETAN
, 0, 0, 0},
17242 { SWIG_PY_INT
, (char *)"FONTENCODING_MACMONGOLIAN", (long) wxFONTENCODING_MACMONGOLIAN
, 0, 0, 0},
17243 { SWIG_PY_INT
, (char *)"FONTENCODING_MACETHIOPIC", (long) wxFONTENCODING_MACETHIOPIC
, 0, 0, 0},
17244 { SWIG_PY_INT
, (char *)"FONTENCODING_MACCENTRALEUR", (long) wxFONTENCODING_MACCENTRALEUR
, 0, 0, 0},
17245 { SWIG_PY_INT
, (char *)"FONTENCODING_MACVIATNAMESE", (long) wxFONTENCODING_MACVIATNAMESE
, 0, 0, 0},
17246 { SWIG_PY_INT
, (char *)"FONTENCODING_MACARABICEXT", (long) wxFONTENCODING_MACARABICEXT
, 0, 0, 0},
17247 { SWIG_PY_INT
, (char *)"FONTENCODING_MACSYMBOL", (long) wxFONTENCODING_MACSYMBOL
, 0, 0, 0},
17248 { SWIG_PY_INT
, (char *)"FONTENCODING_MACDINGBATS", (long) wxFONTENCODING_MACDINGBATS
, 0, 0, 0},
17249 { SWIG_PY_INT
, (char *)"FONTENCODING_MACTURKISH", (long) wxFONTENCODING_MACTURKISH
, 0, 0, 0},
17250 { SWIG_PY_INT
, (char *)"FONTENCODING_MACCROATIAN", (long) wxFONTENCODING_MACCROATIAN
, 0, 0, 0},
17251 { SWIG_PY_INT
, (char *)"FONTENCODING_MACICELANDIC", (long) wxFONTENCODING_MACICELANDIC
, 0, 0, 0},
17252 { SWIG_PY_INT
, (char *)"FONTENCODING_MACROMANIAN", (long) wxFONTENCODING_MACROMANIAN
, 0, 0, 0},
17253 { SWIG_PY_INT
, (char *)"FONTENCODING_MACCELTIC", (long) wxFONTENCODING_MACCELTIC
, 0, 0, 0},
17254 { SWIG_PY_INT
, (char *)"FONTENCODING_MACGAELIC", (long) wxFONTENCODING_MACGAELIC
, 0, 0, 0},
17255 { SWIG_PY_INT
, (char *)"FONTENCODING_MACKEYBOARD", (long) wxFONTENCODING_MACKEYBOARD
, 0, 0, 0},
17256 { SWIG_PY_INT
, (char *)"FONTENCODING_MACMIN", (long) wxFONTENCODING_MACMIN
, 0, 0, 0},
17257 { SWIG_PY_INT
, (char *)"FONTENCODING_MACMAX", (long) wxFONTENCODING_MACMAX
, 0, 0, 0},
17258 { SWIG_PY_INT
, (char *)"FONTENCODING_MAX", (long) wxFONTENCODING_MAX
, 0, 0, 0},
17259 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF16", (long) wxFONTENCODING_UTF16
, 0, 0, 0},
17260 { SWIG_PY_INT
, (char *)"FONTENCODING_UTF32", (long) wxFONTENCODING_UTF32
, 0, 0, 0},
17261 { SWIG_PY_INT
, (char *)"FONTENCODING_UNICODE", (long) wxFONTENCODING_UNICODE
, 0, 0, 0},
17262 { SWIG_PY_INT
, (char *)"FONTENCODING_GB2312", (long) wxFONTENCODING_GB2312
, 0, 0, 0},
17263 { SWIG_PY_INT
, (char *)"FONTENCODING_BIG5", (long) wxFONTENCODING_BIG5
, 0, 0, 0},
17264 { SWIG_PY_INT
, (char *)"FONTENCODING_SHIFT_JIS", (long) wxFONTENCODING_SHIFT_JIS
, 0, 0, 0},
17265 { SWIG_PY_INT
, (char *)"LANGUAGE_DEFAULT", (long) wxLANGUAGE_DEFAULT
, 0, 0, 0},
17266 { SWIG_PY_INT
, (char *)"LANGUAGE_UNKNOWN", (long) wxLANGUAGE_UNKNOWN
, 0, 0, 0},
17267 { SWIG_PY_INT
, (char *)"LANGUAGE_ABKHAZIAN", (long) wxLANGUAGE_ABKHAZIAN
, 0, 0, 0},
17268 { SWIG_PY_INT
, (char *)"LANGUAGE_AFAR", (long) wxLANGUAGE_AFAR
, 0, 0, 0},
17269 { SWIG_PY_INT
, (char *)"LANGUAGE_AFRIKAANS", (long) wxLANGUAGE_AFRIKAANS
, 0, 0, 0},
17270 { SWIG_PY_INT
, (char *)"LANGUAGE_ALBANIAN", (long) wxLANGUAGE_ALBANIAN
, 0, 0, 0},
17271 { SWIG_PY_INT
, (char *)"LANGUAGE_AMHARIC", (long) wxLANGUAGE_AMHARIC
, 0, 0, 0},
17272 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC", (long) wxLANGUAGE_ARABIC
, 0, 0, 0},
17273 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_ALGERIA", (long) wxLANGUAGE_ARABIC_ALGERIA
, 0, 0, 0},
17274 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_BAHRAIN", (long) wxLANGUAGE_ARABIC_BAHRAIN
, 0, 0, 0},
17275 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_EGYPT", (long) wxLANGUAGE_ARABIC_EGYPT
, 0, 0, 0},
17276 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_IRAQ", (long) wxLANGUAGE_ARABIC_IRAQ
, 0, 0, 0},
17277 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_JORDAN", (long) wxLANGUAGE_ARABIC_JORDAN
, 0, 0, 0},
17278 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_KUWAIT", (long) wxLANGUAGE_ARABIC_KUWAIT
, 0, 0, 0},
17279 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LEBANON", (long) wxLANGUAGE_ARABIC_LEBANON
, 0, 0, 0},
17280 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_LIBYA", (long) wxLANGUAGE_ARABIC_LIBYA
, 0, 0, 0},
17281 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_MOROCCO", (long) wxLANGUAGE_ARABIC_MOROCCO
, 0, 0, 0},
17282 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_OMAN", (long) wxLANGUAGE_ARABIC_OMAN
, 0, 0, 0},
17283 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_QATAR", (long) wxLANGUAGE_ARABIC_QATAR
, 0, 0, 0},
17284 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SAUDI_ARABIA", (long) wxLANGUAGE_ARABIC_SAUDI_ARABIA
, 0, 0, 0},
17285 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SUDAN", (long) wxLANGUAGE_ARABIC_SUDAN
, 0, 0, 0},
17286 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_SYRIA", (long) wxLANGUAGE_ARABIC_SYRIA
, 0, 0, 0},
17287 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_TUNISIA", (long) wxLANGUAGE_ARABIC_TUNISIA
, 0, 0, 0},
17288 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_UAE", (long) wxLANGUAGE_ARABIC_UAE
, 0, 0, 0},
17289 { SWIG_PY_INT
, (char *)"LANGUAGE_ARABIC_YEMEN", (long) wxLANGUAGE_ARABIC_YEMEN
, 0, 0, 0},
17290 { SWIG_PY_INT
, (char *)"LANGUAGE_ARMENIAN", (long) wxLANGUAGE_ARMENIAN
, 0, 0, 0},
17291 { SWIG_PY_INT
, (char *)"LANGUAGE_ASSAMESE", (long) wxLANGUAGE_ASSAMESE
, 0, 0, 0},
17292 { SWIG_PY_INT
, (char *)"LANGUAGE_AYMARA", (long) wxLANGUAGE_AYMARA
, 0, 0, 0},
17293 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI", (long) wxLANGUAGE_AZERI
, 0, 0, 0},
17294 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_CYRILLIC", (long) wxLANGUAGE_AZERI_CYRILLIC
, 0, 0, 0},
17295 { SWIG_PY_INT
, (char *)"LANGUAGE_AZERI_LATIN", (long) wxLANGUAGE_AZERI_LATIN
, 0, 0, 0},
17296 { SWIG_PY_INT
, (char *)"LANGUAGE_BASHKIR", (long) wxLANGUAGE_BASHKIR
, 0, 0, 0},
17297 { SWIG_PY_INT
, (char *)"LANGUAGE_BASQUE", (long) wxLANGUAGE_BASQUE
, 0, 0, 0},
17298 { SWIG_PY_INT
, (char *)"LANGUAGE_BELARUSIAN", (long) wxLANGUAGE_BELARUSIAN
, 0, 0, 0},
17299 { SWIG_PY_INT
, (char *)"LANGUAGE_BENGALI", (long) wxLANGUAGE_BENGALI
, 0, 0, 0},
17300 { SWIG_PY_INT
, (char *)"LANGUAGE_BHUTANI", (long) wxLANGUAGE_BHUTANI
, 0, 0, 0},
17301 { SWIG_PY_INT
, (char *)"LANGUAGE_BIHARI", (long) wxLANGUAGE_BIHARI
, 0, 0, 0},
17302 { SWIG_PY_INT
, (char *)"LANGUAGE_BISLAMA", (long) wxLANGUAGE_BISLAMA
, 0, 0, 0},
17303 { SWIG_PY_INT
, (char *)"LANGUAGE_BRETON", (long) wxLANGUAGE_BRETON
, 0, 0, 0},
17304 { SWIG_PY_INT
, (char *)"LANGUAGE_BULGARIAN", (long) wxLANGUAGE_BULGARIAN
, 0, 0, 0},
17305 { SWIG_PY_INT
, (char *)"LANGUAGE_BURMESE", (long) wxLANGUAGE_BURMESE
, 0, 0, 0},
17306 { SWIG_PY_INT
, (char *)"LANGUAGE_CAMBODIAN", (long) wxLANGUAGE_CAMBODIAN
, 0, 0, 0},
17307 { SWIG_PY_INT
, (char *)"LANGUAGE_CATALAN", (long) wxLANGUAGE_CATALAN
, 0, 0, 0},
17308 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE", (long) wxLANGUAGE_CHINESE
, 0, 0, 0},
17309 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SIMPLIFIED", (long) wxLANGUAGE_CHINESE_SIMPLIFIED
, 0, 0, 0},
17310 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TRADITIONAL", (long) wxLANGUAGE_CHINESE_TRADITIONAL
, 0, 0, 0},
17311 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_HONGKONG", (long) wxLANGUAGE_CHINESE_HONGKONG
, 0, 0, 0},
17312 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_MACAU", (long) wxLANGUAGE_CHINESE_MACAU
, 0, 0, 0},
17313 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_SINGAPORE", (long) wxLANGUAGE_CHINESE_SINGAPORE
, 0, 0, 0},
17314 { SWIG_PY_INT
, (char *)"LANGUAGE_CHINESE_TAIWAN", (long) wxLANGUAGE_CHINESE_TAIWAN
, 0, 0, 0},
17315 { SWIG_PY_INT
, (char *)"LANGUAGE_CORSICAN", (long) wxLANGUAGE_CORSICAN
, 0, 0, 0},
17316 { SWIG_PY_INT
, (char *)"LANGUAGE_CROATIAN", (long) wxLANGUAGE_CROATIAN
, 0, 0, 0},
17317 { SWIG_PY_INT
, (char *)"LANGUAGE_CZECH", (long) wxLANGUAGE_CZECH
, 0, 0, 0},
17318 { SWIG_PY_INT
, (char *)"LANGUAGE_DANISH", (long) wxLANGUAGE_DANISH
, 0, 0, 0},
17319 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH", (long) wxLANGUAGE_DUTCH
, 0, 0, 0},
17320 { SWIG_PY_INT
, (char *)"LANGUAGE_DUTCH_BELGIAN", (long) wxLANGUAGE_DUTCH_BELGIAN
, 0, 0, 0},
17321 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH", (long) wxLANGUAGE_ENGLISH
, 0, 0, 0},
17322 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_UK", (long) wxLANGUAGE_ENGLISH_UK
, 0, 0, 0},
17323 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_US", (long) wxLANGUAGE_ENGLISH_US
, 0, 0, 0},
17324 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_AUSTRALIA", (long) wxLANGUAGE_ENGLISH_AUSTRALIA
, 0, 0, 0},
17325 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BELIZE", (long) wxLANGUAGE_ENGLISH_BELIZE
, 0, 0, 0},
17326 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_BOTSWANA", (long) wxLANGUAGE_ENGLISH_BOTSWANA
, 0, 0, 0},
17327 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CANADA", (long) wxLANGUAGE_ENGLISH_CANADA
, 0, 0, 0},
17328 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_CARIBBEAN", (long) wxLANGUAGE_ENGLISH_CARIBBEAN
, 0, 0, 0},
17329 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_DENMARK", (long) wxLANGUAGE_ENGLISH_DENMARK
, 0, 0, 0},
17330 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_EIRE", (long) wxLANGUAGE_ENGLISH_EIRE
, 0, 0, 0},
17331 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_JAMAICA", (long) wxLANGUAGE_ENGLISH_JAMAICA
, 0, 0, 0},
17332 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_NEW_ZEALAND", (long) wxLANGUAGE_ENGLISH_NEW_ZEALAND
, 0, 0, 0},
17333 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_PHILIPPINES", (long) wxLANGUAGE_ENGLISH_PHILIPPINES
, 0, 0, 0},
17334 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_SOUTH_AFRICA", (long) wxLANGUAGE_ENGLISH_SOUTH_AFRICA
, 0, 0, 0},
17335 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_TRINIDAD", (long) wxLANGUAGE_ENGLISH_TRINIDAD
, 0, 0, 0},
17336 { SWIG_PY_INT
, (char *)"LANGUAGE_ENGLISH_ZIMBABWE", (long) wxLANGUAGE_ENGLISH_ZIMBABWE
, 0, 0, 0},
17337 { SWIG_PY_INT
, (char *)"LANGUAGE_ESPERANTO", (long) wxLANGUAGE_ESPERANTO
, 0, 0, 0},
17338 { SWIG_PY_INT
, (char *)"LANGUAGE_ESTONIAN", (long) wxLANGUAGE_ESTONIAN
, 0, 0, 0},
17339 { SWIG_PY_INT
, (char *)"LANGUAGE_FAEROESE", (long) wxLANGUAGE_FAEROESE
, 0, 0, 0},
17340 { SWIG_PY_INT
, (char *)"LANGUAGE_FARSI", (long) wxLANGUAGE_FARSI
, 0, 0, 0},
17341 { SWIG_PY_INT
, (char *)"LANGUAGE_FIJI", (long) wxLANGUAGE_FIJI
, 0, 0, 0},
17342 { SWIG_PY_INT
, (char *)"LANGUAGE_FINNISH", (long) wxLANGUAGE_FINNISH
, 0, 0, 0},
17343 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH", (long) wxLANGUAGE_FRENCH
, 0, 0, 0},
17344 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_BELGIAN", (long) wxLANGUAGE_FRENCH_BELGIAN
, 0, 0, 0},
17345 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_CANADIAN", (long) wxLANGUAGE_FRENCH_CANADIAN
, 0, 0, 0},
17346 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_LUXEMBOURG", (long) wxLANGUAGE_FRENCH_LUXEMBOURG
, 0, 0, 0},
17347 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_MONACO", (long) wxLANGUAGE_FRENCH_MONACO
, 0, 0, 0},
17348 { SWIG_PY_INT
, (char *)"LANGUAGE_FRENCH_SWISS", (long) wxLANGUAGE_FRENCH_SWISS
, 0, 0, 0},
17349 { SWIG_PY_INT
, (char *)"LANGUAGE_FRISIAN", (long) wxLANGUAGE_FRISIAN
, 0, 0, 0},
17350 { SWIG_PY_INT
, (char *)"LANGUAGE_GALICIAN", (long) wxLANGUAGE_GALICIAN
, 0, 0, 0},
17351 { SWIG_PY_INT
, (char *)"LANGUAGE_GEORGIAN", (long) wxLANGUAGE_GEORGIAN
, 0, 0, 0},
17352 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN", (long) wxLANGUAGE_GERMAN
, 0, 0, 0},
17353 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_AUSTRIAN", (long) wxLANGUAGE_GERMAN_AUSTRIAN
, 0, 0, 0},
17354 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_BELGIUM", (long) wxLANGUAGE_GERMAN_BELGIUM
, 0, 0, 0},
17355 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LIECHTENSTEIN", (long) wxLANGUAGE_GERMAN_LIECHTENSTEIN
, 0, 0, 0},
17356 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_LUXEMBOURG", (long) wxLANGUAGE_GERMAN_LUXEMBOURG
, 0, 0, 0},
17357 { SWIG_PY_INT
, (char *)"LANGUAGE_GERMAN_SWISS", (long) wxLANGUAGE_GERMAN_SWISS
, 0, 0, 0},
17358 { SWIG_PY_INT
, (char *)"LANGUAGE_GREEK", (long) wxLANGUAGE_GREEK
, 0, 0, 0},
17359 { SWIG_PY_INT
, (char *)"LANGUAGE_GREENLANDIC", (long) wxLANGUAGE_GREENLANDIC
, 0, 0, 0},
17360 { SWIG_PY_INT
, (char *)"LANGUAGE_GUARANI", (long) wxLANGUAGE_GUARANI
, 0, 0, 0},
17361 { SWIG_PY_INT
, (char *)"LANGUAGE_GUJARATI", (long) wxLANGUAGE_GUJARATI
, 0, 0, 0},
17362 { SWIG_PY_INT
, (char *)"LANGUAGE_HAUSA", (long) wxLANGUAGE_HAUSA
, 0, 0, 0},
17363 { SWIG_PY_INT
, (char *)"LANGUAGE_HEBREW", (long) wxLANGUAGE_HEBREW
, 0, 0, 0},
17364 { SWIG_PY_INT
, (char *)"LANGUAGE_HINDI", (long) wxLANGUAGE_HINDI
, 0, 0, 0},
17365 { SWIG_PY_INT
, (char *)"LANGUAGE_HUNGARIAN", (long) wxLANGUAGE_HUNGARIAN
, 0, 0, 0},
17366 { SWIG_PY_INT
, (char *)"LANGUAGE_ICELANDIC", (long) wxLANGUAGE_ICELANDIC
, 0, 0, 0},
17367 { SWIG_PY_INT
, (char *)"LANGUAGE_INDONESIAN", (long) wxLANGUAGE_INDONESIAN
, 0, 0, 0},
17368 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUA", (long) wxLANGUAGE_INTERLINGUA
, 0, 0, 0},
17369 { SWIG_PY_INT
, (char *)"LANGUAGE_INTERLINGUE", (long) wxLANGUAGE_INTERLINGUE
, 0, 0, 0},
17370 { SWIG_PY_INT
, (char *)"LANGUAGE_INUKTITUT", (long) wxLANGUAGE_INUKTITUT
, 0, 0, 0},
17371 { SWIG_PY_INT
, (char *)"LANGUAGE_INUPIAK", (long) wxLANGUAGE_INUPIAK
, 0, 0, 0},
17372 { SWIG_PY_INT
, (char *)"LANGUAGE_IRISH", (long) wxLANGUAGE_IRISH
, 0, 0, 0},
17373 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN", (long) wxLANGUAGE_ITALIAN
, 0, 0, 0},
17374 { SWIG_PY_INT
, (char *)"LANGUAGE_ITALIAN_SWISS", (long) wxLANGUAGE_ITALIAN_SWISS
, 0, 0, 0},
17375 { SWIG_PY_INT
, (char *)"LANGUAGE_JAPANESE", (long) wxLANGUAGE_JAPANESE
, 0, 0, 0},
17376 { SWIG_PY_INT
, (char *)"LANGUAGE_JAVANESE", (long) wxLANGUAGE_JAVANESE
, 0, 0, 0},
17377 { SWIG_PY_INT
, (char *)"LANGUAGE_KANNADA", (long) wxLANGUAGE_KANNADA
, 0, 0, 0},
17378 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI", (long) wxLANGUAGE_KASHMIRI
, 0, 0, 0},
17379 { SWIG_PY_INT
, (char *)"LANGUAGE_KASHMIRI_INDIA", (long) wxLANGUAGE_KASHMIRI_INDIA
, 0, 0, 0},
17380 { SWIG_PY_INT
, (char *)"LANGUAGE_KAZAKH", (long) wxLANGUAGE_KAZAKH
, 0, 0, 0},
17381 { SWIG_PY_INT
, (char *)"LANGUAGE_KERNEWEK", (long) wxLANGUAGE_KERNEWEK
, 0, 0, 0},
17382 { SWIG_PY_INT
, (char *)"LANGUAGE_KINYARWANDA", (long) wxLANGUAGE_KINYARWANDA
, 0, 0, 0},
17383 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRGHIZ", (long) wxLANGUAGE_KIRGHIZ
, 0, 0, 0},
17384 { SWIG_PY_INT
, (char *)"LANGUAGE_KIRUNDI", (long) wxLANGUAGE_KIRUNDI
, 0, 0, 0},
17385 { SWIG_PY_INT
, (char *)"LANGUAGE_KONKANI", (long) wxLANGUAGE_KONKANI
, 0, 0, 0},
17386 { SWIG_PY_INT
, (char *)"LANGUAGE_KOREAN", (long) wxLANGUAGE_KOREAN
, 0, 0, 0},
17387 { SWIG_PY_INT
, (char *)"LANGUAGE_KURDISH", (long) wxLANGUAGE_KURDISH
, 0, 0, 0},
17388 { SWIG_PY_INT
, (char *)"LANGUAGE_LAOTHIAN", (long) wxLANGUAGE_LAOTHIAN
, 0, 0, 0},
17389 { SWIG_PY_INT
, (char *)"LANGUAGE_LATIN", (long) wxLANGUAGE_LATIN
, 0, 0, 0},
17390 { SWIG_PY_INT
, (char *)"LANGUAGE_LATVIAN", (long) wxLANGUAGE_LATVIAN
, 0, 0, 0},
17391 { SWIG_PY_INT
, (char *)"LANGUAGE_LINGALA", (long) wxLANGUAGE_LINGALA
, 0, 0, 0},
17392 { SWIG_PY_INT
, (char *)"LANGUAGE_LITHUANIAN", (long) wxLANGUAGE_LITHUANIAN
, 0, 0, 0},
17393 { SWIG_PY_INT
, (char *)"LANGUAGE_MACEDONIAN", (long) wxLANGUAGE_MACEDONIAN
, 0, 0, 0},
17394 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAGASY", (long) wxLANGUAGE_MALAGASY
, 0, 0, 0},
17395 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY", (long) wxLANGUAGE_MALAY
, 0, 0, 0},
17396 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAYALAM", (long) wxLANGUAGE_MALAYALAM
, 0, 0, 0},
17397 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", (long) wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
, 0, 0, 0},
17398 { SWIG_PY_INT
, (char *)"LANGUAGE_MALAY_MALAYSIA", (long) wxLANGUAGE_MALAY_MALAYSIA
, 0, 0, 0},
17399 { SWIG_PY_INT
, (char *)"LANGUAGE_MALTESE", (long) wxLANGUAGE_MALTESE
, 0, 0, 0},
17400 { SWIG_PY_INT
, (char *)"LANGUAGE_MANIPURI", (long) wxLANGUAGE_MANIPURI
, 0, 0, 0},
17401 { SWIG_PY_INT
, (char *)"LANGUAGE_MAORI", (long) wxLANGUAGE_MAORI
, 0, 0, 0},
17402 { SWIG_PY_INT
, (char *)"LANGUAGE_MARATHI", (long) wxLANGUAGE_MARATHI
, 0, 0, 0},
17403 { SWIG_PY_INT
, (char *)"LANGUAGE_MOLDAVIAN", (long) wxLANGUAGE_MOLDAVIAN
, 0, 0, 0},
17404 { SWIG_PY_INT
, (char *)"LANGUAGE_MONGOLIAN", (long) wxLANGUAGE_MONGOLIAN
, 0, 0, 0},
17405 { SWIG_PY_INT
, (char *)"LANGUAGE_NAURU", (long) wxLANGUAGE_NAURU
, 0, 0, 0},
17406 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI", (long) wxLANGUAGE_NEPALI
, 0, 0, 0},
17407 { SWIG_PY_INT
, (char *)"LANGUAGE_NEPALI_INDIA", (long) wxLANGUAGE_NEPALI_INDIA
, 0, 0, 0},
17408 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_BOKMAL", (long) wxLANGUAGE_NORWEGIAN_BOKMAL
, 0, 0, 0},
17409 { SWIG_PY_INT
, (char *)"LANGUAGE_NORWEGIAN_NYNORSK", (long) wxLANGUAGE_NORWEGIAN_NYNORSK
, 0, 0, 0},
17410 { SWIG_PY_INT
, (char *)"LANGUAGE_OCCITAN", (long) wxLANGUAGE_OCCITAN
, 0, 0, 0},
17411 { SWIG_PY_INT
, (char *)"LANGUAGE_ORIYA", (long) wxLANGUAGE_ORIYA
, 0, 0, 0},
17412 { SWIG_PY_INT
, (char *)"LANGUAGE_OROMO", (long) wxLANGUAGE_OROMO
, 0, 0, 0},
17413 { SWIG_PY_INT
, (char *)"LANGUAGE_PASHTO", (long) wxLANGUAGE_PASHTO
, 0, 0, 0},
17414 { SWIG_PY_INT
, (char *)"LANGUAGE_POLISH", (long) wxLANGUAGE_POLISH
, 0, 0, 0},
17415 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE", (long) wxLANGUAGE_PORTUGUESE
, 0, 0, 0},
17416 { SWIG_PY_INT
, (char *)"LANGUAGE_PORTUGUESE_BRAZILIAN", (long) wxLANGUAGE_PORTUGUESE_BRAZILIAN
, 0, 0, 0},
17417 { SWIG_PY_INT
, (char *)"LANGUAGE_PUNJABI", (long) wxLANGUAGE_PUNJABI
, 0, 0, 0},
17418 { SWIG_PY_INT
, (char *)"LANGUAGE_QUECHUA", (long) wxLANGUAGE_QUECHUA
, 0, 0, 0},
17419 { SWIG_PY_INT
, (char *)"LANGUAGE_RHAETO_ROMANCE", (long) wxLANGUAGE_RHAETO_ROMANCE
, 0, 0, 0},
17420 { SWIG_PY_INT
, (char *)"LANGUAGE_ROMANIAN", (long) wxLANGUAGE_ROMANIAN
, 0, 0, 0},
17421 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN", (long) wxLANGUAGE_RUSSIAN
, 0, 0, 0},
17422 { SWIG_PY_INT
, (char *)"LANGUAGE_RUSSIAN_UKRAINE", (long) wxLANGUAGE_RUSSIAN_UKRAINE
, 0, 0, 0},
17423 { SWIG_PY_INT
, (char *)"LANGUAGE_SAMOAN", (long) wxLANGUAGE_SAMOAN
, 0, 0, 0},
17424 { SWIG_PY_INT
, (char *)"LANGUAGE_SANGHO", (long) wxLANGUAGE_SANGHO
, 0, 0, 0},
17425 { SWIG_PY_INT
, (char *)"LANGUAGE_SANSKRIT", (long) wxLANGUAGE_SANSKRIT
, 0, 0, 0},
17426 { SWIG_PY_INT
, (char *)"LANGUAGE_SCOTS_GAELIC", (long) wxLANGUAGE_SCOTS_GAELIC
, 0, 0, 0},
17427 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN", (long) wxLANGUAGE_SERBIAN
, 0, 0, 0},
17428 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_CYRILLIC", (long) wxLANGUAGE_SERBIAN_CYRILLIC
, 0, 0, 0},
17429 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBIAN_LATIN", (long) wxLANGUAGE_SERBIAN_LATIN
, 0, 0, 0},
17430 { SWIG_PY_INT
, (char *)"LANGUAGE_SERBO_CROATIAN", (long) wxLANGUAGE_SERBO_CROATIAN
, 0, 0, 0},
17431 { SWIG_PY_INT
, (char *)"LANGUAGE_SESOTHO", (long) wxLANGUAGE_SESOTHO
, 0, 0, 0},
17432 { SWIG_PY_INT
, (char *)"LANGUAGE_SETSWANA", (long) wxLANGUAGE_SETSWANA
, 0, 0, 0},
17433 { SWIG_PY_INT
, (char *)"LANGUAGE_SHONA", (long) wxLANGUAGE_SHONA
, 0, 0, 0},
17434 { SWIG_PY_INT
, (char *)"LANGUAGE_SINDHI", (long) wxLANGUAGE_SINDHI
, 0, 0, 0},
17435 { SWIG_PY_INT
, (char *)"LANGUAGE_SINHALESE", (long) wxLANGUAGE_SINHALESE
, 0, 0, 0},
17436 { SWIG_PY_INT
, (char *)"LANGUAGE_SISWATI", (long) wxLANGUAGE_SISWATI
, 0, 0, 0},
17437 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVAK", (long) wxLANGUAGE_SLOVAK
, 0, 0, 0},
17438 { SWIG_PY_INT
, (char *)"LANGUAGE_SLOVENIAN", (long) wxLANGUAGE_SLOVENIAN
, 0, 0, 0},
17439 { SWIG_PY_INT
, (char *)"LANGUAGE_SOMALI", (long) wxLANGUAGE_SOMALI
, 0, 0, 0},
17440 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH", (long) wxLANGUAGE_SPANISH
, 0, 0, 0},
17441 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ARGENTINA", (long) wxLANGUAGE_SPANISH_ARGENTINA
, 0, 0, 0},
17442 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_BOLIVIA", (long) wxLANGUAGE_SPANISH_BOLIVIA
, 0, 0, 0},
17443 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_CHILE", (long) wxLANGUAGE_SPANISH_CHILE
, 0, 0, 0},
17444 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COLOMBIA", (long) wxLANGUAGE_SPANISH_COLOMBIA
, 0, 0, 0},
17445 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_COSTA_RICA", (long) wxLANGUAGE_SPANISH_COSTA_RICA
, 0, 0, 0},
17446 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", (long) wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
, 0, 0, 0},
17447 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_ECUADOR", (long) wxLANGUAGE_SPANISH_ECUADOR
, 0, 0, 0},
17448 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_EL_SALVADOR", (long) wxLANGUAGE_SPANISH_EL_SALVADOR
, 0, 0, 0},
17449 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_GUATEMALA", (long) wxLANGUAGE_SPANISH_GUATEMALA
, 0, 0, 0},
17450 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_HONDURAS", (long) wxLANGUAGE_SPANISH_HONDURAS
, 0, 0, 0},
17451 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MEXICAN", (long) wxLANGUAGE_SPANISH_MEXICAN
, 0, 0, 0},
17452 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_MODERN", (long) wxLANGUAGE_SPANISH_MODERN
, 0, 0, 0},
17453 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_NICARAGUA", (long) wxLANGUAGE_SPANISH_NICARAGUA
, 0, 0, 0},
17454 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PANAMA", (long) wxLANGUAGE_SPANISH_PANAMA
, 0, 0, 0},
17455 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PARAGUAY", (long) wxLANGUAGE_SPANISH_PARAGUAY
, 0, 0, 0},
17456 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PERU", (long) wxLANGUAGE_SPANISH_PERU
, 0, 0, 0},
17457 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_PUERTO_RICO", (long) wxLANGUAGE_SPANISH_PUERTO_RICO
, 0, 0, 0},
17458 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_URUGUAY", (long) wxLANGUAGE_SPANISH_URUGUAY
, 0, 0, 0},
17459 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_US", (long) wxLANGUAGE_SPANISH_US
, 0, 0, 0},
17460 { SWIG_PY_INT
, (char *)"LANGUAGE_SPANISH_VENEZUELA", (long) wxLANGUAGE_SPANISH_VENEZUELA
, 0, 0, 0},
17461 { SWIG_PY_INT
, (char *)"LANGUAGE_SUNDANESE", (long) wxLANGUAGE_SUNDANESE
, 0, 0, 0},
17462 { SWIG_PY_INT
, (char *)"LANGUAGE_SWAHILI", (long) wxLANGUAGE_SWAHILI
, 0, 0, 0},
17463 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH", (long) wxLANGUAGE_SWEDISH
, 0, 0, 0},
17464 { SWIG_PY_INT
, (char *)"LANGUAGE_SWEDISH_FINLAND", (long) wxLANGUAGE_SWEDISH_FINLAND
, 0, 0, 0},
17465 { SWIG_PY_INT
, (char *)"LANGUAGE_TAGALOG", (long) wxLANGUAGE_TAGALOG
, 0, 0, 0},
17466 { SWIG_PY_INT
, (char *)"LANGUAGE_TAJIK", (long) wxLANGUAGE_TAJIK
, 0, 0, 0},
17467 { SWIG_PY_INT
, (char *)"LANGUAGE_TAMIL", (long) wxLANGUAGE_TAMIL
, 0, 0, 0},
17468 { SWIG_PY_INT
, (char *)"LANGUAGE_TATAR", (long) wxLANGUAGE_TATAR
, 0, 0, 0},
17469 { SWIG_PY_INT
, (char *)"LANGUAGE_TELUGU", (long) wxLANGUAGE_TELUGU
, 0, 0, 0},
17470 { SWIG_PY_INT
, (char *)"LANGUAGE_THAI", (long) wxLANGUAGE_THAI
, 0, 0, 0},
17471 { SWIG_PY_INT
, (char *)"LANGUAGE_TIBETAN", (long) wxLANGUAGE_TIBETAN
, 0, 0, 0},
17472 { SWIG_PY_INT
, (char *)"LANGUAGE_TIGRINYA", (long) wxLANGUAGE_TIGRINYA
, 0, 0, 0},
17473 { SWIG_PY_INT
, (char *)"LANGUAGE_TONGA", (long) wxLANGUAGE_TONGA
, 0, 0, 0},
17474 { SWIG_PY_INT
, (char *)"LANGUAGE_TSONGA", (long) wxLANGUAGE_TSONGA
, 0, 0, 0},
17475 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKISH", (long) wxLANGUAGE_TURKISH
, 0, 0, 0},
17476 { SWIG_PY_INT
, (char *)"LANGUAGE_TURKMEN", (long) wxLANGUAGE_TURKMEN
, 0, 0, 0},
17477 { SWIG_PY_INT
, (char *)"LANGUAGE_TWI", (long) wxLANGUAGE_TWI
, 0, 0, 0},
17478 { SWIG_PY_INT
, (char *)"LANGUAGE_UIGHUR", (long) wxLANGUAGE_UIGHUR
, 0, 0, 0},
17479 { SWIG_PY_INT
, (char *)"LANGUAGE_UKRAINIAN", (long) wxLANGUAGE_UKRAINIAN
, 0, 0, 0},
17480 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU", (long) wxLANGUAGE_URDU
, 0, 0, 0},
17481 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_INDIA", (long) wxLANGUAGE_URDU_INDIA
, 0, 0, 0},
17482 { SWIG_PY_INT
, (char *)"LANGUAGE_URDU_PAKISTAN", (long) wxLANGUAGE_URDU_PAKISTAN
, 0, 0, 0},
17483 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK", (long) wxLANGUAGE_UZBEK
, 0, 0, 0},
17484 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_CYRILLIC", (long) wxLANGUAGE_UZBEK_CYRILLIC
, 0, 0, 0},
17485 { SWIG_PY_INT
, (char *)"LANGUAGE_UZBEK_LATIN", (long) wxLANGUAGE_UZBEK_LATIN
, 0, 0, 0},
17486 { SWIG_PY_INT
, (char *)"LANGUAGE_VIETNAMESE", (long) wxLANGUAGE_VIETNAMESE
, 0, 0, 0},
17487 { SWIG_PY_INT
, (char *)"LANGUAGE_VOLAPUK", (long) wxLANGUAGE_VOLAPUK
, 0, 0, 0},
17488 { SWIG_PY_INT
, (char *)"LANGUAGE_WELSH", (long) wxLANGUAGE_WELSH
, 0, 0, 0},
17489 { SWIG_PY_INT
, (char *)"LANGUAGE_WOLOF", (long) wxLANGUAGE_WOLOF
, 0, 0, 0},
17490 { SWIG_PY_INT
, (char *)"LANGUAGE_XHOSA", (long) wxLANGUAGE_XHOSA
, 0, 0, 0},
17491 { SWIG_PY_INT
, (char *)"LANGUAGE_YIDDISH", (long) wxLANGUAGE_YIDDISH
, 0, 0, 0},
17492 { SWIG_PY_INT
, (char *)"LANGUAGE_YORUBA", (long) wxLANGUAGE_YORUBA
, 0, 0, 0},
17493 { SWIG_PY_INT
, (char *)"LANGUAGE_ZHUANG", (long) wxLANGUAGE_ZHUANG
, 0, 0, 0},
17494 { SWIG_PY_INT
, (char *)"LANGUAGE_ZULU", (long) wxLANGUAGE_ZULU
, 0, 0, 0},
17495 { SWIG_PY_INT
, (char *)"LANGUAGE_USER_DEFINED", (long) wxLANGUAGE_USER_DEFINED
, 0, 0, 0},
17496 { SWIG_PY_INT
, (char *)"LOCALE_CAT_NUMBER", (long) wxLOCALE_CAT_NUMBER
, 0, 0, 0},
17497 { SWIG_PY_INT
, (char *)"LOCALE_CAT_DATE", (long) wxLOCALE_CAT_DATE
, 0, 0, 0},
17498 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MONEY", (long) wxLOCALE_CAT_MONEY
, 0, 0, 0},
17499 { SWIG_PY_INT
, (char *)"LOCALE_CAT_MAX", (long) wxLOCALE_CAT_MAX
, 0, 0, 0},
17500 { SWIG_PY_INT
, (char *)"LOCALE_THOUSANDS_SEP", (long) wxLOCALE_THOUSANDS_SEP
, 0, 0, 0},
17501 { SWIG_PY_INT
, (char *)"LOCALE_DECIMAL_POINT", (long) wxLOCALE_DECIMAL_POINT
, 0, 0, 0},
17502 { SWIG_PY_INT
, (char *)"LOCALE_LOAD_DEFAULT", (long) wxLOCALE_LOAD_DEFAULT
, 0, 0, 0},
17503 { SWIG_PY_INT
, (char *)"LOCALE_CONV_ENCODING", (long) wxLOCALE_CONV_ENCODING
, 0, 0, 0},
17504 { SWIG_PY_INT
, (char *)"CONVERT_STRICT", (long) wxCONVERT_STRICT
, 0, 0, 0},
17505 { SWIG_PY_INT
, (char *)"CONVERT_SUBSTITUTE", (long) wxCONVERT_SUBSTITUTE
, 0, 0, 0},
17506 { SWIG_PY_INT
, (char *)"PLATFORM_CURRENT", (long) wxPLATFORM_CURRENT
, 0, 0, 0},
17507 { SWIG_PY_INT
, (char *)"PLATFORM_UNIX", (long) wxPLATFORM_UNIX
, 0, 0, 0},
17508 { SWIG_PY_INT
, (char *)"PLATFORM_WINDOWS", (long) wxPLATFORM_WINDOWS
, 0, 0, 0},
17509 { SWIG_PY_INT
, (char *)"PLATFORM_OS2", (long) wxPLATFORM_OS2
, 0, 0, 0},
17510 { SWIG_PY_INT
, (char *)"PLATFORM_MAC", (long) wxPLATFORM_MAC
, 0, 0, 0},
17511 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_NORMAL", (long) wxIMAGELIST_DRAW_NORMAL
, 0, 0, 0},
17512 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_TRANSPARENT", (long) wxIMAGELIST_DRAW_TRANSPARENT
, 0, 0, 0},
17513 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_SELECTED", (long) wxIMAGELIST_DRAW_SELECTED
, 0, 0, 0},
17514 { SWIG_PY_INT
, (char *)"IMAGELIST_DRAW_FOCUSED", (long) wxIMAGELIST_DRAW_FOCUSED
, 0, 0, 0},
17515 { SWIG_PY_INT
, (char *)"IMAGE_LIST_NORMAL", (long) wxIMAGE_LIST_NORMAL
, 0, 0, 0},
17516 { SWIG_PY_INT
, (char *)"IMAGE_LIST_SMALL", (long) wxIMAGE_LIST_SMALL
, 0, 0, 0},
17517 { SWIG_PY_INT
, (char *)"IMAGE_LIST_STATE", (long) wxIMAGE_LIST_STATE
, 0, 0, 0},
17527 SWIGEXPORT(void) SWIG_init(void) {
17528 static PyObject
*SWIG_globals
= 0;
17529 static int typeinit
= 0;
17532 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
17533 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
17534 d
= PyModule_GetDict(m
);
17537 for (i
= 0; swig_types_initial
[i
]; i
++) {
17538 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
17542 SWIG_InstallConstants(d
,swig_const_table
);
17545 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
17547 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
17548 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
17549 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
17550 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
17551 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
17552 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
17553 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
17554 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
17555 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
17556 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
17557 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
17558 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
17559 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
17560 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
17561 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
17562 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
17563 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
17564 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
17565 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
17566 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
17567 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
17568 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
17569 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
17570 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
17571 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
17572 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
17573 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
17574 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
17575 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
17576 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
17577 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
17578 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
17579 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
17580 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
17581 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
17582 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
17583 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
17584 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
17585 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
17586 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
17587 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
17588 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
17589 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
17590 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
17591 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
17592 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
17593 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
17595 // Work around a chicken/egg problem in drawlist.cpp
17596 wxPyDrawList_SetAPIPtr();