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
);
491 SWIG_PyObj_AsLong(PyObject
* obj
)
493 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
496 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
497 wxMask
*mask
= new wxMask(*self
, colour
);
500 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
502 return new wxMask(bitmap
, *wxBLACK
);
504 return new wxMask(bitmap
, colour
);
507 #include <wx/iconbndl.h>
509 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
510 wxIcon
* icon
= new wxIcon();
511 icon
->CopyFromBitmap(bmp
);
514 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
515 char** cArray
= NULL
;
518 cArray
= ConvertListOfStrings(listOfStrings
);
521 icon
= new wxIcon(cArray
);
525 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
527 return new wxIconLocation(*filename
, num
);
532 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
539 int wxIconLocation_GetIndex(wxIconLocation
*self
){
541 return self
->GetIndex();
546 wxCursor
*new_wxCursor(wxString
const *cursorName
,long flags
,int hotSpotX
,int hotSpotY
){
551 return new wxCursor(*cursorName
, flags
, hotSpotX
, hotSpotY
);
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 { wxPyRaiseNotImplemented(); return NULL
; }
583 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
584 { wxPyRaiseNotImplemented(); return False
; }
586 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
587 wxFontEncoding alt_enc
;
588 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
589 return PyInt_FromLong(alt_enc
);
595 wxFont
*new_wxFont(wxString
const &info
){
596 wxNativeFontInfo nfi
;
597 nfi
.FromString(info
);
598 return new wxFont(nfi
);
600 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
601 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
603 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
604 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
606 class wxPyFontEnumerator
: public wxFontEnumerator
{
608 wxPyFontEnumerator() {}
609 ~wxPyFontEnumerator() {}
611 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
612 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
617 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
618 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
621 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
622 wxArrayString
* arr
= self
->GetEncodings();
623 return wxArrayString2PyList_helper(*arr
);
625 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
626 wxArrayString
* arr
= self
->GetFacenames();
627 return wxArrayString2PyList_helper(*arr
);
632 #include "wx/wxPython/pydrawxxx.h"
634 wxColour
wxDC_GetPixelXY(wxDC
*self
,int x
,int y
){
636 self
->GetPixel(x
, y
, &col
);
639 wxColour
wxDC_GetPixel(wxDC
*self
,wxPoint
const &pt
){
641 self
->GetPixel(pt
, &col
);
646 SWIG_PyObj_AsDouble(PyObject
*obj
)
648 return (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
650 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
652 (double)((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
654 if (PyErr_Occurred()) {
656 PyErr_SetString(PyExc_TypeError
, "a double is expected");
660 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
662 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
665 wxRect
wxDC_GetClippingRect(wxDC
*self
){
667 self
->GetClippingBox(rect
);
670 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
672 self
->GetPartialTextExtents(text
, widths
);
675 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
676 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
678 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
679 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
681 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
682 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
684 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
685 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
687 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
688 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
690 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
691 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
694 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
702 //-=-=-=-=-=-=-=-=-=-=-
704 #include <wx/dcbuffer.h>
708 // Temporarily put a set of classes here similar to the old buffered DC
709 // classes until the real ones can be fixed to work "correctly" again.
711 class wxBufferedDC
: public wxMemoryDC
719 wxBufferedDC() : m_dc( 0 ) {}
721 wxBufferedDC( wxDC
*dc
, const wxBitmap
&buffer
)
722 : m_dc( dc
), m_buffer( buffer
)
724 SelectObject( m_buffer
);
727 wxBufferedDC( wxDC
*dc
, const wxSize
&area
)
728 : m_dc( dc
), m_buffer( area
.GetWidth(), area
.GetHeight() )
730 SelectObject( m_buffer
);
739 void Init( wxDC
*dc
, const wxBitmap
&buffer
) {
740 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
741 _T("wxBufferedDC already initialised") );
744 SelectObject( m_buffer
);
747 void Init( wxDC
*dc
, const wxSize
&area
) {
748 wxASSERT_MSG( m_dc
== 0 && m_buffer
== wxNullBitmap
,
749 _T("wxBufferedDC already initialised") );
751 m_buffer
= wxBitmap( area
.GetWidth(), area
.GetHeight() );
752 SelectObject( m_buffer
);
756 wxASSERT_MSG( m_dc
!= 0, _T("No low level DC associated with buffer (anymore)") );
757 m_dc
->Blit( 0, 0, m_buffer
.GetWidth(), m_buffer
.GetHeight(), this, 0, 0 );
763 class wxBufferedPaintDC
: public wxBufferedDC
769 wxBufferedPaintDC( wxWindow
*window
, const wxBitmap
&buffer
= wxNullBitmap
)
770 : m_paintdc( window
)
772 window
->PrepareDC( m_paintdc
);
774 if( buffer
!= wxNullBitmap
)
775 Init( &m_paintdc
, buffer
);
777 Init( &m_paintdc
, window
->GetClientSize() );
780 ~wxBufferedPaintDC() {
786 //-=-=-=-=-=-=-=-=-=-=-
792 #include <wx/metafile.h>
796 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
797 self
->AddColour(name
, wxColour(red
, green
, blue
));
800 #include <wx/effects.h>
805 static PyObject
*_wrap_new_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
815 result
= (wxGDIObject
*)new wxGDIObject();
817 wxPyEndAllowThreads(__tstate
);
818 if (PyErr_Occurred()) SWIG_fail
;
820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGDIObject
, 1);
827 static PyObject
*_wrap_delete_GDIObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
830 PyObject
* obj0
= 0 ;
832 (char *) "self", NULL
835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) SWIG_fail
;
844 Py_INCREF(Py_None
); resultobj
= Py_None
;
851 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
855 PyObject
* obj0
= 0 ;
857 (char *) "self", NULL
860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
864 result
= (bool)(arg1
)->GetVisible();
866 wxPyEndAllowThreads(__tstate
);
867 if (PyErr_Occurred()) SWIG_fail
;
869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
876 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
880 PyObject
* obj0
= 0 ;
881 PyObject
* obj1
= 0 ;
883 (char *) "self",(char *) "visible", NULL
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
889 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
890 if (PyErr_Occurred()) SWIG_fail
;
893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
894 (arg1
)->SetVisible(arg2
);
896 wxPyEndAllowThreads(__tstate
);
897 if (PyErr_Occurred()) SWIG_fail
;
899 Py_INCREF(Py_None
); resultobj
= Py_None
;
906 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
910 PyObject
* obj0
= 0 ;
912 (char *) "self", NULL
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGDIObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
919 result
= (bool)(arg1
)->IsNull();
921 wxPyEndAllowThreads(__tstate
);
922 if (PyErr_Occurred()) SWIG_fail
;
924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
931 static PyObject
* GDIObject_swigregister(PyObject
*self
, PyObject
*args
) {
933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
934 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
936 return Py_BuildValue((char *)"");
938 static PyObject
*_wrap_new_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 unsigned char arg1
= (unsigned char) 0 ;
941 unsigned char arg2
= (unsigned char) 0 ;
942 unsigned char arg3
= (unsigned char) 0 ;
944 PyObject
* obj0
= 0 ;
945 PyObject
* obj1
= 0 ;
946 PyObject
* obj2
= 0 ;
948 (char *) "red",(char *) "green",(char *) "blue", NULL
951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
954 arg1
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj0
);
955 if (PyErr_Occurred()) SWIG_fail
;
960 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
961 if (PyErr_Occurred()) SWIG_fail
;
966 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
967 if (PyErr_Occurred()) SWIG_fail
;
971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
972 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
974 wxPyEndAllowThreads(__tstate
);
975 if (PyErr_Occurred()) SWIG_fail
;
977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
984 static PyObject
*_wrap_new_NamedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* obj0
= 0 ;
991 (char *) "colorName", NULL
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
996 arg1
= wxString_in_helper(obj0
);
997 if (arg1
== NULL
) SWIG_fail
;
1001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1002 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1004 wxPyEndAllowThreads(__tstate
);
1005 if (PyErr_Occurred()) SWIG_fail
;
1007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1022 static PyObject
*_wrap_new_ColourRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1023 PyObject
*resultobj
;
1024 unsigned long arg1
;
1026 PyObject
* obj0
= 0 ;
1028 (char *) "colRGB", NULL
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1033 arg1
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0
);
1034 if (PyErr_Occurred()) SWIG_fail
;
1037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1038 result
= (wxColour
*)new wxColour(arg1
);
1040 wxPyEndAllowThreads(__tstate
);
1041 if (PyErr_Occurred()) SWIG_fail
;
1043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 1);
1050 static PyObject
*_wrap_delete_Colour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
*resultobj
;
1052 wxColour
*arg1
= (wxColour
*) 0 ;
1053 PyObject
* obj0
= 0 ;
1055 (char *) "self", NULL
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1064 wxPyEndAllowThreads(__tstate
);
1065 if (PyErr_Occurred()) SWIG_fail
;
1067 Py_INCREF(Py_None
); resultobj
= Py_None
;
1074 static PyObject
*_wrap_Colour_Red(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
*resultobj
;
1076 wxColour
*arg1
= (wxColour
*) 0 ;
1077 unsigned char result
;
1078 PyObject
* obj0
= 0 ;
1080 (char *) "self", NULL
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1087 result
= (unsigned char)(arg1
)->Red();
1089 wxPyEndAllowThreads(__tstate
);
1090 if (PyErr_Occurred()) SWIG_fail
;
1092 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1099 static PyObject
*_wrap_Colour_Green(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
*resultobj
;
1101 wxColour
*arg1
= (wxColour
*) 0 ;
1102 unsigned char result
;
1103 PyObject
* obj0
= 0 ;
1105 (char *) "self", NULL
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (unsigned char)(arg1
)->Green();
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1117 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1124 static PyObject
*_wrap_Colour_Blue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
*resultobj
;
1126 wxColour
*arg1
= (wxColour
*) 0 ;
1127 unsigned char result
;
1128 PyObject
* obj0
= 0 ;
1130 (char *) "self", NULL
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1137 result
= (unsigned char)(arg1
)->Blue();
1139 wxPyEndAllowThreads(__tstate
);
1140 if (PyErr_Occurred()) SWIG_fail
;
1142 resultobj
= SWIG_PyObj_FromUnsignedChar((unsigned char)result
);
1149 static PyObject
*_wrap_Colour_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
*resultobj
;
1151 wxColour
*arg1
= (wxColour
*) 0 ;
1153 PyObject
* obj0
= 0 ;
1155 (char *) "self", NULL
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 result
= (bool)(arg1
)->Ok();
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1174 static PyObject
*_wrap_Colour_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
*resultobj
;
1176 wxColour
*arg1
= (wxColour
*) 0 ;
1177 unsigned char arg2
;
1178 unsigned char arg3
;
1179 unsigned char arg4
;
1180 PyObject
* obj0
= 0 ;
1181 PyObject
* obj1
= 0 ;
1182 PyObject
* obj2
= 0 ;
1183 PyObject
* obj3
= 0 ;
1185 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1191 arg2
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj1
);
1192 if (PyErr_Occurred()) SWIG_fail
;
1195 arg3
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj2
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1199 arg4
= (unsigned char) SWIG_PyObj_AsUnsignedChar(obj3
);
1200 if (PyErr_Occurred()) SWIG_fail
;
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 (arg1
)->Set(arg2
,arg3
,arg4
);
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) SWIG_fail
;
1209 Py_INCREF(Py_None
); resultobj
= Py_None
;
1216 static PyObject
*_wrap_Colour_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
*resultobj
;
1218 wxColour
*arg1
= (wxColour
*) 0 ;
1219 unsigned long arg2
;
1220 PyObject
* obj0
= 0 ;
1221 PyObject
* obj1
= 0 ;
1223 (char *) "self",(char *) "colRGB", NULL
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1229 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 Py_INCREF(Py_None
); resultobj
= Py_None
;
1246 static PyObject
*_wrap_Colour_SetFromName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
*resultobj
;
1248 wxColour
*arg1
= (wxColour
*) 0 ;
1249 wxString
*arg2
= 0 ;
1250 bool temp2
= False
;
1251 PyObject
* obj0
= 0 ;
1252 PyObject
* obj1
= 0 ;
1254 (char *) "self",(char *) "colourName", NULL
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1260 arg2
= wxString_in_helper(obj1
);
1261 if (arg2
== NULL
) SWIG_fail
;
1265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1266 (arg1
)->InitFromName((wxString
const &)*arg2
);
1268 wxPyEndAllowThreads(__tstate
);
1269 if (PyErr_Occurred()) SWIG_fail
;
1271 Py_INCREF(Py_None
); resultobj
= Py_None
;
1286 static PyObject
*_wrap_Colour_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
*resultobj
;
1288 wxColour
*arg1
= (wxColour
*) 0 ;
1290 PyObject
* obj0
= 0 ;
1292 (char *) "self", NULL
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 resultobj
= SWIG_PyObj_FromLong((long)result
);
1311 static PyObject
*_wrap_Colour___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1313 wxColour
*arg1
= (wxColour
*) 0 ;
1314 wxColour
*arg2
= 0 ;
1317 PyObject
* obj0
= 0 ;
1318 PyObject
* obj1
= 0 ;
1320 (char *) "self",(char *) "colour", NULL
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) SWIG_fail
;
1336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1343 static PyObject
*_wrap_Colour___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
*resultobj
;
1345 wxColour
*arg1
= (wxColour
*) 0 ;
1346 wxColour
*arg2
= 0 ;
1349 PyObject
* obj0
= 0 ;
1350 PyObject
* obj1
= 0 ;
1352 (char *) "self",(char *) "colour", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1359 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1363 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1365 wxPyEndAllowThreads(__tstate
);
1366 if (PyErr_Occurred()) SWIG_fail
;
1368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1375 static PyObject
*_wrap_Colour_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
*resultobj
;
1377 wxColour
*arg1
= (wxColour
*) 0 ;
1379 PyObject
* obj0
= 0 ;
1381 (char *) "self", NULL
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1388 result
= (PyObject
*)wxColour_Get(arg1
);
1390 wxPyEndAllowThreads(__tstate
);
1391 if (PyErr_Occurred()) SWIG_fail
;
1400 static PyObject
*_wrap_Colour_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
*resultobj
;
1402 wxColour
*arg1
= (wxColour
*) 0 ;
1403 unsigned long result
;
1404 PyObject
* obj0
= 0 ;
1406 (char *) "self", NULL
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColour
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 result
= (unsigned long)wxColour_GetRGB(arg1
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1418 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
1425 static PyObject
* Colour_swigregister(PyObject
*self
, PyObject
*args
) {
1427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1428 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1430 return Py_BuildValue((char *)"");
1432 static PyObject
*_wrap_new_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
*resultobj
;
1435 unsigned char *arg2
= (unsigned char *) 0 ;
1436 unsigned char *arg3
= (unsigned char *) 0 ;
1437 unsigned char *arg4
= (unsigned char *) 0 ;
1439 PyObject
* obj0
= 0 ;
1440 PyObject
* obj1
= 0 ;
1441 PyObject
* obj2
= 0 ;
1442 PyObject
* obj3
= 0 ;
1444 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1449 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1453 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1454 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1462 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPalette
, 1);
1469 static PyObject
*_wrap_delete_Palette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1471 wxPalette
*arg1
= (wxPalette
*) 0 ;
1472 PyObject
* obj0
= 0 ;
1474 (char *) "self", NULL
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1486 Py_INCREF(Py_None
); resultobj
= Py_None
;
1493 static PyObject
*_wrap_Palette_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1495 wxPalette
*arg1
= (wxPalette
*) 0 ;
1500 PyObject
* obj0
= 0 ;
1501 PyObject
* obj1
= 0 ;
1502 PyObject
* obj2
= 0 ;
1503 PyObject
* obj3
= 0 ;
1505 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1511 arg2
= (byte
) SWIG_PyObj_AsUnsignedChar(obj1
);
1512 if (PyErr_Occurred()) SWIG_fail
;
1515 arg3
= (byte
) SWIG_PyObj_AsUnsignedChar(obj2
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1519 arg4
= (byte
) SWIG_PyObj_AsUnsignedChar(obj3
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) SWIG_fail
;
1529 resultobj
= SWIG_PyObj_FromInt((int)result
);
1536 static PyObject
*_wrap_Palette_GetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
*resultobj
;
1538 wxPalette
*arg1
= (wxPalette
*) 0 ;
1540 byte
*arg3
= (byte
*) 0 ;
1541 byte
*arg4
= (byte
*) 0 ;
1542 byte
*arg5
= (byte
*) 0 ;
1547 PyObject
* obj0
= 0 ;
1548 PyObject
* obj1
= 0 ;
1550 (char *) "self",(char *) "pixel", NULL
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1559 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1560 if (PyErr_Occurred()) SWIG_fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1571 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
1572 resultobj
= t_output_helper(resultobj
,o
);
1575 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
1576 resultobj
= t_output_helper(resultobj
,o
);
1579 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
1580 resultobj
= t_output_helper(resultobj
,o
);
1588 static PyObject
*_wrap_Palette_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
*resultobj
;
1590 wxPalette
*arg1
= (wxPalette
*) 0 ;
1592 PyObject
* obj0
= 0 ;
1594 (char *) "self", NULL
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 result
= (bool)(arg1
)->Ok();
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1613 static PyObject
* Palette_swigregister(PyObject
*self
, PyObject
*args
) {
1615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1616 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1618 return Py_BuildValue((char *)"");
1620 static PyObject
*_wrap_new_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxColour
*arg1
= 0 ;
1623 int arg2
= (int) 1 ;
1624 int arg3
= (int) wxSOLID
;
1627 PyObject
* obj0
= 0 ;
1628 PyObject
* obj1
= 0 ;
1629 PyObject
* obj2
= 0 ;
1631 (char *) "colour",(char *) "width",(char *) "style", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1637 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1641 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1647 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 1);
1665 static PyObject
*_wrap_delete_Pen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
*resultobj
;
1667 wxPen
*arg1
= (wxPen
*) 0 ;
1668 PyObject
* obj0
= 0 ;
1670 (char *) "self", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 Py_INCREF(Py_None
); resultobj
= Py_None
;
1689 static PyObject
*_wrap_Pen_GetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
*resultobj
;
1691 wxPen
*arg1
= (wxPen
*) 0 ;
1693 PyObject
* obj0
= 0 ;
1695 (char *) "self", NULL
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 result
= (int)(arg1
)->GetCap();
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 resultobj
= SWIG_PyObj_FromInt((int)result
);
1714 static PyObject
*_wrap_Pen_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxPen
*arg1
= (wxPen
*) 0 ;
1718 PyObject
* obj0
= 0 ;
1720 (char *) "self", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 result
= (arg1
)->GetColour();
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1733 wxColour
* resultptr
;
1734 resultptr
= new wxColour((wxColour
&) result
);
1735 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1743 static PyObject
*_wrap_Pen_GetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1745 wxPen
*arg1
= (wxPen
*) 0 ;
1747 PyObject
* obj0
= 0 ;
1749 (char *) "self", NULL
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 result
= (int)(arg1
)->GetJoin();
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 resultobj
= SWIG_PyObj_FromInt((int)result
);
1768 static PyObject
*_wrap_Pen_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxPen
*arg1
= (wxPen
*) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 result
= (int)(arg1
)->GetStyle();
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1786 resultobj
= SWIG_PyObj_FromInt((int)result
);
1793 static PyObject
*_wrap_Pen_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
*resultobj
;
1795 wxPen
*arg1
= (wxPen
*) 0 ;
1797 PyObject
* obj0
= 0 ;
1799 (char *) "self", NULL
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
1803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 result
= (int)(arg1
)->GetWidth();
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1811 resultobj
= SWIG_PyObj_FromInt((int)result
);
1818 static PyObject
*_wrap_Pen_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
*resultobj
;
1820 wxPen
*arg1
= (wxPen
*) 0 ;
1822 PyObject
* obj0
= 0 ;
1824 (char *) "self", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
1828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 result
= (bool)(arg1
)->Ok();
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1843 static PyObject
*_wrap_Pen_SetCap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
*resultobj
;
1845 wxPen
*arg1
= (wxPen
*) 0 ;
1847 PyObject
* obj0
= 0 ;
1848 PyObject
* obj1
= 0 ;
1850 (char *) "self",(char *) "cap_style", NULL
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
1854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 (arg1
)->SetCap(arg2
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1866 Py_INCREF(Py_None
); resultobj
= Py_None
;
1873 static PyObject
*_wrap_Pen_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxPen
*arg1
= (wxPen
*) 0 ;
1876 wxColour
*arg2
= 0 ;
1878 PyObject
* obj0
= 0 ;
1879 PyObject
* obj1
= 0 ;
1881 (char *) "self",(char *) "colour", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 (arg1
)->SetColour(*arg2
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 Py_INCREF(Py_None
); resultobj
= Py_None
;
1904 static PyObject
*_wrap_Pen_SetJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxPen
*arg1
= (wxPen
*) 0 ;
1908 PyObject
* obj0
= 0 ;
1909 PyObject
* obj1
= 0 ;
1911 (char *) "self",(char *) "join_style", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1917 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 (arg1
)->SetJoin(arg2
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 Py_INCREF(Py_None
); resultobj
= Py_None
;
1934 static PyObject
*_wrap_Pen_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxPen
*arg1
= (wxPen
*) 0 ;
1938 PyObject
* obj0
= 0 ;
1939 PyObject
* obj1
= 0 ;
1941 (char *) "self",(char *) "style", NULL
1944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
1945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1947 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 (arg1
)->SetStyle(arg2
);
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 Py_INCREF(Py_None
); resultobj
= Py_None
;
1964 static PyObject
*_wrap_Pen_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxPen
*arg1
= (wxPen
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1969 PyObject
* obj1
= 0 ;
1971 (char *) "self",(char *) "width", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1977 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 (arg1
)->SetWidth(arg2
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) SWIG_fail
;
1987 Py_INCREF(Py_None
); resultobj
= Py_None
;
1994 static PyObject
*_wrap_Pen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
*resultobj
;
1996 wxPen
*arg1
= (wxPen
*) 0 ;
1998 wxDash
*arg3
= (wxDash
*) 0 ;
1999 PyObject
* obj0
= 0 ;
2000 PyObject
* obj1
= 0 ;
2002 (char *) "self",(char *) "dashes", NULL
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2008 arg2
= PyList_Size(obj1
);
2009 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2010 if (arg3
== NULL
) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 (arg1
)->SetDashes(arg2
,arg3
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 Py_INCREF(Py_None
); resultobj
= Py_None
;
2021 if (arg3
) delete [] arg3
;
2026 if (arg3
) delete [] arg3
;
2032 static PyObject
*_wrap_Pen_GetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxPen
*arg1
= (wxPen
*) 0 ;
2036 PyObject
* obj0
= 0 ;
2038 (char *) "self", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2057 static PyObject
*_wrap_Pen___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
*resultobj
;
2059 wxPen
*arg1
= (wxPen
*) 0 ;
2060 wxPen
*arg2
= (wxPen
*) 0 ;
2062 PyObject
* obj0
= 0 ;
2063 PyObject
* obj1
= 0 ;
2065 (char *) "self",(char *) "other", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2085 static PyObject
*_wrap_Pen___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxPen
*arg1
= (wxPen
*) 0 ;
2088 wxPen
*arg2
= (wxPen
*) 0 ;
2090 PyObject
* obj0
= 0 ;
2091 PyObject
* obj1
= 0 ;
2093 (char *) "self",(char *) "other", NULL
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2113 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2115 wxPen
*arg1
= (wxPen
*) 0 ;
2117 PyObject
* obj0
= 0 ;
2119 (char *) "self", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 resultobj
= SWIG_PyObj_FromInt((int)result
);
2138 static PyObject
*_wrap_Pen_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxPen
*arg1
= (wxPen
*) 0 ;
2142 PyObject
* obj0
= 0 ;
2144 (char *) "self", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStipple",kwnames
,&obj0
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 result
= (wxBitmap
*)(arg1
)->GetStipple();
2153 wxPyEndAllowThreads(__tstate
);
2154 if (PyErr_Occurred()) SWIG_fail
;
2156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2163 static PyObject
*_wrap_Pen_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
*resultobj
;
2165 wxPen
*arg1
= (wxPen
*) 0 ;
2166 wxBitmap
*arg2
= 0 ;
2167 PyObject
* obj0
= 0 ;
2168 PyObject
* obj1
= 0 ;
2170 (char *) "self",(char *) "stipple", NULL
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2177 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 (arg1
)->SetStipple(*arg2
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2186 Py_INCREF(Py_None
); resultobj
= Py_None
;
2193 static PyObject
* Pen_swigregister(PyObject
*self
, PyObject
*args
) {
2195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2196 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2198 return Py_BuildValue((char *)"");
2200 static PyObject
*_wrap_new_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
*resultobj
;
2202 wxColour
*arg1
= 0 ;
2203 int arg2
= (int) 1 ;
2204 int arg3
= (int) wxSOLID
;
2207 PyObject
* obj0
= 0 ;
2208 PyObject
* obj1
= 0 ;
2209 PyObject
* obj2
= 0 ;
2211 (char *) "colour",(char *) "width",(char *) "style", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_PyPen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2217 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2221 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2227 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (wxPyPen
*)new wxPyPen(*arg1
,arg2
,arg3
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyPen
, 1);
2245 static PyObject
*_wrap_delete_PyPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyPen",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2262 Py_INCREF(Py_None
); resultobj
= Py_None
;
2269 static PyObject
*_wrap_PyPen_SetDashes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
*resultobj
;
2271 wxPyPen
*arg1
= (wxPyPen
*) 0 ;
2273 wxDash
*arg3
= (wxDash
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 (char *) "self",(char *) "dashes", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2283 arg2
= PyList_Size(obj1
);
2284 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2285 if (arg3
== NULL
) SWIG_fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 (arg1
)->SetDashes(arg2
,arg3
);
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2294 Py_INCREF(Py_None
); resultobj
= Py_None
;
2296 if (arg3
) delete [] arg3
;
2301 if (arg3
) delete [] arg3
;
2307 static PyObject
* PyPen_swigregister(PyObject
*self
, PyObject
*args
) {
2309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2310 SWIG_TypeClientData(SWIGTYPE_p_wxPyPen
, obj
);
2312 return Py_BuildValue((char *)"");
2314 static PyObject
*_wrap_new_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
*resultobj
;
2316 wxColour
*arg1
= 0 ;
2317 int arg2
= (int) wxSOLID
;
2320 PyObject
* obj0
= 0 ;
2321 PyObject
* obj1
= 0 ;
2323 (char *) "colour",(char *) "style", NULL
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2329 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2333 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 1);
2351 static PyObject
*_wrap_delete_Brush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
*resultobj
;
2353 wxBrush
*arg1
= (wxBrush
*) 0 ;
2354 PyObject
* obj0
= 0 ;
2356 (char *) "self", NULL
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 Py_INCREF(Py_None
); resultobj
= Py_None
;
2375 static PyObject
*_wrap_Brush_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2377 wxBrush
*arg1
= (wxBrush
*) 0 ;
2378 wxColour
*arg2
= 0 ;
2380 PyObject
* obj0
= 0 ;
2381 PyObject
* obj1
= 0 ;
2383 (char *) "self",(char *) "col", NULL
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2390 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 (arg1
)->SetColour((wxColour
const &)*arg2
);
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2399 Py_INCREF(Py_None
); resultobj
= Py_None
;
2406 static PyObject
*_wrap_Brush_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
*resultobj
;
2408 wxBrush
*arg1
= (wxBrush
*) 0 ;
2410 PyObject
* obj0
= 0 ;
2411 PyObject
* obj1
= 0 ;
2413 (char *) "self",(char *) "style", NULL
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2419 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 (arg1
)->SetStyle(arg2
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2429 Py_INCREF(Py_None
); resultobj
= Py_None
;
2436 static PyObject
*_wrap_Brush_SetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
;
2438 wxBrush
*arg1
= (wxBrush
*) 0 ;
2439 wxBitmap
*arg2
= 0 ;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj1
= 0 ;
2443 (char *) "self",(char *) "stipple", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2448 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2450 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2459 Py_INCREF(Py_None
); resultobj
= Py_None
;
2466 static PyObject
*_wrap_Brush_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2467 PyObject
*resultobj
;
2468 wxBrush
*arg1
= (wxBrush
*) 0 ;
2470 PyObject
* obj0
= 0 ;
2472 (char *) "self", NULL
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 result
= ((wxBrush
const *)arg1
)->GetColour();
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2485 wxColour
* resultptr
;
2486 resultptr
= new wxColour((wxColour
&) result
);
2487 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
2495 static PyObject
*_wrap_Brush_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxBrush
*arg1
= (wxBrush
*) 0 ;
2499 PyObject
* obj0
= 0 ;
2501 (char *) "self", NULL
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2513 resultobj
= SWIG_PyObj_FromInt((int)result
);
2520 static PyObject
*_wrap_Brush_GetStipple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxBrush
*arg1
= (wxBrush
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2526 (char *) "self", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
2545 static PyObject
*_wrap_Brush_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxBrush
*arg1
= (wxBrush
*) 0 ;
2549 PyObject
* obj0
= 0 ;
2551 (char *) "self", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 result
= (bool)(arg1
)->Ok();
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2570 static PyObject
* Brush_swigregister(PyObject
*self
, PyObject
*args
) {
2572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2573 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2575 return Py_BuildValue((char *)"");
2577 static PyObject
*_wrap_new_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxString
*arg1
= 0 ;
2580 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2582 bool temp1
= False
;
2583 PyObject
* obj0
= 0 ;
2584 PyObject
* obj1
= 0 ;
2586 (char *) "name",(char *) "type", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2591 arg1
= wxString_in_helper(obj0
);
2592 if (arg1
== NULL
) SWIG_fail
;
2597 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2623 static PyObject
*_wrap_delete_Bitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2626 PyObject
* obj0
= 0 ;
2628 (char *) "self", NULL
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 Py_INCREF(Py_None
); resultobj
= Py_None
;
2647 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2651 int arg3
= (int) -1 ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2655 PyObject
* obj2
= 0 ;
2657 (char *) "width",(char *) "height",(char *) "depth", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2662 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2666 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2671 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2679 wxPyEndAllowThreads(__tstate
);
2680 if (PyErr_Occurred()) SWIG_fail
;
2682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2689 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2693 PyObject
* obj0
= 0 ;
2695 (char *) "icon", NULL
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2701 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2717 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
*resultobj
;
2720 int arg2
= (int) -1 ;
2722 PyObject
* obj0
= 0 ;
2723 PyObject
* obj1
= 0 ;
2725 (char *) "image",(char *) "depth", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2753 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 PyObject
*arg1
= (PyObject
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2759 (char *) "listOfStrings", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2778 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
*resultobj
;
2780 PyObject
*arg1
= (PyObject
*) 0 ;
2783 int arg4
= (int) 1 ;
2785 PyObject
* obj0
= 0 ;
2786 PyObject
* obj1
= 0 ;
2787 PyObject
* obj2
= 0 ;
2788 PyObject
* obj3
= 0 ;
2790 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2796 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2800 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2805 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 1);
2823 static PyObject
*_wrap_Bitmap_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2826 wxPalette
*arg2
= 0 ;
2827 PyObject
* obj0
= 0 ;
2828 PyObject
* obj1
= 0 ;
2830 (char *) "self",(char *) "palette", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2837 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 (arg1
)->SetPalette(*arg2
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) SWIG_fail
;
2846 Py_INCREF(Py_None
); resultobj
= Py_None
;
2853 static PyObject
*_wrap_Bitmap_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
*resultobj
;
2855 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2857 PyObject
* obj0
= 0 ;
2859 (char *) "self", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHandle",kwnames
,&obj0
)) goto fail
;
2863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (long)(arg1
)->GetHandle();
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 resultobj
= SWIG_PyObj_FromLong((long)result
);
2878 static PyObject
*_wrap_Bitmap_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
*resultobj
;
2880 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2882 PyObject
* obj0
= 0 ;
2883 PyObject
* obj1
= 0 ;
2885 (char *) "self",(char *) "handle", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
2889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2891 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 (arg1
)->SetHandle(arg2
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 Py_INCREF(Py_None
); resultobj
= Py_None
;
2908 static PyObject
*_wrap_Bitmap_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2912 PyObject
* obj0
= 0 ;
2914 (char *) "self", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 result
= (bool)(arg1
)->Ok();
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2933 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2937 PyObject
* obj0
= 0 ;
2939 (char *) "self", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 result
= (int)(arg1
)->GetWidth();
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2951 resultobj
= SWIG_PyObj_FromInt((int)result
);
2958 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
*resultobj
;
2960 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2962 PyObject
* obj0
= 0 ;
2964 (char *) "self", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
2968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= (int)(arg1
)->GetHeight();
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2976 resultobj
= SWIG_PyObj_FromInt((int)result
);
2983 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
*resultobj
;
2985 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2987 PyObject
* obj0
= 0 ;
2989 (char *) "self", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
2993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 result
= (int)(arg1
)->GetDepth();
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3001 resultobj
= SWIG_PyObj_FromInt((int)result
);
3008 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
*resultobj
;
3010 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3011 SwigValueWrapper
< wxImage
> result
;
3012 PyObject
* obj0
= 0 ;
3014 (char *) "self", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3027 wxImage
* resultptr
;
3028 resultptr
= new wxImage((wxImage
&) result
);
3029 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
3037 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
;
3039 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3041 PyObject
* obj0
= 0 ;
3043 (char *) "self", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 0);
3062 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3065 wxMask
*arg2
= (wxMask
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3069 (char *) "self",(char *) "mask", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMask
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 (arg1
)->SetMask(arg2
);
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 Py_INCREF(Py_None
); resultobj
= Py_None
;
3089 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3092 wxColour
*arg2
= 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3097 (char *) "self",(char *) "colour", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3113 Py_INCREF(Py_None
); resultobj
= Py_None
;
3120 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3124 SwigValueWrapper
< wxBitmap
> result
;
3126 PyObject
* obj0
= 0 ;
3127 PyObject
* obj1
= 0 ;
3129 (char *) "self",(char *) "rect", NULL
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3136 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3146 wxBitmap
* resultptr
;
3147 resultptr
= new wxBitmap((wxBitmap
&) result
);
3148 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
3156 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
;
3158 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3159 wxString
*arg2
= 0 ;
3161 wxPalette
*arg4
= (wxPalette
*) (wxPalette
*) NULL
;
3163 bool temp2
= False
;
3164 PyObject
* obj0
= 0 ;
3165 PyObject
* obj1
= 0 ;
3166 PyObject
* obj2
= 0 ;
3167 PyObject
* obj3
= 0 ;
3169 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3175 arg2
= wxString_in_helper(obj1
);
3176 if (arg2
== NULL
) SWIG_fail
;
3180 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3208 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3211 wxString
*arg2
= 0 ;
3214 bool temp2
= False
;
3215 PyObject
* obj0
= 0 ;
3216 PyObject
* obj1
= 0 ;
3217 PyObject
* obj2
= 0 ;
3219 (char *) "self",(char *) "name",(char *) "type", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3225 arg2
= wxString_in_helper(obj1
);
3226 if (arg2
== NULL
) SWIG_fail
;
3230 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3255 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3263 (char *) "self",(char *) "icon", NULL
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3286 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3291 PyObject
* obj1
= 0 ;
3293 (char *) "self",(char *) "height", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3299 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 (arg1
)->SetHeight(arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3316 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3320 PyObject
* obj0
= 0 ;
3321 PyObject
* obj1
= 0 ;
3323 (char *) "self",(char *) "width", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3329 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3334 (arg1
)->SetWidth(arg2
);
3336 wxPyEndAllowThreads(__tstate
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3339 Py_INCREF(Py_None
); resultobj
= Py_None
;
3346 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3348 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3350 PyObject
* obj0
= 0 ;
3351 PyObject
* obj1
= 0 ;
3353 (char *) "self",(char *) "depth", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3359 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 (arg1
)->SetDepth(arg2
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 static PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3379 wxCursor
*arg2
= 0 ;
3381 PyObject
* obj0
= 0 ;
3382 PyObject
* obj1
= 0 ;
3384 (char *) "self",(char *) "cursor", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
3388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3389 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3391 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3407 static PyObject
*_wrap_Bitmap_GetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 (char *) "self", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetQuality",kwnames
,&obj0
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 result
= (int)(arg1
)->GetQuality();
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 resultobj
= SWIG_PyObj_FromInt((int)result
);
3432 static PyObject
*_wrap_Bitmap_SetQuality(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3439 (char *) "self",(char *) "q", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 (arg1
)->SetQuality(arg2
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 Py_INCREF(Py_None
); resultobj
= Py_None
;
3462 static PyObject
* Bitmap_swigregister(PyObject
*self
, PyObject
*args
) {
3464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3465 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3467 return Py_BuildValue((char *)"");
3469 static PyObject
*_wrap_new_Mask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3471 wxBitmap
*arg1
= 0 ;
3472 wxColour
const &arg2_defvalue
= wxNullColour
;
3473 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3476 PyObject
* obj0
= 0 ;
3477 PyObject
* obj1
= 0 ;
3479 (char *) "bitmap",(char *) "colour", NULL
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3485 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMask
, 1);
3507 static PyObject
* Mask_swigregister(PyObject
*self
, PyObject
*args
) {
3509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3510 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3512 return Py_BuildValue((char *)"");
3514 static PyObject
*_wrap_new_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxString
*arg1
= 0 ;
3518 int arg3
= (int) -1 ;
3519 int arg4
= (int) -1 ;
3521 bool temp1
= False
;
3522 PyObject
* obj0
= 0 ;
3523 PyObject
* obj1
= 0 ;
3524 PyObject
* obj2
= 0 ;
3525 PyObject
* obj3
= 0 ;
3527 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3532 arg1
= wxString_in_helper(obj0
);
3533 if (arg1
== NULL
) SWIG_fail
;
3537 arg2
= (wxBitmapType
) SWIG_PyObj_AsInt(obj1
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3542 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3548 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3574 static PyObject
*_wrap_delete_Icon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxIcon
*arg1
= (wxIcon
*) 0 ;
3577 PyObject
* obj0
= 0 ;
3579 (char *) "self", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3591 Py_INCREF(Py_None
); resultobj
= Py_None
;
3598 static PyObject
*_wrap_new_EmptyIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (wxIcon
*)new wxIcon();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3620 static PyObject
*_wrap_new_IconFromLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxIconLocation
*arg1
= 0 ;
3624 PyObject
* obj0
= 0 ;
3626 (char *) "loc", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3648 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxBitmap
*arg1
= 0 ;
3652 PyObject
* obj0
= 0 ;
3654 (char *) "bmp", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3660 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3676 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 PyObject
*arg1
= (PyObject
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3682 (char *) "listOfStrings", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 result
= (wxIcon
*)new_wxIcon(arg1
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
3701 static PyObject
*_wrap_Icon_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
*resultobj
;
3703 wxIcon
*arg1
= (wxIcon
*) 0 ;
3704 wxString
*arg2
= 0 ;
3707 bool temp2
= False
;
3708 PyObject
* obj0
= 0 ;
3709 PyObject
* obj1
= 0 ;
3710 PyObject
* obj2
= 0 ;
3712 (char *) "self",(char *) "name",(char *) "type", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3718 arg2
= wxString_in_helper(obj1
);
3719 if (arg2
== NULL
) SWIG_fail
;
3723 arg3
= (wxBitmapType
) SWIG_PyObj_AsInt(obj2
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3748 static PyObject
*_wrap_Icon_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3750 wxIcon
*arg1
= (wxIcon
*) 0 ;
3752 PyObject
* obj0
= 0 ;
3754 (char *) "self", NULL
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHandle",kwnames
,&obj0
)) goto fail
;
3758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 result
= (long)(arg1
)->GetHandle();
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3766 resultobj
= SWIG_PyObj_FromLong((long)result
);
3773 static PyObject
*_wrap_Icon_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxIcon
*arg1
= (wxIcon
*) 0 ;
3777 PyObject
* obj0
= 0 ;
3778 PyObject
* obj1
= 0 ;
3780 (char *) "self",(char *) "handle", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3786 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 (arg1
)->SetHandle(arg2
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_Icon_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxIcon
*arg1
= (wxIcon
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3809 (char *) "self", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (bool)(arg1
)->Ok();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3828 static PyObject
*_wrap_Icon_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxIcon
*arg1
= (wxIcon
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3834 (char *) "self", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (int)(arg1
)->GetWidth();
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= SWIG_PyObj_FromInt((int)result
);
3853 static PyObject
*_wrap_Icon_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxIcon
*arg1
= (wxIcon
*) 0 ;
3857 PyObject
* obj0
= 0 ;
3859 (char *) "self", NULL
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (int)(arg1
)->GetHeight();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_PyObj_FromInt((int)result
);
3878 static PyObject
*_wrap_Icon_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3880 wxIcon
*arg1
= (wxIcon
*) 0 ;
3882 PyObject
* obj0
= 0 ;
3884 (char *) "self", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (int)(arg1
)->GetDepth();
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= SWIG_PyObj_FromInt((int)result
);
3903 static PyObject
*_wrap_Icon_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxIcon
*arg1
= (wxIcon
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3908 PyObject
* obj1
= 0 ;
3910 (char *) "self",(char *) "w", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3916 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 (arg1
)->SetWidth(arg2
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3926 Py_INCREF(Py_None
); resultobj
= Py_None
;
3933 static PyObject
*_wrap_Icon_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxIcon
*arg1
= (wxIcon
*) 0 ;
3937 PyObject
* obj0
= 0 ;
3938 PyObject
* obj1
= 0 ;
3940 (char *) "self",(char *) "h", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3946 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 (arg1
)->SetHeight(arg2
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 Py_INCREF(Py_None
); resultobj
= Py_None
;
3963 static PyObject
*_wrap_Icon_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxIcon
*arg1
= (wxIcon
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "d", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 (arg1
)->SetDepth(arg2
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
*_wrap_Icon_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxIcon
*arg1
= (wxIcon
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "size", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4008 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 (arg1
)->SetSize((wxSize
const &)*arg2
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 Py_INCREF(Py_None
); resultobj
= Py_None
;
4024 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxIcon
*arg1
= (wxIcon
*) 0 ;
4027 wxBitmap
*arg2
= 0 ;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4031 (char *) "self",(char *) "bmp", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 Py_INCREF(Py_None
); resultobj
= Py_None
;
4054 static PyObject
* Icon_swigregister(PyObject
*self
, PyObject
*args
) {
4056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4057 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4059 return Py_BuildValue((char *)"");
4061 static PyObject
*_wrap_new_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4064 int arg2
= (int) 0 ;
4065 wxIconLocation
*result
;
4066 bool temp1
= False
;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4070 (char *) "filename",(char *) "num", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4076 arg1
= wxString_in_helper(obj0
);
4077 if (arg1
== NULL
) SWIG_fail
;
4083 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconLocation
, 1);
4109 static PyObject
*_wrap_delete_IconLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4112 PyObject
* obj0
= 0 ;
4114 (char *) "self", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4158 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4161 wxString
*arg2
= 0 ;
4162 bool temp2
= False
;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4166 (char *) "self",(char *) "filename", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4172 arg2
= wxString_in_helper(obj1
);
4173 if (arg2
== NULL
) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 (arg1
)->SetFileName((wxString
const &)*arg2
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 Py_INCREF(Py_None
); resultobj
= Py_None
;
4198 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4204 (char *) "self", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4213 result
= (wxString
*) &_result_ref
;
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4221 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4223 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4232 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "num", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4245 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 wxIconLocation_SetIndex(arg1
,arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4266 PyObject
* obj0
= 0 ;
4268 (char *) "self", NULL
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconLocation
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (int)wxIconLocation_GetIndex(arg1
);
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_PyObj_FromInt((int)result
);
4287 static PyObject
* IconLocation_swigregister(PyObject
*self
, PyObject
*args
) {
4289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4290 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4292 return Py_BuildValue((char *)"");
4294 static PyObject
*_wrap_new_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxIconBundle
*result
;
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= (wxIconBundle
*)new wxIconBundle();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4316 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 wxString
*arg1
= 0 ;
4320 wxIconBundle
*result
;
4321 bool temp1
= False
;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "file",(char *) "type", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4330 arg1
= wxString_in_helper(obj0
);
4331 if (arg1
== NULL
) SWIG_fail
;
4335 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4360 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4363 wxIconBundle
*result
;
4364 PyObject
* obj0
= 0 ;
4366 (char *) "icon", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconBundle
, 1);
4388 static PyObject
*_wrap_delete_IconBundle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4393 (char *) "self", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4405 Py_INCREF(Py_None
); resultobj
= Py_None
;
4412 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4419 (char *) "self",(char *) "icon", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4424 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4426 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 Py_INCREF(Py_None
); resultobj
= Py_None
;
4442 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4444 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4445 wxString
*arg2
= 0 ;
4447 bool temp2
= False
;
4448 PyObject
* obj0
= 0 ;
4449 PyObject
* obj1
= 0 ;
4450 PyObject
* obj2
= 0 ;
4452 (char *) "self",(char *) "file",(char *) "type", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4458 arg2
= wxString_in_helper(obj1
);
4459 if (arg2
== NULL
) SWIG_fail
;
4463 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4494 PyObject
* obj0
= 0 ;
4495 PyObject
* obj1
= 0 ;
4497 (char *) "self",(char *) "size", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconBundle
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4510 result
= (wxIcon
*) &_result_ref
;
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 0);
4523 static PyObject
* IconBundle_swigregister(PyObject
*self
, PyObject
*args
) {
4525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4526 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4528 return Py_BuildValue((char *)"");
4530 static PyObject
*_wrap_new_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxString
*arg1
= (wxString
*) 0 ;
4534 int arg3
= (int) 0 ;
4535 int arg4
= (int) 0 ;
4537 bool temp1
= False
;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 PyObject
* obj2
= 0 ;
4541 PyObject
* obj3
= 0 ;
4543 (char *) "cursorName",(char *) "flags",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4548 arg1
= wxString_in_helper(obj0
);
4549 if (arg1
== NULL
) SWIG_fail
;
4553 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4558 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4564 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4590 static PyObject
*_wrap_delete_Cursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxCursor
*arg1
= (wxCursor
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4595 (char *) "self", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 Py_INCREF(Py_None
); resultobj
= Py_None
;
4614 static PyObject
*_wrap_new_StockCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4618 PyObject
* obj0
= 0 ;
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4625 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (wxCursor
*)new wxCursor(arg1
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4642 static PyObject
*_wrap_new_CursorFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4646 PyObject
* obj0
= 0 ;
4648 (char *) "image", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4654 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4670 static PyObject
*_wrap_new_CursorFromBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 PyObject
*arg1
= (PyObject
*) 0 ;
4675 int arg4
= (int) -1 ;
4676 int arg5
= (int) -1 ;
4677 PyObject
*arg6
= (PyObject
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 PyObject
* obj3
= 0 ;
4683 PyObject
* obj4
= 0 ;
4684 PyObject
* obj5
= 0 ;
4686 (char *) "bits",(char *) "width",(char *) "height",(char *) "hotSpotX",(char *) "hotSpotY",(char *) "maskBits", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_CursorFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4692 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4696 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4701 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4707 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (wxCursor
*)new_wxCursor(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 1);
4728 static PyObject
*_wrap_Cursor_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxCursor
*arg1
= (wxCursor
*) 0 ;
4732 PyObject
* obj0
= 0 ;
4734 (char *) "self", NULL
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHandle",kwnames
,&obj0
)) goto fail
;
4738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (long)(arg1
)->GetHandle();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= SWIG_PyObj_FromLong((long)result
);
4753 static PyObject
*_wrap_Cursor_SetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxCursor
*arg1
= (wxCursor
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4760 (char *) "self",(char *) "handle", NULL
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
4764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4766 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 (arg1
)->SetHandle(arg2
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4776 Py_INCREF(Py_None
); resultobj
= Py_None
;
4783 static PyObject
*_wrap_Cursor_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
*resultobj
;
4785 wxCursor
*arg1
= (wxCursor
*) 0 ;
4787 PyObject
* obj0
= 0 ;
4789 (char *) "self", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= (bool)(arg1
)->Ok();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4808 static PyObject
*_wrap_Cursor_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxCursor
*arg1
= (wxCursor
*) 0 ;
4812 PyObject
* obj0
= 0 ;
4814 (char *) "self", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetWidth",kwnames
,&obj0
)) goto fail
;
4818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (int)(arg1
)->GetWidth();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_PyObj_FromInt((int)result
);
4833 static PyObject
*_wrap_Cursor_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxCursor
*arg1
= (wxCursor
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4839 (char *) "self", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetHeight",kwnames
,&obj0
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (int)(arg1
)->GetHeight();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_PyObj_FromInt((int)result
);
4858 static PyObject
*_wrap_Cursor_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxCursor
*arg1
= (wxCursor
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4864 (char *) "self", NULL
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_GetDepth",kwnames
,&obj0
)) goto fail
;
4868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (int)(arg1
)->GetDepth();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_PyObj_FromInt((int)result
);
4883 static PyObject
*_wrap_Cursor_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxCursor
*arg1
= (wxCursor
*) 0 ;
4887 PyObject
* obj0
= 0 ;
4888 PyObject
* obj1
= 0 ;
4890 (char *) "self",(char *) "w", NULL
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4896 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 (arg1
)->SetWidth(arg2
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 static PyObject
*_wrap_Cursor_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxCursor
*arg1
= (wxCursor
*) 0 ;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4920 (char *) "self",(char *) "h", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->SetHeight(arg2
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4943 static PyObject
*_wrap_Cursor_SetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxCursor
*arg1
= (wxCursor
*) 0 ;
4947 PyObject
* obj0
= 0 ;
4948 PyObject
* obj1
= 0 ;
4950 (char *) "self",(char *) "d", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4956 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 (arg1
)->SetDepth(arg2
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_Cursor_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxCursor
*arg1
= (wxCursor
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4981 (char *) "self",(char *) "size", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4988 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 (arg1
)->SetSize((wxSize
const &)*arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 static PyObject
* Cursor_swigregister(PyObject
*self
, PyObject
*args
) {
5006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5007 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
5009 return Py_BuildValue((char *)"");
5011 static PyObject
*_wrap_new_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
;
5013 int arg1
= (int) 0 ;
5014 int arg2
= (int) 0 ;
5015 int arg3
= (int) 0 ;
5016 int arg4
= (int) 0 ;
5018 PyObject
* obj0
= 0 ;
5019 PyObject
* obj1
= 0 ;
5020 PyObject
* obj2
= 0 ;
5021 PyObject
* obj3
= 0 ;
5023 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5029 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5035 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5041 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5047 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
5065 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxBitmap
*arg1
= 0 ;
5068 wxColour
const &arg2_defvalue
= wxNullColour
;
5069 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5070 int arg3
= (int) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 PyObject
* obj2
= 0 ;
5077 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_RegionFromBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5083 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5088 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5093 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
5111 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5114 wxPoint
*arg2
= (wxPoint
*) 0 ;
5115 int arg3
= (int) wxWINDING_RULE
;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "points",(char *) "fillStyle", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
5125 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5126 if (arg2
== NULL
) SWIG_fail
;
5130 arg3
= (int) SWIG_PyObj_AsInt(obj1
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 1);
5143 if (arg2
) delete [] arg2
;
5148 if (arg2
) delete [] arg2
;
5154 static PyObject
*_wrap_delete_Region(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxRegion
*arg1
= (wxRegion
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5159 (char *) "self", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 Py_INCREF(Py_None
); resultobj
= Py_None
;
5178 static PyObject
*_wrap_Region_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxRegion
*arg1
= (wxRegion
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5183 (char *) "self", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 Py_INCREF(Py_None
); resultobj
= Py_None
;
5202 static PyObject
*_wrap_Region_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxRegion
*arg1
= (wxRegion
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5210 PyObject
* obj2
= 0 ;
5212 (char *) "self",(char *) "x",(char *) "y", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5218 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5222 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5239 static PyObject
*_wrap_Region_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxRegion
*arg1
= (wxRegion
*) 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 PyObject
* obj2
= 0 ;
5249 (char *) "self",(char *) "x",(char *) "y", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5255 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5259 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_PyObj_FromInt((int)result
);
5276 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxRegion
*arg1
= (wxRegion
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5285 (char *) "self",(char *) "pt", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5292 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_PyObj_FromInt((int)result
);
5308 static PyObject
*_wrap_Region_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxRegion
*arg1
= (wxRegion
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5317 (char *) "self",(char *) "rect", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5324 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_PyObj_FromInt((int)result
);
5340 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxRegion
*arg1
= (wxRegion
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 PyObject
* obj2
= 0 ;
5351 PyObject
* obj3
= 0 ;
5352 PyObject
* obj4
= 0 ;
5354 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5360 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5364 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_PyObj_FromInt((int)result
);
5389 static PyObject
*_wrap_Region_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
;
5391 wxRegion
*arg1
= (wxRegion
*) 0 ;
5393 PyObject
* obj0
= 0 ;
5395 (char *) "self", NULL
5398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (arg1
)->GetBox();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5409 resultptr
= new wxRect((wxRect
&) result
);
5410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
5418 static PyObject
*_wrap_Region_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxRegion
*arg1
= (wxRegion
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5428 PyObject
* obj2
= 0 ;
5429 PyObject
* obj3
= 0 ;
5430 PyObject
* obj4
= 0 ;
5432 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5438 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5442 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5446 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5450 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5467 static PyObject
*_wrap_Region_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
*resultobj
;
5469 wxRegion
*arg1
= (wxRegion
*) 0 ;
5473 PyObject
* obj0
= 0 ;
5474 PyObject
* obj1
= 0 ;
5476 (char *) "self",(char *) "rect", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5483 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5499 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxRegion
*arg1
= (wxRegion
*) 0 ;
5502 wxRegion
*arg2
= 0 ;
5504 PyObject
* obj0
= 0 ;
5505 PyObject
* obj1
= 0 ;
5507 (char *) "self",(char *) "region", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5530 static PyObject
*_wrap_Region_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxRegion
*arg1
= (wxRegion
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (bool)(arg1
)->IsEmpty();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5555 static PyObject
*_wrap_Region_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxRegion
*arg1
= (wxRegion
*) 0 ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5565 PyObject
* obj2
= 0 ;
5566 PyObject
* obj3
= 0 ;
5567 PyObject
* obj4
= 0 ;
5569 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5575 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5579 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5583 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5587 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5604 static PyObject
*_wrap_Region_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxRegion
*arg1
= (wxRegion
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5613 (char *) "self",(char *) "rect", NULL
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5636 static PyObject
*_wrap_Region_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxRegion
*arg1
= (wxRegion
*) 0 ;
5639 wxRegion
*arg2
= 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5644 (char *) "self",(char *) "region", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5667 static PyObject
*_wrap_Region_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxRegion
*arg1
= (wxRegion
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5677 PyObject
* obj2
= 0 ;
5678 PyObject
* obj3
= 0 ;
5679 PyObject
* obj4
= 0 ;
5681 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5687 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5691 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5695 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5699 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5716 static PyObject
*_wrap_Region_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxRegion
*arg1
= (wxRegion
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5723 PyObject
* obj1
= 0 ;
5725 (char *) "self",(char *) "rect", NULL
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5732 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5748 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxRegion
*arg1
= (wxRegion
*) 0 ;
5751 wxRegion
*arg2
= 0 ;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5756 (char *) "self",(char *) "region", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5761 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5763 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5779 static PyObject
*_wrap_Region_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxRegion
*arg1
= (wxRegion
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5789 PyObject
* obj2
= 0 ;
5790 PyObject
* obj3
= 0 ;
5791 PyObject
* obj4
= 0 ;
5793 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5807 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5811 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5828 static PyObject
*_wrap_Region_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxRegion
*arg1
= (wxRegion
*) 0 ;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5837 (char *) "self",(char *) "rect", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5844 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5860 static PyObject
*_wrap_Region_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxRegion
*arg1
= (wxRegion
*) 0 ;
5863 wxRegion
*arg2
= 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5868 (char *) "self",(char *) "region", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5875 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5891 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
*resultobj
;
5893 wxRegion
*arg1
= (wxRegion
*) 0 ;
5894 SwigValueWrapper
< wxBitmap
> result
;
5895 PyObject
* obj0
= 0 ;
5897 (char *) "self", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (arg1
)->ConvertToBitmap();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5910 wxBitmap
* resultptr
;
5911 resultptr
= new wxBitmap((wxBitmap
&) result
);
5912 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
5920 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxRegion
*arg1
= (wxRegion
*) 0 ;
5923 wxBitmap
*arg2
= 0 ;
5924 wxColour
const &arg3_defvalue
= wxNullColour
;
5925 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
5926 int arg4
= (int) 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 PyObject
* obj2
= 0 ;
5932 PyObject
* obj3
= 0 ;
5934 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5939 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5941 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5946 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5951 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5969 static PyObject
* Region_swigregister(PyObject
*self
, PyObject
*args
) {
5971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5972 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5974 return Py_BuildValue((char *)"");
5976 static PyObject
*_wrap_new_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxRegion
*arg1
= 0 ;
5979 wxRegionIterator
*result
;
5980 PyObject
* obj0
= 0 ;
5982 (char *) "region", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegionIterator
, 1);
6004 static PyObject
*_wrap_delete_RegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
;
6006 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6009 (char *) "self", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6021 Py_INCREF(Py_None
); resultobj
= Py_None
;
6028 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6032 PyObject
* obj0
= 0 ;
6034 (char *) "self", NULL
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
6038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (int)(arg1
)->GetX();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= SWIG_PyObj_FromInt((int)result
);
6053 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6057 PyObject
* obj0
= 0 ;
6059 (char *) "self", NULL
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
6063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (int)(arg1
)->GetY();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_PyObj_FromInt((int)result
);
6078 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6082 PyObject
* obj0
= 0 ;
6084 (char *) "self", NULL
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (int)(arg1
)->GetW();
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_PyObj_FromInt((int)result
);
6103 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6104 PyObject
*resultobj
;
6105 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "self", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (int)(arg1
)->GetWidth();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_PyObj_FromInt((int)result
);
6128 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6134 (char *) "self", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (int)(arg1
)->GetH();
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= SWIG_PyObj_FromInt((int)result
);
6153 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
*resultobj
;
6155 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6159 (char *) "self", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (int)(arg1
)->GetHeight();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= SWIG_PyObj_FromInt((int)result
);
6178 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6182 PyObject
* obj0
= 0 ;
6184 (char *) "self", NULL
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 result
= (arg1
)->GetRect();
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6198 resultptr
= new wxRect((wxRect
&) result
);
6199 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
6207 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (bool)(arg1
)->HaveRects();
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6232 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6237 (char *) "self", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_RegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 wxRegionIterator_Next(arg1
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 Py_INCREF(Py_None
); resultobj
= Py_None
;
6280 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6284 PyObject
* obj0
= 0 ;
6286 (char *) "self", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRegionIterator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6305 static PyObject
* RegionIterator_swigregister(PyObject
*self
, PyObject
*args
) {
6307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6308 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6310 return Py_BuildValue((char *)"");
6312 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxNativeFontInfo
*result
;
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) SWIG_fail
;
6327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 1);
6334 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
*resultobj
;
6336 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6363 (char *) "self", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 Py_INCREF(Py_None
); resultobj
= Py_None
;
6382 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6386 PyObject
* obj0
= 0 ;
6387 PyObject
* obj1
= 0 ;
6389 (char *) "self",(char *) "font", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6394 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6396 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 Py_INCREF(Py_None
); resultobj
= Py_None
;
6412 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6416 PyObject
* obj0
= 0 ;
6418 (char *) "self", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= SWIG_PyObj_FromInt((int)result
);
6437 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 resultobj
= SWIG_PyObj_FromInt((int)result
);
6462 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
*resultobj
;
6464 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6468 (char *) "self", NULL
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_PyObj_FromInt((int)result
);
6487 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6512 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6514 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6516 PyObject
* obj0
= 0 ;
6518 (char *) "self", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6543 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6544 PyObject
*resultobj
;
6545 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6547 PyObject
* obj0
= 0 ;
6549 (char *) "self", NULL
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_PyObj_FromInt((int)result
);
6568 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6572 PyObject
* obj0
= 0 ;
6574 (char *) "self", NULL
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_PyObj_FromInt((int)result
);
6593 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6598 PyObject
* obj1
= 0 ;
6600 (char *) "self",(char *) "pointsize", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6606 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 (arg1
)->SetPointSize(arg2
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 Py_INCREF(Py_None
); resultobj
= Py_None
;
6623 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6630 (char *) "self",(char *) "style", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6636 arg2
= (wxFontStyle
) SWIG_PyObj_AsInt(obj1
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 Py_INCREF(Py_None
); resultobj
= Py_None
;
6653 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6658 PyObject
* obj1
= 0 ;
6660 (char *) "self",(char *) "weight", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6666 arg2
= (wxFontWeight
) SWIG_PyObj_AsInt(obj1
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 Py_INCREF(Py_None
); resultobj
= Py_None
;
6683 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6685 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6687 PyObject
* obj0
= 0 ;
6688 PyObject
* obj1
= 0 ;
6690 (char *) "self",(char *) "underlined", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6696 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 (arg1
)->SetUnderlined(arg2
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 Py_INCREF(Py_None
); resultobj
= Py_None
;
6713 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "facename", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6726 wxString
* sptr
= wxString_in_helper(obj1
);
6727 if (sptr
== NULL
) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 (arg1
)->SetFaceName(arg2
);
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 Py_INCREF(Py_None
); resultobj
= Py_None
;
6745 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6752 (char *) "self",(char *) "family", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6758 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6782 (char *) "self",(char *) "encoding", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6788 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6795 wxPyEndAllowThreads(__tstate
);
6796 if (PyErr_Occurred()) SWIG_fail
;
6798 Py_INCREF(Py_None
); resultobj
= Py_None
;
6805 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6808 wxString
*arg2
= 0 ;
6810 bool temp2
= False
;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6814 (char *) "self",(char *) "s", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6820 arg2
= wxString_in_helper(obj1
);
6821 if (arg2
== NULL
) SWIG_fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6846 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6850 PyObject
* obj0
= 0 ;
6852 (char *) "self", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6877 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
;
6879 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6883 (char *) "self", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= wxNativeFontInfo___str__(arg1
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6908 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6911 wxString
*arg2
= 0 ;
6913 bool temp2
= False
;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6917 (char *) "self",(char *) "s", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6923 arg2
= wxString_in_helper(obj1
);
6924 if (arg2
== NULL
) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6949 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6955 (char *) "self", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6980 static PyObject
* NativeFontInfo_swigregister(PyObject
*self
, PyObject
*args
) {
6982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6983 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6985 return Py_BuildValue((char *)"");
6987 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6990 wxString
*arg2
= (wxString
*) 0 ;
6991 bool temp2
= False
;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6995 (char *) "self",(char *) "facename", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7001 arg2
= wxString_in_helper(obj1
);
7002 if (arg2
== NULL
) SWIG_fail
;
7005 if (arg1
) (arg1
)->facename
= *arg2
;
7007 Py_INCREF(Py_None
); resultobj
= Py_None
;
7022 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7033 result
= (wxString
*)& ((arg1
)->facename
);
7037 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7039 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7048 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7055 (char *) "self",(char *) "encoding", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7066 Py_INCREF(Py_None
); resultobj
= Py_None
;
7073 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "self", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7084 result
= (int) ((arg1
)->encoding
);
7086 resultobj
= SWIG_PyObj_FromInt((int)result
);
7093 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxNativeEncodingInfo
*result
;
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7115 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7120 (char *) "self", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 Py_INCREF(Py_None
); resultobj
= Py_None
;
7139 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7142 wxString
*arg2
= 0 ;
7144 bool temp2
= False
;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7148 (char *) "self",(char *) "s", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7154 arg2
= wxString_in_helper(obj1
);
7155 if (arg2
== NULL
) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7180 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7186 (char *) "self", NULL
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7211 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*self
, PyObject
*args
) {
7213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7214 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7216 return Py_BuildValue((char *)"");
7218 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7221 wxNativeEncodingInfo
*result
;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "encoding", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7229 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7246 static PyObject
*_wrap_TestFontEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxNativeEncodingInfo
*arg1
= 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "info", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeEncodingInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7274 static PyObject
*_wrap_new_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxFontMapper
*result
;
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 result
= (wxFontMapper
*)new wxFontMapper();
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 1);
7296 static PyObject
*_wrap_delete_FontMapper(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7299 PyObject
* obj0
= 0 ;
7301 (char *) "self", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_FontMapper_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxFontMapper
*result
;
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (wxFontMapper
*)wxFontMapper::Get();
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
7342 static PyObject
*_wrap_FontMapper_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7345 wxFontMapper
*result
;
7346 PyObject
* obj0
= 0 ;
7348 (char *) "mapper", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFontMapper
, 0);
7367 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
;
7369 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7370 wxString
*arg2
= 0 ;
7371 bool arg3
= (bool) True
;
7373 bool temp2
= False
;
7374 PyObject
* obj0
= 0 ;
7375 PyObject
* obj1
= 0 ;
7376 PyObject
* obj2
= 0 ;
7378 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7384 arg2
= wxString_in_helper(obj1
);
7385 if (arg2
== NULL
) SWIG_fail
;
7390 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_PyObj_FromInt((int)result
);
7416 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
7438 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7442 PyObject
* obj0
= 0 ;
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7449 arg1
= (size_t) SWIG_PyObj_AsUnsignedLong(obj0
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= (int)wxFontMapper::GetEncoding(arg1
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 resultobj
= SWIG_PyObj_FromInt((int)result
);
7466 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7470 PyObject
* obj0
= 0 ;
7472 (char *) "encoding", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7477 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7500 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7504 PyObject
* obj0
= 0 ;
7506 (char *) "encoding", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7511 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7534 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7537 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "self",(char *) "config", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 (arg1
)->SetConfig(arg2
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 Py_INCREF(Py_None
); resultobj
= Py_None
;
7561 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
*resultobj
;
7563 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7564 wxString
*arg2
= 0 ;
7565 bool temp2
= False
;
7566 PyObject
* obj0
= 0 ;
7567 PyObject
* obj1
= 0 ;
7569 (char *) "self",(char *) "prefix", NULL
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7575 arg2
= wxString_in_helper(obj1
);
7576 if (arg2
== NULL
) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= wxFontMapper::GetDefaultConfigPath();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7629 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
;
7631 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7633 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7634 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7635 bool arg4
= (bool) True
;
7637 bool temp3
= False
;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 PyObject
* obj2
= 0 ;
7641 PyObject
* obj3
= 0 ;
7643 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7649 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7654 arg3
= wxString_in_helper(obj2
);
7655 if (arg3
== NULL
) SWIG_fail
;
7661 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7687 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7691 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7692 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7694 bool temp3
= False
;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7697 PyObject
* obj2
= 0 ;
7699 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7705 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7710 arg3
= wxString_in_helper(obj2
);
7711 if (arg3
== NULL
) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7737 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7740 wxWindow
*arg2
= (wxWindow
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7744 (char *) "self",(char *) "parent", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7749 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 (arg1
)->SetDialogParent(arg2
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 Py_INCREF(Py_None
); resultobj
= Py_None
;
7764 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7767 wxString
*arg2
= 0 ;
7768 bool temp2
= False
;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7772 (char *) "self",(char *) "title", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontMapper
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7778 arg2
= wxString_in_helper(obj1
);
7779 if (arg2
== NULL
) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 static PyObject
* FontMapper_swigregister(PyObject
*self
, PyObject
*args
) {
7806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7807 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7809 return Py_BuildValue((char *)"");
7811 static PyObject
*_wrap_new_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7817 bool arg5
= (bool) False
;
7818 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7819 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7820 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7822 bool temp6
= False
;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 PyObject
* obj2
= 0 ;
7826 PyObject
* obj3
= 0 ;
7827 PyObject
* obj4
= 0 ;
7828 PyObject
* obj5
= 0 ;
7829 PyObject
* obj6
= 0 ;
7831 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7836 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7840 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7844 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7853 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7859 arg6
= wxString_in_helper(obj5
);
7860 if (arg6
== NULL
) SWIG_fail
;
7866 arg7
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj6
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7892 static PyObject
*_wrap_delete_Font(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxFont
*arg1
= (wxFont
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7897 (char *) "self", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 Py_INCREF(Py_None
); resultobj
= Py_None
;
7916 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7917 PyObject
*resultobj
;
7918 wxNativeFontInfo
*arg1
= 0 ;
7920 PyObject
* obj0
= 0 ;
7922 (char *) "info", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7944 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 wxString
*arg1
= 0 ;
7948 bool temp1
= False
;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "info", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7956 arg1
= wxString_in_helper(obj0
);
7957 if (arg1
== NULL
) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
7982 static PyObject
*_wrap_new_Font2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7986 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7987 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7988 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7989 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7991 bool temp4
= False
;
7992 PyObject
* obj0
= 0 ;
7993 PyObject
* obj1
= 0 ;
7994 PyObject
* obj2
= 0 ;
7995 PyObject
* obj3
= 0 ;
7996 PyObject
* obj4
= 0 ;
7998 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8003 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 arg2
= (wxFontFamily
) SWIG_PyObj_AsInt(obj1
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8012 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8018 arg4
= wxString_in_helper(obj3
);
8019 if (arg4
== NULL
) SWIG_fail
;
8025 arg5
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj4
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 1);
8051 static PyObject
*_wrap_Font_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
;
8053 wxFont
*arg1
= (wxFont
*) 0 ;
8055 PyObject
* obj0
= 0 ;
8057 (char *) "self", NULL
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (bool)((wxFont
const *)arg1
)->Ok();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8076 static PyObject
*_wrap_Font___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxFont
*arg1
= (wxFont
*) 0 ;
8079 wxFont
*arg2
= (wxFont
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8084 (char *) "self",(char *) "other", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8104 static PyObject
*_wrap_Font___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxFont
*arg1
= (wxFont
*) 0 ;
8107 wxFont
*arg2
= (wxFont
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8112 (char *) "self",(char *) "other", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",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_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8132 static PyObject
*_wrap_Font_GetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxFont
*arg1
= (wxFont
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_PyObj_FromInt((int)result
);
8157 static PyObject
*_wrap_Font_GetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxFont
*arg1
= (wxFont
*) 0 ;
8161 PyObject
* obj0
= 0 ;
8163 (char *) "self", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_PyObj_FromInt((int)result
);
8182 static PyObject
*_wrap_Font_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
*resultobj
;
8184 wxFont
*arg1
= (wxFont
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8188 (char *) "self", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_PyObj_FromInt((int)result
);
8207 static PyObject
*_wrap_Font_GetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxFont
*arg1
= (wxFont
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_PyObj_FromInt((int)result
);
8232 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxFont
*arg1
= (wxFont
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8238 (char *) "self", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8257 static PyObject
*_wrap_Font_GetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxFont
*arg1
= (wxFont
*) 0 ;
8261 PyObject
* obj0
= 0 ;
8263 (char *) "self", NULL
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= ((wxFont
const *)arg1
)->GetFaceName();
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8288 static PyObject
*_wrap_Font_GetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxFont
*arg1
= (wxFont
*) 0 ;
8292 PyObject
* obj0
= 0 ;
8294 (char *) "self", NULL
8297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= SWIG_PyObj_FromInt((int)result
);
8313 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxFont
*arg1
= (wxFont
*) 0 ;
8316 wxNativeFontInfo
*result
;
8317 PyObject
* obj0
= 0 ;
8319 (char *) "self", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNativeFontInfo
, 0);
8338 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxFont
*arg1
= (wxFont
*) 0 ;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "self", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8363 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxFont
*arg1
= (wxFont
*) 0 ;
8367 PyObject
* obj0
= 0 ;
8369 (char *) "self", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8394 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxFont
*arg1
= (wxFont
*) 0 ;
8398 PyObject
* obj0
= 0 ;
8400 (char *) "self", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8425 static PyObject
*_wrap_Font_SetPointSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxFont
*arg1
= (wxFont
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8432 (char *) "self",(char *) "pointSize", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8438 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 (arg1
)->SetPointSize(arg2
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 Py_INCREF(Py_None
); resultobj
= Py_None
;
8455 static PyObject
*_wrap_Font_SetFamily(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxFont
*arg1
= (wxFont
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8462 (char *) "self",(char *) "family", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8468 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 (arg1
)->SetFamily(arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8478 Py_INCREF(Py_None
); resultobj
= Py_None
;
8485 static PyObject
*_wrap_Font_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxFont
*arg1
= (wxFont
*) 0 ;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8492 (char *) "self",(char *) "style", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8498 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 (arg1
)->SetStyle(arg2
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 Py_INCREF(Py_None
); resultobj
= Py_None
;
8515 static PyObject
*_wrap_Font_SetWeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxFont
*arg1
= (wxFont
*) 0 ;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8522 (char *) "self",(char *) "weight", NULL
8525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8528 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 (arg1
)->SetWeight(arg2
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_Font_SetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxFont
*arg1
= (wxFont
*) 0 ;
8548 wxString
*arg2
= 0 ;
8549 bool temp2
= False
;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8553 (char *) "self",(char *) "faceName", NULL
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8559 arg2
= wxString_in_helper(obj1
);
8560 if (arg2
== NULL
) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8570 Py_INCREF(Py_None
); resultobj
= Py_None
;
8585 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
;
8587 wxFont
*arg1
= (wxFont
*) 0 ;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8592 (char *) "self",(char *) "underlined", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8598 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 (arg1
)->SetUnderlined(arg2
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 Py_INCREF(Py_None
); resultobj
= Py_None
;
8615 static PyObject
*_wrap_Font_SetEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
*resultobj
;
8617 wxFont
*arg1
= (wxFont
*) 0 ;
8619 PyObject
* obj0
= 0 ;
8620 PyObject
* obj1
= 0 ;
8622 (char *) "self",(char *) "encoding", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8628 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8645 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxFont
*arg1
= (wxFont
*) 0 ;
8648 wxNativeFontInfo
*arg2
= 0 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8652 (char *) "self",(char *) "info", NULL
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxNativeFontInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8659 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 Py_INCREF(Py_None
); resultobj
= Py_None
;
8675 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxFont
*arg1
= (wxFont
*) 0 ;
8678 wxString
*arg2
= 0 ;
8679 bool temp2
= False
;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8683 (char *) "self",(char *) "info", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8689 arg2
= wxString_in_helper(obj1
);
8690 if (arg2
== NULL
) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 Py_INCREF(Py_None
); resultobj
= Py_None
;
8715 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxFont
*arg1
= (wxFont
*) 0 ;
8718 wxString
*arg2
= 0 ;
8719 bool temp2
= False
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "self",(char *) "info", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8729 arg2
= wxString_in_helper(obj1
);
8730 if (arg2
== NULL
) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxFont
*arg1
= (wxFont
*) 0 ;
8759 PyObject
* obj0
= 0 ;
8761 (char *) "self", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8786 static PyObject
*_wrap_Font_GetStyleString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
*resultobj
;
8788 wxFont
*arg1
= (wxFont
*) 0 ;
8790 PyObject
* obj0
= 0 ;
8792 (char *) "self", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= ((wxFont
const *)arg1
)->GetStyleString();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8817 static PyObject
*_wrap_Font_GetWeightString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxFont
*arg1
= (wxFont
*) 0 ;
8821 PyObject
* obj0
= 0 ;
8823 (char *) "self", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= ((wxFont
const *)arg1
)->GetWeightString();
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8848 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxFont
*arg1
= (wxFont
*) 0 ;
8851 bool arg2
= (bool) True
;
8852 PyObject
* obj0
= 0 ;
8853 PyObject
* obj1
= 0 ;
8855 (char *) "self",(char *) "no", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8862 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 (arg1
)->SetNoAntiAliasing(arg2
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxFont
*arg1
= (wxFont
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (bool)(arg1
)->GetNoAntiAliasing();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8905 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (int)wxFont::GetDefaultEncoding();
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_PyObj_FromInt((int)result
);
8927 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8930 PyObject
* obj0
= 0 ;
8932 (char *) "encoding", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8937 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 Py_INCREF(Py_None
); resultobj
= Py_None
;
8954 static PyObject
* Font_swigregister(PyObject
*self
, PyObject
*args
) {
8956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8957 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8959 return Py_BuildValue((char *)"");
8961 static PyObject
*_wrap_new_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxPyFontEnumerator
*result
;
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFontEnumerator
, 1);
8983 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 Py_INCREF(Py_None
); resultobj
= Py_None
;
9007 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9010 PyObject
*arg2
= (PyObject
*) 0 ;
9011 PyObject
*arg3
= (PyObject
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9015 PyObject
* obj2
= 0 ;
9016 PyObject
* obj3
= 0 ;
9018 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9026 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9046 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9047 bool arg3
= (bool) False
;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9053 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9060 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9066 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9084 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9087 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9088 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9090 bool temp2
= False
;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9094 (char *) "self",(char *) "facename", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9101 arg2
= wxString_in_helper(obj1
);
9102 if (arg2
== NULL
) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9128 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9134 (char *) "self", NULL
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9153 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9157 PyObject
* obj0
= 0 ;
9159 (char *) "self", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFontEnumerator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9178 static PyObject
* FontEnumerator_swigregister(PyObject
*self
, PyObject
*args
) {
9180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9181 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9183 return Py_BuildValue((char *)"");
9185 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9190 PyObject
* obj1
= 0 ;
9192 (char *) "self",(char *) "Language", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9198 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 if (arg1
) (arg1
)->Language
= arg2
;
9203 Py_INCREF(Py_None
); resultobj
= Py_None
;
9210 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9221 result
= (int) ((arg1
)->Language
);
9223 resultobj
= SWIG_PyObj_FromInt((int)result
);
9230 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9233 wxString
*arg2
= (wxString
*) 0 ;
9234 bool temp2
= False
;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9238 (char *) "self",(char *) "CanonicalName", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9244 arg2
= wxString_in_helper(obj1
);
9245 if (arg2
== NULL
) SWIG_fail
;
9248 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9250 Py_INCREF(Py_None
); resultobj
= Py_None
;
9265 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9276 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9280 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9282 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9291 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9294 wxString
*arg2
= (wxString
*) 0 ;
9295 bool temp2
= False
;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9299 (char *) "self",(char *) "Description", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9305 arg2
= wxString_in_helper(obj1
);
9306 if (arg2
== NULL
) SWIG_fail
;
9309 if (arg1
) (arg1
)->Description
= *arg2
;
9311 Py_INCREF(Py_None
); resultobj
= Py_None
;
9326 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9330 PyObject
* obj0
= 0 ;
9332 (char *) "self", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9337 result
= (wxString
*)& ((arg1
)->Description
);
9341 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9343 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9352 static PyObject
* LanguageInfo_swigregister(PyObject
*self
, PyObject
*args
) {
9354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9355 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9357 return Py_BuildValue((char *)"");
9359 static PyObject
*_wrap_new_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 int arg1
= (int) wxLANGUAGE_DEFAULT
;
9362 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9364 PyObject
* obj0
= 0 ;
9365 PyObject
* obj1
= 0 ;
9367 (char *) "language",(char *) "flags", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9373 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9379 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (wxLocale
*)new wxLocale(arg1
,arg2
);
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 1);
9397 static PyObject
*_wrap_delete_Locale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxLocale
*arg1
= (wxLocale
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9402 (char *) "self", NULL
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 Py_INCREF(Py_None
); resultobj
= Py_None
;
9421 static PyObject
*_wrap_Locale_Init1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxLocale
*arg1
= (wxLocale
*) 0 ;
9424 wxString
*arg2
= 0 ;
9425 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9426 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9427 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9428 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9429 bool arg5
= (bool) True
;
9430 bool arg6
= (bool) False
;
9432 bool temp2
= False
;
9433 bool temp3
= False
;
9434 bool temp4
= False
;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 PyObject
* obj2
= 0 ;
9438 PyObject
* obj3
= 0 ;
9439 PyObject
* obj4
= 0 ;
9440 PyObject
* obj5
= 0 ;
9442 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9448 arg2
= wxString_in_helper(obj1
);
9449 if (arg2
== NULL
) SWIG_fail
;
9454 arg3
= wxString_in_helper(obj2
);
9455 if (arg3
== NULL
) SWIG_fail
;
9461 arg4
= wxString_in_helper(obj3
);
9462 if (arg4
== NULL
) SWIG_fail
;
9468 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9474 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9516 static PyObject
*_wrap_Locale_Init2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxLocale
*arg1
= (wxLocale
*) 0 ;
9519 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9520 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9524 PyObject
* obj2
= 0 ;
9526 (char *) "self",(char *) "language",(char *) "flags", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9533 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9539 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9557 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (int)wxLocale::GetSystemLanguage();
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_PyObj_FromInt((int)result
);
9579 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= (int)wxLocale::GetSystemEncoding();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_PyObj_FromInt((int)result
);
9601 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= wxLocale::GetSystemEncodingName();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9629 static PyObject
*_wrap_Locale_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxLocale
*arg1
= (wxLocale
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9635 (char *) "self", NULL
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9654 static PyObject
*_wrap_Locale_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
*resultobj
;
9656 wxLocale
*arg1
= (wxLocale
*) 0 ;
9658 PyObject
* obj0
= 0 ;
9660 (char *) "self", NULL
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= ((wxLocale
const *)arg1
)->GetLocale();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9685 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxLocale
*arg1
= (wxLocale
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9691 (char *) "self", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_PyObj_FromInt((int)result
);
9710 static PyObject
*_wrap_Locale_GetSysName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxLocale
*arg1
= (wxLocale
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9716 (char *) "self", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= ((wxLocale
const *)arg1
)->GetSysName();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9741 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxLocale
*arg1
= (wxLocale
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9772 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxString
*arg1
= 0 ;
9775 bool temp1
= False
;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "prefix", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9783 arg1
= wxString_in_helper(obj0
);
9784 if (arg1
== NULL
) SWIG_fail
;
9788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9789 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 Py_INCREF(Py_None
); resultobj
= Py_None
;
9809 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxLocale
*arg1
= (wxLocale
*) 0 ;
9812 wxString
*arg2
= 0 ;
9814 bool temp2
= False
;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9818 (char *) "self",(char *) "szDomain", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9824 arg2
= wxString_in_helper(obj1
);
9825 if (arg2
== NULL
) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9850 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxLocale
*arg1
= (wxLocale
*) 0 ;
9853 wxString
*arg2
= 0 ;
9855 bool temp2
= False
;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9859 (char *) "self",(char *) "szDomain", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9865 arg2
= wxString_in_helper(obj1
);
9866 if (arg2
== NULL
) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9891 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9894 wxLanguageInfo
*result
;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "lang", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9902 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9919 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "lang", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9930 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= wxLocale::GetLanguageName(arg1
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9953 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxString
*arg1
= 0 ;
9956 wxLanguageInfo
*result
;
9957 bool temp1
= False
;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "locale", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9965 arg1
= wxString_in_helper(obj0
);
9966 if (arg1
== NULL
) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLanguageInfo
, 0);
9991 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxLanguageInfo
*arg1
= 0 ;
9994 PyObject
* obj0
= 0 ;
9996 (char *) "info", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLanguageInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10001 if (arg1
== NULL
) {
10002 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 Py_INCREF(Py_None
); resultobj
= Py_None
;
10018 static PyObject
*_wrap_Locale_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxLocale
*arg1
= (wxLocale
*) 0 ;
10021 wxString
*arg2
= 0 ;
10022 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10023 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10025 bool temp2
= False
;
10026 bool temp3
= False
;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 PyObject
* obj2
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10037 arg2
= wxString_in_helper(obj1
);
10038 if (arg2
== NULL
) SWIG_fail
;
10043 arg3
= wxString_in_helper(obj2
);
10044 if (arg3
== NULL
) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10084 static PyObject
*_wrap_Locale_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxLocale
*arg1
= (wxLocale
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLocale
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10099 result
= (wxString
*) &_result_ref
;
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10118 static PyObject
* Locale_swigregister(PyObject
*self
, PyObject
*args
) {
10120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10121 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10123 return Py_BuildValue((char *)"");
10125 static PyObject
*_wrap_GetLocale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10128 char *kwnames
[] = {
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= (wxLocale
*)wxGetLocale();
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLocale
, 0);
10147 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*self
, PyObject
*args
) {
10148 PyObject
*resultobj
;
10149 wxString
*arg1
= 0 ;
10151 bool temp1
= False
;
10152 PyObject
* obj0
= 0 ;
10154 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10156 arg1
= wxString_in_helper(obj0
);
10157 if (arg1
== NULL
) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= wxGetTranslation((wxString
const &)*arg1
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10188 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*self
, PyObject
*args
) {
10189 PyObject
*resultobj
;
10190 wxString
*arg1
= 0 ;
10191 wxString
*arg2
= 0 ;
10194 bool temp1
= False
;
10195 bool temp2
= False
;
10196 PyObject
* obj0
= 0 ;
10197 PyObject
* obj1
= 0 ;
10198 PyObject
* obj2
= 0 ;
10200 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10202 arg1
= wxString_in_helper(obj0
);
10203 if (arg1
== NULL
) SWIG_fail
;
10207 arg2
= wxString_in_helper(obj1
);
10208 if (arg2
== NULL
) SWIG_fail
;
10212 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10251 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10256 argc
= PyObject_Length(args
);
10257 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10258 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10263 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10266 return _wrap_GetTranslation__SWIG_0(self
,args
);
10272 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10276 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10280 SWIG_PyObj_AsUnsignedLong(argv
[2]);
10281 if (PyErr_Occurred()) {
10289 return _wrap_GetTranslation__SWIG_1(self
,args
);
10295 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10300 static PyObject
*_wrap_new_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxEncodingConverter
*result
;
10303 char *kwnames
[] = {
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEncodingConverter
, 1);
10322 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 Py_INCREF(Py_None
); resultobj
= Py_None
;
10346 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
;
10348 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10351 int arg4
= (int) wxCONVERT_STRICT
;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 PyObject
* obj3
= 0 ;
10357 char *kwnames
[] = {
10358 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10364 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10368 arg3
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj2
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10373 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10391 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10394 wxString
*arg2
= 0 ;
10396 bool temp2
= False
;
10397 PyObject
* obj0
= 0 ;
10398 PyObject
* obj1
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self",(char *) "input", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEncodingConverter
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10406 arg2
= wxString_in_helper(obj1
);
10407 if (arg2
== NULL
) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10438 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10441 int arg2
= (int) wxPLATFORM_CURRENT
;
10442 wxFontEncodingArray result
;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "enc",(char *) "platform", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10451 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= PyList_New(0);
10469 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10470 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10471 PyList_Append(resultobj
, number
);
10481 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10484 wxFontEncodingArray result
;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "enc", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10492 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= PyList_New(0);
10504 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10505 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10506 PyList_Append(resultobj
, number
);
10516 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "encIn",(char *) "encOut", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10529 arg1
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj0
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10533 arg2
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj1
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10550 static PyObject
* EncodingConverter_swigregister(PyObject
*self
, PyObject
*args
) {
10552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10553 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10555 return Py_BuildValue((char *)"");
10557 static PyObject
*_wrap_delete_DC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10558 PyObject
*resultobj
;
10559 wxDC
*arg1
= (wxDC
*) 0 ;
10560 PyObject
* obj0
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "self", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 Py_INCREF(Py_None
); resultobj
= Py_None
;
10581 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxDC
*arg1
= (wxDC
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 (arg1
)->BeginDrawing();
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 Py_INCREF(Py_None
); resultobj
= Py_None
;
10605 static PyObject
*_wrap_DC_EndDrawing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxDC
*arg1
= (wxDC
*) 0 ;
10608 PyObject
* obj0
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->EndDrawing();
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 Py_INCREF(Py_None
); resultobj
= Py_None
;
10629 static PyObject
*_wrap_DC_FloodFillXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxDC
*arg1
= (wxDC
*) 0 ;
10634 wxColour
*arg4
= 0 ;
10635 int arg5
= (int) wxFLOOD_SURFACE
;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 PyObject
* obj2
= 0 ;
10641 PyObject
* obj3
= 0 ;
10642 PyObject
* obj4
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFillXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10650 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10659 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10663 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10681 static PyObject
*_wrap_DC_FloodFill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxDC
*arg1
= (wxDC
*) 0 ;
10684 wxPoint
*arg2
= 0 ;
10685 wxColour
*arg3
= 0 ;
10686 int arg4
= (int) wxFLOOD_SURFACE
;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 PyObject
* obj2
= 0 ;
10693 PyObject
* obj3
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10702 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10706 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10710 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10728 static PyObject
*_wrap_DC_GetPixelXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxDC
*arg1
= (wxDC
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "x",(char *) "y", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixelXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10744 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10748 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= wxDC_GetPixelXY(arg1
,arg2
,arg3
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10759 wxColour
* resultptr
;
10760 resultptr
= new wxColour((wxColour
&) result
);
10761 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10769 static PyObject
*_wrap_DC_GetPixel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxDC
*arg1
= (wxDC
*) 0 ;
10772 wxPoint
*arg2
= 0 ;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self",(char *) "pt", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixel",kwnames
,&obj0
,&obj1
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10785 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= wxDC_GetPixel(arg1
,(wxPoint
const &)*arg2
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10795 wxColour
* resultptr
;
10796 resultptr
= new wxColour((wxColour
&) result
);
10797 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
10805 static PyObject
*_wrap_DC_DrawLineXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxDC
*arg1
= (wxDC
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 PyObject
* obj2
= 0 ;
10815 PyObject
* obj3
= 0 ;
10816 PyObject
* obj4
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLineXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10824 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10836 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 Py_INCREF(Py_None
); resultobj
= Py_None
;
10853 static PyObject
*_wrap_DC_DrawLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxDC
*arg1
= (wxDC
*) 0 ;
10856 wxPoint
*arg2
= 0 ;
10857 wxPoint
*arg3
= 0 ;
10860 PyObject
* obj0
= 0 ;
10861 PyObject
* obj1
= 0 ;
10862 PyObject
* obj2
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10871 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10875 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 Py_INCREF(Py_None
); resultobj
= Py_None
;
10891 static PyObject
*_wrap_DC_CrossHairXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxDC
*arg1
= (wxDC
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 PyObject
* obj2
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "x",(char *) "y", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHairXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10906 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 (arg1
)->CrossHair(arg2
,arg3
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 Py_INCREF(Py_None
); resultobj
= Py_None
;
10927 static PyObject
*_wrap_DC_CrossHair(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxDC
*arg1
= (wxDC
*) 0 ;
10930 wxPoint
*arg2
= 0 ;
10932 PyObject
* obj0
= 0 ;
10933 PyObject
* obj1
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "pt", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHair",kwnames
,&obj0
,&obj1
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 Py_INCREF(Py_None
); resultobj
= Py_None
;
10958 static PyObject
*_wrap_DC_DrawArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxDC
*arg1
= (wxDC
*) 0 ;
10967 PyObject
* obj0
= 0 ;
10968 PyObject
* obj1
= 0 ;
10969 PyObject
* obj2
= 0 ;
10970 PyObject
* obj3
= 0 ;
10971 PyObject
* obj4
= 0 ;
10972 PyObject
* obj5
= 0 ;
10973 PyObject
* obj6
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10981 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10989 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 Py_INCREF(Py_None
); resultobj
= Py_None
;
11018 static PyObject
*_wrap_DC_DrawArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxDC
*arg1
= (wxDC
*) 0 ;
11021 wxPoint
*arg2
= 0 ;
11022 wxPoint
*arg3
= 0 ;
11023 wxPoint
*arg4
= 0 ;
11027 PyObject
* obj0
= 0 ;
11028 PyObject
* obj1
= 0 ;
11029 PyObject
* obj2
= 0 ;
11030 PyObject
* obj3
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "centre", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11039 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_DC_DrawCheckMarkXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxDC
*arg1
= (wxDC
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 PyObject
* obj2
= 0 ;
11073 PyObject
* obj3
= 0 ;
11074 PyObject
* obj4
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMarkXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11082 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11111 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxDC
*arg1
= (wxDC
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "rect", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11126 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11142 static PyObject
*_wrap_DC_DrawEllipticArcXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxDC
*arg1
= (wxDC
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 PyObject
* obj2
= 0 ;
11154 PyObject
* obj3
= 0 ;
11155 PyObject
* obj4
= 0 ;
11156 PyObject
* obj5
= 0 ;
11157 PyObject
* obj6
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "sa",(char *) "ea", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArcXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11165 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11169 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11173 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11185 arg7
= (double) SWIG_PyObj_AsDouble(obj6
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 Py_INCREF(Py_None
); resultobj
= Py_None
;
11202 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxDC
*arg1
= (wxDC
*) 0 ;
11205 wxPoint
*arg2
= 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 PyObject
* obj2
= 0 ;
11214 PyObject
* obj3
= 0 ;
11215 PyObject
* obj4
= 0 ;
11216 char *kwnames
[] = {
11217 (char *) "self",(char *) "pt",(char *) "sz",(char *) "sa",(char *) "ea", NULL
11220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11228 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11231 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 Py_INCREF(Py_None
); resultobj
= Py_None
;
11252 static PyObject
*_wrap_DC_DrawPointXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxDC
*arg1
= (wxDC
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "x",(char *) "y", NULL
11264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPointXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11267 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 (arg1
)->DrawPoint(arg2
,arg3
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 Py_INCREF(Py_None
); resultobj
= Py_None
;
11288 static PyObject
*_wrap_DC_DrawPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxDC
*arg1
= (wxDC
*) 0 ;
11291 wxPoint
*arg2
= 0 ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self",(char *) "pt", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 Py_INCREF(Py_None
); resultobj
= Py_None
;
11319 static PyObject
*_wrap_DC_DrawRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxDC
*arg1
= (wxDC
*) 0 ;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 PyObject
* obj2
= 0 ;
11329 PyObject
* obj3
= 0 ;
11330 PyObject
* obj4
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11338 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 wxDC
*arg1
= (wxDC
*) 0 ;
11370 wxPoint
*arg2
= 0 ;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 PyObject
* obj2
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "pt",(char *) "sz", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11389 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 Py_INCREF(Py_None
); resultobj
= Py_None
;
11405 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxDC
*arg1
= (wxDC
*) 0 ;
11410 PyObject
* obj0
= 0 ;
11411 PyObject
* obj1
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "rect", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11420 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 Py_INCREF(Py_None
); resultobj
= Py_None
;
11436 static PyObject
*_wrap_DC_DrawRoundedRectangleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxDC
*arg1
= (wxDC
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 PyObject
* obj2
= 0 ;
11447 PyObject
* obj3
= 0 ;
11448 PyObject
* obj4
= 0 ;
11449 PyObject
* obj5
= 0 ;
11450 char *kwnames
[] = {
11451 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11457 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11473 arg6
= (double) SWIG_PyObj_AsDouble(obj5
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 Py_INCREF(Py_None
); resultobj
= Py_None
;
11490 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxDC
*arg1
= (wxDC
*) 0 ;
11493 wxPoint
*arg2
= 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 PyObject
* obj2
= 0 ;
11501 PyObject
* obj3
= 0 ;
11502 char *kwnames
[] = {
11503 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11514 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11517 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 Py_INCREF(Py_None
); resultobj
= Py_None
;
11534 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
;
11536 wxDC
*arg1
= (wxDC
*) 0 ;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 PyObject
* obj2
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self",(char *) "r",(char *) "radius", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11551 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11554 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 Py_INCREF(Py_None
); resultobj
= Py_None
;
11571 static PyObject
*_wrap_DC_DrawCircleXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxDC
*arg1
= (wxDC
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 PyObject
* obj2
= 0 ;
11580 PyObject
* obj3
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircleXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11588 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 Py_INCREF(Py_None
); resultobj
= Py_None
;
11613 static PyObject
*_wrap_DC_DrawCircle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxDC
*arg1
= (wxDC
*) 0 ;
11616 wxPoint
*arg2
= 0 ;
11619 PyObject
* obj0
= 0 ;
11620 PyObject
* obj1
= 0 ;
11621 PyObject
* obj2
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self",(char *) "pt",(char *) "radius", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11633 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 Py_INCREF(Py_None
); resultobj
= Py_None
;
11650 static PyObject
*_wrap_DC_DrawEllipseXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxDC
*arg1
= (wxDC
*) 0 ;
11657 PyObject
* obj0
= 0 ;
11658 PyObject
* obj1
= 0 ;
11659 PyObject
* obj2
= 0 ;
11660 PyObject
* obj3
= 0 ;
11661 PyObject
* obj4
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipseXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11669 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11677 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11681 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 Py_INCREF(Py_None
); resultobj
= Py_None
;
11698 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxDC
*arg1
= (wxDC
*) 0 ;
11701 wxPoint
*arg2
= 0 ;
11705 PyObject
* obj0
= 0 ;
11706 PyObject
* obj1
= 0 ;
11707 PyObject
* obj2
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self",(char *) "pt",(char *) "sz", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11720 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 Py_INCREF(Py_None
); resultobj
= Py_None
;
11736 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
;
11738 wxDC
*arg1
= (wxDC
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 PyObject
* obj1
= 0 ;
11743 char *kwnames
[] = {
11744 (char *) "self",(char *) "rect", NULL
11747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11751 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 Py_INCREF(Py_None
); resultobj
= Py_None
;
11767 static PyObject
*_wrap_DC_DrawIconXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxDC
*arg1
= (wxDC
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 PyObject
* obj1
= 0 ;
11775 PyObject
* obj2
= 0 ;
11776 PyObject
* obj3
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIconXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11784 if (arg2
== NULL
) {
11785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11788 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11792 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11793 if (PyErr_Occurred()) SWIG_fail
;
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11802 Py_INCREF(Py_None
); resultobj
= Py_None
;
11809 static PyObject
*_wrap_DC_DrawIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxDC
*arg1
= (wxDC
*) 0 ;
11813 wxPoint
*arg3
= 0 ;
11815 PyObject
* obj0
= 0 ;
11816 PyObject
* obj1
= 0 ;
11817 PyObject
* obj2
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self",(char *) "icon",(char *) "pt", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11824 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11825 if (arg2
== NULL
) {
11826 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11830 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 Py_INCREF(Py_None
); resultobj
= Py_None
;
11846 static PyObject
*_wrap_DC_DrawBitmapXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxDC
*arg1
= (wxDC
*) 0 ;
11849 wxBitmap
*arg2
= 0 ;
11852 bool arg5
= (bool) False
;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 PyObject
* obj2
= 0 ;
11856 PyObject
* obj3
= 0 ;
11857 PyObject
* obj4
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmapXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11864 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11865 if (arg2
== NULL
) {
11866 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11869 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11878 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 Py_INCREF(Py_None
); resultobj
= Py_None
;
11896 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
;
11898 wxDC
*arg1
= (wxDC
*) 0 ;
11899 wxBitmap
*arg2
= 0 ;
11900 wxPoint
*arg3
= 0 ;
11901 bool arg4
= (bool) False
;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 PyObject
* obj2
= 0 ;
11906 PyObject
* obj3
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11914 if (arg2
== NULL
) {
11915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11919 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11923 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 Py_INCREF(Py_None
); resultobj
= Py_None
;
11941 static PyObject
*_wrap_DC_DrawTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxDC
*arg1
= (wxDC
*) 0 ;
11944 wxString
*arg2
= 0 ;
11947 bool temp2
= False
;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 PyObject
* obj2
= 0 ;
11951 PyObject
* obj3
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11959 arg2
= wxString_in_helper(obj1
);
11960 if (arg2
== NULL
) SWIG_fail
;
11964 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 Py_INCREF(Py_None
); resultobj
= Py_None
;
11993 static PyObject
*_wrap_DC_DrawText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxDC
*arg1
= (wxDC
*) 0 ;
11996 wxString
*arg2
= 0 ;
11997 wxPoint
*arg3
= 0 ;
11998 bool temp2
= False
;
12000 PyObject
* obj0
= 0 ;
12001 PyObject
* obj1
= 0 ;
12002 PyObject
* obj2
= 0 ;
12003 char *kwnames
[] = {
12004 (char *) "self",(char *) "text",(char *) "pt", NULL
12007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12010 arg2
= wxString_in_helper(obj1
);
12011 if (arg2
== NULL
) SWIG_fail
;
12016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 Py_INCREF(Py_None
); resultobj
= Py_None
;
12040 static PyObject
*_wrap_DC_DrawRotatedTextXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxDC
*arg1
= (wxDC
*) 0 ;
12043 wxString
*arg2
= 0 ;
12047 bool temp2
= False
;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 PyObject
* obj2
= 0 ;
12051 PyObject
* obj3
= 0 ;
12052 PyObject
* obj4
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedTextXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12060 arg2
= wxString_in_helper(obj1
);
12061 if (arg2
== NULL
) SWIG_fail
;
12065 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12069 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12073 arg5
= (double) SWIG_PyObj_AsDouble(obj4
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 Py_INCREF(Py_None
); resultobj
= Py_None
;
12098 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxDC
*arg1
= (wxDC
*) 0 ;
12101 wxString
*arg2
= 0 ;
12102 wxPoint
*arg3
= 0 ;
12104 bool temp2
= False
;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 PyObject
* obj2
= 0 ;
12109 PyObject
* obj3
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12117 arg2
= wxString_in_helper(obj1
);
12118 if (arg2
== NULL
) SWIG_fail
;
12123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12126 arg4
= (double) SWIG_PyObj_AsDouble(obj3
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12136 Py_INCREF(Py_None
); resultobj
= Py_None
;
12151 static PyObject
*_wrap_DC_BlitXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxDC
*arg1
= (wxDC
*) 0 ;
12158 wxDC
*arg6
= (wxDC
*) 0 ;
12161 int arg9
= (int) wxCOPY
;
12162 bool arg10
= (bool) False
;
12163 int arg11
= (int) -1 ;
12164 int arg12
= (int) -1 ;
12166 PyObject
* obj0
= 0 ;
12167 PyObject
* obj1
= 0 ;
12168 PyObject
* obj2
= 0 ;
12169 PyObject
* obj3
= 0 ;
12170 PyObject
* obj4
= 0 ;
12171 PyObject
* obj5
= 0 ;
12172 PyObject
* obj6
= 0 ;
12173 PyObject
* obj7
= 0 ;
12174 PyObject
* obj8
= 0 ;
12175 PyObject
* obj9
= 0 ;
12176 PyObject
* obj10
= 0 ;
12177 PyObject
* obj11
= 0 ;
12178 char *kwnames
[] = {
12179 (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
12182 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
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12185 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12189 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12193 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12197 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12202 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12206 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12211 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12217 arg10
= (bool) SWIG_PyObj_AsBool(obj9
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12223 arg11
= (int) SWIG_PyObj_AsInt(obj10
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12229 arg12
= (int) SWIG_PyObj_AsInt(obj11
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12247 static PyObject
*_wrap_DC_Blit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxDC
*arg1
= (wxDC
*) 0 ;
12250 wxPoint
*arg2
= 0 ;
12252 wxDC
*arg4
= (wxDC
*) 0 ;
12253 wxPoint
*arg5
= 0 ;
12254 int arg6
= (int) wxCOPY
;
12255 bool arg7
= (bool) False
;
12256 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12257 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 PyObject
* obj2
= 0 ;
12266 PyObject
* obj3
= 0 ;
12267 PyObject
* obj4
= 0 ;
12268 PyObject
* obj5
= 0 ;
12269 PyObject
* obj6
= 0 ;
12270 PyObject
* obj7
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12279 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12283 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12285 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12288 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12292 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12298 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12305 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12322 static PyObject
*_wrap_DC_DrawLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
;
12324 wxDC
*arg1
= (wxDC
*) 0 ;
12326 wxPoint
*arg3
= (wxPoint
*) 0 ;
12327 int arg4
= (int) 0 ;
12328 int arg5
= (int) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 PyObject
* obj1
= 0 ;
12331 PyObject
* obj2
= 0 ;
12332 PyObject
* obj3
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12340 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12341 if (arg3
== NULL
) SWIG_fail
;
12345 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12351 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 Py_INCREF(Py_None
); resultobj
= Py_None
;
12364 if (arg3
) delete [] arg3
;
12369 if (arg3
) delete [] arg3
;
12375 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxDC
*arg1
= (wxDC
*) 0 ;
12379 wxPoint
*arg3
= (wxPoint
*) 0 ;
12380 int arg4
= (int) 0 ;
12381 int arg5
= (int) 0 ;
12382 int arg6
= (int) wxODDEVEN_RULE
;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 PyObject
* obj2
= 0 ;
12386 PyObject
* obj3
= 0 ;
12387 PyObject
* obj4
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12395 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12396 if (arg3
== NULL
) SWIG_fail
;
12400 arg4
= (int) SWIG_PyObj_AsInt(obj2
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12406 arg5
= (int) SWIG_PyObj_AsInt(obj3
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12412 arg6
= (int) SWIG_PyObj_AsInt(obj4
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 Py_INCREF(Py_None
); resultobj
= Py_None
;
12425 if (arg3
) delete [] arg3
;
12430 if (arg3
) delete [] arg3
;
12436 static PyObject
*_wrap_DC_DrawLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxDC
*arg1
= (wxDC
*) 0 ;
12439 wxString
*arg2
= 0 ;
12441 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12442 int arg5
= (int) -1 ;
12443 bool temp2
= False
;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 PyObject
* obj2
= 0 ;
12448 PyObject
* obj3
= 0 ;
12449 PyObject
* obj4
= 0 ;
12450 char *kwnames
[] = {
12451 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12457 arg2
= wxString_in_helper(obj1
);
12458 if (arg2
== NULL
) SWIG_fail
;
12463 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12467 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12473 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxDC
*arg1
= (wxDC
*) 0 ;
12502 wxString
*arg2
= 0 ;
12503 wxBitmap
*arg3
= 0 ;
12505 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12506 int arg6
= (int) -1 ;
12508 bool temp2
= False
;
12510 PyObject
* obj0
= 0 ;
12511 PyObject
* obj1
= 0 ;
12512 PyObject
* obj2
= 0 ;
12513 PyObject
* obj3
= 0 ;
12514 PyObject
* obj4
= 0 ;
12515 PyObject
* obj5
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12523 arg2
= wxString_in_helper(obj1
);
12524 if (arg2
== NULL
) SWIG_fail
;
12527 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12528 if (arg3
== NULL
) {
12529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12533 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12537 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12543 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12555 wxRect
* resultptr
;
12556 resultptr
= new wxRect((wxRect
&) result
);
12557 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
12573 static PyObject
*_wrap_DC_DrawSpline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxDC
*arg1
= (wxDC
*) 0 ;
12577 wxPoint
*arg3
= (wxPoint
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char *kwnames
[] = {
12581 (char *) "self",(char *) "points", NULL
12584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12587 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12588 if (arg3
== NULL
) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->DrawSpline(arg2
,arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 Py_INCREF(Py_None
); resultobj
= Py_None
;
12599 if (arg3
) delete [] arg3
;
12604 if (arg3
) delete [] arg3
;
12610 static PyObject
*_wrap_DC_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxDC
*arg1
= (wxDC
*) 0 ;
12613 PyObject
* obj0
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 Py_INCREF(Py_None
); resultobj
= Py_None
;
12634 static PyObject
*_wrap_DC_StartDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxDC
*arg1
= (wxDC
*) 0 ;
12637 wxString
*arg2
= 0 ;
12639 bool temp2
= False
;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "message", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12649 arg2
= wxString_in_helper(obj1
);
12650 if (arg2
== NULL
) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12675 static PyObject
*_wrap_DC_EndDoc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
;
12677 wxDC
*arg1
= (wxDC
*) 0 ;
12678 PyObject
* obj0
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_DC_StartPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxDC
*arg1
= (wxDC
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 (arg1
)->StartPage();
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 Py_INCREF(Py_None
); resultobj
= Py_None
;
12723 static PyObject
*_wrap_DC_EndPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxDC
*arg1
= (wxDC
*) 0 ;
12726 PyObject
* obj0
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12740 Py_INCREF(Py_None
); resultobj
= Py_None
;
12747 static PyObject
*_wrap_DC_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxDC
*arg1
= (wxDC
*) 0 ;
12751 PyObject
* obj0
= 0 ;
12752 PyObject
* obj1
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self",(char *) "font", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12759 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12760 if (arg2
== NULL
) {
12761 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->SetFont((wxFont
const &)*arg2
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 Py_INCREF(Py_None
); resultobj
= Py_None
;
12777 static PyObject
*_wrap_DC_SetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
;
12779 wxDC
*arg1
= (wxDC
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self",(char *) "pen", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12789 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12790 if (arg2
== NULL
) {
12791 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 (arg1
)->SetPen((wxPen
const &)*arg2
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 Py_INCREF(Py_None
); resultobj
= Py_None
;
12807 static PyObject
*_wrap_DC_SetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxDC
*arg1
= (wxDC
*) 0 ;
12810 wxBrush
*arg2
= 0 ;
12811 PyObject
* obj0
= 0 ;
12812 PyObject
* obj1
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self",(char *) "brush", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12820 if (arg2
== NULL
) {
12821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 Py_INCREF(Py_None
); resultobj
= Py_None
;
12837 static PyObject
*_wrap_DC_SetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxDC
*arg1
= (wxDC
*) 0 ;
12840 wxBrush
*arg2
= 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self",(char *) "brush", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12850 if (arg2
== NULL
) {
12851 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 Py_INCREF(Py_None
); resultobj
= Py_None
;
12867 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxDC
*arg1
= (wxDC
*) 0 ;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "mode", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12880 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetBackgroundMode(arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_DC_SetPalette(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxDC
*arg1
= (wxDC
*) 0 ;
12900 wxPalette
*arg2
= 0 ;
12901 PyObject
* obj0
= 0 ;
12902 PyObject
* obj1
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self",(char *) "palette", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPalette
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12910 if (arg2
== NULL
) {
12911 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 Py_INCREF(Py_None
); resultobj
= Py_None
;
12927 static PyObject
*_wrap_DC_SetClippingRegionXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxDC
*arg1
= (wxDC
*) 0 ;
12934 PyObject
* obj0
= 0 ;
12935 PyObject
* obj1
= 0 ;
12936 PyObject
* obj2
= 0 ;
12937 PyObject
* obj3
= 0 ;
12938 PyObject
* obj4
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegionXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12946 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12950 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12958 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 Py_INCREF(Py_None
); resultobj
= Py_None
;
12975 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxDC
*arg1
= (wxDC
*) 0 ;
12978 wxPoint
*arg2
= 0 ;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 PyObject
* obj2
= 0 ;
12985 char *kwnames
[] = {
12986 (char *) "self",(char *) "pt",(char *) "sz", NULL
12989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12997 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 Py_INCREF(Py_None
); resultobj
= Py_None
;
13013 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxDC
*arg1
= (wxDC
*) 0 ;
13018 PyObject
* obj0
= 0 ;
13019 PyObject
* obj1
= 0 ;
13020 char *kwnames
[] = {
13021 (char *) "self",(char *) "rect", NULL
13024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
13025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13028 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 Py_INCREF(Py_None
); resultobj
= Py_None
;
13044 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxDC
*arg1
= (wxDC
*) 0 ;
13047 wxRegion
*arg2
= 0 ;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self",(char *) "region", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13056 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRegion
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13057 if (arg2
== NULL
) {
13058 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxDC
*arg1
= (wxDC
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 (arg1
)->DestroyClippingRegion();
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 Py_INCREF(Py_None
); resultobj
= Py_None
;
13098 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13100 wxDC
*arg1
= (wxDC
*) 0 ;
13101 int *arg2
= (int *) 0 ;
13102 int *arg3
= (int *) 0 ;
13103 int *arg4
= (int *) 0 ;
13104 int *arg5
= (int *) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 Py_INCREF(Py_None
); resultobj
= Py_None
;
13129 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13130 resultobj
= t_output_helper(resultobj
,o
);
13133 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13134 resultobj
= t_output_helper(resultobj
,o
);
13137 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13138 resultobj
= t_output_helper(resultobj
,o
);
13141 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13142 resultobj
= t_output_helper(resultobj
,o
);
13150 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxDC
*arg1
= (wxDC
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= wxDC_GetClippingRect(arg1
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13169 wxRect
* resultptr
;
13170 resultptr
= new wxRect((wxRect
&) result
);
13171 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
13179 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxDC
*arg1
= (wxDC
*) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 char *kwnames
[] = {
13185 (char *) "self", NULL
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= SWIG_PyObj_FromInt((int)result
);
13204 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxDC
*arg1
= (wxDC
*) 0 ;
13208 PyObject
* obj0
= 0 ;
13209 char *kwnames
[] = {
13210 (char *) "self", NULL
13213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_PyObj_FromInt((int)result
);
13229 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxDC
*arg1
= (wxDC
*) 0 ;
13232 wxString
*arg2
= 0 ;
13233 int *arg3
= (int *) 0 ;
13234 int *arg4
= (int *) 0 ;
13235 bool temp2
= False
;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self",(char *) "string", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13249 arg2
= wxString_in_helper(obj1
);
13250 if (arg2
== NULL
) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 Py_INCREF(Py_None
); resultobj
= Py_None
;
13262 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13263 resultobj
= t_output_helper(resultobj
,o
);
13266 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13267 resultobj
= t_output_helper(resultobj
,o
);
13283 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxDC
*arg1
= (wxDC
*) 0 ;
13286 wxString
*arg2
= 0 ;
13287 int *arg3
= (int *) 0 ;
13288 int *arg4
= (int *) 0 ;
13289 int *arg5
= (int *) 0 ;
13290 int *arg6
= (int *) 0 ;
13291 wxFont
*arg7
= (wxFont
*) NULL
;
13292 bool temp2
= False
;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 PyObject
* obj2
= 0 ;
13300 char *kwnames
[] = {
13301 (char *) "self",(char *) "string",(char *) "font", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13311 arg2
= wxString_in_helper(obj1
);
13312 if (arg2
== NULL
) SWIG_fail
;
13316 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 Py_INCREF(Py_None
); resultobj
= Py_None
;
13327 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13328 resultobj
= t_output_helper(resultobj
,o
);
13331 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13332 resultobj
= t_output_helper(resultobj
,o
);
13335 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13336 resultobj
= t_output_helper(resultobj
,o
);
13339 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
13340 resultobj
= t_output_helper(resultobj
,o
);
13356 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxDC
*arg1
= (wxDC
*) 0 ;
13359 wxString
*arg2
= 0 ;
13360 int *arg3
= (int *) 0 ;
13361 int *arg4
= (int *) 0 ;
13362 int *arg5
= (int *) 0 ;
13363 wxFont
*arg6
= (wxFont
*) NULL
;
13364 bool temp2
= False
;
13368 PyObject
* obj0
= 0 ;
13369 PyObject
* obj1
= 0 ;
13370 PyObject
* obj2
= 0 ;
13371 char *kwnames
[] = {
13372 (char *) "self",(char *) "text",(char *) "font", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13381 arg2
= wxString_in_helper(obj1
);
13382 if (arg2
== NULL
) SWIG_fail
;
13386 if ((SWIG_ConvertPtr(obj2
,(void **) &arg6
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 Py_INCREF(Py_None
); resultobj
= Py_None
;
13397 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13398 resultobj
= t_output_helper(resultobj
,o
);
13401 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
13402 resultobj
= t_output_helper(resultobj
,o
);
13405 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
13406 resultobj
= t_output_helper(resultobj
,o
);
13422 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxDC
*arg1
= (wxDC
*) 0 ;
13425 wxString
*arg2
= 0 ;
13427 bool temp2
= False
;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self",(char *) "text", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13437 arg2
= wxString_in_helper(obj1
);
13438 if (arg2
== NULL
) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= PyList_New(0);
13451 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13452 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13453 PyList_Append(resultobj
, val
);
13471 static PyObject
*_wrap_DC_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxDC
*arg1
= (wxDC
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (arg1
)->GetSize();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 wxSize
* resultptr
;
13491 resultptr
= new wxSize((wxSize
&) result
);
13492 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13500 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13501 PyObject
*resultobj
;
13502 wxDC
*arg1
= (wxDC
*) 0 ;
13503 int *arg2
= (int *) 0 ;
13504 int *arg3
= (int *) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 (arg1
)->GetSize(arg2
,arg3
);
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 Py_INCREF(Py_None
); resultobj
= Py_None
;
13525 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13526 resultobj
= t_output_helper(resultobj
,o
);
13529 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13530 resultobj
= t_output_helper(resultobj
,o
);
13538 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxDC
*arg1
= (wxDC
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 wxSize
* resultptr
;
13558 resultptr
= new wxSize((wxSize
&) result
);
13559 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13567 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxDC
*arg1
= (wxDC
*) 0 ;
13570 int *arg2
= (int *) 0 ;
13571 int *arg3
= (int *) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13587 wxPyEndAllowThreads(__tstate
);
13588 if (PyErr_Occurred()) SWIG_fail
;
13590 Py_INCREF(Py_None
); resultobj
= Py_None
;
13592 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13593 resultobj
= t_output_helper(resultobj
,o
);
13596 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13597 resultobj
= t_output_helper(resultobj
,o
);
13605 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxDC
*arg1
= (wxDC
*) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "x", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13619 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= SWIG_PyObj_FromInt((int)result
);
13636 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxDC
*arg1
= (wxDC
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 PyObject
* obj1
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "self",(char *) "y", NULL
13647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13650 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= SWIG_PyObj_FromInt((int)result
);
13667 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
;
13669 wxDC
*arg1
= (wxDC
*) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 PyObject
* obj1
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self",(char *) "x", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13681 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_PyObj_FromInt((int)result
);
13698 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxDC
*arg1
= (wxDC
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "y", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= SWIG_PyObj_FromInt((int)result
);
13729 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxDC
*arg1
= (wxDC
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "x", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13743 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_PyObj_FromInt((int)result
);
13760 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 wxDC
*arg1
= (wxDC
*) 0 ;
13765 PyObject
* obj0
= 0 ;
13766 PyObject
* obj1
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self",(char *) "y", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13774 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 resultobj
= SWIG_PyObj_FromInt((int)result
);
13791 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxDC
*arg1
= (wxDC
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "x", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13805 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_PyObj_FromInt((int)result
);
13822 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxDC
*arg1
= (wxDC
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self",(char *) "y", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13836 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_PyObj_FromInt((int)result
);
13853 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13854 PyObject
*resultobj
;
13855 wxDC
*arg1
= (wxDC
*) 0 ;
13857 PyObject
* obj0
= 0 ;
13858 char *kwnames
[] = {
13859 (char *) "self", NULL
13862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13878 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxDC
*arg1
= (wxDC
*) 0 ;
13882 PyObject
* obj0
= 0 ;
13883 char *kwnames
[] = {
13884 (char *) "self", NULL
13887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13903 static PyObject
*_wrap_DC_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxDC
*arg1
= (wxDC
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_PyObj_FromInt((int)result
);
13928 static PyObject
*_wrap_DC_GetPPI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxDC
*arg1
= (wxDC
*) 0 ;
13932 PyObject
* obj0
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "self", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= ((wxDC
const *)arg1
)->GetPPI();
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13947 wxSize
* resultptr
;
13948 resultptr
= new wxSize((wxSize
&) result
);
13949 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13957 static PyObject
*_wrap_DC_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxDC
*arg1
= (wxDC
*) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 char *kwnames
[] = {
13963 (char *) "self", NULL
13966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (bool)((wxDC
const *)arg1
)->Ok();
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13982 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
;
13984 wxDC
*arg1
= (wxDC
*) 0 ;
13986 PyObject
* obj0
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_PyObj_FromInt((int)result
);
14007 static PyObject
*_wrap_DC_GetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxDC
*arg1
= (wxDC
*) 0 ;
14011 PyObject
* obj0
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14022 result
= (wxBrush
*) &_result_ref
;
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
14035 static PyObject
*_wrap_DC_GetBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxDC
*arg1
= (wxDC
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14050 result
= (wxBrush
*) &_result_ref
;
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
14063 static PyObject
*_wrap_DC_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxDC
*arg1
= (wxDC
*) 0 ;
14067 PyObject
* obj0
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14078 result
= (wxFont
*) &_result_ref
;
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
14091 static PyObject
*_wrap_DC_GetPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxDC
*arg1
= (wxDC
*) 0 ;
14095 PyObject
* obj0
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14105 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14106 result
= (wxPen
*) &_result_ref
;
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
14119 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxDC
*arg1
= (wxDC
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14134 result
= (wxColour
*) &_result_ref
;
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
14147 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
;
14149 wxDC
*arg1
= (wxDC
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 char *kwnames
[] = {
14153 (char *) "self", NULL
14156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14162 result
= (wxColour
*) &_result_ref
;
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
14175 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxDC
*arg1
= (wxDC
*) 0 ;
14178 wxColour
*arg2
= 0 ;
14180 PyObject
* obj0
= 0 ;
14181 PyObject
* obj1
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self",(char *) "colour", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14199 Py_INCREF(Py_None
); resultobj
= Py_None
;
14206 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxDC
*arg1
= (wxDC
*) 0 ;
14209 wxColour
*arg2
= 0 ;
14211 PyObject
* obj0
= 0 ;
14212 PyObject
* obj1
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self",(char *) "colour", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 Py_INCREF(Py_None
); resultobj
= Py_None
;
14237 static PyObject
*_wrap_DC_GetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxDC
*arg1
= (wxDC
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_PyObj_FromInt((int)result
);
14262 static PyObject
*_wrap_DC_SetMapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxDC
*arg1
= (wxDC
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 PyObject
* obj1
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self",(char *) "mode", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14275 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 (arg1
)->SetMapMode(arg2
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 Py_INCREF(Py_None
); resultobj
= Py_None
;
14292 static PyObject
*_wrap_DC_GetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxDC
*arg1
= (wxDC
*) 0 ;
14295 double *arg2
= (double *) 0 ;
14296 double *arg3
= (double *) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 Py_INCREF(Py_None
); resultobj
= Py_None
;
14317 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14318 resultobj
= t_output_helper(resultobj
,o
);
14321 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14322 resultobj
= t_output_helper(resultobj
,o
);
14330 static PyObject
*_wrap_DC_SetUserScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxDC
*arg1
= (wxDC
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 PyObject
* obj2
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self",(char *) "x",(char *) "y", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14345 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14349 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 (arg1
)->SetUserScale(arg2
,arg3
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxDC
*arg1
= (wxDC
*) 0 ;
14369 double *arg2
= (double *) 0 ;
14370 double *arg3
= (double *) 0 ;
14373 PyObject
* obj0
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 (arg1
)->GetLogicalScale(arg2
,arg3
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14391 PyObject
*o
= PyFloat_FromDouble((double) (*arg2
));
14392 resultobj
= t_output_helper(resultobj
,o
);
14395 PyObject
*o
= PyFloat_FromDouble((double) (*arg3
));
14396 resultobj
= t_output_helper(resultobj
,o
);
14404 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxDC
*arg1
= (wxDC
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 PyObject
* obj1
= 0 ;
14411 PyObject
* obj2
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self",(char *) "x",(char *) "y", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14419 arg2
= (double) SWIG_PyObj_AsDouble(obj1
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 arg3
= (double) SWIG_PyObj_AsDouble(obj2
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 (arg1
)->SetLogicalScale(arg2
,arg3
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 Py_INCREF(Py_None
); resultobj
= Py_None
;
14440 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxDC
*arg1
= (wxDC
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 wxPoint
* resultptr
;
14460 resultptr
= new wxPoint((wxPoint
&) result
);
14461 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14469 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxDC
*arg1
= (wxDC
*) 0 ;
14472 int *arg2
= (int *) 0 ;
14473 int *arg3
= (int *) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 char *kwnames
[] = {
14478 (char *) "self", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14492 Py_INCREF(Py_None
); resultobj
= Py_None
;
14494 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14495 resultobj
= t_output_helper(resultobj
,o
);
14498 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14499 resultobj
= t_output_helper(resultobj
,o
);
14507 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxDC
*arg1
= (wxDC
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 PyObject
* obj2
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self",(char *) "x",(char *) "y", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14522 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14526 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 Py_INCREF(Py_None
); resultobj
= Py_None
;
14543 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxDC
*arg1
= (wxDC
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14562 wxPoint
* resultptr
;
14563 resultptr
= new wxPoint((wxPoint
&) result
);
14564 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14572 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxDC
*arg1
= (wxDC
*) 0 ;
14575 int *arg2
= (int *) 0 ;
14576 int *arg3
= (int *) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 Py_INCREF(Py_None
); resultobj
= Py_None
;
14597 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14598 resultobj
= t_output_helper(resultobj
,o
);
14601 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14602 resultobj
= t_output_helper(resultobj
,o
);
14610 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxDC
*arg1
= (wxDC
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 PyObject
* obj2
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "self",(char *) "x",(char *) "y", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14625 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14629 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 Py_INCREF(Py_None
); resultobj
= Py_None
;
14646 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxDC
*arg1
= (wxDC
*) 0 ;
14651 PyObject
* obj0
= 0 ;
14652 PyObject
* obj1
= 0 ;
14653 PyObject
* obj2
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14661 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 Py_INCREF(Py_None
); resultobj
= Py_None
;
14682 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxDC
*arg1
= (wxDC
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= SWIG_PyObj_FromInt((int)result
);
14707 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxDC
*arg1
= (wxDC
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "function", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14720 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 (arg1
)->SetLogicalFunction(arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 Py_INCREF(Py_None
); resultobj
= Py_None
;
14737 static PyObject
*_wrap_DC_SetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxDC
*arg1
= (wxDC
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "opt", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14750 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 (arg1
)->SetOptimization(arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 Py_INCREF(Py_None
); resultobj
= Py_None
;
14767 static PyObject
*_wrap_DC_GetOptimization(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxDC
*arg1
= (wxDC
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (bool)(arg1
)->GetOptimization();
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14792 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxDC
*arg1
= (wxDC
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 PyObject
* obj2
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self",(char *) "x",(char *) "y", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 Py_INCREF(Py_None
); resultobj
= Py_None
;
14828 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxDC
*arg1
= (wxDC
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 (arg1
)->ResetBoundingBox();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 Py_INCREF(Py_None
); resultobj
= Py_None
;
14852 static PyObject
*_wrap_DC_MinX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxDC
*arg1
= (wxDC
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 result
= (int)((wxDC
const *)arg1
)->MinX();
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= SWIG_PyObj_FromInt((int)result
);
14877 static PyObject
*_wrap_DC_MaxX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14878 PyObject
*resultobj
;
14879 wxDC
*arg1
= (wxDC
*) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (int)((wxDC
const *)arg1
)->MaxX();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_PyObj_FromInt((int)result
);
14902 static PyObject
*_wrap_DC_MinY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxDC
*arg1
= (wxDC
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 result
= (int)((wxDC
const *)arg1
)->MinY();
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= SWIG_PyObj_FromInt((int)result
);
14927 static PyObject
*_wrap_DC_MaxY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxDC
*arg1
= (wxDC
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= (int)((wxDC
const *)arg1
)->MaxY();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_PyObj_FromInt((int)result
);
14952 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxDC
*arg1
= (wxDC
*) 0 ;
14955 int *arg2
= (int *) 0 ;
14956 int *arg3
= (int *) 0 ;
14957 int *arg4
= (int *) 0 ;
14958 int *arg5
= (int *) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14984 resultobj
= t_output_helper(resultobj
,o
);
14987 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14988 resultobj
= t_output_helper(resultobj
,o
);
14991 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
14992 resultobj
= t_output_helper(resultobj
,o
);
14995 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
14996 resultobj
= t_output_helper(resultobj
,o
);
15004 static PyObject
*_wrap_DC__DrawPointList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxDC
*arg1
= (wxDC
*) 0 ;
15007 PyObject
*arg2
= (PyObject
*) 0 ;
15008 PyObject
*arg3
= (PyObject
*) 0 ;
15009 PyObject
*arg4
= (PyObject
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 PyObject
* obj2
= 0 ;
15014 PyObject
* obj3
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= result
;
15038 static PyObject
*_wrap_DC__DrawLineList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15039 PyObject
*resultobj
;
15040 wxDC
*arg1
= (wxDC
*) 0 ;
15041 PyObject
*arg2
= (PyObject
*) 0 ;
15042 PyObject
*arg3
= (PyObject
*) 0 ;
15043 PyObject
*arg4
= (PyObject
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 PyObject
* obj1
= 0 ;
15047 PyObject
* obj2
= 0 ;
15048 PyObject
* obj3
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
;
15072 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxDC
*arg1
= (wxDC
*) 0 ;
15075 PyObject
*arg2
= (PyObject
*) 0 ;
15076 PyObject
*arg3
= (PyObject
*) 0 ;
15077 PyObject
*arg4
= (PyObject
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 PyObject
* obj2
= 0 ;
15082 PyObject
* obj3
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= result
;
15106 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
;
15108 wxDC
*arg1
= (wxDC
*) 0 ;
15109 PyObject
*arg2
= (PyObject
*) 0 ;
15110 PyObject
*arg3
= (PyObject
*) 0 ;
15111 PyObject
*arg4
= (PyObject
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 PyObject
* obj2
= 0 ;
15116 PyObject
* obj3
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= result
;
15140 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxDC
*arg1
= (wxDC
*) 0 ;
15143 PyObject
*arg2
= (PyObject
*) 0 ;
15144 PyObject
*arg3
= (PyObject
*) 0 ;
15145 PyObject
*arg4
= (PyObject
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 PyObject
* obj2
= 0 ;
15150 PyObject
* obj3
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= result
;
15174 static PyObject
*_wrap_DC__DrawTextList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxDC
*arg1
= (wxDC
*) 0 ;
15177 PyObject
*arg2
= (PyObject
*) 0 ;
15178 PyObject
*arg3
= (PyObject
*) 0 ;
15179 PyObject
*arg4
= (PyObject
*) 0 ;
15180 PyObject
*arg5
= (PyObject
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 PyObject
* obj2
= 0 ;
15185 PyObject
* obj3
= 0 ;
15186 PyObject
* obj4
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= result
;
15211 static PyObject
* DC_swigregister(PyObject
*self
, PyObject
*args
) {
15213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15214 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15216 return Py_BuildValue((char *)"");
15218 static PyObject
*_wrap_new_MemoryDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15220 wxMemoryDC
*result
;
15221 char *kwnames
[] = {
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 result
= (wxMemoryDC
*)new wxMemoryDC();
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
15240 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxDC
*arg1
= (wxDC
*) 0 ;
15243 wxMemoryDC
*result
;
15244 PyObject
* obj0
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "oldDC", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryDC
, 1);
15265 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
;
15267 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15268 wxBitmap
*arg2
= 0 ;
15269 PyObject
* obj0
= 0 ;
15270 PyObject
* obj1
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self",(char *) "bitmap", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15277 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15278 if (arg2
== NULL
) {
15279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 Py_INCREF(Py_None
); resultobj
= Py_None
;
15295 static PyObject
* MemoryDC_swigregister(PyObject
*self
, PyObject
*args
) {
15297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15298 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15300 return Py_BuildValue((char *)"");
15302 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*self
, PyObject
*args
) {
15303 PyObject
*resultobj
;
15304 wxDC
*arg1
= (wxDC
*) 0 ;
15305 wxBitmap
*arg2
= 0 ;
15306 wxBufferedDC
*result
;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15310 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15313 if (arg2
== NULL
) {
15314 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
15330 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*self
, PyObject
*args
) {
15331 PyObject
*resultobj
;
15332 wxDC
*arg1
= (wxDC
*) 0 ;
15334 wxBufferedDC
*result
;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15339 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15343 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
15359 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15364 argc
= PyObject_Length(args
);
15365 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15366 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15372 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15382 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15390 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15398 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15407 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15410 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15415 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15420 static PyObject
*_wrap_new_BufferedDCInternalBuffer(PyObject
*self
, PyObject
*args
) {
15421 PyObject
*resultobj
;
15422 wxDC
*arg1
= (wxDC
*) 0 ;
15424 wxBufferedDC
*result
;
15426 PyObject
* obj0
= 0 ;
15427 PyObject
* obj1
= 0 ;
15429 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDCInternalBuffer",&obj0
,&obj1
)) goto fail
;
15430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15433 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedDC
, 1);
15449 static PyObject
*_wrap_delete_BufferedDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 Py_INCREF(Py_None
); resultobj
= Py_None
;
15473 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBufferedDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 Py_INCREF(Py_None
); resultobj
= Py_None
;
15497 static PyObject
* BufferedDC_swigregister(PyObject
*self
, PyObject
*args
) {
15499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15500 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15502 return Py_BuildValue((char *)"");
15504 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxWindow
*arg1
= (wxWindow
*) 0 ;
15507 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15508 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15509 wxBufferedPaintDC
*result
;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "window",(char *) "buffer", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15520 if (arg2
== NULL
) {
15521 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBufferedPaintDC
, 1);
15538 static PyObject
* BufferedPaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15541 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15543 return Py_BuildValue((char *)"");
15545 static PyObject
*_wrap_new_ScreenDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxScreenDC
*result
;
15548 char *kwnames
[] = {
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (wxScreenDC
*)new wxScreenDC();
15557 wxPyEndAllowThreads(__tstate
);
15558 if (PyErr_Occurred()) SWIG_fail
;
15560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScreenDC
, 1);
15567 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15568 PyObject
*resultobj
;
15569 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15570 wxWindow
*arg2
= (wxWindow
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 PyObject
* obj1
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self",(char *) "window", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15595 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
;
15597 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15598 wxRect
*arg2
= (wxRect
*) NULL
;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "rect", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15625 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScreenDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (bool)(arg1
)->EndDrawingOnTop();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15650 static PyObject
* ScreenDC_swigregister(PyObject
*self
, PyObject
*args
) {
15652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15653 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15655 return Py_BuildValue((char *)"");
15657 static PyObject
*_wrap_new_ClientDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxWindow
*arg1
= (wxWindow
*) 0 ;
15660 wxClientDC
*result
;
15661 PyObject
* obj0
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "win", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (wxClientDC
*)new wxClientDC(arg1
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClientDC
, 1);
15682 static PyObject
* ClientDC_swigregister(PyObject
*self
, PyObject
*args
) {
15684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15685 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15687 return Py_BuildValue((char *)"");
15689 static PyObject
*_wrap_new_PaintDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxWindow
*arg1
= (wxWindow
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "win", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintDC
, 1);
15714 static PyObject
* PaintDC_swigregister(PyObject
*self
, PyObject
*args
) {
15716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15717 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15719 return Py_BuildValue((char *)"");
15721 static PyObject
*_wrap_new_WindowDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxWindow
*arg1
= (wxWindow
*) 0 ;
15724 wxWindowDC
*result
;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "win", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDC
, 1);
15746 static PyObject
* WindowDC_swigregister(PyObject
*self
, PyObject
*args
) {
15748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15749 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15751 return Py_BuildValue((char *)"");
15753 static PyObject
*_wrap_new_MirrorDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
;
15757 wxMirrorDC
*result
;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "dc",(char *) "mirror", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15766 if (arg1
== NULL
) {
15767 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15770 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMirrorDC
, 1);
15787 static PyObject
* MirrorDC_swigregister(PyObject
*self
, PyObject
*args
) {
15789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15790 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15792 return Py_BuildValue((char *)"");
15794 static PyObject
*_wrap_new_PostScriptDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxPrintData
*arg1
= 0 ;
15797 wxPostScriptDC
*result
;
15798 PyObject
* obj0
= 0 ;
15799 char *kwnames
[] = {
15800 (char *) "printData", NULL
15803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15805 if (arg1
== NULL
) {
15806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPostScriptDC
, 1);
15822 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15825 wxPrintData
*result
;
15826 PyObject
* obj0
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15837 result
= (wxPrintData
*) &_result_ref
;
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrintData
, 0);
15850 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15853 wxPrintData
*arg2
= 0 ;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self",(char *) "data", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPostScriptDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15863 if (arg2
== NULL
) {
15864 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15880 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15883 PyObject
* obj0
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "ppi", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15890 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 wxPostScriptDC::SetResolution(arg1
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 Py_INCREF(Py_None
); resultobj
= Py_None
;
15907 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15910 char *kwnames
[] = {
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (int)wxPostScriptDC::GetResolution();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 resultobj
= SWIG_PyObj_FromInt((int)result
);
15929 static PyObject
* PostScriptDC_swigregister(PyObject
*self
, PyObject
*args
) {
15931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15932 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15934 return Py_BuildValue((char *)"");
15936 static PyObject
*_wrap_new_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15939 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15940 wxMetaFile
*result
;
15941 bool temp1
= False
;
15942 PyObject
* obj0
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "filename", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15950 arg1
= wxString_in_helper(obj0
);
15951 if (arg1
== NULL
) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 1);
15977 static PyObject
*_wrap_delete_MetaFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16001 static PyObject
*_wrap_MetaFile_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (bool)(arg1
)->Ok();
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16026 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
;
16028 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16029 int arg2
= (int) 0 ;
16030 int arg3
= (int) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 PyObject
* obj2
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self",(char *) "width",(char *) "height", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16043 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16049 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16067 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
;
16069 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16071 PyObject
* obj0
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "self", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 result
= (arg1
)->GetSize();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16086 wxSize
* resultptr
;
16087 resultptr
= new wxSize((wxSize
&) result
);
16088 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16096 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16100 PyObject
* obj0
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (int)(arg1
)->GetWidth();
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_PyObj_FromInt((int)result
);
16121 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16125 PyObject
* obj0
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (int)(arg1
)->GetHeight();
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= SWIG_PyObj_FromInt((int)result
);
16146 static PyObject
*_wrap_MetaFile_GetFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetFileName",kwnames
,&obj0
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
16161 result
= (wxString
*) &_result_ref
;
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16180 static PyObject
* MetaFile_swigregister(PyObject
*self
, PyObject
*args
) {
16182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16183 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16185 return Py_BuildValue((char *)"");
16187 static PyObject
*_wrap_new_MetaFileDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16190 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16191 int arg2
= (int) 0 ;
16192 int arg3
= (int) 0 ;
16193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16195 wxMetaFileDC
*result
;
16196 bool temp1
= False
;
16197 bool temp4
= False
;
16198 PyObject
* obj0
= 0 ;
16199 PyObject
* obj1
= 0 ;
16200 PyObject
* obj2
= 0 ;
16201 PyObject
* obj3
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16209 arg1
= wxString_in_helper(obj0
);
16210 if (arg1
== NULL
) SWIG_fail
;
16216 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16222 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16228 arg4
= wxString_in_helper(obj3
);
16229 if (arg4
== NULL
) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFileDC
, 1);
16263 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
;
16265 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16266 wxMetaFile
*result
;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetaFileDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (wxMetaFile
*)(arg1
)->Close();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetaFile
, 0);
16288 static PyObject
* MetaFileDC_swigregister(PyObject
*self
, PyObject
*args
) {
16290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16291 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16293 return Py_BuildValue((char *)"");
16295 static PyObject
*_wrap_new_PrinterDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxPrintData
*arg1
= 0 ;
16298 wxPrinterDC
*result
;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "printData", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPrintData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16306 if (arg1
== NULL
) {
16307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPrinterDC
, 1);
16323 static PyObject
* PrinterDC_swigregister(PyObject
*self
, PyObject
*args
) {
16325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16326 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16328 return Py_BuildValue((char *)"");
16330 static PyObject
*_wrap_new_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16334 int arg3
= (int) True
;
16335 int arg4
= (int) 1 ;
16336 wxImageList
*result
;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 PyObject
* obj2
= 0 ;
16340 PyObject
* obj3
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16347 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16356 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16362 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= wxPyMake_wxObject(result
);
16382 static PyObject
*_wrap_delete_ImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxImageList
*arg1
= (wxImageList
*) 0 ;
16385 PyObject
* obj0
= 0 ;
16386 char *kwnames
[] = {
16387 (char *) "self", NULL
16390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 Py_INCREF(Py_None
); resultobj
= Py_None
;
16406 static PyObject
*_wrap_ImageList_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxImageList
*arg1
= (wxImageList
*) 0 ;
16409 wxBitmap
*arg2
= 0 ;
16410 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16411 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 PyObject
* obj2
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16423 if (arg2
== NULL
) {
16424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16427 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16428 if (arg3
== NULL
) {
16429 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_PyObj_FromInt((int)result
);
16446 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxImageList
*arg1
= (wxImageList
*) 0 ;
16449 wxBitmap
*arg2
= 0 ;
16450 wxColour
*arg3
= 0 ;
16453 PyObject
* obj0
= 0 ;
16454 PyObject
* obj1
= 0 ;
16455 PyObject
* obj2
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16463 if (arg2
== NULL
) {
16464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16468 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= SWIG_PyObj_FromInt((int)result
);
16484 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16485 PyObject
*resultobj
;
16486 wxImageList
*arg1
= (wxImageList
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "icon", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16498 if (arg2
== NULL
) {
16499 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_PyObj_FromInt((int)result
);
16515 static PyObject
*_wrap_ImageList_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxImageList
*arg1
= (wxImageList
*) 0 ;
16519 wxBitmap
*arg3
= 0 ;
16520 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
16521 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
16523 PyObject
* obj0
= 0 ;
16524 PyObject
* obj1
= 0 ;
16525 PyObject
* obj2
= 0 ;
16526 PyObject
* obj3
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16534 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16538 if (arg3
== NULL
) {
16539 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16542 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16543 if (arg4
== NULL
) {
16544 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16561 static PyObject
*_wrap_ImageList_Draw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 wxImageList
*arg1
= (wxImageList
*) 0 ;
16568 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16569 bool arg7
= (bool) (bool)False
;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 PyObject
* obj2
= 0 ;
16574 PyObject
* obj3
= 0 ;
16575 PyObject
* obj4
= 0 ;
16576 PyObject
* obj5
= 0 ;
16577 PyObject
* obj6
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16585 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16589 if (arg3
== NULL
) {
16590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16593 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16597 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16602 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16608 arg7
= (bool const) SWIG_PyObj_AsBool(obj6
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16626 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxImageList
*arg1
= (wxImageList
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (int)(arg1
)->GetImageCount();
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_PyObj_FromInt((int)result
);
16651 static PyObject
*_wrap_ImageList_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
;
16653 wxImageList
*arg1
= (wxImageList
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "index", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= (bool)(arg1
)->Remove(arg2
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16682 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxImageList
*arg1
= (wxImageList
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= (bool)(arg1
)->RemoveAll();
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16707 static PyObject
*_wrap_ImageList_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 wxImageList
*arg1
= (wxImageList
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 PyObject
* obj1
= 0 ;
16717 char *kwnames
[] = {
16718 (char *) "self",(char *) "index", NULL
16723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 Py_INCREF(Py_None
); resultobj
= Py_None
;
16738 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
16739 resultobj
= t_output_helper(resultobj
,o
);
16742 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
16743 resultobj
= t_output_helper(resultobj
,o
);
16751 static PyObject
* ImageList_swigregister(PyObject
*self
, PyObject
*args
) {
16753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16754 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16756 return Py_BuildValue((char *)"");
16758 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16759 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16764 static PyObject
*_wrap_NORMAL_FONT_get() {
16767 pyobj
= SWIG_NewPointerObj((void *) wxNORMAL_FONT
, SWIGTYPE_p_wxFont
, 0);
16772 static int _wrap_SMALL_FONT_set(PyObject
*) {
16773 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16778 static PyObject
*_wrap_SMALL_FONT_get() {
16781 pyobj
= SWIG_NewPointerObj((void *) wxSMALL_FONT
, SWIGTYPE_p_wxFont
, 0);
16786 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16787 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16792 static PyObject
*_wrap_ITALIC_FONT_get() {
16795 pyobj
= SWIG_NewPointerObj((void *) wxITALIC_FONT
, SWIGTYPE_p_wxFont
, 0);
16800 static int _wrap_SWISS_FONT_set(PyObject
*) {
16801 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16806 static PyObject
*_wrap_SWISS_FONT_get() {
16809 pyobj
= SWIG_NewPointerObj((void *) wxSWISS_FONT
, SWIGTYPE_p_wxFont
, 0);
16814 static int _wrap_RED_PEN_set(PyObject
*) {
16815 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16820 static PyObject
*_wrap_RED_PEN_get() {
16823 pyobj
= SWIG_NewPointerObj((void *) wxRED_PEN
, SWIGTYPE_p_wxPen
, 0);
16828 static int _wrap_CYAN_PEN_set(PyObject
*) {
16829 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16834 static PyObject
*_wrap_CYAN_PEN_get() {
16837 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_PEN
, SWIGTYPE_p_wxPen
, 0);
16842 static int _wrap_GREEN_PEN_set(PyObject
*) {
16843 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16848 static PyObject
*_wrap_GREEN_PEN_get() {
16851 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_PEN
, SWIGTYPE_p_wxPen
, 0);
16856 static int _wrap_BLACK_PEN_set(PyObject
*) {
16857 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16862 static PyObject
*_wrap_BLACK_PEN_get() {
16865 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_PEN
, SWIGTYPE_p_wxPen
, 0);
16870 static int _wrap_WHITE_PEN_set(PyObject
*) {
16871 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16876 static PyObject
*_wrap_WHITE_PEN_get() {
16879 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_PEN
, SWIGTYPE_p_wxPen
, 0);
16884 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16885 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16890 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16893 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_PEN
, SWIGTYPE_p_wxPen
, 0);
16898 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16899 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16904 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16907 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_DASHED_PEN
, SWIGTYPE_p_wxPen
, 0);
16912 static int _wrap_GREY_PEN_set(PyObject
*) {
16913 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16918 static PyObject
*_wrap_GREY_PEN_get() {
16921 pyobj
= SWIG_NewPointerObj((void *) wxGREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16926 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16927 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16932 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16935 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16940 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16941 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16946 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16949 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_PEN
, SWIGTYPE_p_wxPen
, 0);
16954 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16955 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16960 static PyObject
*_wrap_BLUE_BRUSH_get() {
16963 pyobj
= SWIG_NewPointerObj((void *) wxBLUE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16968 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16969 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16974 static PyObject
*_wrap_GREEN_BRUSH_get() {
16977 pyobj
= SWIG_NewPointerObj((void *) wxGREEN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16982 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16983 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16988 static PyObject
*_wrap_WHITE_BRUSH_get() {
16991 pyobj
= SWIG_NewPointerObj((void *) wxWHITE_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
16996 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16997 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17002 static PyObject
*_wrap_BLACK_BRUSH_get() {
17005 pyobj
= SWIG_NewPointerObj((void *) wxBLACK_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17010 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17011 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17016 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17019 pyobj
= SWIG_NewPointerObj((void *) wxTRANSPARENT_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17024 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17025 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17030 static PyObject
*_wrap_CYAN_BRUSH_get() {
17033 pyobj
= SWIG_NewPointerObj((void *) wxCYAN_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17038 static int _wrap_RED_BRUSH_set(PyObject
*) {
17039 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17044 static PyObject
*_wrap_RED_BRUSH_get() {
17047 pyobj
= SWIG_NewPointerObj((void *) wxRED_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17052 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17053 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17058 static PyObject
*_wrap_GREY_BRUSH_get() {
17061 pyobj
= SWIG_NewPointerObj((void *) wxGREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17066 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17067 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17072 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17075 pyobj
= SWIG_NewPointerObj((void *) wxMEDIUM_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17080 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17081 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17086 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17089 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY_BRUSH
, SWIGTYPE_p_wxBrush
, 0);
17094 static int _wrap_BLACK_set(PyObject
*) {
17095 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17100 static PyObject
*_wrap_BLACK_get() {
17103 pyobj
= SWIG_NewPointerObj((void *) wxBLACK
, SWIGTYPE_p_wxColour
, 0);
17108 static int _wrap_WHITE_set(PyObject
*) {
17109 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17114 static PyObject
*_wrap_WHITE_get() {
17117 pyobj
= SWIG_NewPointerObj((void *) wxWHITE
, SWIGTYPE_p_wxColour
, 0);
17122 static int _wrap_RED_set(PyObject
*) {
17123 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17128 static PyObject
*_wrap_RED_get() {
17131 pyobj
= SWIG_NewPointerObj((void *) wxRED
, SWIGTYPE_p_wxColour
, 0);
17136 static int _wrap_BLUE_set(PyObject
*) {
17137 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17142 static PyObject
*_wrap_BLUE_get() {
17145 pyobj
= SWIG_NewPointerObj((void *) wxBLUE
, SWIGTYPE_p_wxColour
, 0);
17150 static int _wrap_GREEN_set(PyObject
*) {
17151 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17156 static PyObject
*_wrap_GREEN_get() {
17159 pyobj
= SWIG_NewPointerObj((void *) wxGREEN
, SWIGTYPE_p_wxColour
, 0);
17164 static int _wrap_CYAN_set(PyObject
*) {
17165 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17170 static PyObject
*_wrap_CYAN_get() {
17173 pyobj
= SWIG_NewPointerObj((void *) wxCYAN
, SWIGTYPE_p_wxColour
, 0);
17178 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17179 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17184 static PyObject
*_wrap_LIGHT_GREY_get() {
17187 pyobj
= SWIG_NewPointerObj((void *) wxLIGHT_GREY
, SWIGTYPE_p_wxColour
, 0);
17192 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17193 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17198 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17201 pyobj
= SWIG_NewPointerObj((void *) wxSTANDARD_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
17206 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17207 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17212 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17215 pyobj
= SWIG_NewPointerObj((void *) wxHOURGLASS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
17220 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17221 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17226 static PyObject
*_wrap_CROSS_CURSOR_get() {
17229 pyobj
= SWIG_NewPointerObj((void *) wxCROSS_CURSOR
, SWIGTYPE_p_wxCursor
, 0);
17234 static int _wrap_NullBitmap_set(PyObject
*) {
17235 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17240 static PyObject
*_wrap_NullBitmap_get() {
17243 pyobj
= SWIG_NewPointerObj((void *) &wxNullBitmap
, SWIGTYPE_p_wxBitmap
, 0);
17248 static int _wrap_NullIcon_set(PyObject
*) {
17249 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17254 static PyObject
*_wrap_NullIcon_get() {
17257 pyobj
= SWIG_NewPointerObj((void *) &wxNullIcon
, SWIGTYPE_p_wxIcon
, 0);
17262 static int _wrap_NullCursor_set(PyObject
*) {
17263 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17268 static PyObject
*_wrap_NullCursor_get() {
17271 pyobj
= SWIG_NewPointerObj((void *) &wxNullCursor
, SWIGTYPE_p_wxCursor
, 0);
17276 static int _wrap_NullPen_set(PyObject
*) {
17277 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17282 static PyObject
*_wrap_NullPen_get() {
17285 pyobj
= SWIG_NewPointerObj((void *) &wxNullPen
, SWIGTYPE_p_wxPen
, 0);
17290 static int _wrap_NullBrush_set(PyObject
*) {
17291 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17296 static PyObject
*_wrap_NullBrush_get() {
17299 pyobj
= SWIG_NewPointerObj((void *) &wxNullBrush
, SWIGTYPE_p_wxBrush
, 0);
17304 static int _wrap_NullPalette_set(PyObject
*) {
17305 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17310 static PyObject
*_wrap_NullPalette_get() {
17313 pyobj
= SWIG_NewPointerObj((void *) &wxNullPalette
, SWIGTYPE_p_wxPalette
, 0);
17318 static int _wrap_NullFont_set(PyObject
*) {
17319 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17324 static PyObject
*_wrap_NullFont_get() {
17327 pyobj
= SWIG_NewPointerObj((void *) &wxNullFont
, SWIGTYPE_p_wxFont
, 0);
17332 static int _wrap_NullColour_set(PyObject
*) {
17333 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17338 static PyObject
*_wrap_NullColour_get() {
17341 pyobj
= SWIG_NewPointerObj((void *) &wxNullColour
, SWIGTYPE_p_wxColour
, 0);
17346 static PyObject
*_wrap_PenList_AddPen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17348 wxPenList
*arg1
= (wxPenList
*) 0 ;
17349 wxPen
*arg2
= (wxPen
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "pen", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17358 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 (arg1
)->AddPen(arg2
);
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 Py_INCREF(Py_None
); resultobj
= Py_None
;
17373 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxPenList
*arg1
= (wxPenList
*) 0 ;
17376 wxColour
*arg2
= 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 PyObject
* obj2
= 0 ;
17384 PyObject
* obj3
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17393 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17396 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17400 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPen
, 0);
17417 static PyObject
*_wrap_PenList_RemovePen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxPenList
*arg1
= (wxPenList
*) 0 ;
17420 wxPen
*arg2
= (wxPen
*) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self",(char *) "pen", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPen
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 (arg1
)->RemovePen(arg2
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 Py_INCREF(Py_None
); resultobj
= Py_None
;
17444 static PyObject
*_wrap_PenList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 wxPenList
*arg1
= (wxPenList
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPenList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (int)(arg1
)->GetCount();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= SWIG_PyObj_FromInt((int)result
);
17469 static PyObject
* PenList_swigregister(PyObject
*self
, PyObject
*args
) {
17471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17472 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17474 return Py_BuildValue((char *)"");
17476 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17479 wxBrush
*arg2
= (wxBrush
*) 0 ;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self",(char *) "brush", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17488 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 (arg1
)->AddBrush(arg2
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 Py_INCREF(Py_None
); resultobj
= Py_None
;
17503 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17506 wxColour
*arg2
= 0 ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 PyObject
* obj2
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "colour",(char *) "style", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17521 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17524 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBrush
, 0);
17541 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17544 wxBrush
*arg2
= (wxBrush
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self",(char *) "brush", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBrush
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->RemoveBrush(arg2
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_BrushList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17572 PyObject
* obj0
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "self", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBrushList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (int)(arg1
)->GetCount();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_PyObj_FromInt((int)result
);
17593 static PyObject
* BrushList_swigregister(PyObject
*self
, PyObject
*args
) {
17595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17596 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17598 return Py_BuildValue((char *)"");
17600 static PyObject
*_wrap_new_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxColourDatabase
*result
;
17603 char *kwnames
[] = {
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (wxColourDatabase
*)new wxColourDatabase();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColourDatabase
, 1);
17622 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 Py_INCREF(Py_None
); resultobj
= Py_None
;
17646 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17649 wxString
*arg2
= 0 ;
17651 bool temp2
= False
;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self",(char *) "name", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17661 arg2
= wxString_in_helper(obj1
);
17662 if (arg2
== NULL
) SWIG_fail
;
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17669 wxPyEndAllowThreads(__tstate
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 wxColour
* resultptr
;
17674 resultptr
= new wxColour((wxColour
&) result
);
17675 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17691 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17694 wxColour
*arg2
= 0 ;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self",(char *) "colour", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17729 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17732 wxString
*arg2
= 0 ;
17733 wxColour
*arg3
= 0 ;
17734 bool temp2
= False
;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 PyObject
* obj2
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "name",(char *) "colour", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17746 arg2
= wxString_in_helper(obj1
);
17747 if (arg2
== NULL
) SWIG_fail
;
17752 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 Py_INCREF(Py_None
); resultobj
= Py_None
;
17776 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17779 wxString
*arg2
= 0 ;
17783 bool temp2
= False
;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 PyObject
* obj2
= 0 ;
17787 PyObject
* obj3
= 0 ;
17788 PyObject
* obj4
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxColourDatabase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17796 arg2
= wxString_in_helper(obj1
);
17797 if (arg2
== NULL
) SWIG_fail
;
17801 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 Py_INCREF(Py_None
); resultobj
= Py_None
;
17834 static PyObject
* ColourDatabase_swigregister(PyObject
*self
, PyObject
*args
) {
17836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17837 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17839 return Py_BuildValue((char *)"");
17841 static PyObject
*_wrap_FontList_AddFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxFontList
*arg1
= (wxFontList
*) 0 ;
17844 wxFont
*arg2
= (wxFont
*) 0 ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self",(char *) "font", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17853 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->AddFont(arg2
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17868 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxFontList
*arg1
= (wxFontList
*) 0 ;
17875 bool arg6
= (bool) False
;
17876 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17878 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17880 bool temp7
= False
;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 PyObject
* obj2
= 0 ;
17884 PyObject
* obj3
= 0 ;
17885 PyObject
* obj4
= 0 ;
17886 PyObject
* obj5
= 0 ;
17887 PyObject
* obj6
= 0 ;
17888 PyObject
* obj7
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17896 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17900 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17904 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17908 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17913 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17919 arg7
= wxString_in_helper(obj6
);
17920 if (arg7
== NULL
) SWIG_fail
;
17926 arg8
= (wxFontEncoding
) SWIG_PyObj_AsInt(obj7
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
17952 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxFontList
*arg1
= (wxFontList
*) 0 ;
17955 wxFont
*arg2
= (wxFont
*) 0 ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "self",(char *) "font", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 (arg1
)->RemoveFont(arg2
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 Py_INCREF(Py_None
); resultobj
= Py_None
;
17979 static PyObject
*_wrap_FontList_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxFontList
*arg1
= (wxFontList
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "self", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFontList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (int)(arg1
)->GetCount();
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= SWIG_PyObj_FromInt((int)result
);
18004 static PyObject
* FontList_swigregister(PyObject
*self
, PyObject
*args
) {
18006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18007 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18009 return Py_BuildValue((char *)"");
18011 static int _wrap_TheFontList_set(PyObject
*) {
18012 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18017 static PyObject
*_wrap_TheFontList_get() {
18020 pyobj
= SWIG_NewPointerObj((void *) wxTheFontList
, SWIGTYPE_p_wxFontList
, 0);
18025 static int _wrap_ThePenList_set(PyObject
*) {
18026 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18031 static PyObject
*_wrap_ThePenList_get() {
18034 pyobj
= SWIG_NewPointerObj((void *) wxThePenList
, SWIGTYPE_p_wxPenList
, 0);
18039 static int _wrap_TheBrushList_set(PyObject
*) {
18040 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18045 static PyObject
*_wrap_TheBrushList_get() {
18048 pyobj
= SWIG_NewPointerObj((void *) wxTheBrushList
, SWIGTYPE_p_wxBrushList
, 0);
18053 static int _wrap_TheColourDatabase_set(PyObject
*) {
18054 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18059 static PyObject
*_wrap_TheColourDatabase_get() {
18062 pyobj
= SWIG_NewPointerObj((void *) wxTheColourDatabase
, SWIGTYPE_p_wxColourDatabase
, 0);
18067 static PyObject
*_wrap_new_Effects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18070 char *kwnames
[] = {
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (wxEffects
*)new wxEffects();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEffects
, 1);
18089 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxEffects
*arg1
= (wxEffects
*) 0 ;
18093 PyObject
* obj0
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 wxColour
* resultptr
;
18109 resultptr
= new wxColour((wxColour
&) result
);
18110 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18118 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxEffects
*arg1
= (wxEffects
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 wxColour
* resultptr
;
18138 resultptr
= new wxColour((wxColour
&) result
);
18139 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18147 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxEffects
*arg1
= (wxEffects
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 wxColour
* resultptr
;
18167 resultptr
= new wxColour((wxColour
&) result
);
18168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18176 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxEffects
*arg1
= (wxEffects
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18195 wxColour
* resultptr
;
18196 resultptr
= new wxColour((wxColour
&) result
);
18197 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18205 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxEffects
*arg1
= (wxEffects
*) 0 ;
18209 PyObject
* obj0
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18224 wxColour
* resultptr
;
18225 resultptr
= new wxColour((wxColour
&) result
);
18226 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18234 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxEffects
*arg1
= (wxEffects
*) 0 ;
18237 wxColour
*arg2
= 0 ;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self",(char *) "c", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18249 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 Py_INCREF(Py_None
); resultobj
= Py_None
;
18265 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxEffects
*arg1
= (wxEffects
*) 0 ;
18268 wxColour
*arg2
= 0 ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "c", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18280 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 Py_INCREF(Py_None
); resultobj
= Py_None
;
18296 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxEffects
*arg1
= (wxEffects
*) 0 ;
18299 wxColour
*arg2
= 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "c", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18311 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 Py_INCREF(Py_None
); resultobj
= Py_None
;
18327 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 wxEffects
*arg1
= (wxEffects
*) 0 ;
18330 wxColour
*arg2
= 0 ;
18332 PyObject
* obj0
= 0 ;
18333 PyObject
* obj1
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self",(char *) "c", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18342 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 Py_INCREF(Py_None
); resultobj
= Py_None
;
18358 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxEffects
*arg1
= (wxEffects
*) 0 ;
18361 wxColour
*arg2
= 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "c", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_Effects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxEffects
*arg1
= (wxEffects
*) 0 ;
18392 wxColour
*arg2
= 0 ;
18393 wxColour
*arg3
= 0 ;
18394 wxColour
*arg4
= 0 ;
18395 wxColour
*arg5
= 0 ;
18396 wxColour
*arg6
= 0 ;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 PyObject
* obj2
= 0 ;
18405 PyObject
* obj3
= 0 ;
18406 PyObject
* obj4
= 0 ;
18407 PyObject
* obj5
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18420 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18424 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18428 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18432 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 Py_INCREF(Py_None
); resultobj
= Py_None
;
18448 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxEffects
*arg1
= (wxEffects
*) 0 ;
18453 int arg4
= (int) 1 ;
18455 PyObject
* obj0
= 0 ;
18456 PyObject
* obj1
= 0 ;
18457 PyObject
* obj2
= 0 ;
18458 PyObject
* obj3
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18465 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18466 if (arg2
== NULL
) {
18467 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18471 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18475 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 Py_INCREF(Py_None
); resultobj
= Py_None
;
18493 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
;
18495 wxEffects
*arg1
= (wxEffects
*) 0 ;
18498 wxBitmap
*arg4
= 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 PyObject
* obj2
= 0 ;
18504 PyObject
* obj3
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEffects
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18513 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18515 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18516 if (arg3
== NULL
) {
18517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18519 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18520 if (arg4
== NULL
) {
18521 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18537 static PyObject
* Effects_swigregister(PyObject
*self
, PyObject
*args
) {
18539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18540 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18542 return Py_BuildValue((char *)"");
18544 static PyMethodDef SwigMethods
[] = {
18545 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18546 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
},
18547 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18548 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
},
18549 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
18550 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
},
18551 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18552 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
},
18553 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
},
18554 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
},
18555 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
},
18556 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
},
18557 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
},
18558 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18559 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
},
18560 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18561 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
},
18562 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18563 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18564 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18565 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
},
18566 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18567 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
},
18568 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18569 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
},
18570 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18571 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
},
18572 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18573 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
},
18574 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18575 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
},
18576 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
},
18577 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18578 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18579 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18580 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18581 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18582 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
},
18583 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18584 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
},
18585 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18586 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18587 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18588 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18589 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18590 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18591 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
},
18592 { (char *)"Pen_GetStipple", (PyCFunction
) _wrap_Pen_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18593 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18594 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
},
18595 { (char *)"new_PyPen", (PyCFunction
) _wrap_new_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18596 { (char *)"delete_PyPen", (PyCFunction
) _wrap_delete_PyPen
, METH_VARARGS
| METH_KEYWORDS
},
18597 { (char *)"PyPen_SetDashes", (PyCFunction
) _wrap_PyPen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
},
18598 { (char *)"PyPen_swigregister", PyPen_swigregister
, METH_VARARGS
},
18599 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18600 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
},
18601 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
18602 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18603 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18604 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
18605 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18606 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
},
18607 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18608 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
},
18609 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18610 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
},
18611 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18612 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18613 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18614 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18615 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18616 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18617 { (char *)"Bitmap_GetHandle", (PyCFunction
) _wrap_Bitmap_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18618 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18619 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18620 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18621 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18622 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18623 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
},
18624 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
18625 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
18626 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
18627 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18628 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
18629 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18630 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18631 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18632 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18633 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18634 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
},
18635 { (char *)"Bitmap_GetQuality", (PyCFunction
) _wrap_Bitmap_GetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18636 { (char *)"Bitmap_SetQuality", (PyCFunction
) _wrap_Bitmap_SetQuality
, METH_VARARGS
| METH_KEYWORDS
},
18637 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
},
18638 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
},
18639 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
},
18640 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18641 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
},
18642 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
},
18643 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
},
18644 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18645 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
},
18646 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
18647 { (char *)"Icon_GetHandle", (PyCFunction
) _wrap_Icon_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18648 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18649 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18650 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18651 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18652 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18653 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18654 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18655 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18656 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18657 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18658 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
},
18659 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18660 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
},
18661 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18662 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18663 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
18664 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18665 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
18666 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
},
18667 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18668 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18669 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
},
18670 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
},
18671 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
18672 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
},
18673 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
18674 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
},
18675 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18676 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
},
18677 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
},
18678 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
},
18679 { (char *)"new_CursorFromBits", (PyCFunction
) _wrap_new_CursorFromBits
, METH_VARARGS
| METH_KEYWORDS
},
18680 { (char *)"Cursor_GetHandle", (PyCFunction
) _wrap_Cursor_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18681 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
},
18682 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18683 { (char *)"Cursor_GetWidth", (PyCFunction
) _wrap_Cursor_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18684 { (char *)"Cursor_GetHeight", (PyCFunction
) _wrap_Cursor_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18685 { (char *)"Cursor_GetDepth", (PyCFunction
) _wrap_Cursor_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18686 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18687 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18688 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18689 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
18690 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
},
18691 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
},
18692 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18693 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
},
18694 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
},
18695 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18696 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
},
18697 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
},
18698 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
18699 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
18700 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
18701 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
18702 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
18703 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
18704 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
18705 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
18706 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
},
18707 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
18708 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
18709 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
18710 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
18711 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
18712 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
},
18713 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
18714 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
18715 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18716 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18717 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
},
18718 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18719 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
18720 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
18721 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
18722 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
18723 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
18724 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
18725 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
18726 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
18727 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
18728 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
18729 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
18730 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
18731 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
},
18732 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18733 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18734 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
},
18735 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
},
18736 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18737 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18738 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18739 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18740 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18741 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18742 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18743 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18744 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18745 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18746 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18747 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18748 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18749 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18750 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18751 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18752 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
},
18753 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
},
18754 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
},
18755 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
},
18756 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
},
18757 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
},
18758 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
},
18759 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
},
18760 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18761 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
},
18762 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
},
18763 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
},
18764 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
},
18765 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18766 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18767 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18768 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
},
18769 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
},
18770 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
},
18771 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18772 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
},
18773 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18774 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18775 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
},
18776 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
},
18777 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18778 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
},
18779 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18780 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
},
18781 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
},
18782 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
},
18783 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
},
18784 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
},
18785 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
},
18786 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
},
18787 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
},
18788 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
},
18789 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18790 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
},
18791 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
},
18792 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18793 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18794 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18795 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18796 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18797 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18798 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18799 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18800 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
},
18801 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
},
18802 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18803 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
},
18804 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
},
18805 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
18806 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
},
18807 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
18808 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
},
18809 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18810 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
},
18811 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
},
18812 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
},
18813 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
},
18814 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
},
18815 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
},
18816 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18817 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
},
18818 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18819 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18820 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
},
18821 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18822 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
18823 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
18824 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18825 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18826 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
18827 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
18828 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
},
18829 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
},
18830 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
},
18831 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
},
18832 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
},
18833 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
},
18834 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
},
18835 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
},
18836 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18837 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
},
18838 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
},
18839 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
},
18840 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18841 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
},
18842 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
},
18843 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
18844 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18845 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18846 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
},
18847 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
},
18848 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
},
18849 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
},
18850 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
},
18851 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18852 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
},
18853 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
},
18854 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
},
18855 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
},
18856 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
},
18857 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
},
18858 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
},
18859 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
},
18860 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18861 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
},
18862 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
},
18863 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
},
18864 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18865 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
},
18866 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
},
18867 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
},
18868 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
},
18869 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18870 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
},
18871 { (char *)"DC_FloodFillXY", (PyCFunction
) _wrap_DC_FloodFillXY
, METH_VARARGS
| METH_KEYWORDS
},
18872 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
},
18873 { (char *)"DC_GetPixelXY", (PyCFunction
) _wrap_DC_GetPixelXY
, METH_VARARGS
| METH_KEYWORDS
},
18874 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
},
18875 { (char *)"DC_DrawLineXY", (PyCFunction
) _wrap_DC_DrawLineXY
, METH_VARARGS
| METH_KEYWORDS
},
18876 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
},
18877 { (char *)"DC_CrossHairXY", (PyCFunction
) _wrap_DC_CrossHairXY
, METH_VARARGS
| METH_KEYWORDS
},
18878 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
},
18879 { (char *)"DC_DrawArcXY", (PyCFunction
) _wrap_DC_DrawArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18880 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
},
18881 { (char *)"DC_DrawCheckMarkXY", (PyCFunction
) _wrap_DC_DrawCheckMarkXY
, METH_VARARGS
| METH_KEYWORDS
},
18882 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
},
18883 { (char *)"DC_DrawEllipticArcXY", (PyCFunction
) _wrap_DC_DrawEllipticArcXY
, METH_VARARGS
| METH_KEYWORDS
},
18884 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
},
18885 { (char *)"DC_DrawPointXY", (PyCFunction
) _wrap_DC_DrawPointXY
, METH_VARARGS
| METH_KEYWORDS
},
18886 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
},
18887 { (char *)"DC_DrawRectangleXY", (PyCFunction
) _wrap_DC_DrawRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18888 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18889 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18890 { (char *)"DC_DrawRoundedRectangleXY", (PyCFunction
) _wrap_DC_DrawRoundedRectangleXY
, METH_VARARGS
| METH_KEYWORDS
},
18891 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
},
18892 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
},
18893 { (char *)"DC_DrawCircleXY", (PyCFunction
) _wrap_DC_DrawCircleXY
, METH_VARARGS
| METH_KEYWORDS
},
18894 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
},
18895 { (char *)"DC_DrawEllipseXY", (PyCFunction
) _wrap_DC_DrawEllipseXY
, METH_VARARGS
| METH_KEYWORDS
},
18896 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
},
18897 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
},
18898 { (char *)"DC_DrawIconXY", (PyCFunction
) _wrap_DC_DrawIconXY
, METH_VARARGS
| METH_KEYWORDS
},
18899 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
},
18900 { (char *)"DC_DrawBitmapXY", (PyCFunction
) _wrap_DC_DrawBitmapXY
, METH_VARARGS
| METH_KEYWORDS
},
18901 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18902 { (char *)"DC_DrawTextXY", (PyCFunction
) _wrap_DC_DrawTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18903 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
},
18904 { (char *)"DC_DrawRotatedTextXY", (PyCFunction
) _wrap_DC_DrawRotatedTextXY
, METH_VARARGS
| METH_KEYWORDS
},
18905 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
},
18906 { (char *)"DC_BlitXY", (PyCFunction
) _wrap_DC_BlitXY
, METH_VARARGS
| METH_KEYWORDS
},
18907 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
},
18908 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
},
18909 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
},
18910 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
},
18911 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
18912 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
},
18913 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
},
18914 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
},
18915 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
},
18916 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
},
18917 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
},
18918 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
18919 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
},
18920 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18921 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18922 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18923 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
},
18924 { (char *)"DC_SetClippingRegionXY", (PyCFunction
) _wrap_DC_SetClippingRegionXY
, METH_VARARGS
| METH_KEYWORDS
},
18925 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18926 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18927 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
},
18928 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
},
18929 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
},
18930 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
},
18931 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
18932 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
18933 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18934 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18935 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18936 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
},
18937 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
18938 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
18939 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
},
18940 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
},
18941 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
},
18942 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
},
18943 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
},
18944 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
},
18945 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
},
18946 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
},
18947 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
},
18948 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
},
18949 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
},
18950 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
18951 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
18952 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
},
18953 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
},
18954 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
},
18955 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
},
18956 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
},
18957 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
18958 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
},
18959 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18960 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18961 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
},
18962 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
},
18963 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18964 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
},
18965 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18966 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
},
18967 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18968 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
},
18969 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18970 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18971 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18972 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18973 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
},
18974 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
},
18975 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
},
18976 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18977 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
},
18978 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18979 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
},
18980 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18981 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18982 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
},
18983 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
},
18984 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
},
18985 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
},
18986 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
},
18987 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
},
18988 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
},
18989 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
},
18990 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
},
18991 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
},
18992 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
},
18993 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
},
18994 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
},
18995 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
},
18996 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
},
18997 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
},
18998 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
},
18999 { (char *)"new_BufferedDCInternalBuffer", _wrap_new_BufferedDCInternalBuffer
, METH_VARARGS
},
19000 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
},
19001 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
},
19002 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
},
19003 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19004 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
},
19005 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
},
19006 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
},
19007 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19008 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
},
19009 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
},
19010 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
},
19011 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
},
19012 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
},
19013 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
},
19014 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
},
19015 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
},
19016 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
},
19017 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
},
19018 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
},
19019 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19020 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
},
19021 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19022 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
},
19023 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
},
19024 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19025 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
},
19026 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
},
19027 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
},
19028 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19029 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
19030 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
19031 { (char *)"MetaFile_GetFileName", (PyCFunction
) _wrap_MetaFile_GetFileName
, METH_VARARGS
| METH_KEYWORDS
},
19032 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
},
19033 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
},
19034 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
},
19035 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
},
19036 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
},
19037 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
},
19038 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19039 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
},
19040 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
},
19041 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
},
19042 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
},
19043 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
},
19044 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
},
19045 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
19046 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
},
19047 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
},
19048 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
19049 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
},
19050 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
},
19051 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
},
19052 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
},
19053 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19054 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
},
19055 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
},
19056 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
},
19057 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
},
19058 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19059 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
},
19060 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19061 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
},
19062 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
},
19063 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
},
19064 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
},
19065 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
},
19066 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
},
19067 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
},
19068 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
},
19069 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
},
19070 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
19071 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
},
19072 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
},
19073 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19074 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19075 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19076 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19077 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19078 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
19079 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
19080 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
19081 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
19082 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
19083 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
},
19084 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
19085 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
19086 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
},
19091 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19093 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19094 return (void *)((wxWindow
*) ((wxControl
*) x
));
19096 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19097 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19099 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19100 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19102 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19103 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19105 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19106 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19108 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19111 static void *_p_wxPenTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19114 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19117 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19120 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19123 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19126 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19129 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19132 static void *_p_wxIconTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19135 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19138 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19141 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) ((wxSizer
*) x
));
19144 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19147 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19150 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) ((wxPenList
*) x
));
19153 static void *_p_wxEventTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) ((wxEvent
*) x
));
19156 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19159 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19162 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19165 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19168 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19171 static void *_p_wxDCTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) ((wxDC
*) x
));
19174 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19177 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19180 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19183 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19184 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19186 static void *_p_wxControlTo_p_wxObject(void *x
) {
19187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19189 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19190 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19192 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19193 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19195 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19196 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19198 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19199 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19201 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19202 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19204 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19205 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19207 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19208 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19210 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19211 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19213 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19214 return (void *)((wxObject
*) ((wxEffects
*) x
));
19216 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19217 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19219 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19220 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19222 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19223 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19225 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19226 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19228 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19229 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19231 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19232 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19234 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19235 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19237 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19238 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19240 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19241 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19243 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19244 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19246 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19247 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19249 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19250 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19252 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19253 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19255 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19258 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19259 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19261 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19264 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19267 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19268 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19270 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19271 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19273 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19274 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19276 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19277 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19279 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19280 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19282 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19283 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19285 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19286 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19288 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19289 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19291 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19292 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19294 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19295 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19297 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19298 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19300 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19301 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19303 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19304 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19306 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19307 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19309 static void *_p_wxImageTo_p_wxObject(void *x
) {
19310 return (void *)((wxObject
*) ((wxImage
*) x
));
19312 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19313 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19315 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19316 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19318 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19319 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19321 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19322 return (void *)((wxObject
*) ((wxImageList
*) x
));
19324 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19325 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19327 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19328 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19330 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19331 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19333 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19336 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19337 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19339 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19340 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19342 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19343 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19345 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19346 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19348 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19351 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19352 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19354 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19355 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19357 static void *_p_wxPyPenTo_p_wxObject(void *x
) {
19358 return (void *)((wxObject
*) (wxGDIObject
*)(wxPen
*) ((wxPyPen
*) x
));
19360 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19361 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19363 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19364 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19366 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19367 return (void *)((wxObject
*) ((wxMask
*) x
));
19369 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19372 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19373 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19375 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19376 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19378 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19379 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19381 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19382 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19384 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19385 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19387 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19390 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19391 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19393 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19394 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19396 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19397 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19399 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19402 static void *_p_wxFontTo_p_wxObject(void *x
) {
19403 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19405 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19406 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19408 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19409 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19411 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19414 static void *_p_wxColourTo_p_wxObject(void *x
) {
19415 return (void *)((wxObject
*) ((wxColour
*) x
));
19417 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19418 return (void *)((wxObject
*) ((wxFontList
*) x
));
19420 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19423 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19424 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19426 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19427 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19429 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19430 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19432 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19433 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19435 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19436 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19438 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19439 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19441 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19442 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19444 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19445 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19447 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19448 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19450 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19451 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19453 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19454 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19456 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19457 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19459 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19460 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19462 static void *_p_wxPyPenTo_p_wxGDIObject(void *x
) {
19463 return (void *)((wxGDIObject
*) (wxPen
*) ((wxPyPen
*) x
));
19465 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19466 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19468 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19469 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19471 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19472 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19474 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19475 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19477 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19478 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19480 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19481 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19483 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19484 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19486 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19487 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19489 static void *_p_wxPyPenTo_p_wxPen(void *x
) {
19490 return (void *)((wxPen
*) ((wxPyPen
*) x
));
19492 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0},{"_p_wxPostScriptDC"},{0}};
19493 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0},{"_p_wxBrush"},{0}};
19494 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
19495 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}};
19496 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0},{"_p_wxMirrorDC"},{0}};
19497 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
19498 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0},{"_p_wxPyFontEnumerator"},{0}};
19499 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
19500 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0},{"_p_wxIconLocation"},{0}};
19501 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
19502 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0},{"_p_wxMetaFileDC"},{0}};
19503 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0},{"_p_wxMask"},{0}};
19504 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
19505 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}};
19506 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
19507 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0},{"_p_double"},{0}};
19508 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}};
19509 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0},{"_p_wxFontMapper"},{0}};
19510 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0},{"_p_wxEffects"},{0}};
19511 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0},{"_p_wxNativeEncodingInfo"},{0}};
19512 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}};
19513 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
19514 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}};
19515 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0},{"_p_wxRegionIterator"},{0}};
19516 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
19517 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
19518 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0},{"_p_wxPrinterDC"},{0}};
19519 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
19520 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
19521 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0},{"_p_wxDash"},{0}};
19522 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0},{"_p_wxScreenDC"},{0}};
19523 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
19524 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0},{"_p_wxClientDC"},{0}};
19525 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0},{"_p_wxBufferedDC"},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
},{0}};
19526 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
19527 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
19528 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}};
19529 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
19530 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0},{"_p_wxLocale"},{0}};
19531 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
19532 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0},{"_p_wxLanguageInfo"},{0}};
19533 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxConfigBase"},{0}};
19534 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0},{"_p_wxWindowDC"},{0}};
19535 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
19536 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0},{"_p_wxBrushList"},{0}};
19537 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0},{"_p_wxFontList"},{0}};
19538 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0},{"_p_wxPyPen", _p_wxPyPenTo_p_wxPen
},{"_p_wxPen"},{0}};
19539 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0},{"_p_wxBufferedPaintDC"},{0}};
19540 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0},{"_p_wxPaintDC"},{0}};
19541 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0},{"_p_wxPenList"},{0}};
19542 static swig_type_info _swigt__p_wxPyPen
[] = {{"_p_wxPyPen", 0, "wxPyPen *", 0},{"_p_wxPyPen"},{0}};
19543 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
19544 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0},{"_p_wxMetaFile"},{0}};
19545 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0},{"_p_wxNativeFontInfo"},{0}};
19546 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0},{"_p_wxEncodingConverter"},{0}};
19547 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0},{"_p_wxColourDatabase"},{0}};
19549 static swig_type_info
*swig_types_initial
[] = {
19550 _swigt__p_wxPostScriptDC
,
19552 _swigt__p_wxColour
,
19554 _swigt__p_wxMirrorDC
,
19556 _swigt__p_wxPyFontEnumerator
,
19558 _swigt__p_wxIconLocation
,
19560 _swigt__p_wxMetaFileDC
,
19563 _swigt__p_wxWindow
,
19566 _swigt__p_wxMemoryDC
,
19567 _swigt__p_wxFontMapper
,
19568 _swigt__p_wxEffects
,
19569 _swigt__p_wxNativeEncodingInfo
,
19570 _swigt__p_wxPalette
,
19571 _swigt__p_wxBitmap
,
19572 _swigt__p_wxObject
,
19573 _swigt__p_wxRegionIterator
,
19575 _swigt__p_wxString
,
19576 _swigt__p_wxPrinterDC
,
19577 _swigt__p_wxIconBundle
,
19580 _swigt__p_wxScreenDC
,
19581 _swigt__p_wxCursor
,
19582 _swigt__p_wxClientDC
,
19583 _swigt__p_wxBufferedDC
,
19584 _swigt__p_wxImageList
,
19585 _swigt__p_unsigned_char
,
19586 _swigt__p_wxGDIObject
,
19588 _swigt__p_wxLocale
,
19589 _swigt__p_wxRegion
,
19590 _swigt__p_wxLanguageInfo
,
19591 _swigt__p_wxConfigBase
,
19592 _swigt__p_wxWindowDC
,
19593 _swigt__p_wxPrintData
,
19594 _swigt__p_wxBrushList
,
19595 _swigt__p_wxFontList
,
19597 _swigt__p_wxBufferedPaintDC
,
19598 _swigt__p_wxPaintDC
,
19599 _swigt__p_wxPenList
,
19602 _swigt__p_wxMetaFile
,
19603 _swigt__p_wxNativeFontInfo
,
19604 _swigt__p_wxEncodingConverter
,
19605 _swigt__p_wxColourDatabase
,
19610 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19612 static swig_const_info swig_const_table
[] = {
19622 SWIGEXPORT(void) SWIG_init(void) {
19623 static PyObject
*SWIG_globals
= 0;
19624 static int typeinit
= 0;
19627 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19628 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19629 d
= PyModule_GetDict(m
);
19632 for (i
= 0; swig_types_initial
[i
]; i
++) {
19633 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19637 SWIG_InstallConstants(d
,swig_const_table
);
19639 PyDict_SetItemString(d
,"OutRegion", SWIG_PyObj_FromInt((int)wxOutRegion
));
19640 PyDict_SetItemString(d
,"PartRegion", SWIG_PyObj_FromInt((int)wxPartRegion
));
19641 PyDict_SetItemString(d
,"InRegion", SWIG_PyObj_FromInt((int)wxInRegion
));
19642 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DEFAULT
));
19643 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_DECORATIVE
));
19644 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_ROMAN
));
19645 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SCRIPT
));
19646 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_PyObj_FromInt((int)wxFONTFAMILY_SWISS
));
19647 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MODERN
));
19648 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_PyObj_FromInt((int)wxFONTFAMILY_TELETYPE
));
19649 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_PyObj_FromInt((int)wxFONTFAMILY_MAX
));
19650 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_PyObj_FromInt((int)wxFONTFAMILY_UNKNOWN
));
19651 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_PyObj_FromInt((int)wxFONTSTYLE_NORMAL
));
19652 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_PyObj_FromInt((int)wxFONTSTYLE_ITALIC
));
19653 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_PyObj_FromInt((int)wxFONTSTYLE_SLANT
));
19654 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_PyObj_FromInt((int)wxFONTSTYLE_MAX
));
19655 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_NORMAL
));
19656 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_LIGHT
));
19657 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_BOLD
));
19658 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_PyObj_FromInt((int)wxFONTWEIGHT_MAX
));
19659 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTFLAG_DEFAULT
));
19660 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_PyObj_FromInt((int)wxFONTFLAG_ITALIC
));
19661 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_PyObj_FromInt((int)wxFONTFLAG_SLANT
));
19662 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_PyObj_FromInt((int)wxFONTFLAG_LIGHT
));
19663 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_PyObj_FromInt((int)wxFONTFLAG_BOLD
));
19664 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_ANTIALIASED
));
19665 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_PyObj_FromInt((int)wxFONTFLAG_NOT_ANTIALIASED
));
19666 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_PyObj_FromInt((int)wxFONTFLAG_UNDERLINED
));
19667 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_PyObj_FromInt((int)wxFONTFLAG_STRIKETHROUGH
));
19668 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_PyObj_FromInt((int)wxFONTFLAG_MASK
));
19669 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_PyObj_FromInt((int)wxFONTENCODING_SYSTEM
));
19670 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_PyObj_FromInt((int)wxFONTENCODING_DEFAULT
));
19671 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_1
));
19672 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_2
));
19673 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_3
));
19674 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_4
));
19675 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_5
));
19676 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_6
));
19677 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_7
));
19678 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_8
));
19679 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_9
));
19680 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_10
));
19681 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_11
));
19682 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_12
));
19683 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_13
));
19684 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_14
));
19685 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_15
));
19686 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_ISO8859_MAX
));
19687 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_PyObj_FromInt((int)wxFONTENCODING_KOI8
));
19688 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_PyObj_FromInt((int)wxFONTENCODING_ALTERNATIVE
));
19689 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_BULGARIAN
));
19690 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP437
));
19691 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP850
));
19692 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP852
));
19693 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP855
));
19694 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP866
));
19695 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP874
));
19696 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP932
));
19697 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP936
));
19698 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP949
));
19699 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP950
));
19700 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1250
));
19701 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1251
));
19702 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1252
));
19703 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1253
));
19704 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1254
));
19705 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1255
));
19706 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1256
));
19707 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP1257
));
19708 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_CP12_MAX
));
19709 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF7
));
19710 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF8
));
19711 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_PyObj_FromInt((int)wxFONTENCODING_EUC_JP
));
19712 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16BE
));
19713 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16LE
));
19714 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32BE
));
19715 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32LE
));
19716 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMAN
));
19717 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACJAPANESE
));
19718 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESETRAD
));
19719 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKOREAN
));
19720 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABIC
));
19721 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACHEBREW
));
19722 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGREEK
));
19723 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCYRILLIC
));
19724 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDEVANAGARI
));
19725 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGURMUKHI
));
19726 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGUJARATI
));
19727 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACORIYA
));
19728 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBENGALI
));
19729 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTAMIL
));
19730 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTELUGU
));
19731 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKANNADA
));
19732 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMALAJALAM
));
19733 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSINHALESE
));
19734 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACBURMESE
));
19735 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKHMER
));
19736 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTHAI
));
19737 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACLAOTIAN
));
19738 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGEORGIAN
));
19739 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARMENIAN
));
19740 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCHINESESIMP
));
19741 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTIBETAN
));
19742 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMONGOLIAN
));
19743 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACETHIOPIC
));
19744 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCENTRALEUR
));
19745 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACVIATNAMESE
));
19746 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACARABICEXT
));
19747 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACSYMBOL
));
19748 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACDINGBATS
));
19749 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACTURKISH
));
19750 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCROATIAN
));
19751 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACICELANDIC
));
19752 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACROMANIAN
));
19753 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACCELTIC
));
19754 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACGAELIC
));
19755 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACKEYBOARD
));
19756 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMIN
));
19757 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MACMAX
));
19758 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_PyObj_FromInt((int)wxFONTENCODING_MAX
));
19759 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF16
));
19760 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_PyObj_FromInt((int)wxFONTENCODING_UTF32
));
19761 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_PyObj_FromInt((int)wxFONTENCODING_UNICODE
));
19762 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_PyObj_FromInt((int)wxFONTENCODING_GB2312
));
19763 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_PyObj_FromInt((int)wxFONTENCODING_BIG5
));
19764 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_PyObj_FromInt((int)wxFONTENCODING_SHIFT_JIS
));
19766 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19768 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_PyObj_FromInt((int)wxLANGUAGE_DEFAULT
));
19769 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UNKNOWN
));
19770 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ABKHAZIAN
));
19771 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFAR
));
19772 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_PyObj_FromInt((int)wxLANGUAGE_AFRIKAANS
));
19773 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ALBANIAN
));
19774 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AMHARIC
));
19775 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC
));
19776 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_ALGERIA
));
19777 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19778 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_EGYPT
));
19779 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_IRAQ
));
19780 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_JORDAN
));
19781 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_KUWAIT
));
19782 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LEBANON
));
19783 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_LIBYA
));
19784 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_MOROCCO
));
19785 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_OMAN
));
19786 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_QATAR
));
19787 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19788 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SUDAN
));
19789 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_SYRIA
));
19790 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_TUNISIA
));
19791 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_UAE
));
19792 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARABIC_YEMEN
));
19793 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ARMENIAN
));
19794 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ASSAMESE
));
19795 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_PyObj_FromInt((int)wxLANGUAGE_AYMARA
));
19796 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI
));
19797 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_CYRILLIC
));
19798 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_AZERI_LATIN
));
19799 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASHKIR
));
19800 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BASQUE
));
19801 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BELARUSIAN
));
19802 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BENGALI
));
19803 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BHUTANI
));
19804 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_PyObj_FromInt((int)wxLANGUAGE_BIHARI
));
19805 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_BISLAMA
));
19806 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_PyObj_FromInt((int)wxLANGUAGE_BRETON
));
19807 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_BULGARIAN
));
19808 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_BURMESE
));
19809 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CAMBODIAN
));
19810 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CATALAN
));
19811 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE
));
19812 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19813 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19814 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_HONGKONG
));
19815 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_MACAU
));
19816 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19817 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CHINESE_TAIWAN
));
19818 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CORSICAN
));
19819 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_CROATIAN
));
19820 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_PyObj_FromInt((int)wxLANGUAGE_CZECH
));
19821 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DANISH
));
19822 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH
));
19823 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_DUTCH_BELGIAN
));
19824 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH
));
19825 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_UK
));
19826 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_US
));
19827 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19828 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BELIZE
));
19829 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19830 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CANADA
));
19831 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19832 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_DENMARK
));
19833 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_EIRE
));
19834 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19835 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19836 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19837 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19838 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19839 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_PyObj_FromInt((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19840 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESPERANTO
));
19841 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ESTONIAN
));
19842 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_FAEROESE
));
19843 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FARSI
));
19844 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_PyObj_FromInt((int)wxLANGUAGE_FIJI
));
19845 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FINNISH
));
19846 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH
));
19847 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_BELGIAN
));
19848 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_CANADIAN
));
19849 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19850 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_MONACO
));
19851 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRENCH_SWISS
));
19852 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_FRISIAN
));
19853 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GALICIAN
));
19854 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GEORGIAN
));
19855 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN
));
19856 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19857 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_BELGIUM
));
19858 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19859 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19860 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_GERMAN_SWISS
));
19861 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREEK
));
19862 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_GREENLANDIC
));
19863 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUARANI
));
19864 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_GUJARATI
));
19865 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_HAUSA
));
19866 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_PyObj_FromInt((int)wxLANGUAGE_HEBREW
));
19867 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_HINDI
));
19868 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_HUNGARIAN
));
19869 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_ICELANDIC
));
19870 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_INDONESIAN
));
19871 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUA
));
19872 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_PyObj_FromInt((int)wxLANGUAGE_INTERLINGUE
));
19873 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUKTITUT
));
19874 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_INUPIAK
));
19875 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_IRISH
));
19876 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN
));
19877 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_PyObj_FromInt((int)wxLANGUAGE_ITALIAN_SWISS
));
19878 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAPANESE
));
19879 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_JAVANESE
));
19880 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KANNADA
));
19881 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI
));
19882 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KASHMIRI_INDIA
));
19883 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KAZAKH
));
19884 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_KERNEWEK
));
19885 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_PyObj_FromInt((int)wxLANGUAGE_KINYARWANDA
));
19886 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRGHIZ
));
19887 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KIRUNDI
));
19888 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_PyObj_FromInt((int)wxLANGUAGE_KONKANI
));
19889 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_KOREAN
));
19890 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_KURDISH
));
19891 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LAOTHIAN
));
19892 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATIN
));
19893 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LATVIAN
));
19894 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_LINGALA
));
19895 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_LITHUANIAN
));
19896 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MACEDONIAN
));
19897 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAGASY
));
19898 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY
));
19899 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAYALAM
));
19900 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19901 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALAY_MALAYSIA
));
19902 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_MALTESE
));
19903 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MANIPURI
));
19904 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MAORI
));
19905 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_MARATHI
));
19906 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MOLDAVIAN
));
19907 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_MONGOLIAN
));
19908 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_PyObj_FromInt((int)wxLANGUAGE_NAURU
));
19909 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI
));
19910 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_NEPALI_INDIA
));
19911 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19912 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_PyObj_FromInt((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19913 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_OCCITAN
));
19914 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_ORIYA
));
19915 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_PyObj_FromInt((int)wxLANGUAGE_OROMO
));
19916 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_PyObj_FromInt((int)wxLANGUAGE_PASHTO
));
19917 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_POLISH
));
19918 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE
));
19919 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19920 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_PyObj_FromInt((int)wxLANGUAGE_PUNJABI
));
19921 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_QUECHUA
));
19922 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RHAETO_ROMANCE
));
19923 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_ROMANIAN
));
19924 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN
));
19925 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_PyObj_FromInt((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19926 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SAMOAN
));
19927 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANGHO
));
19928 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_PyObj_FromInt((int)wxLANGUAGE_SANSKRIT
));
19929 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SCOTS_GAELIC
));
19930 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN
));
19931 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19932 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBIAN_LATIN
));
19933 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SERBO_CROATIAN
));
19934 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SESOTHO
));
19935 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SETSWANA
));
19936 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SHONA
));
19937 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINDHI
));
19938 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SINHALESE
));
19939 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SISWATI
));
19940 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVAK
));
19941 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SLOVENIAN
));
19942 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SOMALI
));
19943 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH
));
19944 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19945 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19946 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_CHILE
));
19947 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19948 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19949 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19950 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_ECUADOR
));
19951 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19952 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19953 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_HONDURAS
));
19954 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MEXICAN
));
19955 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_MODERN
));
19956 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19957 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PANAMA
));
19958 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19959 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PERU
));
19960 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19961 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_URUGUAY
));
19962 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_US
));
19963 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_PyObj_FromInt((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19964 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_SUNDANESE
));
19965 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWAHILI
));
19966 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH
));
19967 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_PyObj_FromInt((int)wxLANGUAGE_SWEDISH_FINLAND
));
19968 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAGALOG
));
19969 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAJIK
));
19970 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_PyObj_FromInt((int)wxLANGUAGE_TAMIL
));
19971 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_PyObj_FromInt((int)wxLANGUAGE_TATAR
));
19972 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_PyObj_FromInt((int)wxLANGUAGE_TELUGU
));
19973 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_PyObj_FromInt((int)wxLANGUAGE_THAI
));
19974 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIBETAN
));
19975 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TIGRINYA
));
19976 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TONGA
));
19977 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_PyObj_FromInt((int)wxLANGUAGE_TSONGA
));
19978 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKISH
));
19979 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_PyObj_FromInt((int)wxLANGUAGE_TURKMEN
));
19980 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_PyObj_FromInt((int)wxLANGUAGE_TWI
));
19981 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_PyObj_FromInt((int)wxLANGUAGE_UIGHUR
));
19982 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UKRAINIAN
));
19983 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU
));
19984 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_INDIA
));
19985 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_PyObj_FromInt((int)wxLANGUAGE_URDU_PAKISTAN
));
19986 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK
));
19987 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19988 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_PyObj_FromInt((int)wxLANGUAGE_UZBEK_LATIN
));
19989 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_PyObj_FromInt((int)wxLANGUAGE_VIETNAMESE
));
19990 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_PyObj_FromInt((int)wxLANGUAGE_VOLAPUK
));
19991 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_PyObj_FromInt((int)wxLANGUAGE_WELSH
));
19992 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_PyObj_FromInt((int)wxLANGUAGE_WOLOF
));
19993 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_PyObj_FromInt((int)wxLANGUAGE_XHOSA
));
19994 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_PyObj_FromInt((int)wxLANGUAGE_YIDDISH
));
19995 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_PyObj_FromInt((int)wxLANGUAGE_YORUBA
));
19996 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZHUANG
));
19997 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_PyObj_FromInt((int)wxLANGUAGE_ZULU
));
19998 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_PyObj_FromInt((int)wxLANGUAGE_USER_DEFINED
));
19999 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_NUMBER
));
20000 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_DATE
));
20001 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MONEY
));
20002 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_PyObj_FromInt((int)wxLOCALE_CAT_MAX
));
20003 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_PyObj_FromInt((int)wxLOCALE_THOUSANDS_SEP
));
20004 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_PyObj_FromInt((int)wxLOCALE_DECIMAL_POINT
));
20005 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_PyObj_FromInt((int)wxLOCALE_LOAD_DEFAULT
));
20006 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_PyObj_FromInt((int)wxLOCALE_CONV_ENCODING
));
20007 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_PyObj_FromInt((int)wxCONVERT_STRICT
));
20008 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_PyObj_FromInt((int)wxCONVERT_SUBSTITUTE
));
20009 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_PyObj_FromInt((int)wxPLATFORM_CURRENT
));
20010 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_PyObj_FromInt((int)wxPLATFORM_UNIX
));
20011 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_PyObj_FromInt((int)wxPLATFORM_WINDOWS
));
20012 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_PyObj_FromInt((int)wxPLATFORM_OS2
));
20013 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_PyObj_FromInt((int)wxPLATFORM_MAC
));
20014 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_NORMAL
));
20015 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20016 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_SELECTED
));
20017 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_PyObj_FromInt((int)wxIMAGELIST_DRAW_FOCUSED
));
20018 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_NORMAL
));
20019 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_SMALL
));
20020 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_PyObj_FromInt((int)wxIMAGE_LIST_STATE
));
20021 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20022 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20023 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20024 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20025 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20026 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20027 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20028 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20029 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20030 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20031 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20032 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20033 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20034 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20035 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20036 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20037 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20038 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20039 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20040 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20041 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20042 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20043 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20044 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20045 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20046 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20047 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20048 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20049 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20050 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20051 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20052 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20053 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20054 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20055 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20056 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20057 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20058 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20059 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20060 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20061 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20062 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20063 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20064 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20065 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20066 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20067 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20069 // Work around a chicken/egg problem in drawlist.cpp
20070 wxPyDrawList_SetAPIPtr();