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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
234 #define SWIGTYPE_p_wxBrush swig_types[1]
235 #define SWIGTYPE_p_wxColour swig_types[2]
236 #define SWIGTYPE_p_wxDC swig_types[3]
237 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
238 #define SWIGTYPE_p_byte swig_types[5]
239 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
240 #define SWIGTYPE_p_char swig_types[7]
241 #define SWIGTYPE_p_wxIconLocation swig_types[8]
242 #define SWIGTYPE_p_wxImage swig_types[9]
243 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
244 #define SWIGTYPE_p_wxMask swig_types[11]
245 #define SWIGTYPE_p_wxFont swig_types[12]
246 #define SWIGTYPE_p_wxWindow swig_types[13]
247 #define SWIGTYPE_p_wxSize swig_types[14]
248 #define SWIGTYPE_p_double swig_types[15]
249 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
250 #define SWIGTYPE_p_wxFontMapper swig_types[17]
251 #define SWIGTYPE_p_wxEffects swig_types[18]
252 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
253 #define SWIGTYPE_p_wxPalette swig_types[20]
254 #define SWIGTYPE_p_wxBitmap swig_types[21]
255 #define SWIGTYPE_p_wxObject swig_types[22]
256 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
257 #define SWIGTYPE_p_wxRect swig_types[24]
258 #define SWIGTYPE_p_wxString swig_types[25]
259 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
260 #define SWIGTYPE_p_wxIconBundle swig_types[27]
261 #define SWIGTYPE_p_wxPoint swig_types[28]
262 #define SWIGTYPE_p_wxDash swig_types[29]
263 #define SWIGTYPE_p_wxScreenDC swig_types[30]
264 #define SWIGTYPE_p_wxCursor swig_types[31]
265 #define SWIGTYPE_p_wxClientDC swig_types[32]
266 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
267 #define SWIGTYPE_p_wxImageList swig_types[34]
268 #define SWIGTYPE_p_unsigned_char swig_types[35]
269 #define SWIGTYPE_p_wxGDIObject swig_types[36]
270 #define SWIGTYPE_p_wxIcon swig_types[37]
271 #define SWIGTYPE_p_wxLocale swig_types[38]
272 #define SWIGTYPE_p_wxRegion swig_types[39]
273 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
274 #define SWIGTYPE_p_wxConfigBase swig_types[41]
275 #define SWIGTYPE_p_wxWindowDC swig_types[42]
276 #define SWIGTYPE_p_wxPrintData swig_types[43]
277 #define SWIGTYPE_p_wxBrushList swig_types[44]
278 #define SWIGTYPE_p_wxFontList swig_types[45]
279 #define SWIGTYPE_p_wxPen swig_types[46]
280 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
281 #define SWIGTYPE_p_wxPaintDC swig_types[48]
282 #define SWIGTYPE_p_wxPenList swig_types[49]
283 #define SWIGTYPE_p_wxPyPen swig_types[50]
284 #define SWIGTYPE_p_int swig_types[51]
285 #define SWIGTYPE_p_wxMetaFile swig_types[52]
286 #define SWIGTYPE_p_wxNativeFontInfo swig_types[53]
287 #define SWIGTYPE_p_wxEncodingConverter swig_types[54]
288 #define SWIGTYPE_p_wxColourDatabase swig_types[55]
289 static swig_type_info
*swig_types
[57];
291 /* -------- TYPES TABLE (END) -------- */
294 /*-----------------------------------------------
296 ------------------------------------------------*/
297 #define SWIG_init init_gdi
299 #define SWIG_name "_gdi"
307 #define SWIGSTATIC(a) static inline a
309 #define SWIGSTATIC(a) static a
315 #ifdef HAVE_NUMERIC_CAST
316 #define numeric_cast(type,a) numeric_cast<type>(a)
318 #define numeric_cast(type,a) static_cast<type>(a)
321 #define numeric_cast(type,a) (type)(a)
327 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
328 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
329 #define SWIG_PyObj_FromShort PyInt_FromLong
330 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
331 #define SWIG_PyObj_FromInt PyInt_FromLong
332 #define SWIG_PyObj_FromLong PyInt_FromLong
333 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
334 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
335 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
336 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
339 #include "wx/wxPython/wxPython.h"
340 #include "wx/wxPython/pyclasses.h"
343 static const wxString
wxPyEmptyString(wxEmptyString
);
346 SWIG_PyObj_AsBool(PyObject
*obj
)
348 return PyObject_IsTrue(obj
) ? true : false;
352 SWIGSTATIC(unsigned char)
353 SWIG_PyObj_AsUnsignedChar(PyObject
*obj
)
355 return numeric_cast(unsigned char,
356 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned char", UCHAR_MAX
));
359 PyObject
*wxColour_Get(wxColour
*self
){
360 PyObject
* rv
= PyTuple_New(3);
366 green
= self
->Green();
369 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
370 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
371 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
374 unsigned long wxColour_GetRGB(wxColour
*self
){
375 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
378 SWIGSTATIC(PyObject
* )
379 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
381 return (value
> (unsigned long)(LONG_MAX
)) ?
382 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
387 SWIG_PyObj_AsInt(PyObject
*obj
)
389 return numeric_cast(int,
390 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
394 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
400 } else if (target
== Py_None
) {
404 if (!PyTuple_Check(target
)) {
406 target
= PyTuple_New(1);
407 PyTuple_SetItem(target
, 0, o2
);
410 PyTuple_SetItem(o3
, 0, o
);
413 target
= PySequence_Concat(o2
, o3
);
420 PyObject
*wxPen_GetDashes(wxPen
*self
){
422 int count
= self
->GetDashes(&dashes
);
423 wxPyBeginBlockThreads();
424 PyObject
* retval
= PyList_New(0);
425 for (int x
=0; x
<count
; x
++)
426 PyList_Append(retval
, PyInt_FromLong(dashes
[x
]));
427 wxPyEndBlockThreads();
430 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
431 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
439 void wxPyPen::SetDashes(int nb_dashes
, const wxDash
*dash
)
443 m_dash
= new wxDash
[nb_dashes
];
444 for (int i
=0; i
<nb_dashes
; i
++) {
447 wxPen::SetDashes(nb_dashes
, m_dash
);
451 #include <wx/image.h>
453 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
454 char** cArray
= NULL
;
457 if (!PyList_Check(listOfStrings
)) {
458 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
461 count
= PyList_Size(listOfStrings
);
462 cArray
= new char*[count
];
464 for(int x
=0; x
<count
; x
++) {
465 // TODO: Need some validation and error checking here
466 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
472 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
473 char** cArray
= NULL
;
476 cArray
= ConvertListOfStrings(listOfStrings
);
479 bmp
= new wxBitmap(cArray
);
483 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
486 PyString_AsStringAndSize(bits
, &buf
, &length
);
487 return new wxBitmap(buf
, width
, height
, depth
);
489 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
490 wxMask
*mask
= new wxMask(*self
, colour
);
493 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
495 return new wxMask(bitmap
, *wxBLACK
);
497 return new wxMask(bitmap
, colour
);
500 #include <wx/iconbndl.h>
502 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
503 wxIcon
* icon
= new wxIcon();
504 icon
->CopyFromBitmap(bmp
);
507 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
508 char** cArray
= NULL
;
511 cArray
= ConvertListOfStrings(listOfStrings
);
514 icon
= new wxIcon(cArray
);
518 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
522 return new wxIconLocation(*filename
);
525 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
532 int wxIconLocation_GetIndex(wxIconLocation
*self
){
541 SWIG_PyObj_AsLong(PyObject
* obj
)
543 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
546 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
548 wxCHECK_MSG(False
, NULL
,
549 wxT("wxCursor constructor not implemented for wxGTK, use wxStockCursor, wxCursorFromImage, or wxCursorFromBits instead."));
554 wxCursor
*new_wxCursor(PyObject
*bits
,int width
,int height
,int hotSpotX
,int hotSpotY
,PyObject
*maskBits
){
556 char* maskbuf
= NULL
;
558 PyString_AsStringAndSize(bits
, &bitsbuf
, &length
);
560 PyString_AsStringAndSize(maskBits
, &maskbuf
, &length
);
561 return new wxCursor(bitsbuf
, width
, height
, hotSpotX
, hotSpotY
, maskbuf
);
565 void wxRegionIterator_Next(wxRegionIterator
*self
){
568 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
569 return self
->operator bool();
572 #include <wx/fontutil.h>
573 #include <wx/fontmap.h>
574 #include <wx/fontenum.h>
576 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
577 return self
->ToString();
580 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
581 static wxNativeEncodingInfo info
;
582 if ( wxGetNativeFontEncoding(encoding
, &info
) )
588 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
589 wxFontEncoding alt_enc
;
590 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
591 return PyInt_FromLong(alt_enc
);
597 wxFont
*new_wxFont(wxString
const &info
){
598 wxNativeFontInfo nfi
;
599 nfi
.FromString(info
);
600 return new wxFont(nfi
);
602 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
603 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
605 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
606 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
608 class wxPyFontEnumerator
: public wxFontEnumerator
{
610 wxPyFontEnumerator() {}
611 ~wxPyFontEnumerator() {}
613 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
614 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
619 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
620 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
623 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
624 wxArrayString
* arr
= self
->GetEncodings();
625 return wxArrayString2PyList_helper(*arr
);
627 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
628 wxArrayString
* arr
= self
->GetFacenames();
629 return wxArrayString2PyList_helper(*arr
);
634 #include "wx/wxPython/pydrawxxx.h"
636 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
638 self
->GetPixel(x
, y
, &col
);
641 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
643 self
->GetPixel(pt
, &col
);
648 SWIG_PyObj_AsDouble(PyObject
*obj
)
650 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
652 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
654 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
656 if (PyErr_Occurred()) {
658 PyErr_SetString(PyExc_TypeError
, "a double is expected");
662 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
664 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
667 wxRect
wxDC_GetClippingRect(wxDC
*self
){
669 self
->GetClippingBox(rect
);
672 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
674 self
->GetPartialTextExtents(text
, widths
);
677 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
678 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
680 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
681 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
683 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
684 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
686 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
687 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
689 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
690 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
692 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
693 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
696 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
704 //-=-=-=-=-=-=-=-=-=-=-
706 #include <wx/dcbuffer.h>
710 // Temporarily put a set of classes here similar to the old buffered DC
711 // classes until the real ones can be fixed to work "correctly" again.
713 class wxBufferedDC
: public wxMemoryDC
721 wxBufferedDC() : m_dc( 0 ) {}
723 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
724 : m_dc( dc
), m_buffer( buffer
)
726 SelectObject( m_buffer
);
729 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
730 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
732 SelectObject( m_buffer
);
741 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
742 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
743 _T("wxBufferedDC already initialised") );
746 SelectObject( m_buffer
);
749 void Init( wxDC
*dc
, const wxSize
&area
) {
750 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
751 _T("wxBufferedDC already initialised") );
753 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
754 SelectObject( m_buffer
);
758 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
759 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
765 class wxBufferedPaintDC
: public wxBufferedDC
771 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
772 : m_paintdc( window
)
774 window
->PrepareDC( m_paintdc
);
776 if( buffer
!= wxNullBitmap
)
777 Init( &m_paintdc
, buffer
);
779 Init( &m_paintdc
, window
->GetClientSize() );
782 ~wxBufferedPaintDC() {
788 //-=-=-=-=-=-=-=-=-=-=-
794 class wxMetaFile
: public wxObject
{
796 wxMetaFile(const wxString
&)
797 { wxPyRaiseNotImplemented(); }
800 class wxMetaFileDC
: public wxClientDC
{
802 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
803 { wxPyRaiseNotImplemented(); }
808 class wxPrinterDC
: public wxClientDC
{
810 wxPrinterDC(const wxPrintData
&)
811 { wxPyRaiseNotImplemented(); }
813 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
814 // { wxPyRaiseNotImplemented(); }
819 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
820 self
->AddColour(name
, wxColour(red
, green
, blue
));
823 #include <wx/effects.h>
828 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
838 result
= (wxGDIObject
*)new wxGDIObject();
840 wxPyEndAllowThreads(__tstate
);
841 if (PyErr_Occurred()) SWIG_fail
;
843 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
850 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
852 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
853 PyObject
* obj0
= 0 ;
855 (char *) "self", NULL
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
864 wxPyEndAllowThreads(__tstate
);
865 if (PyErr_Occurred()) SWIG_fail
;
867 Py_INCREF(Py_None
); resultobj
= Py_None
;
874 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
876 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
878 PyObject
* obj0
= 0 ;
880 (char *) "self", NULL
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
887 result
= (bool)(arg1
)->GetVisible();
889 wxPyEndAllowThreads(__tstate
);
890 if (PyErr_Occurred()) SWIG_fail
;
892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
899 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
903 PyObject
* obj0
= 0 ;
904 PyObject
* obj1
= 0 ;
906 (char *) "self",(char *) "visible", NULL
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
912 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
913 if (PyErr_Occurred()) SWIG_fail
;
916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
917 (arg1
)->SetVisible(arg2
);
919 wxPyEndAllowThreads(__tstate
);
920 if (PyErr_Occurred()) SWIG_fail
;
922 Py_INCREF(Py_None
); resultobj
= Py_None
;
929 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
933 PyObject
* obj0
= 0 ;
935 (char *) "self", NULL
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
942 result
= (bool)(arg1
)->IsNull();
944 wxPyEndAllowThreads(__tstate
);
945 if (PyErr_Occurred()) SWIG_fail
;
947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
954 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
957 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
959 return Py_BuildValue((char *)"");
961 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 unsigned char arg1
= (unsigned char) 0 ;
964 unsigned char arg2
= (unsigned char) 0 ;
965 unsigned char arg3
= (unsigned char) 0 ;
967 PyObject
* obj0
= 0 ;
968 PyObject
* obj1
= 0 ;
969 PyObject
* obj2
= 0 ;
971 (char *) "red",(char *) "green",(char *) "blue", NULL
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
977 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
978 if (PyErr_Occurred()) SWIG_fail
;
983 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
984 if (PyErr_Occurred()) SWIG_fail
;
989 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
990 if (PyErr_Occurred()) SWIG_fail
;
994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
995 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
997 wxPyEndAllowThreads(__tstate
);
998 if (PyErr_Occurred()) SWIG_fail
;
1000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1007 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
*resultobj
;
1009 wxString
*arg1
= 0 ;
1011 bool temp1
= False
;
1012 PyObject
* obj0
= 0 ;
1014 (char *) "colorName", NULL
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1019 arg1
= wxString_in_helper(obj0
);
1020 if (arg1
== NULL
) SWIG_fail
;
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) SWIG_fail
;
1030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1045 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
*resultobj
;
1047 unsigned long arg1
;
1049 PyObject
* obj0
= 0 ;
1051 (char *) "colRGB", NULL
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1056 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
1057 if (PyErr_Occurred()) SWIG_fail
;
1060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1061 result
= (wxColour
*)new wxColour(arg1
);
1063 wxPyEndAllowThreads(__tstate
);
1064 if (PyErr_Occurred()) SWIG_fail
;
1066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1073 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
*resultobj
;
1075 wxColour
*arg1
= (wxColour
*) 0 ;
1076 PyObject
* obj0
= 0 ;
1078 (char *) "self", NULL
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1087 wxPyEndAllowThreads(__tstate
);
1088 if (PyErr_Occurred()) SWIG_fail
;
1090 Py_INCREF(Py_None
); resultobj
= Py_None
;
1097 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
*resultobj
;
1099 wxColour
*arg1
= (wxColour
*) 0 ;
1100 unsigned char result
;
1101 PyObject
* obj0
= 0 ;
1103 (char *) "self", NULL
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 result
= (unsigned char)(arg1
)->Red();
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) SWIG_fail
;
1115 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1122 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
*resultobj
;
1124 wxColour
*arg1
= (wxColour
*) 0 ;
1125 unsigned char result
;
1126 PyObject
* obj0
= 0 ;
1128 (char *) "self", NULL
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 result
= (unsigned char)(arg1
)->Green();
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) SWIG_fail
;
1140 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1147 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1148 PyObject
*resultobj
;
1149 wxColour
*arg1
= (wxColour
*) 0 ;
1150 unsigned char result
;
1151 PyObject
* obj0
= 0 ;
1153 (char *) "self", NULL
1156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 result
= (unsigned char)(arg1
)->Blue();
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1165 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1172 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
*resultobj
;
1174 wxColour
*arg1
= (wxColour
*) 0 ;
1176 PyObject
* obj0
= 0 ;
1178 (char *) "self", NULL
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 result
= (bool)(arg1
)->Ok();
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1197 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
*resultobj
;
1199 wxColour
*arg1
= (wxColour
*) 0 ;
1200 unsigned char arg2
;
1201 unsigned char arg3
;
1202 unsigned char arg4
;
1203 PyObject
* obj0
= 0 ;
1204 PyObject
* obj1
= 0 ;
1205 PyObject
* obj2
= 0 ;
1206 PyObject
* obj3
= 0 ;
1208 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1214 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1218 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
1219 if (PyErr_Occurred()) SWIG_fail
;
1222 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
1223 if (PyErr_Occurred()) SWIG_fail
;
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 (arg1
)->Set(arg2
,arg3
,arg4
);
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1232 Py_INCREF(Py_None
); resultobj
= Py_None
;
1239 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
*resultobj
;
1241 wxColour
*arg1
= (wxColour
*) 0 ;
1242 unsigned long arg2
;
1243 PyObject
* obj0
= 0 ;
1244 PyObject
* obj1
= 0 ;
1246 (char *) "self",(char *) "colRGB", NULL
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1252 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
1253 if (PyErr_Occurred()) SWIG_fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 Py_INCREF(Py_None
); resultobj
= Py_None
;
1269 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
*resultobj
;
1271 wxColour
*arg1
= (wxColour
*) 0 ;
1272 wxString
*arg2
= 0 ;
1273 bool temp2
= False
;
1274 PyObject
* obj0
= 0 ;
1275 PyObject
* obj1
= 0 ;
1277 (char *) "self",(char *) "colourName", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1283 arg2
= wxString_in_helper(obj1
);
1284 if (arg2
== NULL
) SWIG_fail
;
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 (arg1
)->InitFromName((wxString
const &)*arg2
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1294 Py_INCREF(Py_None
); resultobj
= Py_None
;
1309 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
*resultobj
;
1311 wxColour
*arg1
= (wxColour
*) 0 ;
1313 PyObject
* obj0
= 0 ;
1315 (char *) "self", NULL
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1327 resultobj
= SWIG_PyObj_FromLong((long)result
);
1334 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
*resultobj
;
1336 wxColour
*arg1
= (wxColour
*) 0 ;
1337 wxColour
*arg2
= 0 ;
1340 PyObject
* obj0
= 0 ;
1341 PyObject
* obj1
= 0 ;
1343 (char *) "self",(char *) "colour", NULL
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1366 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxColour
*arg1
= (wxColour
*) 0 ;
1369 wxColour
*arg2
= 0 ;
1372 PyObject
* obj0
= 0 ;
1373 PyObject
* obj1
= 0 ;
1375 (char *) "self",(char *) "colour", NULL
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1382 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1386 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1388 wxPyEndAllowThreads(__tstate
);
1389 if (PyErr_Occurred()) SWIG_fail
;
1391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1398 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxColour
*arg1
= (wxColour
*) 0 ;
1402 PyObject
* obj0
= 0 ;
1404 (char *) "self", NULL
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 result
= (PyObject
*)wxColour_Get(arg1
);
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) SWIG_fail
;
1423 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
*resultobj
;
1425 wxColour
*arg1
= (wxColour
*) 0 ;
1426 unsigned long result
;
1427 PyObject
* obj0
= 0 ;
1429 (char *) "self", NULL
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 result
= (unsigned long)wxColour_GetRGB(arg1
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) SWIG_fail
;
1441 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
1448 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1451 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1453 return Py_BuildValue((char *)"");
1455 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1458 unsigned char *arg2
= (unsigned char *) 0 ;
1459 unsigned char *arg3
= (unsigned char *) 0 ;
1460 unsigned char *arg4
= (unsigned char *) 0 ;
1462 PyObject
* obj0
= 0 ;
1463 PyObject
* obj1
= 0 ;
1464 PyObject
* obj2
= 0 ;
1465 PyObject
* obj3
= 0 ;
1467 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1472 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1475 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1476 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1477 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1485 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1492 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
*resultobj
;
1494 wxPalette
*arg1
= (wxPalette
*) 0 ;
1495 PyObject
* obj0
= 0 ;
1497 (char *) "self", NULL
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) SWIG_fail
;
1509 Py_INCREF(Py_None
); resultobj
= Py_None
;
1516 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
*resultobj
;
1518 wxPalette
*arg1
= (wxPalette
*) 0 ;
1523 PyObject
* obj0
= 0 ;
1524 PyObject
* obj1
= 0 ;
1525 PyObject
* obj2
= 0 ;
1526 PyObject
* obj3
= 0 ;
1528 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1534 arg2
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1538 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1542 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
1543 if (PyErr_Occurred()) SWIG_fail
;
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1552 resultobj
= SWIG_PyObj_FromInt((int)result
);
1559 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
*resultobj
;
1561 wxPalette
*arg1
= (wxPalette
*) 0 ;
1563 byte
*arg3
= (byte
*) 0 ;
1564 byte
*arg4
= (byte
*) 0 ;
1565 byte
*arg5
= (byte
*) 0 ;
1570 PyObject
* obj0
= 0 ;
1571 PyObject
* obj1
= 0 ;
1573 (char *) "self",(char *) "pixel", NULL
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1582 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1594 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1595 resultobj
= t_output_helper(resultobj
,o
);
1598 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1599 resultobj
= t_output_helper(resultobj
,o
);
1602 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1603 resultobj
= t_output_helper(resultobj
,o
);
1611 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1613 wxPalette
*arg1
= (wxPalette
*) 0 ;
1615 PyObject
* obj0
= 0 ;
1617 (char *) "self", NULL
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 result
= (bool)(arg1
)->Ok();
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1636 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1639 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1641 return Py_BuildValue((char *)"");
1643 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxColour
*arg1
= 0 ;
1646 int arg2
= (int) 1 ;
1647 int arg3
= (int) wxSOLID
;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1652 PyObject
* obj2
= 0 ;
1654 (char *) "colour",(char *) "width",(char *) "style", NULL
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1660 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1664 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1670 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1688 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxPen
*arg1
= (wxPen
*) 0 ;
1691 PyObject
* obj0
= 0 ;
1693 (char *) "self", NULL
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1705 Py_INCREF(Py_None
); resultobj
= Py_None
;
1712 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxPen
*arg1
= (wxPen
*) 0 ;
1716 PyObject
* obj0
= 0 ;
1718 (char *) "self", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= (int)(arg1
)->GetCap();
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 resultobj
= SWIG_PyObj_FromInt((int)result
);
1737 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
*resultobj
;
1739 wxPen
*arg1
= (wxPen
*) 0 ;
1741 PyObject
* obj0
= 0 ;
1743 (char *) "self", NULL
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 result
= (arg1
)->GetColour();
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1756 wxColour
* resultptr
;
1757 resultptr
= new wxColour((wxColour
&) result
);
1758 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1766 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxPen
*arg1
= (wxPen
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1772 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 result
= (int)(arg1
)->GetJoin();
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1784 resultobj
= SWIG_PyObj_FromInt((int)result
);
1791 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1793 wxPen
*arg1
= (wxPen
*) 0 ;
1795 PyObject
* obj0
= 0 ;
1797 (char *) "self", NULL
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 result
= (int)(arg1
)->GetStyle();
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 resultobj
= SWIG_PyObj_FromInt((int)result
);
1816 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxPen
*arg1
= (wxPen
*) 0 ;
1820 PyObject
* obj0
= 0 ;
1822 (char *) "self", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 result
= (int)(arg1
)->GetWidth();
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1834 resultobj
= SWIG_PyObj_FromInt((int)result
);
1841 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
*resultobj
;
1843 wxPen
*arg1
= (wxPen
*) 0 ;
1845 PyObject
* obj0
= 0 ;
1847 (char *) "self", NULL
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (bool)(arg1
)->Ok();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1866 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
*resultobj
;
1868 wxPen
*arg1
= (wxPen
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1871 PyObject
* obj1
= 0 ;
1873 (char *) "self",(char *) "cap_style", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1879 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1884 (arg1
)->SetCap(arg2
);
1886 wxPyEndAllowThreads(__tstate
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1889 Py_INCREF(Py_None
); resultobj
= Py_None
;
1896 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
*resultobj
;
1898 wxPen
*arg1
= (wxPen
*) 0 ;
1899 wxColour
*arg2
= 0 ;
1901 PyObject
* obj0
= 0 ;
1902 PyObject
* obj1
= 0 ;
1904 (char *) "self",(char *) "colour", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1911 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 (arg1
)->SetColour(*arg2
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 Py_INCREF(Py_None
); resultobj
= Py_None
;
1927 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxPen
*arg1
= (wxPen
*) 0 ;
1931 PyObject
* obj0
= 0 ;
1932 PyObject
* obj1
= 0 ;
1934 (char *) "self",(char *) "join_style", NULL
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1940 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 (arg1
)->SetJoin(arg2
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 Py_INCREF(Py_None
); resultobj
= Py_None
;
1957 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxPen
*arg1
= (wxPen
*) 0 ;
1961 PyObject
* obj0
= 0 ;
1962 PyObject
* obj1
= 0 ;
1964 (char *) "self",(char *) "style", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1970 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 (arg1
)->SetStyle(arg2
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 Py_INCREF(Py_None
); resultobj
= Py_None
;
1987 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 wxPen
*arg1
= (wxPen
*) 0 ;
1991 PyObject
* obj0
= 0 ;
1992 PyObject
* obj1
= 0 ;
1994 (char *) "self",(char *) "width", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2000 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 (arg1
)->SetWidth(arg2
);
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2019 wxPen
*arg1
= (wxPen
*) 0 ;
2021 wxDash
*arg3
= (wxDash
*) 0 ;
2022 PyObject
* obj0
= 0 ;
2023 PyObject
* obj1
= 0 ;
2025 (char *) "self",(char *) "dashes", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2031 arg2
= PyList_Size(obj1
);
2032 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2033 if (arg3
== NULL
) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 (arg1
)->SetDashes(arg2
,arg3
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 Py_INCREF(Py_None
); resultobj
= Py_None
;
2044 if (arg3
) delete [] arg3
;
2049 if (arg3
) delete [] arg3
;
2055 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
*resultobj
;
2057 wxPen
*arg1
= (wxPen
*) 0 ;
2059 PyObject
* obj0
= 0 ;
2061 (char *) "self", NULL
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2080 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2082 wxPen
*arg1
= (wxPen
*) 0 ;
2083 wxPen
*arg2
= (wxPen
*) 0 ;
2085 PyObject
* obj0
= 0 ;
2086 PyObject
* obj1
= 0 ;
2088 (char *) "self",(char *) "other", NULL
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2093 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2108 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
*resultobj
;
2110 wxPen
*arg1
= (wxPen
*) 0 ;
2111 wxPen
*arg2
= (wxPen
*) 0 ;
2113 PyObject
* obj0
= 0 ;
2114 PyObject
* obj1
= 0 ;
2116 (char *) "self",(char *) "other", NULL
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2136 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
*resultobj
;
2138 wxPen
*arg1
= (wxPen
*) 0 ;
2140 PyObject
* obj0
= 0 ;
2142 (char *) "self", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2154 resultobj
= SWIG_PyObj_FromInt((int)result
);
2161 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2164 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2166 return Py_BuildValue((char *)"");
2168 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
*resultobj
;
2170 wxColour
*arg1
= 0 ;
2171 int arg2
= (int) 1 ;
2172 int arg3
= (int) wxSOLID
;
2175 PyObject
* obj0
= 0 ;
2176 PyObject
* obj1
= 0 ;
2177 PyObject
* obj2
= 0 ;
2179 (char *) "colour",(char *) "width",(char *) "style", NULL
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2185 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2189 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2195 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
2213 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2218 (char *) "self", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 Py_INCREF(Py_None
); resultobj
= Py_None
;
2237 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2241 wxDash
*arg3
= (wxDash
*) 0 ;
2242 PyObject
* obj0
= 0 ;
2243 PyObject
* obj1
= 0 ;
2245 (char *) "self",(char *) "dashes", NULL
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2251 arg2
= PyList_Size(obj1
);
2252 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2253 if (arg3
== NULL
) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 (arg1
)->SetDashes(arg2
,arg3
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 Py_INCREF(Py_None
); resultobj
= Py_None
;
2264 if (arg3
) delete [] arg3
;
2269 if (arg3
) delete [] arg3
;
2275 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2278 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2280 return Py_BuildValue((char *)"");
2282 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxColour
*arg1
= 0 ;
2285 int arg2
= (int) wxSOLID
;
2288 PyObject
* obj0
= 0 ;
2289 PyObject
* obj1
= 0 ;
2291 (char *) "colour",(char *) "style", NULL
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2297 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2301 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2319 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2321 wxBrush
*arg1
= (wxBrush
*) 0 ;
2322 PyObject
* obj0
= 0 ;
2324 (char *) "self", NULL
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2336 Py_INCREF(Py_None
); resultobj
= Py_None
;
2343 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
*resultobj
;
2345 wxBrush
*arg1
= (wxBrush
*) 0 ;
2346 wxColour
*arg2
= 0 ;
2348 PyObject
* obj0
= 0 ;
2349 PyObject
* obj1
= 0 ;
2351 (char *) "self",(char *) "col", NULL
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2358 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 (arg1
)->SetColour((wxColour
const &)*arg2
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) SWIG_fail
;
2367 Py_INCREF(Py_None
); resultobj
= Py_None
;
2374 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2376 wxBrush
*arg1
= (wxBrush
*) 0 ;
2378 PyObject
* obj0
= 0 ;
2379 PyObject
* obj1
= 0 ;
2381 (char *) "self",(char *) "style", NULL
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2387 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 (arg1
)->SetStyle(arg2
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) SWIG_fail
;
2397 Py_INCREF(Py_None
); resultobj
= Py_None
;
2404 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxBrush
*arg1
= (wxBrush
*) 0 ;
2407 wxBitmap
*arg2
= 0 ;
2408 PyObject
* obj0
= 0 ;
2409 PyObject
* obj1
= 0 ;
2411 (char *) "self",(char *) "stipple", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2418 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) SWIG_fail
;
2427 Py_INCREF(Py_None
); resultobj
= Py_None
;
2434 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxBrush
*arg1
= (wxBrush
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2440 (char *) "self", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= ((wxBrush
const *)arg1
)->GetColour();
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2453 wxColour
* resultptr
;
2454 resultptr
= new wxColour((wxColour
&) result
);
2455 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2463 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxBrush
*arg1
= (wxBrush
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2469 (char *) "self", NULL
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 resultobj
= SWIG_PyObj_FromInt((int)result
);
2488 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxBrush
*arg1
= (wxBrush
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2494 (char *) "self", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2513 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxBrush
*arg1
= (wxBrush
*) 0 ;
2517 PyObject
* obj0
= 0 ;
2519 (char *) "self", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 result
= (bool)(arg1
)->Ok();
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) SWIG_fail
;
2531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2538 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2541 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2543 return Py_BuildValue((char *)"");
2545 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxString
*arg1
= 0 ;
2548 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2550 bool temp1
= False
;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2554 (char *) "name",(char *) "type", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2559 arg1
= wxString_in_helper(obj0
);
2560 if (arg1
== NULL
) SWIG_fail
;
2565 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2591 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2594 PyObject
* obj0
= 0 ;
2596 (char *) "self", NULL
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 Py_INCREF(Py_None
); resultobj
= Py_None
;
2615 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2619 int arg3
= (int) -1 ;
2621 PyObject
* obj0
= 0 ;
2622 PyObject
* obj1
= 0 ;
2623 PyObject
* obj2
= 0 ;
2625 (char *) "width",(char *) "height",(char *) "depth", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2630 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2639 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2640 if (PyErr_Occurred()) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2657 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2661 PyObject
* obj0
= 0 ;
2663 (char *) "icon", NULL
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2673 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2675 wxPyEndAllowThreads(__tstate
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2678 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2685 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
*resultobj
;
2688 int arg2
= (int) -1 ;
2690 PyObject
* obj0
= 0 ;
2691 PyObject
* obj1
= 0 ;
2693 (char *) "image",(char *) "depth", NULL
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2699 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2703 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) SWIG_fail
;
2714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2721 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2723 PyObject
*arg1
= (PyObject
*) 0 ;
2725 PyObject
* obj0
= 0 ;
2727 (char *) "listOfStrings", NULL
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2746 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
*resultobj
;
2748 PyObject
*arg1
= (PyObject
*) 0 ;
2751 int arg4
= (int) 1 ;
2753 PyObject
* obj0
= 0 ;
2754 PyObject
* obj1
= 0 ;
2755 PyObject
* obj2
= 0 ;
2756 PyObject
* obj3
= 0 ;
2758 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2768 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2773 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2791 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2795 PyObject
* obj0
= 0 ;
2797 (char *) "self", NULL
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (bool)(arg1
)->Ok();
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2816 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2820 PyObject
* obj0
= 0 ;
2822 (char *) "self", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 result
= (int)(arg1
)->GetWidth();
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2834 resultobj
= SWIG_PyObj_FromInt((int)result
);
2841 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2845 PyObject
* obj0
= 0 ;
2847 (char *) "self", NULL
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 result
= (int)(arg1
)->GetHeight();
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) SWIG_fail
;
2859 resultobj
= SWIG_PyObj_FromInt((int)result
);
2866 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
*resultobj
;
2868 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2870 PyObject
* obj0
= 0 ;
2872 (char *) "self", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 result
= (int)(arg1
)->GetDepth();
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2884 resultobj
= SWIG_PyObj_FromInt((int)result
);
2891 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2894 SwigValueWrapper
< wxImage
> result
;
2895 PyObject
* obj0
= 0 ;
2897 (char *) "self", NULL
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
2901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2910 wxImage
* resultptr
;
2911 resultptr
= new wxImage((wxImage
&) result
);
2912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
2920 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2924 PyObject
* obj0
= 0 ;
2926 (char *) "self", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) SWIG_fail
;
2938 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
2945 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2948 wxMask
*arg2
= (wxMask
*) 0 ;
2949 PyObject
* obj0
= 0 ;
2950 PyObject
* obj1
= 0 ;
2952 (char *) "self",(char *) "mask", NULL
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 (arg1
)->SetMask(arg2
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2965 Py_INCREF(Py_None
); resultobj
= Py_None
;
2972 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2975 wxColour
*arg2
= 0 ;
2977 PyObject
* obj0
= 0 ;
2978 PyObject
* obj1
= 0 ;
2980 (char *) "self",(char *) "colour", NULL
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2996 Py_INCREF(Py_None
); resultobj
= Py_None
;
3003 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3007 SwigValueWrapper
< wxBitmap
> result
;
3009 PyObject
* obj0
= 0 ;
3010 PyObject
* obj1
= 0 ;
3012 (char *) "self",(char *) "rect", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3019 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3029 wxBitmap
* resultptr
;
3030 resultptr
= new wxBitmap((wxBitmap
&) result
);
3031 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
3039 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3042 wxString
*arg2
= 0 ;
3044 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3046 bool temp2
= False
;
3047 PyObject
* obj0
= 0 ;
3048 PyObject
* obj1
= 0 ;
3049 PyObject
* obj2
= 0 ;
3050 PyObject
* obj3
= 0 ;
3052 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3058 arg2
= wxString_in_helper(obj1
);
3059 if (arg2
== NULL
) SWIG_fail
;
3063 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3067 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3091 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3094 wxString
*arg2
= 0 ;
3097 bool temp2
= False
;
3098 PyObject
* obj0
= 0 ;
3099 PyObject
* obj1
= 0 ;
3100 PyObject
* obj2
= 0 ;
3102 (char *) "self",(char *) "name",(char *) "type", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3108 arg2
= wxString_in_helper(obj1
);
3109 if (arg2
== NULL
) SWIG_fail
;
3113 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3138 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3146 (char *) "self",(char *) "icon", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3169 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3176 (char *) "self",(char *) "height", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3182 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 (arg1
)->SetHeight(arg2
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 Py_INCREF(Py_None
); resultobj
= Py_None
;
3199 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3203 PyObject
* obj0
= 0 ;
3204 PyObject
* obj1
= 0 ;
3206 (char *) "self",(char *) "width", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3212 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 (arg1
)->SetWidth(arg2
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3233 PyObject
* obj0
= 0 ;
3234 PyObject
* obj1
= 0 ;
3236 (char *) "self",(char *) "depth", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3242 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 (arg1
)->SetDepth(arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 Py_INCREF(Py_None
); resultobj
= Py_None
;
3259 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3262 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3264 return Py_BuildValue((char *)"");
3266 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
*resultobj
;
3268 wxBitmap
*arg1
= 0 ;
3269 wxColour
const &arg2_defvalue
= wxNullColour
;
3270 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3273 PyObject
* obj0
= 0 ;
3274 PyObject
* obj1
= 0 ;
3276 (char *) "bitmap",(char *) "colour", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3282 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3287 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3304 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3307 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3309 return Py_BuildValue((char *)"");
3311 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
*resultobj
;
3313 wxString
*arg1
= 0 ;
3315 int arg3
= (int) -1 ;
3316 int arg4
= (int) -1 ;
3318 bool temp1
= False
;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3321 PyObject
* obj2
= 0 ;
3322 PyObject
* obj3
= 0 ;
3324 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3329 arg1
= wxString_in_helper(obj0
);
3330 if (arg1
== NULL
) SWIG_fail
;
3334 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3339 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3345 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3371 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxIcon
*arg1
= (wxIcon
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "self", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) SWIG_fail
;
3388 Py_INCREF(Py_None
); resultobj
= Py_None
;
3395 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 result
= (wxIcon
*)new wxIcon();
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3417 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxIconLocation
*arg1
= 0 ;
3421 PyObject
* obj0
= 0 ;
3423 (char *) "loc", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3445 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 wxBitmap
*arg1
= 0 ;
3449 PyObject
* obj0
= 0 ;
3451 (char *) "bmp", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3457 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3473 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3475 PyObject
*arg1
= (PyObject
*) 0 ;
3477 PyObject
* obj0
= 0 ;
3479 (char *) "listOfStrings", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 result
= (wxIcon
*)new_wxIcon(arg1
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3498 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxIcon
*arg1
= (wxIcon
*) 0 ;
3501 wxString
*arg2
= 0 ;
3504 bool temp2
= False
;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3507 PyObject
* obj2
= 0 ;
3509 (char *) "self",(char *) "name",(char *) "type", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3515 arg2
= wxString_in_helper(obj1
);
3516 if (arg2
== NULL
) SWIG_fail
;
3520 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3545 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxIcon
*arg1
= (wxIcon
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3551 (char *) "self", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (bool)(arg1
)->Ok();
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3570 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxIcon
*arg1
= (wxIcon
*) 0 ;
3574 PyObject
* obj0
= 0 ;
3576 (char *) "self", NULL
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= (int)(arg1
)->GetWidth();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 resultobj
= SWIG_PyObj_FromInt((int)result
);
3595 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxIcon
*arg1
= (wxIcon
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3601 (char *) "self", NULL
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (int)(arg1
)->GetHeight();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= SWIG_PyObj_FromInt((int)result
);
3620 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxIcon
*arg1
= (wxIcon
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "self", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= (int)(arg1
)->GetDepth();
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3638 resultobj
= SWIG_PyObj_FromInt((int)result
);
3645 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxIcon
*arg1
= (wxIcon
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3650 PyObject
* obj1
= 0 ;
3652 (char *) "self",(char *) "w", NULL
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 (arg1
)->SetWidth(arg2
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3668 Py_INCREF(Py_None
); resultobj
= Py_None
;
3675 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxIcon
*arg1
= (wxIcon
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 (char *) "self",(char *) "h", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3688 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 (arg1
)->SetHeight(arg2
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3698 Py_INCREF(Py_None
); resultobj
= Py_None
;
3705 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
*resultobj
;
3707 wxIcon
*arg1
= (wxIcon
*) 0 ;
3709 PyObject
* obj0
= 0 ;
3710 PyObject
* obj1
= 0 ;
3712 (char *) "self",(char *) "d", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 (arg1
)->SetDepth(arg2
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxIcon
*arg1
= (wxIcon
*) 0 ;
3738 wxBitmap
*arg2
= 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 (char *) "self",(char *) "bmp", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 Py_INCREF(Py_None
); resultobj
= Py_None
;
3765 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
3767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3768 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
3770 return Py_BuildValue((char *)"");
3772 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
3775 int arg2
= (int) 0 ;
3776 wxIconLocation
*result
;
3777 bool temp1
= False
;
3778 PyObject
* obj0
= 0 ;
3779 PyObject
* obj1
= 0 ;
3781 (char *) "filename",(char *) "num", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
3787 arg1
= wxString_in_helper(obj0
);
3788 if (arg1
== NULL
) SWIG_fail
;
3794 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
3820 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3825 (char *) "self", NULL
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
3829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 Py_INCREF(Py_None
); resultobj
= Py_None
;
3844 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3869 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3872 wxString
*arg2
= 0 ;
3873 bool temp2
= False
;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3877 (char *) "self",(char *) "filename", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3883 arg2
= wxString_in_helper(obj1
);
3884 if (arg2
== NULL
) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetFileName((wxString
const &)*arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3915 (char *) "self", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
3924 result
= (wxString
*) &_result_ref
;
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
3934 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
3943 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3950 (char *) "self",(char *) "num", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3956 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 wxIconLocation_SetIndex(arg1
,arg2
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 Py_INCREF(Py_None
); resultobj
= Py_None
;
3973 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
;
3975 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
3977 PyObject
* obj0
= 0 ;
3979 (char *) "self", NULL
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
3983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= (int)wxIconLocation_GetIndex(arg1
);
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_PyObj_FromInt((int)result
);
3998 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4001 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4003 return Py_BuildValue((char *)"");
4005 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxIconBundle
*result
;
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (wxIconBundle
*)new wxIconBundle();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4027 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxString
*arg1
= 0 ;
4031 wxIconBundle
*result
;
4032 bool temp1
= False
;
4033 PyObject
* obj0
= 0 ;
4034 PyObject
* obj1
= 0 ;
4036 (char *) "file",(char *) "type", NULL
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4041 arg1
= wxString_in_helper(obj0
);
4042 if (arg1
== NULL
) SWIG_fail
;
4046 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4071 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4074 wxIconBundle
*result
;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "icon", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4083 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4099 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4102 PyObject
* obj0
= 0 ;
4104 (char *) "self", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4127 PyObject
* obj0
= 0 ;
4128 PyObject
* obj1
= 0 ;
4130 (char *) "self",(char *) "icon", NULL
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4137 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 Py_INCREF(Py_None
); resultobj
= Py_None
;
4153 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4155 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4156 wxString
*arg2
= 0 ;
4158 bool temp2
= False
;
4159 PyObject
* obj0
= 0 ;
4160 PyObject
* obj1
= 0 ;
4161 PyObject
* obj2
= 0 ;
4163 (char *) "self",(char *) "file",(char *) "type", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4169 arg2
= wxString_in_helper(obj1
);
4170 if (arg2
== NULL
) SWIG_fail
;
4174 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4184 Py_INCREF(Py_None
); resultobj
= Py_None
;
4199 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4206 PyObject
* obj1
= 0 ;
4208 (char *) "self",(char *) "size", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4215 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4221 result
= (wxIcon
*) &_result_ref
;
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
4234 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4237 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4239 return Py_BuildValue((char *)"");
4241 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxString
*arg1
= (wxString
*) 0 ;
4245 int arg3
= (int) 0 ;
4246 int arg4
= (int) 0 ;
4248 bool temp1
= False
;
4249 PyObject
* obj0
= 0 ;
4250 PyObject
* obj1
= 0 ;
4251 PyObject
* obj2
= 0 ;
4252 PyObject
* obj3
= 0 ;
4254 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4259 arg1
= wxString_in_helper(obj0
);
4260 if (arg1
== NULL
) SWIG_fail
;
4264 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4269 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4275 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4301 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxCursor
*arg1
= (wxCursor
*) 0 ;
4304 PyObject
* obj0
= 0 ;
4306 (char *) "self", NULL
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 Py_INCREF(Py_None
); resultobj
= Py_None
;
4325 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4329 PyObject
* obj0
= 0 ;
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4336 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (wxCursor
*)new wxCursor(arg1
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4353 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "image", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4365 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4381 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 PyObject
*arg1
= (PyObject
*) 0 ;
4386 int arg4
= (int) -1 ;
4387 int arg5
= (int) -1 ;
4388 PyObject
*arg6
= (PyObject
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4392 PyObject
* obj2
= 0 ;
4393 PyObject
* obj3
= 0 ;
4394 PyObject
* obj4
= 0 ;
4395 PyObject
* obj5
= 0 ;
4397 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_CursorFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4403 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4407 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4412 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4418 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4439 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxCursor
*arg1
= (wxCursor
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4445 (char *) "self", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)(arg1
)->Ok();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4464 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
4466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4467 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4469 return Py_BuildValue((char *)"");
4471 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 int arg1
= (int) 0 ;
4474 int arg2
= (int) 0 ;
4475 int arg3
= (int) 0 ;
4476 int arg4
= (int) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4480 PyObject
* obj2
= 0 ;
4481 PyObject
* obj3
= 0 ;
4483 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4489 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4495 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4501 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4507 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4525 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxBitmap
*arg1
= 0 ;
4528 wxColour
const &arg2_defvalue
= wxNullColour
;
4529 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
4530 int arg3
= (int) 0 ;
4533 PyObject
* obj0
= 0 ;
4534 PyObject
* obj1
= 0 ;
4535 PyObject
* obj2
= 0 ;
4537 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4553 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4571 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4574 wxPoint
*arg2
= (wxPoint
*) 0 ;
4575 int arg3
= (int) wxWINDING_RULE
;
4577 PyObject
* obj0
= 0 ;
4578 PyObject
* obj1
= 0 ;
4580 (char *) "points",(char *) "fillStyle", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4585 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4586 if (arg2
== NULL
) SWIG_fail
;
4590 arg3
= (int) SWIG_PyObj_AsInt(obj1
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
4603 if (arg2
) delete [] arg2
;
4608 if (arg2
) delete [] arg2
;
4614 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxRegion
*arg1
= (wxRegion
*) 0 ;
4617 PyObject
* obj0
= 0 ;
4619 (char *) "self", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRegion
*arg1
= (wxRegion
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4643 (char *) "self", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxRegion
*arg1
= (wxRegion
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4672 (char *) "self",(char *) "x",(char *) "y", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4678 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4699 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxRegion
*arg1
= (wxRegion
*) 0 ;
4705 PyObject
* obj0
= 0 ;
4706 PyObject
* obj1
= 0 ;
4707 PyObject
* obj2
= 0 ;
4709 (char *) "self",(char *) "x",(char *) "y", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4715 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= SWIG_PyObj_FromInt((int)result
);
4736 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxRegion
*arg1
= (wxRegion
*) 0 ;
4742 PyObject
* obj0
= 0 ;
4743 PyObject
* obj1
= 0 ;
4745 (char *) "self",(char *) "pt", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_PyObj_FromInt((int)result
);
4768 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxRegion
*arg1
= (wxRegion
*) 0 ;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4777 (char *) "self",(char *) "rect", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4784 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_PyObj_FromInt((int)result
);
4800 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxRegion
*arg1
= (wxRegion
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4809 PyObject
* obj1
= 0 ;
4810 PyObject
* obj2
= 0 ;
4811 PyObject
* obj3
= 0 ;
4812 PyObject
* obj4
= 0 ;
4814 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4820 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4824 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4828 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_PyObj_FromInt((int)result
);
4849 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxRegion
*arg1
= (wxRegion
*) 0 ;
4853 PyObject
* obj0
= 0 ;
4855 (char *) "self", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (arg1
)->GetBox();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4869 resultptr
= new wxRect((wxRect
&) result
);
4870 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
4878 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxRegion
*arg1
= (wxRegion
*) 0 ;
4886 PyObject
* obj0
= 0 ;
4887 PyObject
* obj1
= 0 ;
4888 PyObject
* obj2
= 0 ;
4889 PyObject
* obj3
= 0 ;
4890 PyObject
* obj4
= 0 ;
4892 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4898 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4902 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4906 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4927 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxRegion
*arg1
= (wxRegion
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "rect", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4943 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4959 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxRegion
*arg1
= (wxRegion
*) 0 ;
4962 wxRegion
*arg2
= 0 ;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "region", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4974 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4990 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxRegion
*arg1
= (wxRegion
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (bool)(arg1
)->IsEmpty();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5015 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxRegion
*arg1
= (wxRegion
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5025 PyObject
* obj2
= 0 ;
5026 PyObject
* obj3
= 0 ;
5027 PyObject
* obj4
= 0 ;
5029 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5047 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5064 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxRegion
*arg1
= (wxRegion
*) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5073 (char *) "self",(char *) "rect", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5096 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxRegion
*arg1
= (wxRegion
*) 0 ;
5099 wxRegion
*arg2
= 0 ;
5101 PyObject
* obj0
= 0 ;
5102 PyObject
* obj1
= 0 ;
5104 (char *) "self",(char *) "region", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5127 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxRegion
*arg1
= (wxRegion
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5137 PyObject
* obj2
= 0 ;
5138 PyObject
* obj3
= 0 ;
5139 PyObject
* obj4
= 0 ;
5141 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5147 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5151 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5155 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5159 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5176 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxRegion
*arg1
= (wxRegion
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5185 (char *) "self",(char *) "rect", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5192 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5208 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxRegion
*arg1
= (wxRegion
*) 0 ;
5211 wxRegion
*arg2
= 0 ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5216 (char *) "self",(char *) "region", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5239 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxRegion
*arg1
= (wxRegion
*) 0 ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5249 PyObject
* obj2
= 0 ;
5250 PyObject
* obj3
= 0 ;
5251 PyObject
* obj4
= 0 ;
5253 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5259 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5263 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5267 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5271 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5288 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxRegion
*arg1
= (wxRegion
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5297 (char *) "self",(char *) "rect", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5304 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5320 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxRegion
*arg1
= (wxRegion
*) 0 ;
5323 wxRegion
*arg2
= 0 ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5328 (char *) "self",(char *) "region", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5351 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxRegion
*arg1
= (wxRegion
*) 0 ;
5354 SwigValueWrapper
< wxBitmap
> result
;
5355 PyObject
* obj0
= 0 ;
5357 (char *) "self", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (arg1
)->ConvertToBitmap();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 wxBitmap
* resultptr
;
5371 resultptr
= new wxBitmap((wxBitmap
&) result
);
5372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5380 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxRegion
*arg1
= (wxRegion
*) 0 ;
5383 wxBitmap
*arg2
= 0 ;
5384 wxColour
const &arg3_defvalue
= wxNullColour
;
5385 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5386 int arg4
= (int) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5391 PyObject
* obj2
= 0 ;
5392 PyObject
* obj3
= 0 ;
5394 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5406 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5411 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5429 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5432 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5434 return Py_BuildValue((char *)"");
5436 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxRegion
*arg1
= 0 ;
5439 wxRegionIterator
*result
;
5440 PyObject
* obj0
= 0 ;
5442 (char *) "region", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
5464 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5467 PyObject
* obj0
= 0 ;
5469 (char *) "self", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 Py_INCREF(Py_None
); resultobj
= Py_None
;
5488 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5494 (char *) "self", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (int)(arg1
)->GetX();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_PyObj_FromInt((int)result
);
5513 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5519 (char *) "self", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (int)(arg1
)->GetY();
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= SWIG_PyObj_FromInt((int)result
);
5538 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5544 (char *) "self", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (int)(arg1
)->GetW();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_PyObj_FromInt((int)result
);
5563 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5569 (char *) "self", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (int)(arg1
)->GetWidth();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_PyObj_FromInt((int)result
);
5588 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5594 (char *) "self", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 result
= (int)(arg1
)->GetH();
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= SWIG_PyObj_FromInt((int)result
);
5613 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5617 PyObject
* obj0
= 0 ;
5619 (char *) "self", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (int)(arg1
)->GetHeight();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= SWIG_PyObj_FromInt((int)result
);
5638 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5644 (char *) "self", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (arg1
)->GetRect();
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5658 resultptr
= new wxRect((wxRect
&) result
);
5659 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5667 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "self", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= (bool)(arg1
)->HaveRects();
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5692 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5695 PyObject
* obj0
= 0 ;
5697 (char *) "self", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 Py_INCREF(Py_None
); resultobj
= Py_None
;
5716 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5721 (char *) "self", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 wxRegionIterator_Next(arg1
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 Py_INCREF(Py_None
); resultobj
= Py_None
;
5740 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5746 (char *) "self", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (bool)wxRegionIterator___nonzero__(arg1
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5765 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
5767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5768 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
5770 return Py_BuildValue((char *)"");
5772 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxNativeFontInfo
*result
;
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
5794 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5799 (char *) "self", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 Py_INCREF(Py_None
); resultobj
= Py_None
;
5842 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5849 (char *) "self",(char *) "font", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5856 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 Py_INCREF(Py_None
); resultobj
= Py_None
;
5872 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_PyObj_FromInt((int)result
);
5897 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= SWIG_PyObj_FromInt((int)result
);
5922 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5928 (char *) "self", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= SWIG_PyObj_FromInt((int)result
);
5947 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5972 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5978 (char *) "self", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6003 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6009 (char *) "self", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= SWIG_PyObj_FromInt((int)result
);
6028 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6032 PyObject
* obj0
= 0 ;
6034 (char *) "self", NULL
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= SWIG_PyObj_FromInt((int)result
);
6053 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6060 (char *) "self",(char *) "pointsize", NULL
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6066 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 (arg1
)->SetPointSize(arg2
);
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 Py_INCREF(Py_None
); resultobj
= Py_None
;
6083 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6090 (char *) "self",(char *) "style", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6096 arg2
= (wxFontStyle
) SWIG_PyObj_AsInt(obj1
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6101 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6103 wxPyEndAllowThreads(__tstate
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 Py_INCREF(Py_None
); resultobj
= Py_None
;
6113 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6120 (char *) "self",(char *) "weight", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6126 arg2
= (wxFontWeight
) SWIG_PyObj_AsInt(obj1
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 Py_INCREF(Py_None
); resultobj
= Py_None
;
6143 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6148 PyObject
* obj1
= 0 ;
6150 (char *) "self",(char *) "underlined", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6156 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 (arg1
)->SetUnderlined(arg2
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 Py_INCREF(Py_None
); resultobj
= Py_None
;
6173 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6180 (char *) "self",(char *) "facename", NULL
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6186 wxString
* sptr
= wxString_in_helper(obj1
);
6187 if (sptr
== NULL
) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 (arg1
)->SetFaceName(arg2
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 Py_INCREF(Py_None
); resultobj
= Py_None
;
6205 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6210 PyObject
* obj1
= 0 ;
6212 (char *) "self",(char *) "family", NULL
6215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6218 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 Py_INCREF(Py_None
); resultobj
= Py_None
;
6235 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6240 PyObject
* obj1
= 0 ;
6242 (char *) "self",(char *) "encoding", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6248 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 Py_INCREF(Py_None
); resultobj
= Py_None
;
6265 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6268 wxString
*arg2
= 0 ;
6270 bool temp2
= False
;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6274 (char *) "self",(char *) "s", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6280 arg2
= wxString_in_helper(obj1
);
6281 if (arg2
== NULL
) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6306 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
*resultobj
;
6308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6312 (char *) "self", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6337 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= wxNativeFontInfo___str__(arg1
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6368 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
*resultobj
;
6370 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6371 wxString
*arg2
= 0 ;
6373 bool temp2
= False
;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6377 (char *) "self",(char *) "s", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6383 arg2
= wxString_in_helper(obj1
);
6384 if (arg2
== NULL
) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6409 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6413 PyObject
* obj0
= 0 ;
6415 (char *) "self", NULL
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6440 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6443 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6445 return Py_BuildValue((char *)"");
6447 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6450 wxString
*arg2
= (wxString
*) 0 ;
6451 bool temp2
= False
;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6455 (char *) "self",(char *) "facename", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6461 arg2
= wxString_in_helper(obj1
);
6462 if (arg2
== NULL
) SWIG_fail
;
6465 if (arg1
) (arg1
)->facename
= *arg2
;
6467 Py_INCREF(Py_None
); resultobj
= Py_None
;
6482 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6486 PyObject
* obj0
= 0 ;
6488 (char *) "self", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6493 result
= (wxString
*)& ((arg1
)->facename
);
6497 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6499 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6508 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6513 PyObject
* obj1
= 0 ;
6515 (char *) "self",(char *) "encoding", NULL
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6521 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6537 PyObject
* obj0
= 0 ;
6539 (char *) "self", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6544 result
= (int) ((arg1
)->encoding
);
6546 resultobj
= SWIG_PyObj_FromInt((int)result
);
6553 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxNativeEncodingInfo
*result
;
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6575 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 Py_INCREF(Py_None
); resultobj
= Py_None
;
6599 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6602 wxString
*arg2
= 0 ;
6604 bool temp2
= False
;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6608 (char *) "self",(char *) "s", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6614 arg2
= wxString_in_helper(obj1
);
6615 if (arg2
== NULL
) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6640 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "self", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
6650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6671 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6674 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
6676 return Py_BuildValue((char *)"");
6678 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6681 wxNativeEncodingInfo
*result
;
6682 PyObject
* obj0
= 0 ;
6684 (char *) "encoding", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
6689 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
6706 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxNativeEncodingInfo
*arg1
= 0 ;
6710 PyObject
* obj0
= 0 ;
6712 (char *) "info", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6734 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxFontMapper
*result
;
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (wxFontMapper
*)new wxFontMapper();
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
6756 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6759 PyObject
* obj0
= 0 ;
6761 (char *) "self", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 Py_INCREF(Py_None
); resultobj
= Py_None
;
6780 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxFontMapper
*result
;
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= (wxFontMapper
*)wxFontMapper::Get();
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6802 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
;
6804 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6805 wxFontMapper
*result
;
6806 PyObject
* obj0
= 0 ;
6808 (char *) "mapper", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
6827 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6830 wxString
*arg2
= 0 ;
6831 bool arg3
= (bool) True
;
6833 bool temp2
= False
;
6834 PyObject
* obj0
= 0 ;
6835 PyObject
* obj1
= 0 ;
6836 PyObject
* obj2
= 0 ;
6838 (char *) "self",(char *) "charset",(char *) "interactive", NULL
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6844 arg2
= wxString_in_helper(obj1
);
6845 if (arg2
== NULL
) SWIG_fail
;
6850 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= SWIG_PyObj_FromInt((int)result
);
6876 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
6898 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
*resultobj
;
6902 PyObject
* obj0
= 0 ;
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
6909 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (int)wxFontMapper::GetEncoding(arg1
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_PyObj_FromInt((int)result
);
6926 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6930 PyObject
* obj0
= 0 ;
6932 (char *) "encoding", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
6937 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6960 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6964 PyObject
* obj0
= 0 ;
6966 (char *) "encoding", NULL
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
6971 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6994 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
6997 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7001 (char *) "self",(char *) "config", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 (arg1
)->SetConfig(arg2
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 Py_INCREF(Py_None
); resultobj
= Py_None
;
7021 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7024 wxString
*arg2
= 0 ;
7025 bool temp2
= False
;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7029 (char *) "self",(char *) "prefix", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7035 arg2
= wxString_in_helper(obj1
);
7036 if (arg2
== NULL
) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 Py_INCREF(Py_None
); resultobj
= Py_None
;
7061 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
;
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= wxFontMapper::GetDefaultConfigPath();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7089 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7095 bool arg4
= (bool) True
;
7097 bool temp3
= False
;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7100 PyObject
* obj2
= 0 ;
7101 PyObject
* obj3
= 0 ;
7103 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7109 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7114 arg3
= wxString_in_helper(obj2
);
7115 if (arg3
== NULL
) SWIG_fail
;
7121 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7147 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7151 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7152 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7154 bool temp3
= False
;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7157 PyObject
* obj2
= 0 ;
7159 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7165 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7170 arg3
= wxString_in_helper(obj2
);
7171 if (arg3
== NULL
) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7197 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7200 wxWindow
*arg2
= (wxWindow
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7202 PyObject
* obj1
= 0 ;
7204 (char *) "self",(char *) "parent", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 (arg1
)->SetDialogParent(arg2
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7227 wxString
*arg2
= 0 ;
7228 bool temp2
= False
;
7229 PyObject
* obj0
= 0 ;
7230 PyObject
* obj1
= 0 ;
7232 (char *) "self",(char *) "title", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7238 arg2
= wxString_in_helper(obj1
);
7239 if (arg2
== NULL
) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7264 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7267 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7269 return Py_BuildValue((char *)"");
7271 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7277 bool arg5
= (bool) False
;
7278 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7279 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7280 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7282 bool temp6
= False
;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 PyObject
* obj2
= 0 ;
7286 PyObject
* obj3
= 0 ;
7287 PyObject
* obj4
= 0 ;
7288 PyObject
* obj5
= 0 ;
7289 PyObject
* obj6
= 0 ;
7291 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7296 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7300 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7304 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7308 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7313 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7319 arg6
= wxString_in_helper(obj5
);
7320 if (arg6
== NULL
) SWIG_fail
;
7326 arg7
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj6
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7352 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxFont
*arg1
= (wxFont
*) 0 ;
7355 PyObject
* obj0
= 0 ;
7357 (char *) "self", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 Py_INCREF(Py_None
); resultobj
= Py_None
;
7376 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxNativeFontInfo
*arg1
= 0 ;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "info", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7404 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxString
*arg1
= 0 ;
7408 bool temp1
= False
;
7409 PyObject
* obj0
= 0 ;
7411 (char *) "info", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7416 arg1
= wxString_in_helper(obj0
);
7417 if (arg1
== NULL
) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7442 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7446 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7447 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7448 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7449 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7451 bool temp4
= False
;
7452 PyObject
* obj0
= 0 ;
7453 PyObject
* obj1
= 0 ;
7454 PyObject
* obj2
= 0 ;
7455 PyObject
* obj3
= 0 ;
7456 PyObject
* obj4
= 0 ;
7458 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7463 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7472 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7478 arg4
= wxString_in_helper(obj3
);
7479 if (arg4
== NULL
) SWIG_fail
;
7485 arg5
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj4
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7511 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxFont
*arg1
= (wxFont
*) 0 ;
7515 PyObject
* obj0
= 0 ;
7517 (char *) "self", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (bool)((wxFont
const *)arg1
)->Ok();
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7536 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxFont
*arg1
= (wxFont
*) 0 ;
7539 wxFont
*arg2
= (wxFont
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7542 PyObject
* obj1
= 0 ;
7544 (char *) "self",(char *) "other", NULL
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7564 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxFont
*arg1
= (wxFont
*) 0 ;
7567 wxFont
*arg2
= (wxFont
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7572 (char *) "self",(char *) "other", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7592 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxFont
*arg1
= (wxFont
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7598 (char *) "self", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
7602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_PyObj_FromInt((int)result
);
7617 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxFont
*arg1
= (wxFont
*) 0 ;
7621 PyObject
* obj0
= 0 ;
7623 (char *) "self", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
7627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 result
= (int)((wxFont
const *)arg1
)->GetFamily();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_PyObj_FromInt((int)result
);
7642 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7644 wxFont
*arg1
= (wxFont
*) 0 ;
7646 PyObject
* obj0
= 0 ;
7648 (char *) "self", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 result
= (int)((wxFont
const *)arg1
)->GetStyle();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= SWIG_PyObj_FromInt((int)result
);
7667 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxFont
*arg1
= (wxFont
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "self", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (int)((wxFont
const *)arg1
)->GetWeight();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_PyObj_FromInt((int)result
);
7692 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxFont
*arg1
= (wxFont
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7698 (char *) "self", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7717 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
;
7719 wxFont
*arg1
= (wxFont
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= ((wxFont
const *)arg1
)->GetFaceName();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7748 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxFont
*arg1
= (wxFont
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7754 (char *) "self", NULL
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
7758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_PyObj_FromInt((int)result
);
7773 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxFont
*arg1
= (wxFont
*) 0 ;
7776 wxNativeFontInfo
*result
;
7777 PyObject
* obj0
= 0 ;
7779 (char *) "self", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
7783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
7798 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxFont
*arg1
= (wxFont
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7804 (char *) "self", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7823 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxFont
*arg1
= (wxFont
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7829 (char *) "self", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
7833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7854 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxFont
*arg1
= (wxFont
*) 0 ;
7858 PyObject
* obj0
= 0 ;
7860 (char *) "self", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
7864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7885 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7887 wxFont
*arg1
= (wxFont
*) 0 ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7892 (char *) "self",(char *) "pointSize", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7898 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 (arg1
)->SetPointSize(arg2
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 Py_INCREF(Py_None
); resultobj
= Py_None
;
7915 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxFont
*arg1
= (wxFont
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7922 (char *) "self",(char *) "family", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
7926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7928 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 (arg1
)->SetFamily(arg2
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 Py_INCREF(Py_None
); resultobj
= Py_None
;
7945 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxFont
*arg1
= (wxFont
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7950 PyObject
* obj1
= 0 ;
7952 (char *) "self",(char *) "style", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7958 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 (arg1
)->SetStyle(arg2
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 Py_INCREF(Py_None
); resultobj
= Py_None
;
7975 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
*resultobj
;
7977 wxFont
*arg1
= (wxFont
*) 0 ;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7982 (char *) "self",(char *) "weight", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7988 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 (arg1
)->SetWeight(arg2
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 Py_INCREF(Py_None
); resultobj
= Py_None
;
8005 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxFont
*arg1
= (wxFont
*) 0 ;
8008 wxString
*arg2
= 0 ;
8009 bool temp2
= False
;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8013 (char *) "self",(char *) "faceName", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8019 arg2
= wxString_in_helper(obj1
);
8020 if (arg2
== NULL
) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 Py_INCREF(Py_None
); resultobj
= Py_None
;
8045 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxFont
*arg1
= (wxFont
*) 0 ;
8049 PyObject
* obj0
= 0 ;
8050 PyObject
* obj1
= 0 ;
8052 (char *) "self",(char *) "underlined", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8058 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 (arg1
)->SetUnderlined(arg2
);
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 Py_INCREF(Py_None
); resultobj
= Py_None
;
8075 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxFont
*arg1
= (wxFont
*) 0 ;
8079 PyObject
* obj0
= 0 ;
8080 PyObject
* obj1
= 0 ;
8082 (char *) "self",(char *) "encoding", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8088 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 Py_INCREF(Py_None
); resultobj
= Py_None
;
8105 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxFont
*arg1
= (wxFont
*) 0 ;
8108 wxNativeFontInfo
*arg2
= 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8112 (char *) "self",(char *) "info", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxFont
*arg1
= (wxFont
*) 0 ;
8138 wxString
*arg2
= 0 ;
8139 bool temp2
= False
;
8140 PyObject
* obj0
= 0 ;
8141 PyObject
* obj1
= 0 ;
8143 (char *) "self",(char *) "info", NULL
8146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8149 arg2
= wxString_in_helper(obj1
);
8150 if (arg2
== NULL
) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 Py_INCREF(Py_None
); resultobj
= Py_None
;
8175 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
*resultobj
;
8177 wxFont
*arg1
= (wxFont
*) 0 ;
8178 wxString
*arg2
= 0 ;
8179 bool temp2
= False
;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8183 (char *) "self",(char *) "info", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8189 arg2
= wxString_in_helper(obj1
);
8190 if (arg2
== NULL
) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 Py_INCREF(Py_None
); resultobj
= Py_None
;
8215 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxFont
*arg1
= (wxFont
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8221 (char *) "self", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8246 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxFont
*arg1
= (wxFont
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8252 (char *) "self", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= ((wxFont
const *)arg1
)->GetStyleString();
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8277 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxFont
*arg1
= (wxFont
*) 0 ;
8281 PyObject
* obj0
= 0 ;
8283 (char *) "self", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= ((wxFont
const *)arg1
)->GetWeightString();
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8308 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxFont
*arg1
= (wxFont
*) 0 ;
8311 bool arg2
= (bool) True
;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "no", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8322 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 (arg1
)->SetNoAntiAliasing(arg2
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 Py_INCREF(Py_None
); resultobj
= Py_None
;
8340 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxFont
*arg1
= (wxFont
*) 0 ;
8344 PyObject
* obj0
= 0 ;
8346 (char *) "self", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (bool)(arg1
)->GetNoAntiAliasing();
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8365 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 result
= (int)wxFont::GetDefaultEncoding();
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 resultobj
= SWIG_PyObj_FromInt((int)result
);
8387 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8390 PyObject
* obj0
= 0 ;
8392 (char *) "encoding", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8397 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 Py_INCREF(Py_None
); resultobj
= Py_None
;
8414 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8417 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8419 return Py_BuildValue((char *)"");
8421 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxPyFontEnumerator
*result
;
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
8443 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
*resultobj
;
8445 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8448 (char *) "self", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 Py_INCREF(Py_None
); resultobj
= Py_None
;
8467 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
;
8469 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8470 PyObject
*arg2
= (PyObject
*) 0 ;
8471 PyObject
*arg3
= (PyObject
*) 0 ;
8473 PyObject
* obj0
= 0 ;
8474 PyObject
* obj1
= 0 ;
8475 PyObject
* obj2
= 0 ;
8476 PyObject
* obj3
= 0 ;
8478 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8486 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 Py_INCREF(Py_None
); resultobj
= Py_None
;
8503 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8506 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8507 bool arg3
= (bool) False
;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8511 PyObject
* obj2
= 0 ;
8513 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8520 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8526 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8544 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8547 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8548 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8550 bool temp2
= False
;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8554 (char *) "self",(char *) "facename", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8561 arg2
= wxString_in_helper(obj1
);
8562 if (arg2
== NULL
) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8588 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8592 PyObject
* obj0
= 0 ;
8594 (char *) "self", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
8598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8613 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "self", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8638 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
8640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8641 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
8643 return Py_BuildValue((char *)"");
8645 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "Language", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8658 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 if (arg1
) (arg1
)->Language
= arg2
;
8663 Py_INCREF(Py_None
); resultobj
= Py_None
;
8670 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8676 (char *) "self", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
8680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8681 result
= (int) ((arg1
)->Language
);
8683 resultobj
= SWIG_PyObj_FromInt((int)result
);
8690 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8693 wxString
*arg2
= (wxString
*) 0 ;
8694 bool temp2
= False
;
8695 PyObject
* obj0
= 0 ;
8696 PyObject
* obj1
= 0 ;
8698 (char *) "self",(char *) "CanonicalName", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8704 arg2
= wxString_in_helper(obj1
);
8705 if (arg2
== NULL
) SWIG_fail
;
8708 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
8710 Py_INCREF(Py_None
); resultobj
= Py_None
;
8725 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
8735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8736 result
= (wxString
*)& ((arg1
)->CanonicalName
);
8740 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8742 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8751 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8754 wxString
*arg2
= (wxString
*) 0 ;
8755 bool temp2
= False
;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8759 (char *) "self",(char *) "Description", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 arg2
= wxString_in_helper(obj1
);
8766 if (arg2
== NULL
) SWIG_fail
;
8769 if (arg1
) (arg1
)->Description
= *arg2
;
8771 Py_INCREF(Py_None
); resultobj
= Py_None
;
8786 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8797 result
= (wxString
*)& ((arg1
)->Description
);
8801 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8803 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8812 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
8814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8815 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
8817 return Py_BuildValue((char *)"");
8819 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 int arg1
= (int) wxLANGUAGE_DEFAULT
;
8822 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8827 (char *) "language",(char *) "flags", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
8833 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8839 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
8857 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxLocale
*arg1
= (wxLocale
*) 0 ;
8860 PyObject
* obj0
= 0 ;
8862 (char *) "self", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxLocale
*arg1
= (wxLocale
*) 0 ;
8884 wxString
*arg2
= 0 ;
8885 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8886 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8887 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8888 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8889 bool arg5
= (bool) True
;
8890 bool arg6
= (bool) False
;
8892 bool temp2
= False
;
8893 bool temp3
= False
;
8894 bool temp4
= False
;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8897 PyObject
* obj2
= 0 ;
8898 PyObject
* obj3
= 0 ;
8899 PyObject
* obj4
= 0 ;
8900 PyObject
* obj5
= 0 ;
8902 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8908 arg2
= wxString_in_helper(obj1
);
8909 if (arg2
== NULL
) SWIG_fail
;
8914 arg3
= wxString_in_helper(obj2
);
8915 if (arg3
== NULL
) SWIG_fail
;
8921 arg4
= wxString_in_helper(obj3
);
8922 if (arg4
== NULL
) SWIG_fail
;
8928 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8934 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8976 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxLocale
*arg1
= (wxLocale
*) 0 ;
8979 int arg2
= (int) wxLANGUAGE_DEFAULT
;
8980 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
8982 PyObject
* obj0
= 0 ;
8983 PyObject
* obj1
= 0 ;
8984 PyObject
* obj2
= 0 ;
8986 (char *) "self",(char *) "language",(char *) "flags", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8993 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8999 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9017 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (int)wxLocale::GetSystemLanguage();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= SWIG_PyObj_FromInt((int)result
);
9039 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (int)wxLocale::GetSystemEncoding();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_PyObj_FromInt((int)result
);
9061 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 result
= wxLocale::GetSystemEncodingName();
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9089 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxLocale
*arg1
= (wxLocale
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9114 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxLocale
*arg1
= (wxLocale
*) 0 ;
9118 PyObject
* obj0
= 0 ;
9120 (char *) "self", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= ((wxLocale
const *)arg1
)->GetLocale();
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9145 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxLocale
*arg1
= (wxLocale
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9151 (char *) "self", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_PyObj_FromInt((int)result
);
9170 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxLocale
*arg1
= (wxLocale
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "self", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= ((wxLocale
const *)arg1
)->GetSysName();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9201 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxLocale
*arg1
= (wxLocale
*) 0 ;
9205 PyObject
* obj0
= 0 ;
9207 (char *) "self", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9232 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxString
*arg1
= 0 ;
9235 bool temp1
= False
;
9236 PyObject
* obj0
= 0 ;
9238 (char *) "prefix", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9243 arg1
= wxString_in_helper(obj0
);
9244 if (arg1
== NULL
) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 Py_INCREF(Py_None
); resultobj
= Py_None
;
9269 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
;
9271 wxLocale
*arg1
= (wxLocale
*) 0 ;
9272 wxString
*arg2
= 0 ;
9274 bool temp2
= False
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9278 (char *) "self",(char *) "szDomain", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9284 arg2
= wxString_in_helper(obj1
);
9285 if (arg2
== NULL
) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9310 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxLocale
*arg1
= (wxLocale
*) 0 ;
9313 wxString
*arg2
= 0 ;
9315 bool temp2
= False
;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9319 (char *) "self",(char *) "szDomain", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9325 arg2
= wxString_in_helper(obj1
);
9326 if (arg2
== NULL
) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9351 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
;
9354 wxLanguageInfo
*result
;
9355 PyObject
* obj0
= 0 ;
9357 (char *) "lang", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9362 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9379 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "lang", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9390 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 result
= wxLocale::GetLanguageName(arg1
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9413 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxString
*arg1
= 0 ;
9416 wxLanguageInfo
*result
;
9417 bool temp1
= False
;
9418 PyObject
* obj0
= 0 ;
9420 (char *) "locale", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9425 arg1
= wxString_in_helper(obj0
);
9426 if (arg1
== NULL
) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9451 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 wxLanguageInfo
*arg1
= 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "info", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9462 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9466 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9468 wxPyEndAllowThreads(__tstate
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9471 Py_INCREF(Py_None
); resultobj
= Py_None
;
9478 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
;
9480 wxLocale
*arg1
= (wxLocale
*) 0 ;
9481 wxString
*arg2
= 0 ;
9482 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9483 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9485 bool temp2
= False
;
9486 bool temp3
= False
;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 PyObject
* obj2
= 0 ;
9491 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9497 arg2
= wxString_in_helper(obj1
);
9498 if (arg2
== NULL
) SWIG_fail
;
9503 arg3
= wxString_in_helper(obj2
);
9504 if (arg3
== NULL
) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9544 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxLocale
*arg1
= (wxLocale
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9550 (char *) "self", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
9559 result
= (wxString
*) &_result_ref
;
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9578 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
9580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9581 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
9583 return Py_BuildValue((char *)"");
9585 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (wxLocale
*)wxGetLocale();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
9607 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
9608 PyObject
*resultobj
;
9609 wxString
*arg1
= 0 ;
9611 bool temp1
= False
;
9612 PyObject
* obj0
= 0 ;
9614 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
9616 arg1
= wxString_in_helper(obj0
);
9617 if (arg1
== NULL
) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= wxGetTranslation((wxString
const &)*arg1
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9648 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
9649 PyObject
*resultobj
;
9650 wxString
*arg1
= 0 ;
9651 wxString
*arg2
= 0 ;
9654 bool temp1
= False
;
9655 bool temp2
= False
;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9658 PyObject
* obj2
= 0 ;
9660 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
9662 arg1
= wxString_in_helper(obj0
);
9663 if (arg1
== NULL
) SWIG_fail
;
9667 arg2
= wxString_in_helper(obj1
);
9668 if (arg2
== NULL
) SWIG_fail
;
9672 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9711 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
9716 argc
= PyObject_Length(args
);
9717 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
9718 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9723 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9726 return _wrap_GetTranslation__SWIG_0(self
,args
);
9732 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9736 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9740 SWIG_PyObj_AsUnsignedLong(argv
[2]);
9741 if (PyErr_Occurred()) {
9749 return _wrap_GetTranslation__SWIG_1(self
,args
);
9755 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
9760 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxEncodingConverter
*result
;
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (wxEncodingConverter
*)new wxEncodingConverter();
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
9782 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "self", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 Py_INCREF(Py_None
); resultobj
= Py_None
;
9806 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9808 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9811 int arg4
= (int) wxCONVERT_STRICT
;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 PyObject
* obj2
= 0 ;
9816 PyObject
* obj3
= 0 ;
9818 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9824 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 arg3
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj2
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9833 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9851 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
9854 wxString
*arg2
= 0 ;
9856 bool temp2
= False
;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9860 (char *) "self",(char *) "input", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9866 arg2
= wxString_in_helper(obj1
);
9867 if (arg2
== NULL
) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (arg1
)->Convert((wxString
const &)*arg2
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9898 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9901 int arg2
= (int) wxPLATFORM_CURRENT
;
9902 wxFontEncodingArray result
;
9903 PyObject
* obj0
= 0 ;
9904 PyObject
* obj1
= 0 ;
9906 (char *) "enc",(char *) "platform", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
9911 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9916 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= PyList_New(0);
9929 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9930 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9931 PyList_Append(resultobj
, number
);
9941 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9944 wxFontEncodingArray result
;
9945 PyObject
* obj0
= 0 ;
9947 (char *) "enc", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
9952 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= PyList_New(0);
9964 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
9965 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
9966 PyList_Append(resultobj
, number
);
9976 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "encIn",(char *) "encOut", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
9989 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10010 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10013 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10015 return Py_BuildValue((char *)"");
10017 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxDC
*arg1
= (wxDC
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 Py_INCREF(Py_None
); resultobj
= Py_None
;
10041 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
*resultobj
;
10043 wxDC
*arg1
= (wxDC
*) 0 ;
10044 PyObject
* obj0
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 (arg1
)->BeginDrawing();
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10058 Py_INCREF(Py_None
); resultobj
= Py_None
;
10065 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
;
10067 wxDC
*arg1
= (wxDC
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 (arg1
)->EndDrawing();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 Py_INCREF(Py_None
); resultobj
= Py_None
;
10089 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxDC
*arg1
= (wxDC
*) 0 ;
10094 wxColour
*arg4
= 0 ;
10095 int arg5
= (int) wxFLOOD_SURFACE
;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 PyObject
* obj2
= 0 ;
10101 PyObject
* obj3
= 0 ;
10102 PyObject
* obj4
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10110 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10114 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10119 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10123 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10141 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxDC
*arg1
= (wxDC
*) 0 ;
10144 wxPoint
*arg2
= 0 ;
10145 wxColour
*arg3
= 0 ;
10146 int arg4
= (int) wxFLOOD_SURFACE
;
10150 PyObject
* obj0
= 0 ;
10151 PyObject
* obj1
= 0 ;
10152 PyObject
* obj2
= 0 ;
10153 PyObject
* obj3
= 0 ;
10154 char *kwnames
[] = {
10155 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10166 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10170 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10188 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxDC
*arg1
= (wxDC
*) 0 ;
10194 PyObject
* obj0
= 0 ;
10195 PyObject
* obj1
= 0 ;
10196 PyObject
* obj2
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "x",(char *) "y", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10204 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10208 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 wxColour
* resultptr
;
10220 resultptr
= new wxColour((wxColour
&) result
);
10221 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10229 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxDC
*arg1
= (wxDC
*) 0 ;
10232 wxPoint
*arg2
= 0 ;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "self",(char *) "pt", NULL
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10245 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10255 wxColour
* resultptr
;
10256 resultptr
= new wxColour((wxColour
&) result
);
10257 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10265 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxDC
*arg1
= (wxDC
*) 0 ;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 PyObject
* obj2
= 0 ;
10275 PyObject
* obj3
= 0 ;
10276 PyObject
* obj4
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10284 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10288 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10292 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 Py_INCREF(Py_None
); resultobj
= Py_None
;
10313 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxDC
*arg1
= (wxDC
*) 0 ;
10316 wxPoint
*arg2
= 0 ;
10317 wxPoint
*arg3
= 0 ;
10320 PyObject
* obj0
= 0 ;
10321 PyObject
* obj1
= 0 ;
10322 PyObject
* obj2
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 Py_INCREF(Py_None
); resultobj
= Py_None
;
10351 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxDC
*arg1
= (wxDC
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 PyObject
* obj2
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self",(char *) "x",(char *) "y", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10366 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 (arg1
)->CrossHair(arg2
,arg3
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 Py_INCREF(Py_None
); resultobj
= Py_None
;
10387 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxDC
*arg1
= (wxDC
*) 0 ;
10390 wxPoint
*arg2
= 0 ;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self",(char *) "pt", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 Py_INCREF(Py_None
); resultobj
= Py_None
;
10418 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxDC
*arg1
= (wxDC
*) 0 ;
10427 PyObject
* obj0
= 0 ;
10428 PyObject
* obj1
= 0 ;
10429 PyObject
* obj2
= 0 ;
10430 PyObject
* obj3
= 0 ;
10431 PyObject
* obj4
= 0 ;
10432 PyObject
* obj5
= 0 ;
10433 PyObject
* obj6
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10441 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10445 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10457 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10461 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 Py_INCREF(Py_None
); resultobj
= Py_None
;
10478 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxDC
*arg1
= (wxDC
*) 0 ;
10481 wxPoint
*arg2
= 0 ;
10482 wxPoint
*arg3
= 0 ;
10483 wxPoint
*arg4
= 0 ;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 PyObject
* obj2
= 0 ;
10490 PyObject
* obj3
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10507 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10523 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxDC
*arg1
= (wxDC
*) 0 ;
10530 PyObject
* obj0
= 0 ;
10531 PyObject
* obj1
= 0 ;
10532 PyObject
* obj2
= 0 ;
10533 PyObject
* obj3
= 0 ;
10534 PyObject
* obj4
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10542 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10546 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10550 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 Py_INCREF(Py_None
); resultobj
= Py_None
;
10571 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxDC
*arg1
= (wxDC
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 char *kwnames
[] = {
10579 (char *) "self",(char *) "rect", NULL
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
10583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10586 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxDC
*arg1
= (wxDC
*) 0 ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 PyObject
* obj2
= 0 ;
10614 PyObject
* obj3
= 0 ;
10615 PyObject
* obj4
= 0 ;
10616 PyObject
* obj5
= 0 ;
10617 PyObject
* obj6
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10629 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10633 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10641 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 arg7
= (double) SWIG_PyObj_AsDouble(obj6
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxDC
*arg1
= (wxDC
*) 0 ;
10665 wxPoint
*arg2
= 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 PyObject
* obj2
= 0 ;
10674 PyObject
* obj3
= 0 ;
10675 PyObject
* obj4
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10688 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10691 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10695 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxDC
*arg1
= (wxDC
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 PyObject
* obj1
= 0 ;
10719 PyObject
* obj2
= 0 ;
10720 char *kwnames
[] = {
10721 (char *) "self",(char *) "x",(char *) "y", NULL
10724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10727 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10731 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 (arg1
)->DrawPoint(arg2
,arg3
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxDC
*arg1
= (wxDC
*) 0 ;
10751 wxPoint
*arg2
= 0 ;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self",(char *) "pt", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10763 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 Py_INCREF(Py_None
); resultobj
= Py_None
;
10779 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxDC
*arg1
= (wxDC
*) 0 ;
10786 PyObject
* obj0
= 0 ;
10787 PyObject
* obj1
= 0 ;
10788 PyObject
* obj2
= 0 ;
10789 PyObject
* obj3
= 0 ;
10790 PyObject
* obj4
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10798 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10802 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxDC
*arg1
= (wxDC
*) 0 ;
10830 wxPoint
*arg2
= 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 PyObject
* obj2
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self",(char *) "pt",(char *) "sz", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10849 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 Py_INCREF(Py_None
); resultobj
= Py_None
;
10865 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxDC
*arg1
= (wxDC
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self",(char *) "rect", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 Py_INCREF(Py_None
); resultobj
= Py_None
;
10896 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxDC
*arg1
= (wxDC
*) 0 ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 PyObject
* obj2
= 0 ;
10907 PyObject
* obj3
= 0 ;
10908 PyObject
* obj4
= 0 ;
10909 PyObject
* obj5
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10917 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10921 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10925 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10929 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10933 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 Py_INCREF(Py_None
); resultobj
= Py_None
;
10950 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxDC
*arg1
= (wxDC
*) 0 ;
10953 wxPoint
*arg2
= 0 ;
10958 PyObject
* obj0
= 0 ;
10959 PyObject
* obj1
= 0 ;
10960 PyObject
* obj2
= 0 ;
10961 PyObject
* obj3
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10974 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10977 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 Py_INCREF(Py_None
); resultobj
= Py_None
;
10994 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxDC
*arg1
= (wxDC
*) 0 ;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 PyObject
* obj2
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self",(char *) "r",(char *) "radius", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11011 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11014 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxDC
*arg1
= (wxDC
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 PyObject
* obj2
= 0 ;
11040 PyObject
* obj3
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11048 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 Py_INCREF(Py_None
); resultobj
= Py_None
;
11073 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxDC
*arg1
= (wxDC
*) 0 ;
11076 wxPoint
*arg2
= 0 ;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 PyObject
* obj2
= 0 ;
11082 char *kwnames
[] = {
11083 (char *) "self",(char *) "pt",(char *) "radius", NULL
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11093 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxDC
*arg1
= (wxDC
*) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 PyObject
* obj2
= 0 ;
11120 PyObject
* obj3
= 0 ;
11121 PyObject
* obj4
= 0 ;
11122 char *kwnames
[] = {
11123 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11129 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11133 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11141 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxDC
*arg1
= (wxDC
*) 0 ;
11161 wxPoint
*arg2
= 0 ;
11165 PyObject
* obj0
= 0 ;
11166 PyObject
* obj1
= 0 ;
11167 PyObject
* obj2
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self",(char *) "pt",(char *) "sz", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11180 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 Py_INCREF(Py_None
); resultobj
= Py_None
;
11196 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxDC
*arg1
= (wxDC
*) 0 ;
11201 PyObject
* obj0
= 0 ;
11202 PyObject
* obj1
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "self",(char *) "rect", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11211 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 Py_INCREF(Py_None
); resultobj
= Py_None
;
11227 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxDC
*arg1
= (wxDC
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 PyObject
* obj1
= 0 ;
11235 PyObject
* obj2
= 0 ;
11236 PyObject
* obj3
= 0 ;
11237 char *kwnames
[] = {
11238 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11244 if (arg2
== NULL
) {
11245 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11248 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxDC
*arg1
= (wxDC
*) 0 ;
11273 wxPoint
*arg3
= 0 ;
11275 PyObject
* obj0
= 0 ;
11276 PyObject
* obj1
= 0 ;
11277 PyObject
* obj2
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "icon",(char *) "pt", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11285 if (arg2
== NULL
) {
11286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11290 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 Py_INCREF(Py_None
); resultobj
= Py_None
;
11306 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11307 PyObject
*resultobj
;
11308 wxDC
*arg1
= (wxDC
*) 0 ;
11309 wxBitmap
*arg2
= 0 ;
11312 bool arg5
= (bool) False
;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 PyObject
* obj2
= 0 ;
11316 PyObject
* obj3
= 0 ;
11317 PyObject
* obj4
= 0 ;
11318 char *kwnames
[] = {
11319 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11325 if (arg2
== NULL
) {
11326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11329 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11338 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxDC
*arg1
= (wxDC
*) 0 ;
11359 wxBitmap
*arg2
= 0 ;
11360 wxPoint
*arg3
= 0 ;
11361 bool arg4
= (bool) False
;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 PyObject
* obj2
= 0 ;
11366 PyObject
* obj3
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11374 if (arg2
== NULL
) {
11375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11383 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 Py_INCREF(Py_None
); resultobj
= Py_None
;
11401 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxDC
*arg1
= (wxDC
*) 0 ;
11404 wxString
*arg2
= 0 ;
11407 bool temp2
= False
;
11408 PyObject
* obj0
= 0 ;
11409 PyObject
* obj1
= 0 ;
11410 PyObject
* obj2
= 0 ;
11411 PyObject
* obj3
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11419 arg2
= wxString_in_helper(obj1
);
11420 if (arg2
== NULL
) SWIG_fail
;
11424 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11428 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 Py_INCREF(Py_None
); resultobj
= Py_None
;
11453 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxDC
*arg1
= (wxDC
*) 0 ;
11456 wxString
*arg2
= 0 ;
11457 wxPoint
*arg3
= 0 ;
11458 bool temp2
= False
;
11460 PyObject
* obj0
= 0 ;
11461 PyObject
* obj1
= 0 ;
11462 PyObject
* obj2
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "text",(char *) "pt", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11470 arg2
= wxString_in_helper(obj1
);
11471 if (arg2
== NULL
) SWIG_fail
;
11476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11485 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxDC
*arg1
= (wxDC
*) 0 ;
11503 wxString
*arg2
= 0 ;
11507 bool temp2
= False
;
11508 PyObject
* obj0
= 0 ;
11509 PyObject
* obj1
= 0 ;
11510 PyObject
* obj2
= 0 ;
11511 PyObject
* obj3
= 0 ;
11512 PyObject
* obj4
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11520 arg2
= wxString_in_helper(obj1
);
11521 if (arg2
== NULL
) SWIG_fail
;
11525 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11529 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 Py_INCREF(Py_None
); resultobj
= Py_None
;
11558 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
;
11560 wxDC
*arg1
= (wxDC
*) 0 ;
11561 wxString
*arg2
= 0 ;
11562 wxPoint
*arg3
= 0 ;
11564 bool temp2
= False
;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11577 arg2
= wxString_in_helper(obj1
);
11578 if (arg2
== NULL
) SWIG_fail
;
11583 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11586 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 Py_INCREF(Py_None
); resultobj
= Py_None
;
11611 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxDC
*arg1
= (wxDC
*) 0 ;
11618 wxDC
*arg6
= (wxDC
*) 0 ;
11621 int arg9
= (int) wxCOPY
;
11622 bool arg10
= (bool) False
;
11623 int arg11
= (int) -1 ;
11624 int arg12
= (int) -1 ;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 PyObject
* obj2
= 0 ;
11629 PyObject
* obj3
= 0 ;
11630 PyObject
* obj4
= 0 ;
11631 PyObject
* obj5
= 0 ;
11632 PyObject
* obj6
= 0 ;
11633 PyObject
* obj7
= 0 ;
11634 PyObject
* obj8
= 0 ;
11635 PyObject
* obj9
= 0 ;
11636 PyObject
* obj10
= 0 ;
11637 PyObject
* obj11
= 0 ;
11638 char *kwnames
[] = {
11639 (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
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_BlitXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
11643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11645 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11653 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11662 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11666 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11671 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11677 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11683 arg11
= (int) SWIG_PyObj_AsInt(obj10
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11689 arg12
= (int) SWIG_PyObj_AsInt(obj11
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11707 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxDC
*arg1
= (wxDC
*) 0 ;
11710 wxPoint
*arg2
= 0 ;
11712 wxDC
*arg4
= (wxDC
*) 0 ;
11713 wxPoint
*arg5
= 0 ;
11714 int arg6
= (int) wxCOPY
;
11715 bool arg7
= (bool) False
;
11716 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
11717 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 PyObject
* obj2
= 0 ;
11726 PyObject
* obj3
= 0 ;
11727 PyObject
* obj4
= 0 ;
11728 PyObject
* obj5
= 0 ;
11729 PyObject
* obj6
= 0 ;
11730 PyObject
* obj7
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11739 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11743 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11745 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11748 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11752 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11758 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11765 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxDC
*arg1
= (wxDC
*) 0 ;
11786 wxPoint
*arg3
= (wxPoint
*) 0 ;
11787 int arg4
= (int) 0 ;
11788 int arg5
= (int) 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 PyObject
* obj2
= 0 ;
11792 PyObject
* obj3
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11800 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11801 if (arg3
== NULL
) SWIG_fail
;
11805 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11811 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
11819 wxPyEndAllowThreads(__tstate
);
11820 if (PyErr_Occurred()) SWIG_fail
;
11822 Py_INCREF(Py_None
); resultobj
= Py_None
;
11824 if (arg3
) delete [] arg3
;
11829 if (arg3
) delete [] arg3
;
11835 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxDC
*arg1
= (wxDC
*) 0 ;
11839 wxPoint
*arg3
= (wxPoint
*) 0 ;
11840 int arg4
= (int) 0 ;
11841 int arg5
= (int) 0 ;
11842 int arg6
= (int) wxODDEVEN_RULE
;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 PyObject
* obj2
= 0 ;
11846 PyObject
* obj3
= 0 ;
11847 PyObject
* obj4
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11855 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
11856 if (arg3
== NULL
) SWIG_fail
;
11860 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11866 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11872 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 Py_INCREF(Py_None
); resultobj
= Py_None
;
11885 if (arg3
) delete [] arg3
;
11890 if (arg3
) delete [] arg3
;
11896 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxDC
*arg1
= (wxDC
*) 0 ;
11899 wxString
*arg2
= 0 ;
11901 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11902 int arg5
= (int) -1 ;
11903 bool temp2
= False
;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 PyObject
* obj2
= 0 ;
11908 PyObject
* obj3
= 0 ;
11909 PyObject
* obj4
= 0 ;
11910 char *kwnames
[] = {
11911 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11917 arg2
= wxString_in_helper(obj1
);
11918 if (arg2
== NULL
) SWIG_fail
;
11923 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
11927 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11933 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 Py_INCREF(Py_None
); resultobj
= Py_None
;
11959 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
;
11961 wxDC
*arg1
= (wxDC
*) 0 ;
11962 wxString
*arg2
= 0 ;
11963 wxBitmap
*arg3
= 0 ;
11965 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
11966 int arg6
= (int) -1 ;
11968 bool temp2
= False
;
11970 PyObject
* obj0
= 0 ;
11971 PyObject
* obj1
= 0 ;
11972 PyObject
* obj2
= 0 ;
11973 PyObject
* obj3
= 0 ;
11974 PyObject
* obj4
= 0 ;
11975 PyObject
* obj5
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11983 arg2
= wxString_in_helper(obj1
);
11984 if (arg2
== NULL
) SWIG_fail
;
11987 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11988 if (arg3
== NULL
) {
11989 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11993 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
11997 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12003 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12015 wxRect
* resultptr
;
12016 resultptr
= new wxRect((wxRect
&) result
);
12017 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12033 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxDC
*arg1
= (wxDC
*) 0 ;
12037 wxPoint
*arg3
= (wxPoint
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self",(char *) "points", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12047 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12048 if (arg3
== NULL
) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 (arg1
)->DrawSpline(arg2
,arg3
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 Py_INCREF(Py_None
); resultobj
= Py_None
;
12059 if (arg3
) delete [] arg3
;
12064 if (arg3
) delete [] arg3
;
12070 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxDC
*arg1
= (wxDC
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 Py_INCREF(Py_None
); resultobj
= Py_None
;
12094 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxDC
*arg1
= (wxDC
*) 0 ;
12097 wxString
*arg2
= 0 ;
12099 bool temp2
= False
;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self",(char *) "message", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12109 arg2
= wxString_in_helper(obj1
);
12110 if (arg2
== NULL
) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12135 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxDC
*arg1
= (wxDC
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 Py_INCREF(Py_None
); resultobj
= Py_None
;
12159 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
;
12161 wxDC
*arg1
= (wxDC
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 (arg1
)->StartPage();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 Py_INCREF(Py_None
); resultobj
= Py_None
;
12183 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxDC
*arg1
= (wxDC
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 Py_INCREF(Py_None
); resultobj
= Py_None
;
12207 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
;
12209 wxDC
*arg1
= (wxDC
*) 0 ;
12211 PyObject
* obj0
= 0 ;
12212 PyObject
* obj1
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self",(char *) "font", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12220 if (arg2
== NULL
) {
12221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 (arg1
)->SetFont((wxFont
const &)*arg2
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 Py_INCREF(Py_None
); resultobj
= Py_None
;
12237 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxDC
*arg1
= (wxDC
*) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 PyObject
* obj1
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self",(char *) "pen", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12250 if (arg2
== NULL
) {
12251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 (arg1
)->SetPen((wxPen
const &)*arg2
);
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 Py_INCREF(Py_None
); resultobj
= Py_None
;
12267 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxDC
*arg1
= (wxDC
*) 0 ;
12270 wxBrush
*arg2
= 0 ;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "brush", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12280 if (arg2
== NULL
) {
12281 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 Py_INCREF(Py_None
); resultobj
= Py_None
;
12297 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxDC
*arg1
= (wxDC
*) 0 ;
12300 wxBrush
*arg2
= 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "brush", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12310 if (arg2
== NULL
) {
12311 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 Py_INCREF(Py_None
); resultobj
= Py_None
;
12327 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxDC
*arg1
= (wxDC
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "mode", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12340 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetBackgroundMode(arg2
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxDC
*arg1
= (wxDC
*) 0 ;
12360 wxPalette
*arg2
= 0 ;
12361 PyObject
* obj0
= 0 ;
12362 PyObject
* obj1
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self",(char *) "palette", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12370 if (arg2
== NULL
) {
12371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 Py_INCREF(Py_None
); resultobj
= Py_None
;
12387 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxDC
*arg1
= (wxDC
*) 0 ;
12394 PyObject
* obj0
= 0 ;
12395 PyObject
* obj1
= 0 ;
12396 PyObject
* obj2
= 0 ;
12397 PyObject
* obj3
= 0 ;
12398 PyObject
* obj4
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12410 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12418 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 Py_INCREF(Py_None
); resultobj
= Py_None
;
12435 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxDC
*arg1
= (wxDC
*) 0 ;
12438 wxPoint
*arg2
= 0 ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 PyObject
* obj2
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "pt",(char *) "sz", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12453 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12457 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 Py_INCREF(Py_None
); resultobj
= Py_None
;
12473 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
;
12475 wxDC
*arg1
= (wxDC
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self",(char *) "rect", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12488 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 Py_INCREF(Py_None
); resultobj
= Py_None
;
12504 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxDC
*arg1
= (wxDC
*) 0 ;
12507 wxRegion
*arg2
= 0 ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self",(char *) "region", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12516 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12517 if (arg2
== NULL
) {
12518 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 Py_INCREF(Py_None
); resultobj
= Py_None
;
12534 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxDC
*arg1
= (wxDC
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 (arg1
)->DestroyClippingRegion();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxDC
*arg1
= (wxDC
*) 0 ;
12561 int *arg2
= (int *) 0 ;
12562 int *arg3
= (int *) 0 ;
12563 int *arg4
= (int *) 0 ;
12564 int *arg5
= (int *) 0 ;
12569 PyObject
* obj0
= 0 ;
12570 char *kwnames
[] = {
12571 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 Py_INCREF(Py_None
); resultobj
= Py_None
;
12589 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12590 resultobj
= t_output_helper(resultobj
,o
);
12593 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12594 resultobj
= t_output_helper(resultobj
,o
);
12597 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12598 resultobj
= t_output_helper(resultobj
,o
);
12601 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12602 resultobj
= t_output_helper(resultobj
,o
);
12610 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxDC
*arg1
= (wxDC
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= wxDC_GetClippingRect(arg1
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 wxRect
* resultptr
;
12630 resultptr
= new wxRect((wxRect
&) result
);
12631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12639 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxDC
*arg1
= (wxDC
*) 0 ;
12643 PyObject
* obj0
= 0 ;
12644 char *kwnames
[] = {
12645 (char *) "self", NULL
12648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= SWIG_PyObj_FromInt((int)result
);
12664 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxDC
*arg1
= (wxDC
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= SWIG_PyObj_FromInt((int)result
);
12689 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxDC
*arg1
= (wxDC
*) 0 ;
12692 wxString
*arg2
= 0 ;
12693 int *arg3
= (int *) 0 ;
12694 int *arg4
= (int *) 0 ;
12695 bool temp2
= False
;
12698 PyObject
* obj0
= 0 ;
12699 PyObject
* obj1
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self",(char *) "string", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12709 arg2
= wxString_in_helper(obj1
);
12710 if (arg2
== NULL
) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 Py_INCREF(Py_None
); resultobj
= Py_None
;
12722 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12723 resultobj
= t_output_helper(resultobj
,o
);
12726 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12727 resultobj
= t_output_helper(resultobj
,o
);
12743 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxDC
*arg1
= (wxDC
*) 0 ;
12746 wxString
*arg2
= 0 ;
12747 int *arg3
= (int *) 0 ;
12748 int *arg4
= (int *) 0 ;
12749 int *arg5
= (int *) 0 ;
12750 int *arg6
= (int *) 0 ;
12751 wxFont
*arg7
= (wxFont
*) NULL
;
12752 bool temp2
= False
;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 PyObject
* obj2
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "string",(char *) "font", NULL
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12771 arg2
= wxString_in_helper(obj1
);
12772 if (arg2
== NULL
) SWIG_fail
;
12776 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12788 resultobj
= t_output_helper(resultobj
,o
);
12791 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12792 resultobj
= t_output_helper(resultobj
,o
);
12795 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12796 resultobj
= t_output_helper(resultobj
,o
);
12799 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
12800 resultobj
= t_output_helper(resultobj
,o
);
12816 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxDC
*arg1
= (wxDC
*) 0 ;
12819 wxString
*arg2
= 0 ;
12820 int *arg3
= (int *) 0 ;
12821 int *arg4
= (int *) 0 ;
12822 int *arg5
= (int *) 0 ;
12823 wxFont
*arg6
= (wxFont
*) NULL
;
12824 bool temp2
= False
;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 PyObject
* obj2
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "text",(char *) "font", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12841 arg2
= wxString_in_helper(obj1
);
12842 if (arg2
== NULL
) SWIG_fail
;
12846 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 Py_INCREF(Py_None
); resultobj
= Py_None
;
12857 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12858 resultobj
= t_output_helper(resultobj
,o
);
12861 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
12862 resultobj
= t_output_helper(resultobj
,o
);
12865 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
12866 resultobj
= t_output_helper(resultobj
,o
);
12882 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
;
12884 wxDC
*arg1
= (wxDC
*) 0 ;
12885 wxString
*arg2
= 0 ;
12887 bool temp2
= False
;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj1
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self",(char *) "text", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12897 arg2
= wxString_in_helper(obj1
);
12898 if (arg2
== NULL
) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= PyList_New(0);
12911 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
12912 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
12913 PyList_Append(resultobj
, val
);
12931 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxDC
*arg1
= (wxDC
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12944 result
= (arg1
)->GetSize();
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12950 wxSize
* resultptr
;
12951 resultptr
= new wxSize((wxSize
&) result
);
12952 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12960 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxDC
*arg1
= (wxDC
*) 0 ;
12963 int *arg2
= (int *) 0 ;
12964 int *arg3
= (int *) 0 ;
12967 PyObject
* obj0
= 0 ;
12968 char *kwnames
[] = {
12969 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 (arg1
)->GetSize(arg2
,arg3
);
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 Py_INCREF(Py_None
); resultobj
= Py_None
;
12985 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12986 resultobj
= t_output_helper(resultobj
,o
);
12989 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12990 resultobj
= t_output_helper(resultobj
,o
);
12998 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxDC
*arg1
= (wxDC
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13017 wxSize
* resultptr
;
13018 resultptr
= new wxSize((wxSize
&) result
);
13019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13027 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13028 PyObject
*resultobj
;
13029 wxDC
*arg1
= (wxDC
*) 0 ;
13030 int *arg2
= (int *) 0 ;
13031 int *arg3
= (int *) 0 ;
13034 PyObject
* obj0
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13053 resultobj
= t_output_helper(resultobj
,o
);
13056 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13057 resultobj
= t_output_helper(resultobj
,o
);
13065 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
;
13067 wxDC
*arg1
= (wxDC
*) 0 ;
13070 PyObject
* obj0
= 0 ;
13071 PyObject
* obj1
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self",(char *) "x", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13079 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_PyObj_FromInt((int)result
);
13096 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxDC
*arg1
= (wxDC
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self",(char *) "y", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13110 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_PyObj_FromInt((int)result
);
13127 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxDC
*arg1
= (wxDC
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "x", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13141 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_PyObj_FromInt((int)result
);
13158 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxDC
*arg1
= (wxDC
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 PyObject
* obj1
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self",(char *) "y", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13172 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_PyObj_FromInt((int)result
);
13189 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxDC
*arg1
= (wxDC
*) 0 ;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self",(char *) "x", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13203 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_PyObj_FromInt((int)result
);
13220 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxDC
*arg1
= (wxDC
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self",(char *) "y", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_PyObj_FromInt((int)result
);
13251 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxDC
*arg1
= (wxDC
*) 0 ;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "x", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13265 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_PyObj_FromInt((int)result
);
13282 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxDC
*arg1
= (wxDC
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "y", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13296 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= SWIG_PyObj_FromInt((int)result
);
13313 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxDC
*arg1
= (wxDC
*) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13338 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxDC
*arg1
= (wxDC
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13363 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxDC
*arg1
= (wxDC
*) 0 ;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_PyObj_FromInt((int)result
);
13388 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
;
13390 wxDC
*arg1
= (wxDC
*) 0 ;
13392 PyObject
* obj0
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "self", NULL
13397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= ((wxDC
const *)arg1
)->GetPPI();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13407 wxSize
* resultptr
;
13408 resultptr
= new wxSize((wxSize
&) result
);
13409 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13417 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxDC
*arg1
= (wxDC
*) 0 ;
13421 PyObject
* obj0
= 0 ;
13422 char *kwnames
[] = {
13423 (char *) "self", NULL
13426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (bool)((wxDC
const *)arg1
)->Ok();
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13442 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxDC
*arg1
= (wxDC
*) 0 ;
13446 PyObject
* obj0
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_PyObj_FromInt((int)result
);
13467 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxDC
*arg1
= (wxDC
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13482 result
= (wxBrush
*) &_result_ref
;
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13495 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxDC
*arg1
= (wxDC
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13510 result
= (wxBrush
*) &_result_ref
;
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
13523 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxDC
*arg1
= (wxDC
*) 0 ;
13527 PyObject
* obj0
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13538 result
= (wxFont
*) &_result_ref
;
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
13551 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxDC
*arg1
= (wxDC
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13566 result
= (wxPen
*) &_result_ref
;
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
13579 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxDC
*arg1
= (wxDC
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13594 result
= (wxColour
*) &_result_ref
;
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13607 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
;
13609 wxDC
*arg1
= (wxDC
*) 0 ;
13611 PyObject
* obj0
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13622 result
= (wxColour
*) &_result_ref
;
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
13635 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
;
13637 wxDC
*arg1
= (wxDC
*) 0 ;
13638 wxColour
*arg2
= 0 ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self",(char *) "colour", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13650 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 Py_INCREF(Py_None
); resultobj
= Py_None
;
13666 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
;
13668 wxDC
*arg1
= (wxDC
*) 0 ;
13669 wxColour
*arg2
= 0 ;
13671 PyObject
* obj0
= 0 ;
13672 PyObject
* obj1
= 0 ;
13673 char *kwnames
[] = {
13674 (char *) "self",(char *) "colour", NULL
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13681 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 Py_INCREF(Py_None
); resultobj
= Py_None
;
13697 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxDC
*arg1
= (wxDC
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "self", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
13707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= SWIG_PyObj_FromInt((int)result
);
13722 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxDC
*arg1
= (wxDC
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self",(char *) "mode", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 (arg1
)->SetMapMode(arg2
);
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 Py_INCREF(Py_None
); resultobj
= Py_None
;
13752 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxDC
*arg1
= (wxDC
*) 0 ;
13755 double *arg2
= (double *) 0 ;
13756 double *arg3
= (double *) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
13767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 Py_INCREF(Py_None
); resultobj
= Py_None
;
13777 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13778 resultobj
= t_output_helper(resultobj
,o
);
13781 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13782 resultobj
= t_output_helper(resultobj
,o
);
13790 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxDC
*arg1
= (wxDC
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 PyObject
* obj2
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "x",(char *) "y", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13805 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13809 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 (arg1
)->SetUserScale(arg2
,arg3
);
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 Py_INCREF(Py_None
); resultobj
= Py_None
;
13826 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxDC
*arg1
= (wxDC
*) 0 ;
13829 double *arg2
= (double *) 0 ;
13830 double *arg3
= (double *) 0 ;
13833 PyObject
* obj0
= 0 ;
13834 char *kwnames
[] = {
13835 (char *) "self", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 (arg1
)->GetLogicalScale(arg2
,arg3
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 Py_INCREF(Py_None
); resultobj
= Py_None
;
13851 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
13852 resultobj
= t_output_helper(resultobj
,o
);
13855 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
13856 resultobj
= t_output_helper(resultobj
,o
);
13864 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxDC
*arg1
= (wxDC
*) 0 ;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 PyObject
* obj2
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self",(char *) "x",(char *) "y", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13879 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13883 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 (arg1
)->SetLogicalScale(arg2
,arg3
);
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 Py_INCREF(Py_None
); resultobj
= Py_None
;
13900 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxDC
*arg1
= (wxDC
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
13910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 wxPoint
* resultptr
;
13920 resultptr
= new wxPoint((wxPoint
&) result
);
13921 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13929 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxDC
*arg1
= (wxDC
*) 0 ;
13932 int *arg2
= (int *) 0 ;
13933 int *arg3
= (int *) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 Py_INCREF(Py_None
); resultobj
= Py_None
;
13954 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13955 resultobj
= t_output_helper(resultobj
,o
);
13958 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13959 resultobj
= t_output_helper(resultobj
,o
);
13967 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxDC
*arg1
= (wxDC
*) 0 ;
13972 PyObject
* obj0
= 0 ;
13973 PyObject
* obj1
= 0 ;
13974 PyObject
* obj2
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "x",(char *) "y", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13982 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13986 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13991 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 Py_INCREF(Py_None
); resultobj
= Py_None
;
14003 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 wxDC
*arg1
= (wxDC
*) 0 ;
14007 PyObject
* obj0
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14022 wxPoint
* resultptr
;
14023 resultptr
= new wxPoint((wxPoint
&) result
);
14024 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14032 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxDC
*arg1
= (wxDC
*) 0 ;
14035 int *arg2
= (int *) 0 ;
14036 int *arg3
= (int *) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 Py_INCREF(Py_None
); resultobj
= Py_None
;
14057 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14058 resultobj
= t_output_helper(resultobj
,o
);
14061 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14062 resultobj
= t_output_helper(resultobj
,o
);
14070 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxDC
*arg1
= (wxDC
*) 0 ;
14075 PyObject
* obj0
= 0 ;
14076 PyObject
* obj1
= 0 ;
14077 PyObject
* obj2
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self",(char *) "x",(char *) "y", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14085 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14089 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxDC
*arg1
= (wxDC
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 PyObject
* obj2
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14121 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14125 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 Py_INCREF(Py_None
); resultobj
= Py_None
;
14142 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
;
14144 wxDC
*arg1
= (wxDC
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 char *kwnames
[] = {
14148 (char *) "self", NULL
14151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= SWIG_PyObj_FromInt((int)result
);
14167 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxDC
*arg1
= (wxDC
*) 0 ;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 char *kwnames
[] = {
14174 (char *) "self",(char *) "function", NULL
14177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14180 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 (arg1
)->SetLogicalFunction(arg2
);
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 Py_INCREF(Py_None
); resultobj
= Py_None
;
14197 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxDC
*arg1
= (wxDC
*) 0 ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self",(char *) "opt", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14210 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 (arg1
)->SetOptimization(arg2
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 Py_INCREF(Py_None
); resultobj
= Py_None
;
14227 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxDC
*arg1
= (wxDC
*) 0 ;
14231 PyObject
* obj0
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (bool)(arg1
)->GetOptimization();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14252 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxDC
*arg1
= (wxDC
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 PyObject
* obj2
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self",(char *) "x",(char *) "y", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14267 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14271 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 Py_INCREF(Py_None
); resultobj
= Py_None
;
14288 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxDC
*arg1
= (wxDC
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 (arg1
)->ResetBoundingBox();
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 Py_INCREF(Py_None
); resultobj
= Py_None
;
14312 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
;
14314 wxDC
*arg1
= (wxDC
*) 0 ;
14316 PyObject
* obj0
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (int)((wxDC
const *)arg1
)->MinX();
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= SWIG_PyObj_FromInt((int)result
);
14337 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxDC
*arg1
= (wxDC
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (int)((wxDC
const *)arg1
)->MaxX();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= SWIG_PyObj_FromInt((int)result
);
14362 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxDC
*arg1
= (wxDC
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (int)((wxDC
const *)arg1
)->MinY();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_PyObj_FromInt((int)result
);
14387 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxDC
*arg1
= (wxDC
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (int)((wxDC
const *)arg1
)->MaxY();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_PyObj_FromInt((int)result
);
14412 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxDC
*arg1
= (wxDC
*) 0 ;
14415 int *arg2
= (int *) 0 ;
14416 int *arg3
= (int *) 0 ;
14417 int *arg4
= (int *) 0 ;
14418 int *arg5
= (int *) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 char *kwnames
[] = {
14425 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 Py_INCREF(Py_None
); resultobj
= Py_None
;
14443 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14444 resultobj
= t_output_helper(resultobj
,o
);
14447 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14448 resultobj
= t_output_helper(resultobj
,o
);
14451 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14452 resultobj
= t_output_helper(resultobj
,o
);
14455 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14456 resultobj
= t_output_helper(resultobj
,o
);
14464 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxDC
*arg1
= (wxDC
*) 0 ;
14467 PyObject
*arg2
= (PyObject
*) 0 ;
14468 PyObject
*arg3
= (PyObject
*) 0 ;
14469 PyObject
*arg4
= (PyObject
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 PyObject
* obj1
= 0 ;
14473 PyObject
* obj2
= 0 ;
14474 PyObject
* obj3
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14486 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14488 wxPyEndAllowThreads(__tstate
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 resultobj
= result
;
14498 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxDC
*arg1
= (wxDC
*) 0 ;
14501 PyObject
*arg2
= (PyObject
*) 0 ;
14502 PyObject
*arg3
= (PyObject
*) 0 ;
14503 PyObject
*arg4
= (PyObject
*) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 PyObject
* obj1
= 0 ;
14507 PyObject
* obj2
= 0 ;
14508 PyObject
* obj3
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= result
;
14532 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxDC
*arg1
= (wxDC
*) 0 ;
14535 PyObject
*arg2
= (PyObject
*) 0 ;
14536 PyObject
*arg3
= (PyObject
*) 0 ;
14537 PyObject
*arg4
= (PyObject
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 PyObject
* obj2
= 0 ;
14542 PyObject
* obj3
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
;
14566 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxDC
*arg1
= (wxDC
*) 0 ;
14569 PyObject
*arg2
= (PyObject
*) 0 ;
14570 PyObject
*arg3
= (PyObject
*) 0 ;
14571 PyObject
*arg4
= (PyObject
*) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 PyObject
* obj2
= 0 ;
14576 PyObject
* obj3
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
;
14600 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
;
14602 wxDC
*arg1
= (wxDC
*) 0 ;
14603 PyObject
*arg2
= (PyObject
*) 0 ;
14604 PyObject
*arg3
= (PyObject
*) 0 ;
14605 PyObject
*arg4
= (PyObject
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 PyObject
* obj2
= 0 ;
14610 PyObject
* obj3
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= result
;
14634 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxDC
*arg1
= (wxDC
*) 0 ;
14637 PyObject
*arg2
= (PyObject
*) 0 ;
14638 PyObject
*arg3
= (PyObject
*) 0 ;
14639 PyObject
*arg4
= (PyObject
*) 0 ;
14640 PyObject
*arg5
= (PyObject
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 PyObject
* obj2
= 0 ;
14645 PyObject
* obj3
= 0 ;
14646 PyObject
* obj4
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= result
;
14671 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
14673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14674 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
14676 return Py_BuildValue((char *)"");
14678 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
;
14680 wxMemoryDC
*result
;
14681 char *kwnames
[] = {
14685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= (wxMemoryDC
*)new wxMemoryDC();
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14700 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxDC
*arg1
= (wxDC
*) 0 ;
14703 wxMemoryDC
*result
;
14704 PyObject
* obj0
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "oldDC", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
14725 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
14728 wxBitmap
*arg2
= 0 ;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self",(char *) "bitmap", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14738 if (arg2
== NULL
) {
14739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 Py_INCREF(Py_None
); resultobj
= Py_None
;
14755 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
14757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14758 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
14760 return Py_BuildValue((char *)"");
14762 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
14763 PyObject
*resultobj
;
14764 wxDC
*arg1
= (wxDC
*) 0 ;
14765 wxBitmap
*arg2
= 0 ;
14766 wxBufferedDC
*result
;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14770 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14773 if (arg2
== NULL
) {
14774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14790 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
14791 PyObject
*resultobj
;
14792 wxDC
*arg1
= (wxDC
*) 0 ;
14794 wxBufferedDC
*result
;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14799 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14803 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14819 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
14824 argc
= PyObject_Length(args
);
14825 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
14826 argv
[ii
] = PyTuple_GetItem(args
,ii
);
14832 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14842 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
14850 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
14858 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
14867 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
14870 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
14875 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
14880 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
14881 PyObject
*resultobj
;
14882 wxDC
*arg1
= (wxDC
*) 0 ;
14884 wxBufferedDC
*result
;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14889 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
14890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14893 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
14909 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 Py_INCREF(Py_None
); resultobj
= Py_None
;
14933 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 Py_INCREF(Py_None
); resultobj
= Py_None
;
14957 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
14959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14960 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
14962 return Py_BuildValue((char *)"");
14964 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
;
14966 wxWindow
*arg1
= (wxWindow
*) 0 ;
14967 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
14968 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
14969 wxBufferedPaintDC
*result
;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "window",(char *) "buffer", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14979 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14980 if (arg2
== NULL
) {
14981 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
14998 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15001 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15003 return Py_BuildValue((char *)"");
15005 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxScreenDC
*result
;
15008 char *kwnames
[] = {
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (wxScreenDC
*)new wxScreenDC();
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
15027 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15030 wxWindow
*arg2
= (wxWindow
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 PyObject
* obj1
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self",(char *) "window", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15055 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15058 wxRect
*arg2
= (wxRect
*) NULL
;
15060 PyObject
* obj0
= 0 ;
15061 PyObject
* obj1
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self",(char *) "rect", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15085 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)(arg1
)->EndDrawingOnTop();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15110 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15113 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15115 return Py_BuildValue((char *)"");
15117 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxWindow
*arg1
= (wxWindow
*) 0 ;
15120 wxClientDC
*result
;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "win", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxClientDC
*)new wxClientDC(arg1
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
15142 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15145 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15147 return Py_BuildValue((char *)"");
15149 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxWindow
*arg1
= (wxWindow
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "win", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
15174 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15177 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15179 return Py_BuildValue((char *)"");
15181 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxWindow
*arg1
= (wxWindow
*) 0 ;
15184 wxWindowDC
*result
;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "win", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
15206 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15209 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15211 return Py_BuildValue((char *)"");
15213 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15217 wxMirrorDC
*result
;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "dc",(char *) "mirror", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15226 if (arg1
== NULL
) {
15227 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15230 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
15247 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15250 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15252 return Py_BuildValue((char *)"");
15254 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
;
15256 wxPrintData
*arg1
= 0 ;
15257 wxPostScriptDC
*result
;
15258 PyObject
* obj0
= 0 ;
15259 char *kwnames
[] = {
15260 (char *) "printData", NULL
15263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15265 if (arg1
== NULL
) {
15266 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
15282 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15285 wxPrintData
*result
;
15286 PyObject
* obj0
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15297 result
= (wxPrintData
*) &_result_ref
;
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
15310 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15313 wxPrintData
*arg2
= 0 ;
15314 PyObject
* obj0
= 0 ;
15315 PyObject
* obj1
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self",(char *) "data", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15322 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15323 if (arg2
== NULL
) {
15324 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 Py_INCREF(Py_None
); resultobj
= Py_None
;
15340 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "ppi", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15350 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 wxPostScriptDC::SetResolution(arg1
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 Py_INCREF(Py_None
); resultobj
= Py_None
;
15367 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15370 char *kwnames
[] = {
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= (int)wxPostScriptDC::GetResolution();
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_PyObj_FromInt((int)result
);
15389 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15392 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15394 return Py_BuildValue((char *)"");
15396 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
;
15398 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15399 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15400 wxMetaFile
*result
;
15401 bool temp1
= False
;
15402 PyObject
* obj0
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "filename", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15410 arg1
= wxString_in_helper(obj0
);
15411 if (arg1
== NULL
) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
15437 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
15439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15440 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
15442 return Py_BuildValue((char *)"");
15444 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
;
15446 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15447 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15448 int arg2
= (int) 0 ;
15449 int arg3
= (int) 0 ;
15450 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15451 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15452 wxMetaFileDC
*result
;
15453 bool temp1
= False
;
15454 bool temp4
= False
;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 PyObject
* obj2
= 0 ;
15458 PyObject
* obj3
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15466 arg1
= wxString_in_helper(obj0
);
15467 if (arg1
== NULL
) SWIG_fail
;
15473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15479 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15485 arg4
= wxString_in_helper(obj3
);
15486 if (arg4
== NULL
) SWIG_fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
15520 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
15522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15523 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
15525 return Py_BuildValue((char *)"");
15527 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15528 PyObject
*resultobj
;
15529 wxPrintData
*arg1
= 0 ;
15530 wxPrinterDC
*result
;
15531 PyObject
* obj0
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "printData", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15538 if (arg1
== NULL
) {
15539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
15555 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
15557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15558 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
15560 return Py_BuildValue((char *)"");
15562 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15566 int arg3
= (int) True
;
15567 int arg4
= (int) 1 ;
15568 wxImageList
*result
;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 PyObject
* obj2
= 0 ;
15572 PyObject
* obj3
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15579 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15588 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15594 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= wxPyMake_wxObject(result
);
15614 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxImageList
*arg1
= (wxImageList
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 Py_INCREF(Py_None
); resultobj
= Py_None
;
15638 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxImageList
*arg1
= (wxImageList
*) 0 ;
15641 wxBitmap
*arg2
= 0 ;
15642 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
15643 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 PyObject
* obj2
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15655 if (arg2
== NULL
) {
15656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15659 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15660 if (arg3
== NULL
) {
15661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_PyObj_FromInt((int)result
);
15678 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxImageList
*arg1
= (wxImageList
*) 0 ;
15681 wxBitmap
*arg2
= 0 ;
15682 wxColour
*arg3
= 0 ;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 PyObject
* obj2
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15695 if (arg2
== NULL
) {
15696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15700 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= SWIG_PyObj_FromInt((int)result
);
15716 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
;
15718 wxImageList
*arg1
= (wxImageList
*) 0 ;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self",(char *) "icon", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15730 if (arg2
== NULL
) {
15731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_PyObj_FromInt((int)result
);
15747 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxImageList
*arg1
= (wxImageList
*) 0 ;
15751 wxBitmap
*arg3
= 0 ;
15753 PyObject
* obj0
= 0 ;
15754 PyObject
* obj1
= 0 ;
15755 PyObject
* obj2
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self",(char *) "index",(char *) "bitmap", NULL
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15763 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15767 if (arg3
== NULL
) {
15768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15784 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxImageList
*arg1
= (wxImageList
*) 0 ;
15791 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
15792 bool arg7
= (bool) (bool)False
;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 PyObject
* obj2
= 0 ;
15797 PyObject
* obj3
= 0 ;
15798 PyObject
* obj4
= 0 ;
15799 PyObject
* obj5
= 0 ;
15800 PyObject
* obj6
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15808 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15812 if (arg3
== NULL
) {
15813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15816 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15825 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15831 arg7
= (bool const) SWIG_PyObj_AsBool(obj6
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15849 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxImageList
*arg1
= (wxImageList
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (int)(arg1
)->GetImageCount();
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_PyObj_FromInt((int)result
);
15874 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxImageList
*arg1
= (wxImageList
*) 0 ;
15879 PyObject
* obj0
= 0 ;
15880 PyObject
* obj1
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self",(char *) "index", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15888 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (bool)(arg1
)->Remove(arg2
);
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15905 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxImageList
*arg1
= (wxImageList
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (bool)(arg1
)->RemoveAll();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15930 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxImageList
*arg1
= (wxImageList
*) 0 ;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self",(char *) "index", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15949 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 Py_INCREF(Py_None
); resultobj
= Py_None
;
15961 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15962 resultobj
= t_output_helper(resultobj
,o
);
15965 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
15966 resultobj
= t_output_helper(resultobj
,o
);
15974 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
15976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15977 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
15979 return Py_BuildValue((char *)"");
15981 static int _wrap_NORMAL_FONT_set(PyObject
*_val
) {
15982 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
15987 static PyObject
*_wrap_NORMAL_FONT_get() {
15990 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
15995 static int _wrap_SMALL_FONT_set(PyObject
*_val
) {
15996 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16001 static PyObject
*_wrap_SMALL_FONT_get() {
16004 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
16009 static int _wrap_ITALIC_FONT_set(PyObject
*_val
) {
16010 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16015 static PyObject
*_wrap_ITALIC_FONT_get() {
16018 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
16023 static int _wrap_SWISS_FONT_set(PyObject
*_val
) {
16024 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16029 static PyObject
*_wrap_SWISS_FONT_get() {
16032 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
16037 static int _wrap_RED_PEN_set(PyObject
*_val
) {
16038 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16043 static PyObject
*_wrap_RED_PEN_get() {
16046 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
16051 static int _wrap_CYAN_PEN_set(PyObject
*_val
) {
16052 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16057 static PyObject
*_wrap_CYAN_PEN_get() {
16060 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
16065 static int _wrap_GREEN_PEN_set(PyObject
*_val
) {
16066 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16071 static PyObject
*_wrap_GREEN_PEN_get() {
16074 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
16079 static int _wrap_BLACK_PEN_set(PyObject
*_val
) {
16080 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16085 static PyObject
*_wrap_BLACK_PEN_get() {
16088 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
16093 static int _wrap_WHITE_PEN_set(PyObject
*_val
) {
16094 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16099 static PyObject
*_wrap_WHITE_PEN_get() {
16102 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
16107 static int _wrap_TRANSPARENT_PEN_set(PyObject
*_val
) {
16108 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16113 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16116 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
16121 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*_val
) {
16122 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16127 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16130 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
16135 static int _wrap_GREY_PEN_set(PyObject
*_val
) {
16136 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16141 static PyObject
*_wrap_GREY_PEN_get() {
16144 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16149 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*_val
) {
16150 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16155 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16158 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16163 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*_val
) {
16164 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16169 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16172 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16177 static int _wrap_BLUE_BRUSH_set(PyObject
*_val
) {
16178 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16183 static PyObject
*_wrap_BLUE_BRUSH_get() {
16186 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16191 static int _wrap_GREEN_BRUSH_set(PyObject
*_val
) {
16192 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16197 static PyObject
*_wrap_GREEN_BRUSH_get() {
16200 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16205 static int _wrap_WHITE_BRUSH_set(PyObject
*_val
) {
16206 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16211 static PyObject
*_wrap_WHITE_BRUSH_get() {
16214 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16219 static int _wrap_BLACK_BRUSH_set(PyObject
*_val
) {
16220 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16225 static PyObject
*_wrap_BLACK_BRUSH_get() {
16228 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16233 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*_val
) {
16234 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16239 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16242 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16247 static int _wrap_CYAN_BRUSH_set(PyObject
*_val
) {
16248 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16253 static PyObject
*_wrap_CYAN_BRUSH_get() {
16256 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16261 static int _wrap_RED_BRUSH_set(PyObject
*_val
) {
16262 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16267 static PyObject
*_wrap_RED_BRUSH_get() {
16270 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16275 static int _wrap_GREY_BRUSH_set(PyObject
*_val
) {
16276 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16281 static PyObject
*_wrap_GREY_BRUSH_get() {
16284 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16289 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*_val
) {
16290 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16295 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16298 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16303 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*_val
) {
16304 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16309 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
16312 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16317 static int _wrap_BLACK_set(PyObject
*_val
) {
16318 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
16323 static PyObject
*_wrap_BLACK_get() {
16326 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
16331 static int _wrap_WHITE_set(PyObject
*_val
) {
16332 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
16337 static PyObject
*_wrap_WHITE_get() {
16340 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
16345 static int _wrap_RED_set(PyObject
*_val
) {
16346 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
16351 static PyObject
*_wrap_RED_get() {
16354 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
16359 static int _wrap_BLUE_set(PyObject
*_val
) {
16360 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
16365 static PyObject
*_wrap_BLUE_get() {
16368 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
16373 static int _wrap_GREEN_set(PyObject
*_val
) {
16374 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
16379 static PyObject
*_wrap_GREEN_get() {
16382 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
16387 static int _wrap_CYAN_set(PyObject
*_val
) {
16388 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
16393 static PyObject
*_wrap_CYAN_get() {
16396 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
16401 static int _wrap_LIGHT_GREY_set(PyObject
*_val
) {
16402 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
16407 static PyObject
*_wrap_LIGHT_GREY_get() {
16410 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
16415 static int _wrap_STANDARD_CURSOR_set(PyObject
*_val
) {
16416 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
16421 static PyObject
*_wrap_STANDARD_CURSOR_get() {
16424 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16429 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*_val
) {
16430 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
16435 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
16438 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16443 static int _wrap_CROSS_CURSOR_set(PyObject
*_val
) {
16444 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
16449 static PyObject
*_wrap_CROSS_CURSOR_get() {
16452 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
16457 static int _wrap_NullBitmap_set(PyObject
*_val
) {
16458 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
16463 static PyObject
*_wrap_NullBitmap_get() {
16466 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
16471 static int _wrap_NullIcon_set(PyObject
*_val
) {
16472 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
16477 static PyObject
*_wrap_NullIcon_get() {
16480 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
16485 static int _wrap_NullCursor_set(PyObject
*_val
) {
16486 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
16491 static PyObject
*_wrap_NullCursor_get() {
16494 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
16499 static int _wrap_NullPen_set(PyObject
*_val
) {
16500 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
16505 static PyObject
*_wrap_NullPen_get() {
16508 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
16513 static int _wrap_NullBrush_set(PyObject
*_val
) {
16514 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
16519 static PyObject
*_wrap_NullBrush_get() {
16522 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
16527 static int _wrap_NullPalette_set(PyObject
*_val
) {
16528 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
16533 static PyObject
*_wrap_NullPalette_get() {
16536 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
16541 static int _wrap_NullFont_set(PyObject
*_val
) {
16542 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
16547 static PyObject
*_wrap_NullFont_get() {
16550 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
16555 static int _wrap_NullColour_set(PyObject
*_val
) {
16556 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
16561 static PyObject
*_wrap_NullColour_get() {
16564 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
16569 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxPenList
*arg1
= (wxPenList
*) 0 ;
16572 wxPen
*arg2
= (wxPen
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "pen", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 (arg1
)->AddPen(arg2
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 Py_INCREF(Py_None
); resultobj
= Py_None
;
16596 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxPenList
*arg1
= (wxPenList
*) 0 ;
16599 wxColour
*arg2
= 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 PyObject
* obj2
= 0 ;
16607 PyObject
* obj3
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16619 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
16640 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16641 PyObject
*resultobj
;
16642 wxPenList
*arg1
= (wxPenList
*) 0 ;
16643 wxPen
*arg2
= (wxPen
*) 0 ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 char *kwnames
[] = {
16647 (char *) "self",(char *) "pen", NULL
16650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
16651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 (arg1
)->RemovePen(arg2
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 Py_INCREF(Py_None
); resultobj
= Py_None
;
16667 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 wxPenList
*arg1
= (wxPenList
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (int)(arg1
)->GetCount();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_PyObj_FromInt((int)result
);
16692 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
16694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16695 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
16697 return Py_BuildValue((char *)"");
16699 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16702 wxBrush
*arg2
= (wxBrush
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self",(char *) "brush", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 (arg1
)->AddBrush(arg2
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16719 Py_INCREF(Py_None
); resultobj
= Py_None
;
16726 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16729 wxColour
*arg2
= 0 ;
16733 PyObject
* obj0
= 0 ;
16734 PyObject
* obj1
= 0 ;
16735 PyObject
* obj2
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self",(char *) "colour",(char *) "style", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16747 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
16764 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16767 wxBrush
*arg2
= (wxBrush
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self",(char *) "brush", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->RemoveBrush(arg2
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 Py_INCREF(Py_None
); resultobj
= Py_None
;
16791 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "self", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
16801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (int)(arg1
)->GetCount();
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= SWIG_PyObj_FromInt((int)result
);
16816 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
16818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16819 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
16821 return Py_BuildValue((char *)"");
16823 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
;
16825 wxColourDatabase
*result
;
16826 char *kwnames
[] = {
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
16832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 result
= (wxColourDatabase
*)new wxColourDatabase();
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
16845 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16848 PyObject
* obj0
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
16854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 Py_INCREF(Py_None
); resultobj
= Py_None
;
16869 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16872 wxString
*arg2
= 0 ;
16874 bool temp2
= False
;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char *kwnames
[] = {
16878 (char *) "self",(char *) "name", NULL
16881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
16882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16884 arg2
= wxString_in_helper(obj1
);
16885 if (arg2
== NULL
) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 wxColour
* resultptr
;
16897 resultptr
= new wxColour((wxColour
&) result
);
16898 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16914 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16917 wxColour
*arg2
= 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self",(char *) "colour", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16930 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16952 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
16955 wxString
*arg2
= 0 ;
16956 wxColour
*arg3
= 0 ;
16957 bool temp2
= False
;
16959 PyObject
* obj0
= 0 ;
16960 PyObject
* obj1
= 0 ;
16961 PyObject
* obj2
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self",(char *) "name",(char *) "colour", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16969 arg2
= wxString_in_helper(obj1
);
16970 if (arg2
== NULL
) SWIG_fail
;
16975 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 Py_INCREF(Py_None
); resultobj
= Py_None
;
16999 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17002 wxString
*arg2
= 0 ;
17006 bool temp2
= False
;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 PyObject
* obj2
= 0 ;
17010 PyObject
* obj3
= 0 ;
17011 PyObject
* obj4
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17019 arg2
= wxString_in_helper(obj1
);
17020 if (arg2
== NULL
) SWIG_fail
;
17024 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17028 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17032 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 Py_INCREF(Py_None
); resultobj
= Py_None
;
17057 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17060 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17062 return Py_BuildValue((char *)"");
17064 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxFontList
*arg1
= (wxFontList
*) 0 ;
17067 wxFont
*arg2
= (wxFont
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "font", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 (arg1
)->AddFont(arg2
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 Py_INCREF(Py_None
); resultobj
= Py_None
;
17091 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 wxFontList
*arg1
= (wxFontList
*) 0 ;
17098 bool arg6
= (bool) False
;
17099 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17101 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17103 bool temp7
= False
;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 PyObject
* obj2
= 0 ;
17107 PyObject
* obj3
= 0 ;
17108 PyObject
* obj4
= 0 ;
17109 PyObject
* obj5
= 0 ;
17110 PyObject
* obj6
= 0 ;
17111 PyObject
* obj7
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17119 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17127 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17136 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17142 arg7
= wxString_in_helper(obj6
);
17143 if (arg7
== NULL
) SWIG_fail
;
17149 arg8
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj7
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
17175 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 wxFontList
*arg1
= (wxFontList
*) 0 ;
17178 wxFont
*arg2
= (wxFont
*) 0 ;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "font", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 (arg1
)->RemoveFont(arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 Py_INCREF(Py_None
); resultobj
= Py_None
;
17202 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxFontList
*arg1
= (wxFontList
*) 0 ;
17206 PyObject
* obj0
= 0 ;
17207 char *kwnames
[] = {
17208 (char *) "self", NULL
17211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (int)(arg1
)->GetCount();
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= SWIG_PyObj_FromInt((int)result
);
17227 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
17229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17230 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17232 return Py_BuildValue((char *)"");
17234 static int _wrap_TheFontList_set(PyObject
*_val
) {
17235 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17240 static PyObject
*_wrap_TheFontList_get() {
17243 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
17248 static int _wrap_ThePenList_set(PyObject
*_val
) {
17249 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17254 static PyObject
*_wrap_ThePenList_get() {
17257 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
17262 static int _wrap_TheBrushList_set(PyObject
*_val
) {
17263 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17268 static PyObject
*_wrap_TheBrushList_get() {
17271 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
17276 static int _wrap_TheColourDatabase_set(PyObject
*_val
) {
17277 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17282 static PyObject
*_wrap_TheColourDatabase_get() {
17285 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
17290 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17293 char *kwnames
[] = {
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxEffects
*)new wxEffects();
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
17312 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxEffects
*arg1
= (wxEffects
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17331 wxColour
* resultptr
;
17332 resultptr
= new wxColour((wxColour
&) result
);
17333 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17341 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxEffects
*arg1
= (wxEffects
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
17351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17360 wxColour
* resultptr
;
17361 resultptr
= new wxColour((wxColour
&) result
);
17362 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17370 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxEffects
*arg1
= (wxEffects
*) 0 ;
17374 PyObject
* obj0
= 0 ;
17375 char *kwnames
[] = {
17376 (char *) "self", NULL
17379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
17380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17389 wxColour
* resultptr
;
17390 resultptr
= new wxColour((wxColour
&) result
);
17391 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17399 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxEffects
*arg1
= (wxEffects
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17418 wxColour
* resultptr
;
17419 resultptr
= new wxColour((wxColour
&) result
);
17420 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17428 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxEffects
*arg1
= (wxEffects
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
17438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 wxColour
* resultptr
;
17448 resultptr
= new wxColour((wxColour
&) result
);
17449 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17457 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxEffects
*arg1
= (wxEffects
*) 0 ;
17460 wxColour
*arg2
= 0 ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self",(char *) "c", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17472 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 Py_INCREF(Py_None
); resultobj
= Py_None
;
17488 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
;
17490 wxEffects
*arg1
= (wxEffects
*) 0 ;
17491 wxColour
*arg2
= 0 ;
17493 PyObject
* obj0
= 0 ;
17494 PyObject
* obj1
= 0 ;
17495 char *kwnames
[] = {
17496 (char *) "self",(char *) "c", NULL
17499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17503 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 Py_INCREF(Py_None
); resultobj
= Py_None
;
17519 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxEffects
*arg1
= (wxEffects
*) 0 ;
17522 wxColour
*arg2
= 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "c", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17534 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 Py_INCREF(Py_None
); resultobj
= Py_None
;
17550 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxEffects
*arg1
= (wxEffects
*) 0 ;
17553 wxColour
*arg2
= 0 ;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "c", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17565 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 Py_INCREF(Py_None
); resultobj
= Py_None
;
17581 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxEffects
*arg1
= (wxEffects
*) 0 ;
17584 wxColour
*arg2
= 0 ;
17586 PyObject
* obj0
= 0 ;
17587 PyObject
* obj1
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "self",(char *) "c", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
17593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxEffects
*arg1
= (wxEffects
*) 0 ;
17615 wxColour
*arg2
= 0 ;
17616 wxColour
*arg3
= 0 ;
17617 wxColour
*arg4
= 0 ;
17618 wxColour
*arg5
= 0 ;
17619 wxColour
*arg6
= 0 ;
17625 PyObject
* obj0
= 0 ;
17626 PyObject
* obj1
= 0 ;
17627 PyObject
* obj2
= 0 ;
17628 PyObject
* obj3
= 0 ;
17629 PyObject
* obj4
= 0 ;
17630 PyObject
* obj5
= 0 ;
17631 char *kwnames
[] = {
17632 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
17635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17639 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17643 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17647 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17651 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
17655 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 Py_INCREF(Py_None
); resultobj
= Py_None
;
17671 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
;
17673 wxEffects
*arg1
= (wxEffects
*) 0 ;
17676 int arg4
= (int) 1 ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 PyObject
* obj2
= 0 ;
17681 PyObject
* obj3
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17688 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17689 if (arg2
== NULL
) {
17690 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17694 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17698 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 Py_INCREF(Py_None
); resultobj
= Py_None
;
17716 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxEffects
*arg1
= (wxEffects
*) 0 ;
17721 wxBitmap
*arg4
= 0 ;
17724 PyObject
* obj0
= 0 ;
17725 PyObject
* obj1
= 0 ;
17726 PyObject
* obj2
= 0 ;
17727 PyObject
* obj3
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17736 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17738 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17739 if (arg3
== NULL
) {
17740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17742 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17743 if (arg4
== NULL
) {
17744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17760 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
17762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17763 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
17765 return Py_BuildValue((char *)"");
17767 static PyMethodDef SwigMethods
[] = {
17768 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17769 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
17770 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17771 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
17772 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
17773 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
17774 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17775 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
17776 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
17777 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
17778 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
17779 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
17780 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
17781 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17782 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
17783 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17784 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
17785 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17786 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17787 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17788 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
17789 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17790 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
17791 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17792 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
17793 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
17794 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
17795 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17796 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
17797 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17798 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
17799 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
17800 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17801 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17802 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17803 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17804 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17805 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
17806 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17807 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
17808 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17809 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17810 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17811 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17812 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17813 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17814 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
17815 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
17816 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17817 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
17818 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
17819 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
17820 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17821 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
17822 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
17823 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17824 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17825 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
17826 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17827 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
17828 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17829 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
17830 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17831 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
17832 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17833 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17834 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17835 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17836 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17837 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17838 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17839 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17840 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17841 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
17842 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
17843 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
17844 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
17845 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17846 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
17847 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17848 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17849 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17850 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17851 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17852 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
17853 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
17854 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
17855 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17856 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
17857 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
17858 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
17859 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17860 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
17861 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
17862 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17863 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17864 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17865 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17866 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17867 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17868 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
17869 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17870 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
17871 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17872 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
17873 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
17874 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17875 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
17876 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17877 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
17878 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
17879 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17880 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17881 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
17882 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
17883 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
17884 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
17885 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
17886 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
17887 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17888 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
17889 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
17890 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
17891 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
17892 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17893 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
17894 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
17895 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17896 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
17897 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
17898 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
17899 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
17900 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
17901 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
17902 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
17903 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
17904 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
17905 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
17906 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
17907 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
17908 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
17909 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
17910 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
17911 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
17912 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
17913 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
17914 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
17915 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
17916 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
17917 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
17918 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17919 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
17920 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
17921 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17922 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
17923 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
17924 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
17925 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
17926 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
17927 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
17928 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
17929 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
17930 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
17931 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
17932 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
17933 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
17934 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
17935 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17936 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
17937 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
17938 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
17939 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17940 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17941 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17942 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17943 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17944 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17945 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17946 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17947 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17948 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17949 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
17950 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
17951 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17952 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17953 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17954 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17955 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
17956 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
17957 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
17958 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
17959 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
17960 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
17961 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
17962 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
17963 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17964 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
17965 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
17966 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
17967 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
17968 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17969 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17970 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17971 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
17972 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
17973 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
17974 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17975 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
17976 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17977 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
17978 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
17979 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
17980 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17981 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
17982 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
17983 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
17984 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
17985 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
17986 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
17987 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
17988 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
17989 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
17990 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
17991 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
17992 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
17993 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
17994 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
17995 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
17996 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
17997 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
17998 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
17999 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18000 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18001 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18002 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18003 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18004 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18005 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18006 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18007 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18008 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18009 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18010 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18011 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18012 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18013 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18014 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18015 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18016 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18017 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18018 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18019 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18020 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18021 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18022 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18023 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18024 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18025 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18026 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18027 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18028 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18029 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18030 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18031 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18032 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18033 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18034 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18035 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18036 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18037 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18038 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18039 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18040 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18041 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18042 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18043 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18044 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18045 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18046 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18047 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18048 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18049 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18050 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18051 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18052 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18053 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18054 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18055 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18056 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18057 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18058 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18059 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18060 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18061 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18062 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18063 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18064 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18065 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18066 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18067 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18068 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18069 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18070 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18071 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18072 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18073 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18074 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18075 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18076 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18077 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18078 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18079 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18080 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18081 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18082 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18083 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18084 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18085 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18086 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18087 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18088 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18089 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18090 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18091 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18092 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18093 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18094 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18095 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18096 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18097 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18098 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18099 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18100 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18101 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18102 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18103 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18104 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18105 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18106 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18107 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18108 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18109 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18110 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18111 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18112 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18113 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18114 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18115 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18116 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18117 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18118 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18119 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18120 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18121 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18122 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18123 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18124 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18125 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18126 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18127 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18128 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18129 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18130 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18131 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18132 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18133 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18134 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18135 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18136 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18137 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18138 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18139 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18140 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18141 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18142 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18143 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18144 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18145 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18146 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18147 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18148 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18149 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18150 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18151 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18152 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18153 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18154 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18155 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18156 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18157 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18158 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18159 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18160 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18161 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18162 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18163 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18164 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18165 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18166 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18167 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18168 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18169 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18170 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18171 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18172 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18173 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18174 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18175 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18176 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18177 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18178 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18179 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18180 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18181 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18182 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18183 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18184 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18185 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18186 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18187 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18188 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18189 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18190 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18191 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18192 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18193 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18194 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18195 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18196 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18197 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18198 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18199 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18200 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18201 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18202 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
18203 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
18204 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
18205 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
18206 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18207 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
18208 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
18209 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
18210 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18211 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
18212 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
18213 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
18214 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
18215 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
18216 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
18217 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
18218 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
18219 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
18220 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
18221 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
18222 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18223 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
18224 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18225 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
18226 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
18227 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
18228 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
18229 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
18230 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
18231 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
18232 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
18233 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18234 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
18235 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
18236 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
18237 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18238 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
18239 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
18240 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
18241 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
18242 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
18243 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18244 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
18245 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
18246 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
18247 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
18248 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18249 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
18250 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
18251 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
18252 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
18253 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18254 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
18255 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18256 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
18257 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
18258 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
18259 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
18260 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
18261 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
18262 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
18263 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
18264 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
18265 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
18266 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
18267 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
18268 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18269 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18270 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18271 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18272 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18273 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
18274 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
18275 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
18276 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
18277 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
18278 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
18279 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
18280 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18281 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
18286 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
18288 static void *_p_wxControlTo_p_wxWindow(void *x
) {
18289 return (void *)((wxWindow
*) ((wxControl
*) x
));
18291 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
18292 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
18294 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
18295 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
18297 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
18298 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
18300 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
18301 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18303 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
18304 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
18306 static void *_p_wxPenTo_p_wxObject(void *x
) {
18307 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
18309 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
18310 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
18312 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
18313 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
18315 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
18316 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
18318 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
18319 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
18321 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
18322 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
18324 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
18325 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
18327 static void *_p_wxIconTo_p_wxObject(void *x
) {
18328 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
18330 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
18331 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
18333 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
18334 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
18336 static void *_p_wxSizerTo_p_wxObject(void *x
) {
18337 return (void *)((wxObject
*) ((wxSizer
*) x
));
18339 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
18340 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
18342 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
18343 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
18345 static void *_p_wxPenListTo_p_wxObject(void *x
) {
18346 return (void *)((wxObject
*) ((wxPenList
*) x
));
18348 static void *_p_wxEventTo_p_wxObject(void *x
) {
18349 return (void *)((wxObject
*) ((wxEvent
*) x
));
18351 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
18352 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
18354 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
18355 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
18357 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
18358 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
18360 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
18361 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
18363 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
18364 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
18366 static void *_p_wxDCTo_p_wxObject(void *x
) {
18367 return (void *)((wxObject
*) ((wxDC
*) x
));
18369 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
18370 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
18372 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
18373 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
18375 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
18376 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
18378 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
18379 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
18381 static void *_p_wxControlTo_p_wxObject(void *x
) {
18382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
18384 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
18385 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
18387 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
18388 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
18390 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
18391 return (void *)((wxObject
*) ((wxFSFile
*) x
));
18393 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
18394 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
18396 static void *_p_wxRegionTo_p_wxObject(void *x
) {
18397 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
18399 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
18400 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
18402 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
18403 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
18405 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
18406 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
18408 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
18409 return (void *)((wxObject
*) ((wxEffects
*) x
));
18411 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
18412 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
18414 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
18415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
18417 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
18418 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
18420 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
18421 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
18423 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
18424 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
18426 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
18427 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
18429 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
18430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
18432 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
18433 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
18435 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
18436 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
18438 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
18439 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
18441 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
18442 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
18444 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
18445 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
18447 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
18448 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
18450 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
18451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
18453 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
18454 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
18456 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
18457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
18459 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
18460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
18462 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
18463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
18465 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
18466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
18468 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
18469 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
18471 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
18472 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
18474 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
18475 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
18477 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
18478 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
18480 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
18481 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
18483 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
18484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
18486 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
18487 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
18489 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
18490 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18492 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
18493 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
18495 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
18496 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
18498 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
18499 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
18501 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
18502 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
18504 static void *_p_wxImageTo_p_wxObject(void *x
) {
18505 return (void *)((wxObject
*) ((wxImage
*) x
));
18507 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
18508 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
18510 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
18511 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
18513 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
18514 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
18516 static void *_p_wxImageListTo_p_wxObject(void *x
) {
18517 return (void *)((wxObject
*) ((wxImageList
*) x
));
18519 static void *_p_wxCursorTo_p_wxObject(void *x
) {
18520 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
18522 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
18523 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
18525 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
18526 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
18528 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
18529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
18531 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
18532 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
18534 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
18535 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
18537 static void *_p_wxWindowTo_p_wxObject(void *x
) {
18538 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
18540 static void *_p_wxMenuTo_p_wxObject(void *x
) {
18541 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
18543 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
18544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
18546 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
18547 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
18549 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
18550 return (void *)((wxObject
*) ((wxBrushList
*) x
));
18552 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
18553 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
18555 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
18556 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
18558 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
18559 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
18561 static void *_p_wxMaskTo_p_wxObject(void *x
) {
18562 return (void *)((wxObject
*) ((wxMask
*) x
));
18564 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
18565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
18567 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
18568 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
18570 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
18571 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
18573 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
18574 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
18576 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
18577 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
18579 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
18580 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
18582 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
18583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
18585 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
18586 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
18588 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
18589 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
18591 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
18592 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
18594 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
18595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
18597 static void *_p_wxFontTo_p_wxObject(void *x
) {
18598 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
18600 static void *_p_wxBrushTo_p_wxObject(void *x
) {
18601 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
18603 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
18604 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
18606 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
18607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
18609 static void *_p_wxColourTo_p_wxObject(void *x
) {
18610 return (void *)((wxObject
*) ((wxColour
*) x
));
18612 static void *_p_wxFontListTo_p_wxObject(void *x
) {
18613 return (void *)((wxObject
*) ((wxFontList
*) x
));
18615 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
18616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
18618 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
18619 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
18621 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
18622 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18624 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
18625 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
18627 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
18628 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
18630 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
18631 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
18633 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
18634 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
18636 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
18637 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
18639 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
18640 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
18642 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
18643 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
18645 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
18646 return (void *)((wxDC
*) ((wxClientDC
*) x
));
18648 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
18649 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
18651 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
18652 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
18654 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
18655 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
18657 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
18658 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
18660 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
18661 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
18663 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
18664 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
18666 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
18667 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
18669 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
18670 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
18672 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
18673 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
18675 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
18676 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
18678 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
18679 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
18681 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
18682 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
18684 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
18685 return (void *)((wxPen
*) ((wxPyPen
*) x
));
18687 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
18688 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
18689 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
18690 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}};
18691 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
18692 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18693 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
18694 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
18695 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
18696 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
18697 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
18698 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
18699 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
18700 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}};
18701 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
18702 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
18703 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}};
18704 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
18705 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
18706 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
18707 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
18708 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
18709 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}};
18710 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
18711 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
18712 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
18713 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
18714 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
18715 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
18716 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
18717 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
18718 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
18719 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
18720 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
18721 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
18722 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
18723 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}};
18724 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
18725 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
18726 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
18727 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
18728 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
18729 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
18730 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
18731 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
18732 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
18733 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
18734 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
18735 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
18736 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
18737 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
18738 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
18739 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
18740 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
18741 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
18742 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
18744 static swig_type_info
*swig_types_initial
[] = {
18745 _swigt__p_wxPostScriptDC
,
18747 _swigt__p_wxColour
,
18749 _swigt__p_wxMirrorDC
,
18751 _swigt__p_wxPyFontEnumerator
,
18753 _swigt__p_wxIconLocation
,
18755 _swigt__p_wxMetaFileDC
,
18758 _swigt__p_wxWindow
,
18761 _swigt__p_wxMemoryDC
,
18762 _swigt__p_wxFontMapper
,
18763 _swigt__p_wxEffects
,
18764 _swigt__p_wxNativeEncodingInfo
,
18765 _swigt__p_wxPalette
,
18766 _swigt__p_wxBitmap
,
18767 _swigt__p_wxObject
,
18768 _swigt__p_wxRegionIterator
,
18770 _swigt__p_wxString
,
18771 _swigt__p_wxPrinterDC
,
18772 _swigt__p_wxIconBundle
,
18775 _swigt__p_wxScreenDC
,
18776 _swigt__p_wxCursor
,
18777 _swigt__p_wxClientDC
,
18778 _swigt__p_wxBufferedDC
,
18779 _swigt__p_wxImageList
,
18780 _swigt__p_unsigned_char
,
18781 _swigt__p_wxGDIObject
,
18783 _swigt__p_wxLocale
,
18784 _swigt__p_wxRegion
,
18785 _swigt__p_wxLanguageInfo
,
18786 _swigt__p_wxConfigBase
,
18787 _swigt__p_wxWindowDC
,
18788 _swigt__p_wxPrintData
,
18789 _swigt__p_wxBrushList
,
18790 _swigt__p_wxFontList
,
18792 _swigt__p_wxBufferedPaintDC
,
18793 _swigt__p_wxPaintDC
,
18794 _swigt__p_wxPenList
,
18797 _swigt__p_wxMetaFile
,
18798 _swigt__p_wxNativeFontInfo
,
18799 _swigt__p_wxEncodingConverter
,
18800 _swigt__p_wxColourDatabase
,
18805 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18807 static swig_const_info swig_const_table
[] = {
18817 SWIGEXPORT(void) SWIG_init(void) {
18818 static PyObject
*SWIG_globals
= 0;
18819 static int typeinit
= 0;
18822 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
18823 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
18824 d
= PyModule_GetDict(m
);
18827 for (i
= 0; swig_types_initial
[i
]; i
++) {
18828 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
18832 SWIG_InstallConstants(d
,swig_const_table
);
18834 PyDict_SetItemString(d
,"OutRegion", SWIG_PyObj_FromInt((int)wxOutRegion
));
18835 PyDict_SetItemString(d
,"PartRegion", SWIG_PyObj_FromInt((int)wxPartRegion
));
18836 PyDict_SetItemString(d
,"InRegion", SWIG_PyObj_FromInt((int)wxInRegion
));
18837 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DEFAULT
));
18838 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DECORATIVE
));
18839 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_ROMAN
));
18840 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SCRIPT
));
18841 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SWISS
));
18842 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MODERN
));
18843 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_TELETYPE
));
18844 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MAX
));
18845 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_UNKNOWN
));
18846 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_PyObj_FromInt((int)wxFONTSTYLE_NORMAL
));
18847 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_PyObj_FromInt((int)wxFONTSTYLE_ITALIC
));
18848 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_PyObj_FromInt((int)wxFONTSTYLE_SLANT
));
18849 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_PyObj_FromInt((int)wxFONTSTYLE_MAX
));
18850 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_NORMAL
));
18851 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_LIGHT
));
18852 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_BOLD
));
18853 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_MAX
));
18854 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFLAG_DEFAULT
));
18855 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_PyObj_FromInt((int)wxFONTFLAG_ITALIC
));
18856 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_PyObj_FromInt((int)wxFONTFLAG_SLANT
));
18857 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_PyObj_FromInt((int)wxFONTFLAG_LIGHT
));
18858 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_PyObj_FromInt((int)wxFONTFLAG_BOLD
));
18859 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_ANTIALIASED
));
18860 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
18861 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_PyObj_FromInt((int)wxFONTFLAG_UNDERLINED
));
18862 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_PyObj_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
18863 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_PyObj_FromInt((int)wxFONTFLAG_MASK
));
18864 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_PyObj_FromInt((int)wxFONTENCODING_SYSTEM
));
18865 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTENCODING_DEFAULT
));
18866 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_1
));
18867 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_2
));
18868 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_3
));
18869 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_4
));
18870 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_5
));
18871 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_6
));
18872 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_7
));
18873 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_8
));
18874 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_9
));
18875 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_10
));
18876 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_11
));
18877 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_12
));
18878 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_13
));
18879 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_14
));
18880 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_15
));
18881 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
18882 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_PyObj_FromInt((int)wxFONTENCODING_KOI8
));
18883 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_PyObj_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
18884 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_BULGARIAN
));
18885 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP437
));
18886 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP850
));
18887 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP852
));
18888 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP855
));
18889 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP866
));
18890 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP874
));
18891 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP932
));
18892 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP936
));
18893 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP949
));
18894 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP950
));
18895 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1250
));
18896 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1251
));
18897 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1252
));
18898 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1253
));
18899 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1254
));
18900 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1255
));
18901 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1256
));
18902 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1257
));
18903 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP12_MAX
));
18904 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF7
));
18905 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF8
));
18906 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_PyObj_FromInt((int)wxFONTENCODING_EUC_JP
));
18907 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16BE
));
18908 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16LE
));
18909 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32BE
));
18910 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32LE
));
18911 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMAN
));
18912 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACJAPANESE
));
18913 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
18914 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKOREAN
));
18915 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABIC
));
18916 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACHEBREW
));
18917 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGREEK
));
18918 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
18919 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
18920 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
18921 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGUJARATI
));
18922 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACORIYA
));
18923 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBENGALI
));
18924 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTAMIL
));
18925 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTELUGU
));
18926 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKANNADA
));
18927 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
18928 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSINHALESE
));
18929 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBURMESE
));
18930 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKHMER
));
18931 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTHAI
));
18932 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
18933 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
18934 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARMENIAN
));
18935 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
18936 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTIBETAN
));
18937 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
18938 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
18939 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
18940 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
18941 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABICEXT
));
18942 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSYMBOL
));
18943 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDINGBATS
));
18944 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTURKISH
));
18945 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCROATIAN
));
18946 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACICELANDIC
));
18947 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMANIAN
));
18948 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCELTIC
));
18949 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGAELIC
));
18950 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
18951 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMIN
));
18952 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMAX
));
18953 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MAX
));
18954 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16
));
18955 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32
));
18956 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UNICODE
));
18957 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_PyObj_FromInt((int)wxFONTENCODING_GB2312
));
18958 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_PyObj_FromInt((int)wxFONTENCODING_BIG5
));
18959 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_PyObj_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
18961 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
18963 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_PyObj_FromInt((int)wxLANGUAGE_DEFAULT
));
18964 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UNKNOWN
));
18965 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
18966 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFAR
));
18967 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFRIKAANS
));
18968 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ALBANIAN
));
18969 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AMHARIC
));
18970 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC
));
18971 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
18972 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
18973 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
18974 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
18975 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
18976 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
18977 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
18978 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
18979 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
18980 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
18981 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
18982 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
18983 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
18984 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
18985 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
18986 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
18987 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
18988 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARMENIAN
));
18989 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ASSAMESE
));
18990 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_PyObj_FromInt((int)wxLANGUAGE_AYMARA
));
18991 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI
));
18992 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
18993 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
18994 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASHKIR
));
18995 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASQUE
));
18996 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BELARUSIAN
));
18997 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BENGALI
));
18998 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BHUTANI
));
18999 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BIHARI
));
19000 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_BISLAMA
));
19001 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_PyObj_FromInt((int)wxLANGUAGE_BRETON
));
19002 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BULGARIAN
));
19003 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BURMESE
));
19004 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19005 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CATALAN
));
19006 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE
));
19007 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19008 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19009 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19010 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19011 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19012 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19013 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CORSICAN
));
19014 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CROATIAN
));
19015 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_PyObj_FromInt((int)wxLANGUAGE_CZECH
));
19016 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DANISH
));
19017 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH
));
19018 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19019 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH
));
19020 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19021 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19022 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19023 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19024 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19025 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19026 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19027 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19028 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19029 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19030 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19031 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19032 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19033 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19034 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19035 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESPERANTO
));
19036 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESTONIAN
));
19037 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_FAEROESE
));
19038 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FARSI
));
19039 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FIJI
));
19040 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FINNISH
));
19041 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH
));
19042 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19043 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19044 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19045 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19046 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19047 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRISIAN
));
19048 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GALICIAN
));
19049 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GEORGIAN
));
19050 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN
));
19051 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19052 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19053 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19054 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19055 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19056 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREEK
));
19057 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19058 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUARANI
));
19059 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUJARATI
));
19060 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_HAUSA
));
19061 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_PyObj_FromInt((int)wxLANGUAGE_HEBREW
));
19062 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_HINDI
));
19063 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19064 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ICELANDIC
));
19065 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_INDONESIAN
));
19066 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19067 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19068 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUKTITUT
));
19069 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUPIAK
));
19070 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_IRISH
));
19071 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN
));
19072 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19073 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAPANESE
));
19074 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAVANESE
));
19075 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KANNADA
));
19076 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI
));
19077 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19078 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KAZAKH
));
19079 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_KERNEWEK
));
19080 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19081 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19082 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRUNDI
));
19083 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KONKANI
));
19084 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_KOREAN
));
19085 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KURDISH
));
19086 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19087 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATIN
));
19088 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATVIAN
));
19089 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_LINGALA
));
19090 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19091 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19092 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAGASY
));
19093 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY
));
19094 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAYALAM
));
19095 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19096 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19097 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALTESE
));
19098 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MANIPURI
));
19099 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MAORI
));
19100 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MARATHI
));
19101 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19102 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19103 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_PyObj_FromInt((int)wxLANGUAGE_NAURU
));
19104 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI
));
19105 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19106 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19107 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19108 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_OCCITAN
));
19109 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ORIYA
));
19110 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_PyObj_FromInt((int)wxLANGUAGE_OROMO
));
19111 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_PASHTO
));
19112 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_POLISH
));
19113 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19114 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19115 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_PyObj_FromInt((int)wxLANGUAGE_PUNJABI
));
19116 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_QUECHUA
));
19117 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19118 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ROMANIAN
));
19119 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN
));
19120 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19121 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SAMOAN
));
19122 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANGHO
));
19123 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANSKRIT
));
19124 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19125 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN
));
19126 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19127 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19128 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19129 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SESOTHO
));
19130 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SETSWANA
));
19131 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SHONA
));
19132 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINDHI
));
19133 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINHALESE
));
19134 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SISWATI
));
19135 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVAK
));
19136 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19137 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SOMALI
));
19138 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH
));
19139 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19140 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19141 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19142 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19143 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19144 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19145 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19146 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19147 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19148 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19149 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19150 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19151 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19152 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19153 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19154 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19155 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19156 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19157 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_US
));
19158 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19159 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SUNDANESE
));
19160 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWAHILI
));
19161 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH
));
19162 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19163 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAGALOG
));
19164 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAJIK
));
19165 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAMIL
));
19166 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_TATAR
));
19167 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_PyObj_FromInt((int)wxLANGUAGE_TELUGU
));
19168 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_PyObj_FromInt((int)wxLANGUAGE_THAI
));
19169 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIBETAN
));
19170 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIGRINYA
));
19171 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TONGA
));
19172 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TSONGA
));
19173 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKISH
));
19174 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKMEN
));
19175 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_PyObj_FromInt((int)wxLANGUAGE_TWI
));
19176 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_PyObj_FromInt((int)wxLANGUAGE_UIGHUR
));
19177 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19178 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU
));
19179 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19180 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19181 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK
));
19182 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19183 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19184 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19185 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_PyObj_FromInt((int)wxLANGUAGE_VOLAPUK
));
19186 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_PyObj_FromInt((int)wxLANGUAGE_WELSH
));
19187 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_PyObj_FromInt((int)wxLANGUAGE_WOLOF
));
19188 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_XHOSA
));
19189 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_YIDDISH
));
19190 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_PyObj_FromInt((int)wxLANGUAGE_YORUBA
));
19191 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZHUANG
));
19192 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZULU
));
19193 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_PyObj_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19194 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_NUMBER
));
19195 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_DATE
));
19196 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MONEY
));
19197 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MAX
));
19198 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_PyObj_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
19199 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_PyObj_FromInt((int)wxLOCALE_DECIMAL_POINT
));
19200 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_PyObj_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
19201 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_PyObj_FromInt((int)wxLOCALE_CONV_ENCODING
));
19202 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_PyObj_FromInt((int)wxCONVERT_STRICT
));
19203 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_PyObj_FromInt((int)wxCONVERT_SUBSTITUTE
));
19204 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_PyObj_FromInt((int)wxPLATFORM_CURRENT
));
19205 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_PyObj_FromInt((int)wxPLATFORM_UNIX
));
19206 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_PyObj_FromInt((int)wxPLATFORM_WINDOWS
));
19207 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_PyObj_FromInt((int)wxPLATFORM_OS2
));
19208 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_PyObj_FromInt((int)wxPLATFORM_MAC
));
19209 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
19210 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19211 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
19212 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
19213 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_NORMAL
));
19214 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_SMALL
));
19215 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_STATE
));
19216 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19217 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19218 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19219 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19220 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19221 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19222 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19223 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19224 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19225 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19226 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19227 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19228 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19229 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19230 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19231 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19232 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19233 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19234 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19235 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19236 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19237 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19238 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19239 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19240 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19241 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19242 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19243 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19244 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19245 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19246 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19247 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19248 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19249 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19250 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19251 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19252 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19253 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19254 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19255 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19256 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19257 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19258 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19259 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19260 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19261 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19262 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19264 // Work around a chicken/egg problem in drawlist.cpp
19265 wxPyDrawList_SetAPIPtr();