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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
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
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
212 #define SWIGTYPE_p_wxBrush swig_types[1]
213 #define SWIGTYPE_p_wxColour swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
216 #define SWIGTYPE_p_byte swig_types[5]
217 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
218 #define SWIGTYPE_p_char swig_types[7]
219 #define SWIGTYPE_p_wxIconLocation swig_types[8]
220 #define SWIGTYPE_p_wxImage swig_types[9]
221 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
222 #define SWIGTYPE_p_wxMask swig_types[11]
223 #define SWIGTYPE_p_wxSize swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxWindow swig_types[14]
226 #define SWIGTYPE_p_double swig_types[15]
227 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
228 #define SWIGTYPE_p_wxFontMapper swig_types[17]
229 #define SWIGTYPE_p_wxEffects swig_types[18]
230 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
231 #define SWIGTYPE_p_wxPalette swig_types[20]
232 #define SWIGTYPE_p_wxBitmap swig_types[21]
233 #define SWIGTYPE_p_wxObject swig_types[22]
234 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
235 #define SWIGTYPE_p_wxRect swig_types[24]
236 #define SWIGTYPE_p_wxString swig_types[25]
237 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
238 #define SWIGTYPE_p_wxIconBundle swig_types[27]
239 #define SWIGTYPE_p_wxPoint swig_types[28]
240 #define SWIGTYPE_p_wxDash swig_types[29]
241 #define SWIGTYPE_p_wxScreenDC swig_types[30]
242 #define SWIGTYPE_p_wxCursor swig_types[31]
243 #define SWIGTYPE_p_wxClientDC swig_types[32]
244 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
245 #define SWIGTYPE_p_wxImageList swig_types[34]
246 #define SWIGTYPE_p_unsigned_char swig_types[35]
247 #define SWIGTYPE_p_wxGDIObject swig_types[36]
248 #define SWIGTYPE_p_wxIcon swig_types[37]
249 #define SWIGTYPE_p_wxLocale swig_types[38]
250 #define SWIGTYPE_p_wxRegion swig_types[39]
251 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
252 #define SWIGTYPE_p_wxConfigBase swig_types[41]
253 #define SWIGTYPE_p_wxWindowDC swig_types[42]
254 #define SWIGTYPE_p_wxPrintData swig_types[43]
255 #define SWIGTYPE_p_wxBrushList swig_types[44]
256 #define SWIGTYPE_p_wxFontList swig_types[45]
257 #define SWIGTYPE_p_wxPen swig_types[46]
258 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
259 #define SWIGTYPE_p_wxPaintDC swig_types[48]
260 #define SWIGTYPE_p_wxPenList swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxMetaFile swig_types[51]
263 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
264 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
265 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
266 static swig_type_info
*swig_types
[56];
268 /* -------- TYPES TABLE (END) -------- */
271 /*-----------------------------------------------
273 ------------------------------------------------*/
274 #define SWIG_init init_gdi_
276 #define SWIG_name "_gdi_"
278 /* Auxiliar swig macros that appear in the header */
280 #define SWIG_OLDOBJ 1
281 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
282 #define SWIG_PYSTR SWIG_NEWOBJ + 1
285 #define SWIGSTATICINLINE(a) static inline a
286 #define SWIGSTATIC(a) static a
287 #define swig_new_array(size,Type) (new Type[(size)])
288 #define swig_delete(cptr) delete cptr
289 #define swig_delete_array(cptr) delete[] cptr
290 #define swig_const_cast(a,Type) const_cast<Type >(a)
291 #define swig_static_cast(a,Type) static_cast<Type >(a)
292 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
293 #define swig_new_copy(ptr,Type) (new Type(*ptr))
294 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
298 #define SWIGSTATICINLINE(a) static a
299 #define SWIGSTATIC(a) static a
300 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
301 #define swig_delete(cptr) free((char*)cptr)
302 #define swig_delete_array(cptr) free((char*)cptr)
303 #define swig_const_cast(a,Type) (Type)(a)
304 #define swig_static_cast(a,Type) (Type)(a)
305 #define swig_reinterpret_cast(a,Type) (Type)(a)
306 #define swig_numeric_cast(a,Type) (Type)(a)
307 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
309 #endif /* __cplusplus */
312 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
313 #define SWIG_From_signed_SS_char PyInt_FromLong
315 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
316 #define SWIG_From_unsigned_SS_char PyInt_FromLong
318 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
319 #define SWIG_From_short PyInt_FromLong
321 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
322 #define SWIG_From_unsigned_SS_short PyInt_FromLong
324 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
325 #define SWIG_From_int PyInt_FromLong
327 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
328 #define SWIG_From_long PyInt_FromLong
330 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
331 #define SWIG_From_float PyFloat_FromDouble
333 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
334 #define SWIG_From_double PyFloat_FromDouble
338 #include "wx/wxPython/wxPython.h"
339 #include "wx/wxPython/pyclasses.h"
342 static const wxString
wxPyEmptyString(wxEmptyString
);
347 SWIGSTATICINLINE(int)
348 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
351 if (value
< min_value
) {
353 PyErr_Format(PyExc_OverflowError
,
354 "value %ld is less than '%s' minimum %ld",
355 value
, errmsg
, min_value
);
358 } else if (value
> max_value
) {
360 PyErr_Format(PyExc_OverflowError
,
361 "value %ld is greater than '%s' maximum %ld",
362 value
, errmsg
, max_value
);
370 // See my_fragments.i
371 SWIGSTATICINLINE(int)
372 SWIG_AsVal_long(PyObject
* obj
, long* val
)
374 if (PyNumber_Check(obj
)) {
375 if (val
) *val
= PyInt_AsLong(obj
);
379 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
380 obj
->ob_type
->tp_name
);
381 PyErr_SetObject(PyExc_TypeError
, errmsg
);
388 #if INT_MAX != LONG_MAX
389 SWIGSTATICINLINE(int)
390 SWIG_AsVal_int(PyObject
*obj
, int *val
)
392 const char* errmsg
= val
? "int" : 0;
394 if (SWIG_AsVal_long(obj
, &v
)) {
395 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
396 if (val
) *val
= swig_numeric_cast(v
, int);
405 PyErr_SetString(PyExc_TypeError
, "an int is expected");
410 SWIGSTATICINLINE(int)
411 SWIG_AsVal_int(PyObject
*obj
, int *val
)
413 return SWIG_AsVal_long(obj
,(long*)val
);
418 SWIGSTATICINLINE(int)
419 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
421 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
422 if (obj
== Py_True
) {
423 if (val
) *val
= true;
426 if (obj
== Py_False
) {
427 if (val
) *val
= false;
431 if (SWIG_AsVal_int(obj
, &res
)) {
432 if (val
) *val
= (bool)res
;
436 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
442 SWIGSTATICINLINE(bool)
443 SWIG_As_bool(PyObject
* obj
)
446 if (!SWIG_AsVal_bool(obj
, &v
)) {
448 this is needed to make valgrind/purify happier. the other
449 solution is throw an exception, but since this code should work
452 memset((void*)&v
, 0, sizeof(bool));
458 SWIGSTATICINLINE(int)
459 SWIG_Check_bool(PyObject
* obj
)
461 return SWIG_AsVal_bool(obj
, (bool*)0);
465 // See my_fragments.i
466 SWIGSTATICINLINE(int)
467 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
470 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
471 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
475 *val
= (unsigned long)v
;
480 SWIGSTATICINLINE(int)
481 SWIG_CheckUnsignedLongInRange(unsigned long value
,
482 unsigned long max_value
,
485 if (value
> max_value
) {
487 PyErr_Format(PyExc_OverflowError
,
488 "value %ld is greater than '%s' minimum %ld",
489 value
, errmsg
, max_value
);
497 SWIGSTATICINLINE(int)
498 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
500 const char* errmsg
= val
? "unsigned char" : 0;
502 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
503 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
504 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
513 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
519 SWIGSTATICINLINE(unsigned char)
520 SWIG_As_unsigned_SS_char(PyObject
* obj
)
523 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
525 this is needed to make valgrind/purify happier. the other
526 solution is throw an exception, but since this code should work
529 memset((void*)&v
, 0, sizeof(unsigned char));
535 SWIGSTATICINLINE(int)
536 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
538 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
542 SWIGSTATICINLINE(unsigned long)
543 SWIG_As_unsigned_SS_long(PyObject
* obj
)
546 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
548 this is needed to make valgrind/purify happier. the other
549 solution is throw an exception, but since this code should work
552 memset((void*)&v
, 0, sizeof(unsigned long));
558 SWIGSTATICINLINE(int)
559 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
561 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
564 PyObject
*wxColour_Get(wxColour
*self
){
565 PyObject
* rv
= PyTuple_New(3);
571 green
= self
->Green();
574 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
575 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
576 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
579 unsigned long wxColour_GetRGB(wxColour
*self
){
580 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
583 SWIGSTATICINLINE(PyObject
* )
584 SWIG_From_unsigned_SS_long(unsigned long value
)
586 return (value
> LONG_MAX
) ?
587 PyLong_FromUnsignedLong(value
)
588 : PyInt_FromLong(swig_numeric_cast(value
,long));
592 SWIGSTATICINLINE(int)
593 SWIG_As_int(PyObject
* obj
)
596 if (!SWIG_AsVal_int(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(int));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_int(PyObject
* obj
)
611 return SWIG_AsVal_int(obj
, (int*)0);
615 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
621 } else if (target
== Py_None
) {
625 if (!PyTuple_Check(target
)) {
627 target
= PyTuple_New(1);
628 PyTuple_SetItem(target
, 0, o2
);
631 PyTuple_SetItem(o3
, 0, o
);
634 target
= PySequence_Concat(o2
, o3
);
642 PyObject
*wxPen_GetDashes(wxPen
*self
){
644 int count
= self
->GetDashes(&dashes
);
645 bool blocked
= wxPyBeginBlockThreads();
646 PyObject
* retval
= PyList_New(0);
647 for (int x
=0; x
<count
; x
++) {
648 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
649 PyList_Append(retval
, pyint
);
652 wxPyEndBlockThreads(blocked
);
655 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
656 bool blocked
= wxPyBeginBlockThreads();
657 int size
= PyList_Size(pyDashes
);
658 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
660 // black magic warning! The array of wxDashes needs to exist as
661 // long as the pen does because wxPen does not copy the array. So
662 // stick a copy in a Python string object and attach it to _self,
663 // and then call SetDashes with a pointer to that array. Then
664 // when the Python pen object is destroyed the array will be
666 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
667 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
669 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
671 Py_DECREF(strDashes
);
672 wxPyEndBlockThreads(blocked
);
674 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
675 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
677 #include <wx/image.h>
679 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
680 char** cArray
= NULL
;
683 if (!PyList_Check(listOfStrings
)) {
684 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
687 count
= PyList_Size(listOfStrings
);
688 cArray
= new char*[count
];
690 for(int x
=0; x
<count
; x
++) {
691 // TODO: Need some validation and error checking here
692 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
698 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
699 char** cArray
= NULL
;
702 cArray
= ConvertListOfStrings(listOfStrings
);
705 bmp
= new wxBitmap(cArray
);
709 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
712 PyString_AsStringAndSize(bits
, &buf
, &length
);
713 return new wxBitmap(buf
, width
, height
, depth
);
715 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
716 wxSize
size(self
->GetWidth(), self
->GetHeight());
719 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
720 wxMask
*mask
= new wxMask(*self
, colour
);
723 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
724 self
->SetWidth(size
.x
);
725 self
->SetHeight(size
.y
);
727 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
728 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
729 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
731 return new wxMask(bitmap
, *wxBLACK
);
733 return new wxMask(bitmap
, colour
);
736 #include <wx/iconbndl.h>
738 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
739 wxIcon
* icon
= new wxIcon();
740 icon
->CopyFromBitmap(bmp
);
743 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
744 char** cArray
= NULL
;
747 cArray
= ConvertListOfStrings(listOfStrings
);
750 icon
= new wxIcon(cArray
);
754 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
758 return new wxIconLocation(*filename
);
761 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
768 int wxIconLocation_GetIndex(wxIconLocation
*self
){
776 SWIGSTATICINLINE(long)
777 SWIG_As_long(PyObject
* obj
)
780 if (!SWIG_AsVal_long(obj
, &v
)) {
782 this is needed to make valgrind/purify happier. the other
783 solution is throw an exception, but since this code should work
786 memset((void*)&v
, 0, sizeof(long));
792 SWIGSTATICINLINE(int)
793 SWIG_Check_long(PyObject
* obj
)
795 return SWIG_AsVal_long(obj
, (long*)0);
798 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
800 wxCHECK_MSG(false, NULL
,
801 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
803 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
808 void wxRegionIterator_Next(wxRegionIterator
*self
){
811 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
812 return self
->operator bool();
815 #include <wx/fontutil.h>
816 #include <wx/fontmap.h>
817 #include <wx/fontenum.h>
819 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
820 return self
->ToString();
823 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
824 static wxNativeEncodingInfo info
;
825 if ( wxGetNativeFontEncoding(encoding
, &info
) )
831 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
832 wxFontEncoding alt_enc
;
833 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
834 return PyInt_FromLong(alt_enc
);
840 wxFont
*new_wxFont(wxString
const &info
){
841 wxNativeFontInfo nfi
;
842 nfi
.FromString(info
);
843 return new wxFont(nfi
);
845 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
846 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
848 wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
,wxString
const &face
,wxFontEncoding encoding
){
849 return wxFontBase::New(pixelSize
, family
,
850 style
, weight
, underlined
,
853 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
854 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
856 class wxPyFontEnumerator
: public wxFontEnumerator
{
858 wxPyFontEnumerator() {}
859 ~wxPyFontEnumerator() {}
861 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
862 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
867 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
868 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
871 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
872 wxArrayString
* arr
= self
->GetEncodings();
874 return wxArrayString2PyList_helper(*arr
);
876 return PyList_New(0);
878 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
879 wxArrayString
* arr
= self
->GetFacenames();
881 return wxArrayString2PyList_helper(*arr
);
883 return PyList_New(0);
888 wxLocale
*new_wxLocale(int language
,int flags
){
891 loc
= new wxLocale();
893 loc
= new wxLocale(language
, flags
);
894 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
895 // for the floating point conversions and such to work right.
896 #if PY_VERSION_HEX < 0x02040000
897 setlocale(LC_NUMERIC
, "C");
901 bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
,wxString
const &szLocale
,bool bLoadDefault
,bool bConvertEncoding
){
902 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
903 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
904 // for the floating point conversions and such to work right.
905 #if PY_VERSION_HEX < 0x02040000
906 setlocale(LC_NUMERIC
, "C");
910 bool wxLocale_Init2(wxLocale
*self
,int language
,int flags
){
911 bool rc
= self
->Init(language
, flags
);
912 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
913 // for the floating point conversions and such to work right.
914 #if PY_VERSION_HEX < 0x02040000
915 setlocale(LC_NUMERIC
, "C");
920 #include "wx/wxPython/pydrawxxx.h"
922 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
924 self
->GetPixel(x
, y
, &col
);
927 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
929 self
->GetPixel(pt
, &col
);
933 // See my_fragments.i
934 SWIGSTATICINLINE(int)
935 SWIG_AsVal_double(PyObject
*obj
, double* val
)
937 if (PyNumber_Check(obj
)) {
938 if (val
) *val
= PyFloat_AsDouble(obj
);
942 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
943 obj
->ob_type
->tp_name
);
944 PyErr_SetObject(PyExc_TypeError
, errmsg
);
951 SWIGSTATICINLINE(double)
952 SWIG_As_double(PyObject
* obj
)
955 if (!SWIG_AsVal_double(obj
, &v
)) {
957 this is needed to make valgrind/purify happier. the other
958 solution is throw an exception, but since this code should work
961 memset((void*)&v
, 0, sizeof(double));
967 SWIGSTATICINLINE(int)
968 SWIG_Check_double(PyObject
* obj
)
970 return SWIG_AsVal_double(obj
, (double*)0);
973 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
975 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
979 wxRect
wxDC_GetClippingRect(wxDC
*self
){
981 self
->GetClippingBox(rect
);
984 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
986 self
->GetPartialTextExtents(text
, widths
);
990 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
991 self
->SetLogicalOrigin(point
.x
, point
.y
);
993 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
994 self
->SetDeviceOrigin(point
.x
, point
.y
);
996 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
997 self
->CalcBoundingBox(point
.x
, point
.y
);
999 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1000 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
1002 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1003 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
1005 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1006 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
1008 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1009 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
1011 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1012 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
1014 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
1015 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
1018 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1026 #include <wx/dcbuffer.h>
1029 #include <wx/dcps.h>
1032 class wxMetaFile
: public wxObject
{
1034 wxMetaFile(const wxString
&)
1035 { wxPyRaiseNotImplemented(); }
1038 class wxMetaFileDC
: public wxClientDC
{
1040 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
1041 { wxPyRaiseNotImplemented(); }
1046 class wxPrinterDC
: public wxClientDC
{
1048 wxPrinterDC(const wxPrintData
&)
1049 { wxPyRaiseNotImplemented(); }
1051 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
1052 // { wxPyRaiseNotImplemented(); }
1057 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1058 self
->AddColour(name
, wxColour(red
, green
, blue
));
1061 #include <wx/effects.h>
1066 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
*resultobj
;
1068 wxGDIObject
*result
;
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1075 if (!wxPyCheckForApp()) SWIG_fail
;
1076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1077 result
= (wxGDIObject
*)new wxGDIObject();
1079 wxPyEndAllowThreads(__tstate
);
1080 if (PyErr_Occurred()) SWIG_fail
;
1082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1089 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
*resultobj
;
1091 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1092 PyObject
* obj0
= 0 ;
1094 (char *) "self", NULL
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) SWIG_fail
;
1107 Py_INCREF(Py_None
); resultobj
= Py_None
;
1114 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
*resultobj
;
1116 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1118 PyObject
* obj0
= 0 ;
1120 (char *) "self", NULL
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1128 result
= (bool)(arg1
)->GetVisible();
1130 wxPyEndAllowThreads(__tstate
);
1131 if (PyErr_Occurred()) SWIG_fail
;
1134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1142 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
*resultobj
;
1144 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1146 PyObject
* obj0
= 0 ;
1147 PyObject
* obj1
= 0 ;
1149 (char *) "self",(char *) "visible", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1155 arg2
= (bool)SWIG_As_bool(obj1
);
1156 if (PyErr_Occurred()) SWIG_fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 (arg1
)->SetVisible(arg2
);
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1164 Py_INCREF(Py_None
); resultobj
= Py_None
;
1171 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1173 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1175 PyObject
* obj0
= 0 ;
1177 (char *) "self", NULL
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1185 result
= (bool)(arg1
)->IsNull();
1187 wxPyEndAllowThreads(__tstate
);
1188 if (PyErr_Occurred()) SWIG_fail
;
1191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1199 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1202 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1204 return Py_BuildValue((char *)"");
1206 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1207 PyObject
*resultobj
;
1208 byte arg1
= (byte
) 0 ;
1209 byte arg2
= (byte
) 0 ;
1210 byte arg3
= (byte
) 0 ;
1212 PyObject
* obj0
= 0 ;
1213 PyObject
* obj1
= 0 ;
1214 PyObject
* obj2
= 0 ;
1216 (char *) "red",(char *) "green",(char *) "blue", NULL
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1221 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1222 if (PyErr_Occurred()) SWIG_fail
;
1225 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1226 if (PyErr_Occurred()) SWIG_fail
;
1229 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1246 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
*resultobj
;
1248 wxString
*arg1
= 0 ;
1250 bool temp1
= false ;
1251 PyObject
* obj0
= 0 ;
1253 (char *) "colorName", NULL
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1258 arg1
= wxString_in_helper(obj0
);
1259 if (arg1
== NULL
) SWIG_fail
;
1263 if (!wxPyCheckForApp()) SWIG_fail
;
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) SWIG_fail
;
1270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1285 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1287 unsigned long arg1
;
1289 PyObject
* obj0
= 0 ;
1291 (char *) "colRGB", NULL
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1295 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1296 if (PyErr_Occurred()) SWIG_fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 result
= (wxColour
*)new wxColour(arg1
);
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1311 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1313 wxColour
*arg1
= (wxColour
*) 0 ;
1314 PyObject
* obj0
= 0 ;
1316 (char *) "self", NULL
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 Py_INCREF(Py_None
); resultobj
= Py_None
;
1336 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
*resultobj
;
1338 wxColour
*arg1
= (wxColour
*) 0 ;
1340 PyObject
* obj0
= 0 ;
1342 (char *) "self", NULL
1345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 result
= (byte
)(arg1
)->Red();
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) SWIG_fail
;
1355 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1362 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
*resultobj
;
1364 wxColour
*arg1
= (wxColour
*) 0 ;
1366 PyObject
* obj0
= 0 ;
1368 (char *) "self", NULL
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1376 result
= (byte
)(arg1
)->Green();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1381 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1388 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
*resultobj
;
1390 wxColour
*arg1
= (wxColour
*) 0 ;
1392 PyObject
* obj0
= 0 ;
1394 (char *) "self", NULL
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 result
= (byte
)(arg1
)->Blue();
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1407 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1414 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
*resultobj
;
1416 wxColour
*arg1
= (wxColour
*) 0 ;
1418 PyObject
* obj0
= 0 ;
1420 (char *) "self", NULL
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1428 result
= (bool)(arg1
)->Ok();
1430 wxPyEndAllowThreads(__tstate
);
1431 if (PyErr_Occurred()) SWIG_fail
;
1434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1442 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxColour
*arg1
= (wxColour
*) 0 ;
1448 PyObject
* obj0
= 0 ;
1449 PyObject
* obj1
= 0 ;
1450 PyObject
* obj2
= 0 ;
1451 PyObject
* obj3
= 0 ;
1453 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1459 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1461 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1463 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1464 if (PyErr_Occurred()) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 (arg1
)->Set(arg2
,arg3
,arg4
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 Py_INCREF(Py_None
); resultobj
= Py_None
;
1479 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxColour
*arg1
= (wxColour
*) 0 ;
1482 unsigned long arg2
;
1483 PyObject
* obj0
= 0 ;
1484 PyObject
* obj1
= 0 ;
1486 (char *) "self",(char *) "colRGB", NULL
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1492 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1501 Py_INCREF(Py_None
); resultobj
= Py_None
;
1508 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1510 wxColour
*arg1
= (wxColour
*) 0 ;
1511 wxString
*arg2
= 0 ;
1512 bool temp2
= false ;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1516 (char *) "self",(char *) "colourName", NULL
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1523 arg2
= wxString_in_helper(obj1
);
1524 if (arg2
== NULL
) SWIG_fail
;
1528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1529 (arg1
)->InitFromName((wxString
const &)*arg2
);
1531 wxPyEndAllowThreads(__tstate
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1534 Py_INCREF(Py_None
); resultobj
= Py_None
;
1549 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxColour
*arg1
= (wxColour
*) 0 ;
1553 PyObject
* obj0
= 0 ;
1555 (char *) "self", NULL
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) SWIG_fail
;
1568 resultobj
= SWIG_From_long((long)result
);
1575 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
*resultobj
;
1577 wxColour
*arg1
= (wxColour
*) 0 ;
1578 wxColour
*arg2
= 0 ;
1581 PyObject
* obj0
= 0 ;
1582 PyObject
* obj1
= 0 ;
1584 (char *) "self",(char *) "colour", NULL
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1592 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1610 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
*resultobj
;
1612 wxColour
*arg1
= (wxColour
*) 0 ;
1613 wxColour
*arg2
= 0 ;
1616 PyObject
* obj0
= 0 ;
1617 PyObject
* obj1
= 0 ;
1619 (char *) "self",(char *) "colour", NULL
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1645 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
*resultobj
;
1647 wxColour
*arg1
= (wxColour
*) 0 ;
1649 PyObject
* obj0
= 0 ;
1651 (char *) "self", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 result
= (PyObject
*)wxColour_Get(arg1
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1671 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
*resultobj
;
1673 wxColour
*arg1
= (wxColour
*) 0 ;
1674 unsigned long result
;
1675 PyObject
* obj0
= 0 ;
1677 (char *) "self", NULL
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 result
= (unsigned long)wxColour_GetRGB(arg1
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1690 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1697 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1700 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1702 return Py_BuildValue((char *)"");
1704 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1707 unsigned char *arg2
= (unsigned char *) 0 ;
1708 unsigned char *arg3
= (unsigned char *) 0 ;
1709 unsigned char *arg4
= (unsigned char *) 0 ;
1711 PyObject
* obj0
= 0 ;
1712 PyObject
* obj1
= 0 ;
1713 PyObject
* obj2
= 0 ;
1714 PyObject
* obj3
= 0 ;
1716 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1720 arg1
= (int)SWIG_As_int(obj0
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1724 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1729 if (!wxPyCheckForApp()) SWIG_fail
;
1730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1731 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1733 wxPyEndAllowThreads(__tstate
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1743 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1744 PyObject
*resultobj
;
1745 wxPalette
*arg1
= (wxPalette
*) 0 ;
1746 PyObject
* obj0
= 0 ;
1748 (char *) "self", NULL
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 Py_INCREF(Py_None
); resultobj
= Py_None
;
1768 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxPalette
*arg1
= (wxPalette
*) 0 ;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1777 PyObject
* obj2
= 0 ;
1778 PyObject
* obj3
= 0 ;
1780 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1786 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1788 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1790 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 resultobj
= SWIG_From_int((int)result
);
1806 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxPalette
*arg1
= (wxPalette
*) 0 ;
1810 byte
*arg3
= (byte
*) 0 ;
1811 byte
*arg4
= (byte
*) 0 ;
1812 byte
*arg5
= (byte
*) 0 ;
1820 PyObject
* obj0
= 0 ;
1821 PyObject
* obj1
= 0 ;
1823 (char *) "self",(char *) "pixel", NULL
1826 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1827 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1828 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1832 arg2
= (int)SWIG_As_int(obj1
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1844 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1845 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1846 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1847 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1848 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1849 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1856 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxPalette
*arg1
= (wxPalette
*) 0 ;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "self", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 result
= (bool)(arg1
)->Ok();
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1884 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1887 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1889 return Py_BuildValue((char *)"");
1891 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxColour
*arg1
= 0 ;
1894 int arg2
= (int) 1 ;
1895 int arg3
= (int) wxSOLID
;
1898 PyObject
* obj0
= 0 ;
1899 PyObject
* obj1
= 0 ;
1900 PyObject
* obj2
= 0 ;
1902 (char *) "colour",(char *) "width",(char *) "style", NULL
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1908 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1911 arg2
= (int)SWIG_As_int(obj1
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1915 arg3
= (int)SWIG_As_int(obj2
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1919 if (!wxPyCheckForApp()) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1933 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxPen
*arg1
= (wxPen
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1958 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxPen
*arg1
= (wxPen
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 result
= (int)(arg1
)->GetCap();
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1977 resultobj
= SWIG_From_int((int)result
);
1984 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
*resultobj
;
1986 wxPen
*arg1
= (wxPen
*) 0 ;
1988 PyObject
* obj0
= 0 ;
1990 (char *) "self", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 result
= (arg1
)->GetColour();
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2004 wxColour
* resultptr
;
2005 resultptr
= new wxColour((wxColour
&) result
);
2006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2014 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxPen
*arg1
= (wxPen
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2020 (char *) "self", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= (int)(arg1
)->GetJoin();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 resultobj
= SWIG_From_int((int)result
);
2040 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2042 wxPen
*arg1
= (wxPen
*) 0 ;
2044 PyObject
* obj0
= 0 ;
2046 (char *) "self", NULL
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 result
= (int)(arg1
)->GetStyle();
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= SWIG_From_int((int)result
);
2066 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2068 wxPen
*arg1
= (wxPen
*) 0 ;
2070 PyObject
* obj0
= 0 ;
2072 (char *) "self", NULL
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (int)(arg1
)->GetWidth();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= SWIG_From_int((int)result
);
2092 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
*resultobj
;
2094 wxPen
*arg1
= (wxPen
*) 0 ;
2096 PyObject
* obj0
= 0 ;
2098 (char *) "self", NULL
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 result
= (bool)(arg1
)->Ok();
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2120 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
*resultobj
;
2122 wxPen
*arg1
= (wxPen
*) 0 ;
2124 PyObject
* obj0
= 0 ;
2125 PyObject
* obj1
= 0 ;
2127 (char *) "self",(char *) "cap_style", NULL
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2133 arg2
= (int)SWIG_As_int(obj1
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 (arg1
)->SetCap(arg2
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 Py_INCREF(Py_None
); resultobj
= Py_None
;
2149 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxPen
*arg1
= (wxPen
*) 0 ;
2152 wxColour
*arg2
= 0 ;
2154 PyObject
* obj0
= 0 ;
2155 PyObject
* obj1
= 0 ;
2157 (char *) "self",(char *) "colour", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 (arg1
)->SetColour(*arg2
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 Py_INCREF(Py_None
); resultobj
= Py_None
;
2181 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxPen
*arg1
= (wxPen
*) 0 ;
2185 PyObject
* obj0
= 0 ;
2186 PyObject
* obj1
= 0 ;
2188 (char *) "self",(char *) "join_style", NULL
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2194 arg2
= (int)SWIG_As_int(obj1
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 (arg1
)->SetJoin(arg2
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 Py_INCREF(Py_None
); resultobj
= Py_None
;
2210 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
*resultobj
;
2212 wxPen
*arg1
= (wxPen
*) 0 ;
2214 PyObject
* obj0
= 0 ;
2215 PyObject
* obj1
= 0 ;
2217 (char *) "self",(char *) "style", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2223 arg2
= (int)SWIG_As_int(obj1
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 (arg1
)->SetStyle(arg2
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 Py_INCREF(Py_None
); resultobj
= Py_None
;
2239 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
*resultobj
;
2241 wxPen
*arg1
= (wxPen
*) 0 ;
2243 PyObject
* obj0
= 0 ;
2244 PyObject
* obj1
= 0 ;
2246 (char *) "self",(char *) "width", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2252 arg2
= (int)SWIG_As_int(obj1
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 (arg1
)->SetWidth(arg2
);
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 Py_INCREF(Py_None
); resultobj
= Py_None
;
2268 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
*resultobj
;
2270 wxPen
*arg1
= (wxPen
*) 0 ;
2272 wxDash
*arg3
= (wxDash
*) 0 ;
2273 PyObject
* obj0
= 0 ;
2274 PyObject
* obj1
= 0 ;
2276 (char *) "self",(char *) "dashes", NULL
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2281 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
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxPen
*arg1
= (wxPen
*) 0 ;
2311 PyObject
* obj0
= 0 ;
2313 (char *) "self", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2333 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxPen
*arg1
= (wxPen
*) 0 ;
2336 PyObject
*arg2
= (PyObject
*) 0 ;
2337 PyObject
*arg3
= (PyObject
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2339 PyObject
* obj1
= 0 ;
2340 PyObject
* obj2
= 0 ;
2342 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 wxPen__SetDashes(arg1
,arg2
,arg3
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 Py_INCREF(Py_None
); resultobj
= Py_None
;
2364 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxPen
*arg1
= (wxPen
*) 0 ;
2368 PyObject
* obj0
= 0 ;
2370 (char *) "self", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= SWIG_From_int((int)result
);
2390 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 wxPen
*arg1
= (wxPen
*) 0 ;
2393 wxPen
*arg2
= (wxPen
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2396 PyObject
* obj1
= 0 ;
2398 (char *) "self",(char *) "other", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) SWIG_fail
;
2414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2422 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxPen
*arg1
= (wxPen
*) 0 ;
2425 wxPen
*arg2
= (wxPen
*) 0 ;
2427 PyObject
* obj0
= 0 ;
2428 PyObject
* obj1
= 0 ;
2430 (char *) "self",(char *) "other", NULL
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2454 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2457 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2459 return Py_BuildValue((char *)"");
2461 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
*resultobj
;
2463 wxColour
*arg1
= 0 ;
2464 int arg2
= (int) wxSOLID
;
2467 PyObject
* obj0
= 0 ;
2468 PyObject
* obj1
= 0 ;
2470 (char *) "colour",(char *) "style", NULL
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2476 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2479 arg2
= (int)SWIG_As_int(obj1
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2483 if (!wxPyCheckForApp()) SWIG_fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2497 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 wxBrush
*arg1
= (wxBrush
*) 0 ;
2500 PyObject
* obj0
= 0 ;
2502 (char *) "self", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 Py_INCREF(Py_None
); resultobj
= Py_None
;
2522 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxBrush
*arg1
= (wxBrush
*) 0 ;
2525 wxColour
*arg2
= 0 ;
2527 PyObject
* obj0
= 0 ;
2528 PyObject
* obj1
= 0 ;
2530 (char *) "self",(char *) "col", NULL
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 (arg1
)->SetColour((wxColour
const &)*arg2
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxBrush
*arg1
= (wxBrush
*) 0 ;
2558 PyObject
* obj0
= 0 ;
2559 PyObject
* obj1
= 0 ;
2561 (char *) "self",(char *) "style", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2567 arg2
= (int)SWIG_As_int(obj1
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 (arg1
)->SetStyle(arg2
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2585 wxBrush
*arg1
= (wxBrush
*) 0 ;
2586 wxBitmap
*arg2
= 0 ;
2587 PyObject
* obj0
= 0 ;
2588 PyObject
* obj1
= 0 ;
2590 (char *) "self",(char *) "stipple", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2600 PyErr_SetString(PyExc_TypeError
,"null reference");
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2610 Py_INCREF(Py_None
); resultobj
= Py_None
;
2617 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxBrush
*arg1
= (wxBrush
*) 0 ;
2621 PyObject
* obj0
= 0 ;
2623 (char *) "self", NULL
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 result
= ((wxBrush
const *)arg1
)->GetColour();
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2637 wxColour
* resultptr
;
2638 resultptr
= new wxColour((wxColour
&) result
);
2639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2647 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxBrush
*arg1
= (wxBrush
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2653 (char *) "self", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= SWIG_From_int((int)result
);
2673 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxBrush
*arg1
= (wxBrush
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2679 (char *) "self", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2699 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxBrush
*arg1
= (wxBrush
*) 0 ;
2703 PyObject
* obj0
= 0 ;
2705 (char *) "self", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2727 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxBrush
*arg1
= (wxBrush
*) 0 ;
2731 PyObject
* obj0
= 0 ;
2733 (char *) "self", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 result
= (bool)(arg1
)->Ok();
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2755 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2758 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2760 return Py_BuildValue((char *)"");
2762 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
*resultobj
;
2764 wxString
*arg1
= 0 ;
2765 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2767 bool temp1
= false ;
2768 PyObject
* obj0
= 0 ;
2769 PyObject
* obj1
= 0 ;
2771 (char *) "name",(char *) "type", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2776 arg1
= wxString_in_helper(obj0
);
2777 if (arg1
== NULL
) SWIG_fail
;
2781 arg2
= (int)SWIG_As_int(obj1
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2785 if (!wxPyCheckForApp()) SWIG_fail
;
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2807 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2810 PyObject
* obj0
= 0 ;
2812 (char *) "self", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 Py_INCREF(Py_None
); resultobj
= Py_None
;
2832 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2836 int arg3
= (int) -1 ;
2838 PyObject
* obj0
= 0 ;
2839 PyObject
* obj1
= 0 ;
2840 PyObject
* obj2
= 0 ;
2842 (char *) "width",(char *) "height",(char *) "depth", NULL
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2846 arg1
= (int)SWIG_As_int(obj0
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2848 arg2
= (int)SWIG_As_int(obj1
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2851 arg3
= (int)SWIG_As_int(obj2
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2855 if (!wxPyCheckForApp()) SWIG_fail
;
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2869 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2873 PyObject
* obj0
= 0 ;
2875 (char *) "icon", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2883 PyErr_SetString(PyExc_TypeError
,"null reference");
2887 if (!wxPyCheckForApp()) SWIG_fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2901 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2904 int arg2
= (int) -1 ;
2906 PyObject
* obj0
= 0 ;
2907 PyObject
* obj1
= 0 ;
2909 (char *) "image",(char *) "depth", NULL
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2917 PyErr_SetString(PyExc_TypeError
,"null reference");
2921 arg2
= (int)SWIG_As_int(obj1
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2925 if (!wxPyCheckForApp()) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2939 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 PyObject
*arg1
= (PyObject
*) 0 ;
2943 PyObject
* obj0
= 0 ;
2945 (char *) "listOfStrings", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2951 if (!wxPyCheckForApp()) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2965 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 PyObject
*arg1
= (PyObject
*) 0 ;
2970 int arg4
= (int) 1 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2974 PyObject
* obj2
= 0 ;
2975 PyObject
* obj3
= 0 ;
2977 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2982 arg2
= (int)SWIG_As_int(obj1
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2984 arg3
= (int)SWIG_As_int(obj2
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2987 arg4
= (int)SWIG_As_int(obj3
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 if (!wxPyCheckForApp()) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3005 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3011 (char *) "self", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (bool)(arg1
)->Ok();
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3033 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3037 PyObject
* obj0
= 0 ;
3039 (char *) "self", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 result
= (int)(arg1
)->GetWidth();
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 resultobj
= SWIG_From_int((int)result
);
3059 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3063 PyObject
* obj0
= 0 ;
3065 (char *) "self", NULL
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 result
= (int)(arg1
)->GetHeight();
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3078 resultobj
= SWIG_From_int((int)result
);
3085 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
*resultobj
;
3087 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3089 PyObject
* obj0
= 0 ;
3091 (char *) "self", NULL
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= (int)(arg1
)->GetDepth();
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= SWIG_From_int((int)result
);
3111 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
*resultobj
;
3113 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3115 PyObject
* obj0
= 0 ;
3117 (char *) "self", NULL
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= wxBitmap_GetSize(arg1
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3132 resultptr
= new wxSize((wxSize
&) result
);
3133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3141 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3144 SwigValueWrapper
< wxImage
> result
;
3145 PyObject
* obj0
= 0 ;
3147 (char *) "self", NULL
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3161 wxImage
* resultptr
;
3162 resultptr
= new wxImage((wxImage
&) result
);
3163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3171 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3175 PyObject
* obj0
= 0 ;
3177 (char *) "self", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3197 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3200 wxMask
*arg2
= (wxMask
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3202 PyObject
* obj1
= 0 ;
3204 (char *) "self",(char *) "mask", NULL
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 (arg1
)->SetMask(arg2
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3219 Py_INCREF(Py_None
); resultobj
= Py_None
;
3226 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3229 wxColour
*arg2
= 0 ;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3234 (char *) "self",(char *) "colour", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3242 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3251 Py_INCREF(Py_None
); resultobj
= Py_None
;
3258 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3262 SwigValueWrapper
< wxBitmap
> result
;
3264 PyObject
* obj0
= 0 ;
3265 PyObject
* obj1
= 0 ;
3267 (char *) "self",(char *) "rect", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3279 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3281 wxPyEndAllowThreads(__tstate
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3285 wxBitmap
* resultptr
;
3286 resultptr
= new wxBitmap((wxBitmap
&) result
);
3287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3295 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3298 wxString
*arg2
= 0 ;
3300 wxPalette
*arg4
= (wxPalette
*) NULL
;
3302 bool temp2
= false ;
3303 PyObject
* obj0
= 0 ;
3304 PyObject
* obj1
= 0 ;
3305 PyObject
* obj2
= 0 ;
3306 PyObject
* obj3
= 0 ;
3308 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3315 arg2
= wxString_in_helper(obj1
);
3316 if (arg2
== NULL
) SWIG_fail
;
3319 arg3
= (int)SWIG_As_int(obj2
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3349 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3352 wxString
*arg2
= 0 ;
3355 bool temp2
= false ;
3356 PyObject
* obj0
= 0 ;
3357 PyObject
* obj1
= 0 ;
3358 PyObject
* obj2
= 0 ;
3360 (char *) "self",(char *) "name",(char *) "type", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3367 arg2
= wxString_in_helper(obj1
);
3368 if (arg2
== NULL
) SWIG_fail
;
3371 arg3
= (int)SWIG_As_int(obj2
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3397 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
*resultobj
;
3399 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3401 PyObject
* obj0
= 0 ;
3403 (char *) "self", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
3423 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3429 PyObject
* obj1
= 0 ;
3431 (char *) "self",(char *) "icon", NULL
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3441 PyErr_SetString(PyExc_TypeError
,"null reference");
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3460 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
*resultobj
;
3462 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3464 PyObject
* obj0
= 0 ;
3465 PyObject
* obj1
= 0 ;
3467 (char *) "self",(char *) "height", NULL
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3473 arg2
= (int)SWIG_As_int(obj1
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 (arg1
)->SetHeight(arg2
);
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "width", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 arg2
= (int)SWIG_As_int(obj1
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 (arg1
)->SetWidth(arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 Py_INCREF(Py_None
); resultobj
= Py_None
;
3518 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3522 PyObject
* obj0
= 0 ;
3523 PyObject
* obj1
= 0 ;
3525 (char *) "self",(char *) "depth", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3531 arg2
= (int)SWIG_As_int(obj1
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 (arg1
)->SetDepth(arg2
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3540 Py_INCREF(Py_None
); resultobj
= Py_None
;
3547 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3555 (char *) "self",(char *) "size", NULL
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3563 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3572 Py_INCREF(Py_None
); resultobj
= Py_None
;
3579 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3582 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3587 (char *) "self",(char *) "other", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3611 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3613 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3614 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3616 PyObject
* obj0
= 0 ;
3617 PyObject
* obj1
= 0 ;
3619 (char *) "self",(char *) "other", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3643 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3646 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3648 return Py_BuildValue((char *)"");
3650 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxBitmap
*arg1
= 0 ;
3653 wxColour
const &arg2_defvalue
= wxNullColour
;
3654 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3657 PyObject
* obj0
= 0 ;
3658 PyObject
* obj1
= 0 ;
3660 (char *) "bitmap",(char *) "colour", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3665 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3668 PyErr_SetString(PyExc_TypeError
,"null reference");
3674 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3678 if (!wxPyCheckForApp()) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3692 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3695 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3697 return Py_BuildValue((char *)"");
3699 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxString
*arg1
= 0 ;
3703 int arg3
= (int) -1 ;
3704 int arg4
= (int) -1 ;
3706 bool temp1
= false ;
3707 PyObject
* obj0
= 0 ;
3708 PyObject
* obj1
= 0 ;
3709 PyObject
* obj2
= 0 ;
3710 PyObject
* obj3
= 0 ;
3712 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3717 arg1
= wxString_in_helper(obj0
);
3718 if (arg1
== NULL
) SWIG_fail
;
3721 arg2
= (int)SWIG_As_int(obj1
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 arg3
= (int)SWIG_As_int(obj2
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3728 arg4
= (int)SWIG_As_int(obj3
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 if (!wxPyCheckForApp()) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3754 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxIcon
*arg1
= (wxIcon
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "self", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 wxPyEndAllowThreads(__tstate
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3788 if (!wxPyCheckForApp()) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (wxIcon
*)new wxIcon();
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3802 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxIconLocation
*arg1
= 0 ;
3806 PyObject
* obj0
= 0 ;
3808 (char *) "loc", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3816 PyErr_SetString(PyExc_TypeError
,"null reference");
3820 if (!wxPyCheckForApp()) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3834 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxBitmap
*arg1
= 0 ;
3838 PyObject
* obj0
= 0 ;
3840 (char *) "bmp", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3848 PyErr_SetString(PyExc_TypeError
,"null reference");
3852 if (!wxPyCheckForApp()) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3866 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
*resultobj
;
3868 PyObject
*arg1
= (PyObject
*) 0 ;
3870 PyObject
* obj0
= 0 ;
3872 (char *) "listOfStrings", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3878 if (!wxPyCheckForApp()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (wxIcon
*)new_wxIcon(arg1
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3892 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 wxIcon
*arg1
= (wxIcon
*) 0 ;
3895 wxString
*arg2
= 0 ;
3898 bool temp2
= false ;
3899 PyObject
* obj0
= 0 ;
3900 PyObject
* obj1
= 0 ;
3901 PyObject
* obj2
= 0 ;
3903 (char *) "self",(char *) "name",(char *) "type", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3910 arg2
= wxString_in_helper(obj1
);
3911 if (arg2
== NULL
) SWIG_fail
;
3914 arg3
= (int)SWIG_As_int(obj2
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3940 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxIcon
*arg1
= (wxIcon
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (bool)(arg1
)->Ok();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3968 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxIcon
*arg1
= (wxIcon
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "self", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 result
= (int)(arg1
)->GetWidth();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= SWIG_From_int((int)result
);
3994 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxIcon
*arg1
= (wxIcon
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 result
= (int)(arg1
)->GetHeight();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_From_int((int)result
);
4020 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4022 wxIcon
*arg1
= (wxIcon
*) 0 ;
4024 PyObject
* obj0
= 0 ;
4026 (char *) "self", NULL
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (int)(arg1
)->GetDepth();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_From_int((int)result
);
4046 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxIcon
*arg1
= (wxIcon
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4051 PyObject
* obj1
= 0 ;
4053 (char *) "self",(char *) "w", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4059 arg2
= (int)SWIG_As_int(obj1
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 (arg1
)->SetWidth(arg2
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4077 wxIcon
*arg1
= (wxIcon
*) 0 ;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4082 (char *) "self",(char *) "h", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4088 arg2
= (int)SWIG_As_int(obj1
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 (arg1
)->SetHeight(arg2
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 Py_INCREF(Py_None
); resultobj
= Py_None
;
4104 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxIcon
*arg1
= (wxIcon
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4111 (char *) "self",(char *) "d", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 arg2
= (int)SWIG_As_int(obj1
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->SetDepth(arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxIcon
*arg1
= (wxIcon
*) 0 ;
4136 wxBitmap
*arg2
= 0 ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4140 (char *) "self",(char *) "bmp", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4150 PyErr_SetString(PyExc_TypeError
,"null reference");
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 Py_INCREF(Py_None
); resultobj
= Py_None
;
4167 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4170 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4172 return Py_BuildValue((char *)"");
4174 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4177 int arg2
= (int) 0 ;
4178 wxIconLocation
*result
;
4179 bool temp1
= false ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4183 (char *) "filename",(char *) "num", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4189 arg1
= wxString_in_helper(obj0
);
4190 if (arg1
== NULL
) SWIG_fail
;
4195 arg2
= (int)SWIG_As_int(obj1
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4220 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4223 PyObject
* obj0
= 0 ;
4225 (char *) "self", NULL
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "self", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4273 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
*resultobj
;
4275 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4276 wxString
*arg2
= 0 ;
4277 bool temp2
= false ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4281 (char *) "self",(char *) "filename", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 arg2
= wxString_in_helper(obj1
);
4289 if (arg2
== NULL
) SWIG_fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 (arg1
)->SetFileName((wxString
const &)*arg2
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4299 Py_INCREF(Py_None
); resultobj
= Py_None
;
4314 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4318 PyObject
* obj0
= 0 ;
4320 (char *) "self", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4330 result
= (wxString
*) &_result_ref
;
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4349 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4356 (char *) "self",(char *) "num", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4362 arg2
= (int)SWIG_As_int(obj1
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 wxIconLocation_SetIndex(arg1
,arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 Py_INCREF(Py_None
); resultobj
= Py_None
;
4378 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
;
4380 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4382 PyObject
* obj0
= 0 ;
4384 (char *) "self", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (int)wxIconLocation_GetIndex(arg1
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= SWIG_From_int((int)result
);
4404 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4407 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4409 return Py_BuildValue((char *)"");
4411 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxIconBundle
*result
;
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (wxIconBundle
*)new wxIconBundle();
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4433 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxString
*arg1
= 0 ;
4437 wxIconBundle
*result
;
4438 bool temp1
= false ;
4439 PyObject
* obj0
= 0 ;
4440 PyObject
* obj1
= 0 ;
4442 (char *) "file",(char *) "type", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4447 arg1
= wxString_in_helper(obj0
);
4448 if (arg1
== NULL
) SWIG_fail
;
4451 arg2
= (long)SWIG_As_long(obj1
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4475 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4478 wxIconBundle
*result
;
4479 PyObject
* obj0
= 0 ;
4481 (char *) "icon", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4489 PyErr_SetString(PyExc_TypeError
,"null reference");
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4506 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4509 PyObject
* obj0
= 0 ;
4511 (char *) "self", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "icon", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4548 PyErr_SetString(PyExc_TypeError
,"null reference");
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 Py_INCREF(Py_None
); resultobj
= Py_None
;
4565 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4568 wxString
*arg2
= 0 ;
4570 bool temp2
= false ;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4573 PyObject
* obj2
= 0 ;
4575 (char *) "self",(char *) "file",(char *) "type", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 arg2
= wxString_in_helper(obj1
);
4583 if (arg2
== NULL
) SWIG_fail
;
4586 arg3
= (long)SWIG_As_long(obj2
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 Py_INCREF(Py_None
); resultobj
= Py_None
;
4610 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4619 (char *) "self",(char *) "size", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4632 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4633 result
= (wxIcon
*) &_result_ref
;
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 wxIcon
* resultptr
= new wxIcon(*result
);
4641 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4649 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4652 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4654 return Py_BuildValue((char *)"");
4656 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4658 wxString
*arg1
= (wxString
*) 0 ;
4660 int arg3
= (int) 0 ;
4661 int arg4
= (int) 0 ;
4663 bool temp1
= false ;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 PyObject
* obj2
= 0 ;
4667 PyObject
* obj3
= 0 ;
4669 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4674 arg1
= wxString_in_helper(obj0
);
4675 if (arg1
== NULL
) SWIG_fail
;
4678 arg2
= (long)SWIG_As_long(obj1
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 arg3
= (int)SWIG_As_int(obj2
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4685 arg4
= (int)SWIG_As_int(obj3
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 if (!wxPyCheckForApp()) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4711 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
;
4713 wxCursor
*arg1
= (wxCursor
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4716 (char *) "self", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4736 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4740 PyObject
* obj0
= 0 ;
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4746 arg1
= (int)SWIG_As_int(obj0
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 if (!wxPyCheckForApp()) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (wxCursor
*)new wxCursor(arg1
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4763 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4767 PyObject
* obj0
= 0 ;
4769 (char *) "image", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4777 PyErr_SetString(PyExc_TypeError
,"null reference");
4781 if (!wxPyCheckForApp()) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4795 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxCursor
*arg1
= (wxCursor
*) 0 ;
4799 PyObject
* obj0
= 0 ;
4801 (char *) "self", NULL
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (bool)(arg1
)->Ok();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4823 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4826 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4828 return Py_BuildValue((char *)"");
4830 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4832 int arg1
= (int) 0 ;
4833 int arg2
= (int) 0 ;
4834 int arg3
= (int) 0 ;
4835 int arg4
= (int) 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4839 PyObject
* obj2
= 0 ;
4840 PyObject
* obj3
= 0 ;
4842 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4847 arg1
= (int)SWIG_As_int(obj0
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4851 arg2
= (int)SWIG_As_int(obj1
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4855 arg3
= (int)SWIG_As_int(obj2
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4859 arg4
= (int)SWIG_As_int(obj3
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4863 if (!wxPyCheckForApp()) SWIG_fail
;
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4877 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxBitmap
*arg1
= 0 ;
4881 PyObject
* obj0
= 0 ;
4883 (char *) "bmp", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4891 PyErr_SetString(PyExc_TypeError
,"null reference");
4895 if (!wxPyCheckForApp()) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4909 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxBitmap
*arg1
= 0 ;
4912 wxColour
*arg2
= 0 ;
4913 int arg3
= (int) 0 ;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4918 PyObject
* obj2
= 0 ;
4920 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4928 PyErr_SetString(PyExc_TypeError
,"null reference");
4933 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4936 arg3
= (int)SWIG_As_int(obj2
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4940 if (!wxPyCheckForApp()) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4954 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4957 wxPoint
*arg2
= (wxPoint
*) 0 ;
4958 int arg3
= (int) wxWINDING_RULE
;
4960 PyObject
* obj0
= 0 ;
4961 PyObject
* obj1
= 0 ;
4963 (char *) "points",(char *) "fillStyle", NULL
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4968 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4969 if (arg2
== NULL
) SWIG_fail
;
4972 arg3
= (int)SWIG_As_int(obj1
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4976 if (!wxPyCheckForApp()) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4985 if (arg2
) delete [] arg2
;
4990 if (arg2
) delete [] arg2
;
4996 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxRegion
*arg1
= (wxRegion
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "self", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxRegion
*arg1
= (wxRegion
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5026 (char *) "self", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 Py_INCREF(Py_None
); resultobj
= Py_None
;
5046 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxRegion
*arg1
= (wxRegion
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5053 PyObject
* obj1
= 0 ;
5054 PyObject
* obj2
= 0 ;
5056 (char *) "self",(char *) "x",(char *) "y", NULL
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (int)SWIG_As_int(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5064 arg3
= (int)SWIG_As_int(obj2
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5082 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxRegion
*arg1
= (wxRegion
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5090 PyObject
* obj2
= 0 ;
5092 (char *) "self",(char *) "x",(char *) "y", NULL
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5098 arg2
= (int)SWIG_As_int(obj1
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5100 arg3
= (int)SWIG_As_int(obj2
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_From_int((int)result
);
5116 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxRegion
*arg1
= (wxRegion
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5125 (char *) "self",(char *) "pt", NULL
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5133 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_From_int((int)result
);
5149 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
;
5151 wxRegion
*arg1
= (wxRegion
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5158 (char *) "self",(char *) "rect", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5166 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= SWIG_From_int((int)result
);
5182 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxRegion
*arg1
= (wxRegion
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5191 PyObject
* obj1
= 0 ;
5192 PyObject
* obj2
= 0 ;
5193 PyObject
* obj3
= 0 ;
5194 PyObject
* obj4
= 0 ;
5196 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5202 arg2
= (int)SWIG_As_int(obj1
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5204 arg3
= (int)SWIG_As_int(obj2
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5206 arg4
= (int)SWIG_As_int(obj3
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5208 arg5
= (int)SWIG_As_int(obj4
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_From_int((int)result
);
5224 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxRegion
*arg1
= (wxRegion
*) 0 ;
5228 PyObject
* obj0
= 0 ;
5230 (char *) "self", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (arg1
)->GetBox();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5245 resultptr
= new wxRect((wxRect
&) result
);
5246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5254 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxRegion
*arg1
= (wxRegion
*) 0 ;
5262 PyObject
* obj0
= 0 ;
5263 PyObject
* obj1
= 0 ;
5264 PyObject
* obj2
= 0 ;
5265 PyObject
* obj3
= 0 ;
5266 PyObject
* obj4
= 0 ;
5268 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5274 arg2
= (int)SWIG_As_int(obj1
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5276 arg3
= (int)SWIG_As_int(obj2
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5278 arg4
= (int)SWIG_As_int(obj3
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5280 arg5
= (int)SWIG_As_int(obj4
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5298 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxRegion
*arg1
= (wxRegion
*) 0 ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "self",(char *) "rect", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5315 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5333 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxRegion
*arg1
= (wxRegion
*) 0 ;
5336 wxRegion
*arg2
= 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5341 (char *) "self",(char *) "region", NULL
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5351 PyErr_SetString(PyExc_TypeError
,"null reference");
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5370 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxRegion
*arg1
= (wxRegion
*) 0 ;
5374 PyObject
* obj0
= 0 ;
5376 (char *) "self", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (bool)(arg1
)->IsEmpty();
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5398 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5400 wxRegion
*arg1
= (wxRegion
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 PyObject
* obj2
= 0 ;
5409 PyObject
* obj3
= 0 ;
5410 PyObject
* obj4
= 0 ;
5412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 arg2
= (int)SWIG_As_int(obj1
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5420 arg3
= (int)SWIG_As_int(obj2
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5422 arg4
= (int)SWIG_As_int(obj3
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5424 arg5
= (int)SWIG_As_int(obj4
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5442 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxRegion
*arg1
= (wxRegion
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5451 (char *) "self",(char *) "rect", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5477 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxRegion
*arg1
= (wxRegion
*) 0 ;
5480 wxRegion
*arg2
= 0 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5485 (char *) "self",(char *) "region", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5495 PyErr_SetString(PyExc_TypeError
,"null reference");
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5514 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxRegion
*arg1
= (wxRegion
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 PyObject
* obj2
= 0 ;
5525 PyObject
* obj3
= 0 ;
5526 PyObject
* obj4
= 0 ;
5528 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5534 arg2
= (int)SWIG_As_int(obj1
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5536 arg3
= (int)SWIG_As_int(obj2
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5538 arg4
= (int)SWIG_As_int(obj3
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5540 arg5
= (int)SWIG_As_int(obj4
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5558 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxRegion
*arg1
= (wxRegion
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "rect", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5593 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxRegion
*arg1
= (wxRegion
*) 0 ;
5596 wxRegion
*arg2
= 0 ;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5601 (char *) "self",(char *) "region", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5611 PyErr_SetString(PyExc_TypeError
,"null reference");
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5630 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxRegion
*arg1
= (wxRegion
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 PyObject
* obj2
= 0 ;
5641 PyObject
* obj3
= 0 ;
5642 PyObject
* obj4
= 0 ;
5644 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 arg2
= (int)SWIG_As_int(obj1
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5652 arg3
= (int)SWIG_As_int(obj2
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5654 arg4
= (int)SWIG_As_int(obj3
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5656 arg5
= (int)SWIG_As_int(obj4
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5674 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
;
5676 wxRegion
*arg1
= (wxRegion
*) 0 ;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5683 (char *) "self",(char *) "rect", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5691 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5709 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxRegion
*arg1
= (wxRegion
*) 0 ;
5712 wxRegion
*arg2
= 0 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5717 (char *) "self",(char *) "region", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5727 PyErr_SetString(PyExc_TypeError
,"null reference");
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5746 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxRegion
*arg1
= (wxRegion
*) 0 ;
5749 SwigValueWrapper
< wxBitmap
> result
;
5750 PyObject
* obj0
= 0 ;
5752 (char *) "self", NULL
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (arg1
)->ConvertToBitmap();
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5766 wxBitmap
* resultptr
;
5767 resultptr
= new wxBitmap((wxBitmap
&) result
);
5768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5776 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxRegion
*arg1
= (wxRegion
*) 0 ;
5779 wxBitmap
*arg2
= 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5784 (char *) "self",(char *) "bmp", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5794 PyErr_SetString(PyExc_TypeError
,"null reference");
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5813 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxRegion
*arg1
= (wxRegion
*) 0 ;
5816 wxBitmap
*arg2
= 0 ;
5817 wxColour
*arg3
= 0 ;
5818 int arg4
= (int) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5823 PyObject
* obj2
= 0 ;
5824 PyObject
* obj3
= 0 ;
5826 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5836 PyErr_SetString(PyExc_TypeError
,"null reference");
5841 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5844 arg4
= (int)SWIG_As_int(obj3
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5863 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5866 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5868 return Py_BuildValue((char *)"");
5870 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
;
5872 wxRegion
*arg1
= 0 ;
5873 wxRegionIterator
*result
;
5874 PyObject
* obj0
= 0 ;
5876 (char *) "region", NULL
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5884 PyErr_SetString(PyExc_TypeError
,"null reference");
5888 if (!wxPyCheckForApp()) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5902 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "self", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 Py_INCREF(Py_None
); resultobj
= Py_None
;
5927 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5933 (char *) "self", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= (int)(arg1
)->GetX();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_From_int((int)result
);
5953 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5957 PyObject
* obj0
= 0 ;
5959 (char *) "self", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (int)(arg1
)->GetY();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_From_int((int)result
);
5979 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
*resultobj
;
5981 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5983 PyObject
* obj0
= 0 ;
5985 (char *) "self", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (int)(arg1
)->GetW();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_From_int((int)result
);
6005 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6011 (char *) "self", NULL
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (int)(arg1
)->GetWidth();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_From_int((int)result
);
6031 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
;
6033 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6035 PyObject
* obj0
= 0 ;
6037 (char *) "self", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (int)(arg1
)->GetH();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= SWIG_From_int((int)result
);
6057 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (int)(arg1
)->GetHeight();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= SWIG_From_int((int)result
);
6083 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6087 PyObject
* obj0
= 0 ;
6089 (char *) "self", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (arg1
)->GetRect();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6104 resultptr
= new wxRect((wxRect
&) result
);
6105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6113 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6117 PyObject
* obj0
= 0 ;
6119 (char *) "self", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 result
= (bool)(arg1
)->HaveRects();
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6141 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
;
6143 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6146 (char *) "self", NULL
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 Py_INCREF(Py_None
); resultobj
= Py_None
;
6166 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
*resultobj
;
6168 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "self", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 wxRegionIterator_Next(arg1
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6191 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6197 (char *) "self", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6219 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6222 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6224 return Py_BuildValue((char *)"");
6226 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxNativeFontInfo
*result
;
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6248 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 (char *) "self", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 Py_INCREF(Py_None
); resultobj
= Py_None
;
6273 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 Py_INCREF(Py_None
); resultobj
= Py_None
;
6298 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6300 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj1
= 0 ;
6305 (char *) "self",(char *) "font", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6315 PyErr_SetString(PyExc_TypeError
,"null reference");
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6336 PyObject
* obj0
= 0 ;
6338 (char *) "self", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= SWIG_From_int((int)result
);
6358 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
*resultobj
;
6360 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6362 PyObject
* obj0
= 0 ;
6364 (char *) "self", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_From_int((int)result
);
6384 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
*resultobj
;
6386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6390 (char *) "self", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= SWIG_From_int((int)result
);
6410 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6414 PyObject
* obj0
= 0 ;
6416 (char *) "self", NULL
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6438 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6470 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_From_int((int)result
);
6496 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6502 (char *) "self", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_From_int((int)result
);
6522 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6529 (char *) "self",(char *) "pointsize", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 arg2
= (int)SWIG_As_int(obj1
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 (arg1
)->SetPointSize(arg2
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 Py_INCREF(Py_None
); resultobj
= Py_None
;
6551 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6556 PyObject
* obj1
= 0 ;
6558 (char *) "self",(char *) "style", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6564 arg2
= (int)SWIG_As_int(obj1
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 Py_INCREF(Py_None
); resultobj
= Py_None
;
6580 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6585 PyObject
* obj1
= 0 ;
6587 (char *) "self",(char *) "weight", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6593 arg2
= (int)SWIG_As_int(obj1
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 Py_INCREF(Py_None
); resultobj
= Py_None
;
6609 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "underlined", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 arg2
= (bool)SWIG_As_bool(obj1
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 (arg1
)->SetUnderlined(arg2
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 Py_INCREF(Py_None
); resultobj
= Py_None
;
6638 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6645 (char *) "self",(char *) "facename", NULL
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6652 wxString
* sptr
= wxString_in_helper(obj1
);
6653 if (sptr
== NULL
) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 (arg1
)->SetFaceName(arg2
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6678 (char *) "self",(char *) "family", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 arg2
= (int)SWIG_As_int(obj1
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 Py_INCREF(Py_None
); resultobj
= Py_None
;
6700 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6707 (char *) "self",(char *) "encoding", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 arg2
= (int)SWIG_As_int(obj1
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6722 Py_INCREF(Py_None
); resultobj
= Py_None
;
6729 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6732 wxString
*arg2
= 0 ;
6734 bool temp2
= false ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6738 (char *) "self",(char *) "s", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6745 arg2
= wxString_in_helper(obj1
);
6746 if (arg2
== NULL
) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6773 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6805 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
*resultobj
;
6807 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6811 (char *) "self", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= wxNativeFontInfo___str__(arg1
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6837 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6840 wxString
*arg2
= 0 ;
6842 bool temp2
= false ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6846 (char *) "self",(char *) "s", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6853 arg2
= wxString_in_helper(obj1
);
6854 if (arg2
== NULL
) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6881 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6887 (char *) "self", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6913 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6916 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6918 return Py_BuildValue((char *)"");
6920 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6923 wxString
*arg2
= (wxString
*) 0 ;
6924 bool temp2
= false ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6928 (char *) "self",(char *) "facename", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6935 arg2
= wxString_in_helper(obj1
);
6936 if (arg2
== NULL
) SWIG_fail
;
6939 if (arg1
) (arg1
)->facename
= *arg2
;
6941 Py_INCREF(Py_None
); resultobj
= Py_None
;
6956 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6962 (char *) "self", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6968 result
= (wxString
*)& ((arg1
)->facename
);
6972 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6974 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6983 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6990 (char *) "self",(char *) "encoding", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6996 arg2
= (int)SWIG_As_int(obj1
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6998 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7000 Py_INCREF(Py_None
); resultobj
= Py_None
;
7007 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7013 (char *) "self", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7019 result
= (int) ((arg1
)->encoding
);
7021 resultobj
= SWIG_From_int((int)result
);
7028 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7030 wxNativeEncodingInfo
*result
;
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7050 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "self", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 Py_INCREF(Py_None
); resultobj
= Py_None
;
7075 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7078 wxString
*arg2
= 0 ;
7080 bool temp2
= false ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7084 (char *) "self",(char *) "s", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg2
= wxString_in_helper(obj1
);
7092 if (arg2
== NULL
) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7119 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7125 (char *) "self", NULL
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7151 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7154 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7156 return Py_BuildValue((char *)"");
7158 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7161 wxNativeEncodingInfo
*result
;
7162 PyObject
* obj0
= 0 ;
7164 (char *) "encoding", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7168 arg1
= (int)SWIG_As_int(obj0
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7184 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxNativeEncodingInfo
*arg1
= 0 ;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "info", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7198 PyErr_SetString(PyExc_TypeError
,"null reference");
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7217 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxFontMapper
*result
;
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 result
= (wxFontMapper
*)new wxFontMapper();
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7239 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
;
7241 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7242 PyObject
* obj0
= 0 ;
7244 (char *) "self", NULL
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 Py_INCREF(Py_None
); resultobj
= Py_None
;
7264 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxFontMapper
*result
;
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 result
= (wxFontMapper
*)wxFontMapper::Get();
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7286 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7289 wxFontMapper
*result
;
7290 PyObject
* obj0
= 0 ;
7292 (char *) "mapper", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7312 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7315 wxString
*arg2
= 0 ;
7316 bool arg3
= (bool) true ;
7318 bool temp2
= false ;
7319 PyObject
* obj0
= 0 ;
7320 PyObject
* obj1
= 0 ;
7321 PyObject
* obj2
= 0 ;
7323 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7330 arg2
= wxString_in_helper(obj1
);
7331 if (arg2
== NULL
) SWIG_fail
;
7335 arg3
= (bool)SWIG_As_bool(obj2
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= SWIG_From_int((int)result
);
7360 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7370 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7382 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7386 PyObject
* obj0
= 0 ;
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7392 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (int)wxFontMapper::GetEncoding(arg1
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_From_int((int)result
);
7408 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "encoding", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7418 arg1
= (int)SWIG_As_int(obj0
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7440 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7444 PyObject
* obj0
= 0 ;
7446 (char *) "encoding", NULL
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7450 arg1
= (int)SWIG_As_int(obj0
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7472 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxString
*arg1
= 0 ;
7476 bool temp1
= false ;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "name", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7484 arg1
= wxString_in_helper(obj0
);
7485 if (arg1
== NULL
) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= SWIG_From_int((int)result
);
7510 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7512 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7513 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7517 (char *) "self",(char *) "config", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 (arg1
)->SetConfig(arg2
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 Py_INCREF(Py_None
); resultobj
= Py_None
;
7539 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
*resultobj
;
7541 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7542 wxString
*arg2
= 0 ;
7543 bool temp2
= false ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7547 (char *) "self",(char *) "prefix", NULL
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7554 arg2
= wxString_in_helper(obj1
);
7555 if (arg2
== NULL
) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 Py_INCREF(Py_None
); resultobj
= Py_None
;
7580 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= wxFontMapper::GetDefaultConfigPath();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7608 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7612 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7613 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7614 bool arg4
= (bool) true ;
7616 bool temp3
= false ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7620 PyObject
* obj3
= 0 ;
7622 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7628 arg2
= (int)SWIG_As_int(obj1
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 arg3
= wxString_in_helper(obj2
);
7633 if (arg3
== NULL
) SWIG_fail
;
7638 arg4
= (bool)SWIG_As_bool(obj3
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7663 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7667 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7668 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7670 bool temp3
= false ;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7673 PyObject
* obj2
= 0 ;
7675 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7681 arg2
= (int)SWIG_As_int(obj1
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 arg3
= wxString_in_helper(obj2
);
7686 if (arg3
== NULL
) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7714 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
*resultobj
;
7716 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7717 wxWindow
*arg2
= (wxWindow
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7721 (char *) "self",(char *) "parent", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 (arg1
)->SetDialogParent(arg2
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 Py_INCREF(Py_None
); resultobj
= Py_None
;
7743 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7746 wxString
*arg2
= 0 ;
7747 bool temp2
= false ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7751 (char *) "self",(char *) "title", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7758 arg2
= wxString_in_helper(obj1
);
7759 if (arg2
== NULL
) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7784 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7787 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7789 return Py_BuildValue((char *)"");
7791 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7797 bool arg5
= (bool) false ;
7798 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7799 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7800 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7802 bool temp6
= false ;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7805 PyObject
* obj2
= 0 ;
7806 PyObject
* obj3
= 0 ;
7807 PyObject
* obj4
= 0 ;
7808 PyObject
* obj5
= 0 ;
7809 PyObject
* obj6
= 0 ;
7811 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7815 arg1
= (int)SWIG_As_int(obj0
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7817 arg2
= (int)SWIG_As_int(obj1
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7819 arg3
= (int)SWIG_As_int(obj2
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7821 arg4
= (int)SWIG_As_int(obj3
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 arg5
= (bool)SWIG_As_bool(obj4
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7829 arg6
= wxString_in_helper(obj5
);
7830 if (arg6
== NULL
) SWIG_fail
;
7835 arg7
= (int)SWIG_As_int(obj6
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7839 if (!wxPyCheckForApp()) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7861 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxFont
*arg1
= (wxFont
*) 0 ;
7864 PyObject
* obj0
= 0 ;
7866 (char *) "self", NULL
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 Py_INCREF(Py_None
); resultobj
= Py_None
;
7886 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxNativeFontInfo
*arg1
= 0 ;
7890 PyObject
* obj0
= 0 ;
7892 (char *) "info", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7900 PyErr_SetString(PyExc_TypeError
,"null reference");
7904 if (!wxPyCheckForApp()) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7918 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxString
*arg1
= 0 ;
7922 bool temp1
= false ;
7923 PyObject
* obj0
= 0 ;
7925 (char *) "info", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7930 arg1
= wxString_in_helper(obj0
);
7931 if (arg1
== NULL
) SWIG_fail
;
7935 if (!wxPyCheckForApp()) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7957 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7961 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7962 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7963 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7964 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7966 bool temp4
= false ;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7969 PyObject
* obj2
= 0 ;
7970 PyObject
* obj3
= 0 ;
7971 PyObject
* obj4
= 0 ;
7973 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7977 arg1
= (int)SWIG_As_int(obj0
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7979 arg2
= (int)SWIG_As_int(obj1
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 arg3
= (int)SWIG_As_int(obj2
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7987 arg4
= wxString_in_helper(obj3
);
7988 if (arg4
== NULL
) SWIG_fail
;
7993 arg5
= (int)SWIG_As_int(obj4
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 if (!wxPyCheckForApp()) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8019 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8025 bool arg5
= (bool) false ;
8026 wxString
const &arg6_defvalue
= wxEmptyString
;
8027 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8028 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8031 bool temp6
= false ;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8034 PyObject
* obj2
= 0 ;
8035 PyObject
* obj3
= 0 ;
8036 PyObject
* obj4
= 0 ;
8037 PyObject
* obj5
= 0 ;
8038 PyObject
* obj6
= 0 ;
8040 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8046 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8048 arg2
= (int)SWIG_As_int(obj1
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8050 arg3
= (int)SWIG_As_int(obj2
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8052 arg4
= (int)SWIG_As_int(obj3
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 arg5
= (bool)SWIG_As_bool(obj4
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8060 arg6
= wxString_in_helper(obj5
);
8061 if (arg6
== NULL
) SWIG_fail
;
8066 arg7
= (int)SWIG_As_int(obj6
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8070 if (!wxPyCheckForApp()) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8092 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxFont
*arg1
= (wxFont
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8098 (char *) "self", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (bool)((wxFont
const *)arg1
)->Ok();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8120 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
;
8122 wxFont
*arg1
= (wxFont
*) 0 ;
8123 wxFont
*arg2
= (wxFont
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8126 PyObject
* obj1
= 0 ;
8128 (char *) "self",(char *) "other", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8152 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxFont
*arg1
= (wxFont
*) 0 ;
8155 wxFont
*arg2
= (wxFont
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8160 (char *) "self",(char *) "other", NULL
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8184 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxFont
*arg1
= (wxFont
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8190 (char *) "self", NULL
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_From_int((int)result
);
8210 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxFont
*arg1
= (wxFont
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "self", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8231 resultptr
= new wxSize((wxSize
&) result
);
8232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8240 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxFont
*arg1
= (wxFont
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8268 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxFont
*arg1
= (wxFont
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8274 (char *) "self", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= SWIG_From_int((int)result
);
8294 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxFont
*arg1
= (wxFont
*) 0 ;
8298 PyObject
* obj0
= 0 ;
8300 (char *) "self", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_From_int((int)result
);
8320 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxFont
*arg1
= (wxFont
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "self", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_From_int((int)result
);
8346 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxFont
*arg1
= (wxFont
*) 0 ;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "self", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8374 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxFont
*arg1
= (wxFont
*) 0 ;
8378 PyObject
* obj0
= 0 ;
8380 (char *) "self", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= ((wxFont
const *)arg1
)->GetFaceName();
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8406 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxFont
*arg1
= (wxFont
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= SWIG_From_int((int)result
);
8432 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxFont
*arg1
= (wxFont
*) 0 ;
8435 wxNativeFontInfo
*result
;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8458 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxFont
*arg1
= (wxFont
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8486 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxFont
*arg1
= (wxFont
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8492 (char *) "self", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8518 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
;
8520 wxFont
*arg1
= (wxFont
*) 0 ;
8522 PyObject
* obj0
= 0 ;
8524 (char *) "self", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8550 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxFont
*arg1
= (wxFont
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8555 PyObject
* obj1
= 0 ;
8557 (char *) "self",(char *) "pointSize", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8563 arg2
= (int)SWIG_As_int(obj1
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 (arg1
)->SetPointSize(arg2
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8572 Py_INCREF(Py_None
); resultobj
= Py_None
;
8579 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxFont
*arg1
= (wxFont
*) 0 ;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8587 (char *) "self",(char *) "pixelSize", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 Py_INCREF(Py_None
); resultobj
= Py_None
;
8611 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxFont
*arg1
= (wxFont
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "family", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 arg2
= (int)SWIG_As_int(obj1
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 (arg1
)->SetFamily(arg2
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 Py_INCREF(Py_None
); resultobj
= Py_None
;
8640 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxFont
*arg1
= (wxFont
*) 0 ;
8644 PyObject
* obj0
= 0 ;
8645 PyObject
* obj1
= 0 ;
8647 (char *) "self",(char *) "style", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8653 arg2
= (int)SWIG_As_int(obj1
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 (arg1
)->SetStyle(arg2
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8669 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxFont
*arg1
= (wxFont
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8676 (char *) "self",(char *) "weight", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8682 arg2
= (int)SWIG_As_int(obj1
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 (arg1
)->SetWeight(arg2
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 Py_INCREF(Py_None
); resultobj
= Py_None
;
8698 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
;
8700 wxFont
*arg1
= (wxFont
*) 0 ;
8701 wxString
*arg2
= 0 ;
8702 bool temp2
= false ;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8706 (char *) "self",(char *) "faceName", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8713 arg2
= wxString_in_helper(obj1
);
8714 if (arg2
== NULL
) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 Py_INCREF(Py_None
); resultobj
= Py_None
;
8739 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxFont
*arg1
= (wxFont
*) 0 ;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8746 (char *) "self",(char *) "underlined", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8752 arg2
= (bool)SWIG_As_bool(obj1
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 (arg1
)->SetUnderlined(arg2
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxFont
*arg1
= (wxFont
*) 0 ;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "self",(char *) "encoding", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8781 arg2
= (int)SWIG_As_int(obj1
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxFont
*arg1
= (wxFont
*) 0 ;
8800 wxNativeFontInfo
*arg2
= 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8804 (char *) "self",(char *) "info", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8814 PyErr_SetString(PyExc_TypeError
,"null reference");
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxFont
*arg1
= (wxFont
*) 0 ;
8834 wxString
*arg2
= 0 ;
8835 bool temp2
= false ;
8836 PyObject
* obj0
= 0 ;
8837 PyObject
* obj1
= 0 ;
8839 (char *) "self",(char *) "info", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8846 arg2
= wxString_in_helper(obj1
);
8847 if (arg2
== NULL
) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 Py_INCREF(Py_None
); resultobj
= Py_None
;
8872 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxFont
*arg1
= (wxFont
*) 0 ;
8875 wxString
*arg2
= 0 ;
8876 bool temp2
= false ;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8880 (char *) "self",(char *) "info", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8887 arg2
= wxString_in_helper(obj1
);
8888 if (arg2
== NULL
) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxFont
*arg1
= (wxFont
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8945 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxFont
*arg1
= (wxFont
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8951 (char *) "self", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 result
= ((wxFont
const *)arg1
)->GetStyleString();
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8977 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxFont
*arg1
= (wxFont
*) 0 ;
8981 PyObject
* obj0
= 0 ;
8983 (char *) "self", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= ((wxFont
const *)arg1
)->GetWeightString();
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9009 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxFont
*arg1
= (wxFont
*) 0 ;
9012 bool arg2
= (bool) true ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9016 (char *) "self",(char *) "no", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 arg2
= (bool)SWIG_As_bool(obj1
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->SetNoAntiAliasing(arg2
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxFont
*arg1
= (wxFont
*) 0 ;
9044 PyObject
* obj0
= 0 ;
9046 (char *) "self", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9068 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9077 if (!wxPyCheckForApp()) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (int)wxFont::GetDefaultEncoding();
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= SWIG_From_int((int)result
);
9091 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9094 PyObject
* obj0
= 0 ;
9096 (char *) "encoding", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9100 arg1
= (int)SWIG_As_int(obj0
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 if (!wxPyCheckForApp()) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 Py_INCREF(Py_None
); resultobj
= Py_None
;
9117 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9120 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9122 return Py_BuildValue((char *)"");
9124 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxPyFontEnumerator
*result
;
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9133 if (!wxPyCheckForApp()) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9147 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9150 PyObject
* obj0
= 0 ;
9152 (char *) "self", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 Py_INCREF(Py_None
); resultobj
= Py_None
;
9172 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
;
9174 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9175 PyObject
*arg2
= (PyObject
*) 0 ;
9176 PyObject
*arg3
= (PyObject
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 PyObject
* obj2
= 0 ;
9181 PyObject
* obj3
= 0 ;
9183 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9191 arg4
= (bool)SWIG_As_bool(obj3
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 Py_INCREF(Py_None
); resultobj
= Py_None
;
9207 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9210 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9211 bool arg3
= (bool) false ;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9215 PyObject
* obj2
= 0 ;
9217 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 arg2
= (int)SWIG_As_int(obj1
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9228 arg3
= (bool)SWIG_As_bool(obj2
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9247 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
;
9249 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9250 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9251 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9253 bool temp2
= false ;
9254 PyObject
* obj0
= 0 ;
9255 PyObject
* obj1
= 0 ;
9257 (char *) "self",(char *) "facename", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 arg2
= wxString_in_helper(obj1
);
9266 if (arg2
== NULL
) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9294 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
;
9296 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9298 PyObject
* obj0
= 0 ;
9300 (char *) "self", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9320 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9324 PyObject
* obj0
= 0 ;
9326 (char *) "self", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9346 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9349 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9351 return Py_BuildValue((char *)"");
9353 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9360 (char *) "self",(char *) "Language", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 arg2
= (int)SWIG_As_int(obj1
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9368 if (arg1
) (arg1
)->Language
= arg2
;
9370 Py_INCREF(Py_None
); resultobj
= Py_None
;
9377 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
;
9379 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9383 (char *) "self", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9389 result
= (int) ((arg1
)->Language
);
9391 resultobj
= SWIG_From_int((int)result
);
9398 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9401 wxString
*arg2
= (wxString
*) 0 ;
9402 bool temp2
= false ;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9406 (char *) "self",(char *) "CanonicalName", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9413 arg2
= wxString_in_helper(obj1
);
9414 if (arg2
== NULL
) SWIG_fail
;
9417 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9419 Py_INCREF(Py_None
); resultobj
= Py_None
;
9434 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9446 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9450 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9452 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9461 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9464 wxString
*arg2
= (wxString
*) 0 ;
9465 bool temp2
= false ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9469 (char *) "self",(char *) "Description", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9476 arg2
= wxString_in_helper(obj1
);
9477 if (arg2
== NULL
) SWIG_fail
;
9480 if (arg1
) (arg1
)->Description
= *arg2
;
9482 Py_INCREF(Py_None
); resultobj
= Py_None
;
9497 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
;
9499 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9501 PyObject
* obj0
= 0 ;
9503 (char *) "self", NULL
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9509 result
= (wxString
*)& ((arg1
)->Description
);
9513 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9515 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9524 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9527 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9529 return Py_BuildValue((char *)"");
9531 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
;
9533 int arg1
= (int) -1 ;
9534 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9539 (char *) "language",(char *) "flags", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9544 arg1
= (int)SWIG_As_int(obj0
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9548 arg2
= (int)SWIG_As_int(obj1
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9565 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxLocale
*arg1
= (wxLocale
*) 0 ;
9568 PyObject
* obj0
= 0 ;
9570 (char *) "self", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 Py_INCREF(Py_None
); resultobj
= Py_None
;
9590 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxLocale
*arg1
= (wxLocale
*) 0 ;
9593 wxString
*arg2
= 0 ;
9594 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9595 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9596 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9598 bool arg5
= (bool) true ;
9599 bool arg6
= (bool) false ;
9601 bool temp2
= false ;
9602 bool temp3
= false ;
9603 bool temp4
= false ;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9606 PyObject
* obj2
= 0 ;
9607 PyObject
* obj3
= 0 ;
9608 PyObject
* obj4
= 0 ;
9609 PyObject
* obj5
= 0 ;
9611 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9618 arg2
= wxString_in_helper(obj1
);
9619 if (arg2
== NULL
) SWIG_fail
;
9624 arg3
= wxString_in_helper(obj2
);
9625 if (arg3
== NULL
) SWIG_fail
;
9631 arg4
= wxString_in_helper(obj3
);
9632 if (arg4
== NULL
) SWIG_fail
;
9637 arg5
= (bool)SWIG_As_bool(obj4
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9641 arg6
= (bool)SWIG_As_bool(obj5
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9684 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxLocale
*arg1
= (wxLocale
*) 0 ;
9687 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9688 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 PyObject
* obj2
= 0 ;
9694 (char *) "self",(char *) "language",(char *) "flags", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 arg2
= (int)SWIG_As_int(obj1
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9705 arg3
= (int)SWIG_As_int(obj2
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9724 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 result
= (int)wxLocale::GetSystemLanguage();
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_From_int((int)result
);
9746 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (int)wxLocale::GetSystemEncoding();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_From_int((int)result
);
9768 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= wxLocale::GetSystemEncodingName();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9796 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxLocale
*arg1
= (wxLocale
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9802 (char *) "self", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9824 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxLocale
*arg1
= (wxLocale
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= ((wxLocale
const *)arg1
)->GetLocale();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9856 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxLocale
*arg1
= (wxLocale
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9862 (char *) "self", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_From_int((int)result
);
9882 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxLocale
*arg1
= (wxLocale
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= ((wxLocale
const *)arg1
)->GetSysName();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9914 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxLocale
*arg1
= (wxLocale
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9946 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxString
*arg1
= 0 ;
9949 bool temp1
= false ;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "prefix", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9957 arg1
= wxString_in_helper(obj0
);
9958 if (arg1
== NULL
) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 Py_INCREF(Py_None
); resultobj
= Py_None
;
9983 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxLocale
*arg1
= (wxLocale
*) 0 ;
9986 wxString
*arg2
= 0 ;
9988 bool temp2
= false ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9992 (char *) "self",(char *) "szDomain", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9999 arg2
= wxString_in_helper(obj1
);
10000 if (arg2
== NULL
) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10027 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxLocale
*arg1
= (wxLocale
*) 0 ;
10030 wxString
*arg2
= 0 ;
10032 bool temp2
= false ;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 char *kwnames
[] = {
10036 (char *) "self",(char *) "szDomain", NULL
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10043 arg2
= wxString_in_helper(obj1
);
10044 if (arg2
== NULL
) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10071 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10074 wxLanguageInfo
*result
;
10075 PyObject
* obj0
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "lang", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10081 arg1
= (int)SWIG_As_int(obj0
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10097 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "lang", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10107 arg1
= (int)SWIG_As_int(obj0
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= wxLocale::GetLanguageName(arg1
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10129 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxString
*arg1
= 0 ;
10132 wxLanguageInfo
*result
;
10133 bool temp1
= false ;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "locale", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10141 arg1
= wxString_in_helper(obj0
);
10142 if (arg1
== NULL
) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10167 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxLanguageInfo
*arg1
= 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "info", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10179 if (arg1
== NULL
) {
10180 PyErr_SetString(PyExc_TypeError
,"null reference");
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 Py_INCREF(Py_None
); resultobj
= Py_None
;
10197 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxLocale
*arg1
= (wxLocale
*) 0 ;
10200 wxString
*arg2
= 0 ;
10201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10204 bool temp2
= false ;
10205 bool temp3
= false ;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 PyObject
* obj2
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 arg2
= wxString_in_helper(obj1
);
10218 if (arg2
== NULL
) SWIG_fail
;
10223 arg3
= wxString_in_helper(obj2
);
10224 if (arg3
== NULL
) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10264 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxLocale
*arg1
= (wxLocale
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 char *kwnames
[] = {
10270 (char *) "self", NULL
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10280 result
= (wxString
*) &_result_ref
;
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10290 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10299 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10302 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10304 return Py_BuildValue((char *)"");
10306 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10309 char *kwnames
[] = {
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (wxLocale
*)wxGetLocale();
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10328 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10329 PyObject
*resultobj
;
10330 wxString
*arg1
= 0 ;
10332 bool temp1
= false ;
10333 PyObject
* obj0
= 0 ;
10335 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10337 arg1
= wxString_in_helper(obj0
);
10338 if (arg1
== NULL
) SWIG_fail
;
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 result
= wxGetTranslation((wxString
const &)*arg1
);
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10369 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10370 PyObject
*resultobj
;
10371 wxString
*arg1
= 0 ;
10372 wxString
*arg2
= 0 ;
10375 bool temp1
= false ;
10376 bool temp2
= false ;
10377 PyObject
* obj0
= 0 ;
10378 PyObject
* obj1
= 0 ;
10379 PyObject
* obj2
= 0 ;
10381 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10383 arg1
= wxString_in_helper(obj0
);
10384 if (arg1
== NULL
) SWIG_fail
;
10388 arg2
= wxString_in_helper(obj1
);
10389 if (arg2
== NULL
) SWIG_fail
;
10392 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10430 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10435 argc
= PyObject_Length(args
);
10436 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10437 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10442 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10445 return _wrap_GetTranslation__SWIG_0(self
,args
);
10451 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10455 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10458 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10460 return _wrap_GetTranslation__SWIG_1(self
,args
);
10466 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10471 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxEncodingConverter
*result
;
10474 char *kwnames
[] = {
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10493 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char *kwnames
[] = {
10498 (char *) "self", NULL
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 Py_INCREF(Py_None
); resultobj
= Py_None
;
10518 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10523 int arg4
= (int) wxCONVERT_STRICT
;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 PyObject
* obj2
= 0 ;
10528 PyObject
* obj3
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 arg2
= (int)SWIG_As_int(obj1
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10538 arg3
= (int)SWIG_As_int(obj2
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 arg4
= (int)SWIG_As_int(obj3
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10560 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10563 wxString
*arg2
= 0 ;
10565 bool temp2
= false ;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "input", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 arg2
= wxString_in_helper(obj1
);
10577 if (arg2
== NULL
) SWIG_fail
;
10581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10608 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10611 int arg2
= (int) wxPLATFORM_CURRENT
;
10612 wxFontEncodingArray result
;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "enc",(char *) "platform", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10620 arg1
= (int)SWIG_As_int(obj0
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 arg2
= (int)SWIG_As_int(obj1
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= PyList_New(0);
10635 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10636 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10637 PyList_Append(resultobj
, number
);
10647 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10650 wxFontEncodingArray result
;
10651 PyObject
* obj0
= 0 ;
10652 char *kwnames
[] = {
10653 (char *) "enc", NULL
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10657 arg1
= (int)SWIG_As_int(obj0
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= PyList_New(0);
10668 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10669 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10670 PyList_Append(resultobj
, number
);
10680 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "encIn",(char *) "encOut", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10692 arg1
= (int)SWIG_As_int(obj0
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10694 arg2
= (int)SWIG_As_int(obj1
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10712 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10715 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10717 return Py_BuildValue((char *)"");
10719 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxDC
*arg1
= (wxDC
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 Py_INCREF(Py_None
); resultobj
= Py_None
;
10744 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxDC
*arg1
= (wxDC
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->BeginDrawing();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 Py_INCREF(Py_None
); resultobj
= Py_None
;
10769 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxDC
*arg1
= (wxDC
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->EndDrawing();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxDC
*arg1
= (wxDC
*) 0 ;
10799 wxColour
*arg4
= 0 ;
10800 int arg5
= (int) wxFLOOD_SURFACE
;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 PyObject
* obj2
= 0 ;
10806 PyObject
* obj3
= 0 ;
10807 PyObject
* obj4
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10815 arg2
= (int)SWIG_As_int(obj1
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10817 arg3
= (int)SWIG_As_int(obj2
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10821 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10824 arg5
= (int)SWIG_As_int(obj4
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10843 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxDC
*arg1
= (wxDC
*) 0 ;
10846 wxPoint
*arg2
= 0 ;
10847 wxColour
*arg3
= 0 ;
10848 int arg4
= (int) wxFLOOD_SURFACE
;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 PyObject
* obj3
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10869 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10872 arg4
= (int)SWIG_As_int(obj3
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10891 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxDC
*arg1
= (wxDC
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 PyObject
* obj1
= 0 ;
10899 PyObject
* obj2
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "x",(char *) "y", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10907 arg2
= (int)SWIG_As_int(obj1
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10909 arg3
= (int)SWIG_As_int(obj2
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 wxColour
* resultptr
;
10920 resultptr
= new wxColour((wxColour
&) result
);
10921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10929 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxDC
*arg1
= (wxDC
*) 0 ;
10932 wxPoint
*arg2
= 0 ;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self",(char *) "pt", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 wxColour
* resultptr
;
10957 resultptr
= new wxColour((wxColour
&) result
);
10958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10966 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxDC
*arg1
= (wxDC
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 PyObject
* obj2
= 0 ;
10976 PyObject
* obj3
= 0 ;
10977 PyObject
* obj4
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 arg2
= (int)SWIG_As_int(obj1
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10987 arg3
= (int)SWIG_As_int(obj2
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10989 arg4
= (int)SWIG_As_int(obj3
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10991 arg5
= (int)SWIG_As_int(obj4
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 Py_INCREF(Py_None
); resultobj
= Py_None
;
11007 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxDC
*arg1
= (wxDC
*) 0 ;
11010 wxPoint
*arg2
= 0 ;
11011 wxPoint
*arg3
= 0 ;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 PyObject
* obj2
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 Py_INCREF(Py_None
); resultobj
= Py_None
;
11046 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11047 PyObject
*resultobj
;
11048 wxDC
*arg1
= (wxDC
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 char *kwnames
[] = {
11055 (char *) "self",(char *) "x",(char *) "y", NULL
11058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11061 arg2
= (int)SWIG_As_int(obj1
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11063 arg3
= (int)SWIG_As_int(obj2
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 (arg1
)->CrossHair(arg2
,arg3
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 Py_INCREF(Py_None
); resultobj
= Py_None
;
11079 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxDC
*arg1
= (wxDC
*) 0 ;
11082 wxPoint
*arg2
= 0 ;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self",(char *) "pt", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11111 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxDC
*arg1
= (wxDC
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 PyObject
* obj2
= 0 ;
11123 PyObject
* obj3
= 0 ;
11124 PyObject
* obj4
= 0 ;
11125 PyObject
* obj5
= 0 ;
11126 PyObject
* obj6
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11134 arg2
= (int)SWIG_As_int(obj1
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11136 arg3
= (int)SWIG_As_int(obj2
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11138 arg4
= (int)SWIG_As_int(obj3
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11140 arg5
= (int)SWIG_As_int(obj4
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11142 arg6
= (int)SWIG_As_int(obj5
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11144 arg7
= (int)SWIG_As_int(obj6
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxDC
*arg1
= (wxDC
*) 0 ;
11163 wxPoint
*arg2
= 0 ;
11164 wxPoint
*arg3
= 0 ;
11165 wxPoint
*arg4
= 0 ;
11169 PyObject
* obj0
= 0 ;
11170 PyObject
* obj1
= 0 ;
11171 PyObject
* obj2
= 0 ;
11172 PyObject
* obj3
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 Py_INCREF(Py_None
); resultobj
= Py_None
;
11206 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxDC
*arg1
= (wxDC
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 PyObject
* obj2
= 0 ;
11216 PyObject
* obj3
= 0 ;
11217 PyObject
* obj4
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11225 arg2
= (int)SWIG_As_int(obj1
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11227 arg3
= (int)SWIG_As_int(obj2
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11229 arg4
= (int)SWIG_As_int(obj3
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11231 arg5
= (int)SWIG_As_int(obj4
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxDC
*arg1
= (wxDC
*) 0 ;
11252 PyObject
* obj0
= 0 ;
11253 PyObject
* obj1
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self",(char *) "rect", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11263 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 Py_INCREF(Py_None
); resultobj
= Py_None
;
11279 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxDC
*arg1
= (wxDC
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 PyObject
* obj2
= 0 ;
11291 PyObject
* obj3
= 0 ;
11292 PyObject
* obj4
= 0 ;
11293 PyObject
* obj5
= 0 ;
11294 PyObject
* obj6
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11302 arg2
= (int)SWIG_As_int(obj1
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11304 arg3
= (int)SWIG_As_int(obj2
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11306 arg4
= (int)SWIG_As_int(obj3
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11308 arg5
= (int)SWIG_As_int(obj4
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11310 arg6
= (double)SWIG_As_double(obj5
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11312 arg7
= (double)SWIG_As_double(obj6
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxDC
*arg1
= (wxDC
*) 0 ;
11331 wxPoint
*arg2
= 0 ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 PyObject
* obj2
= 0 ;
11340 PyObject
* obj3
= 0 ;
11341 PyObject
* obj4
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11355 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11357 arg4
= (double)SWIG_As_double(obj3
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11359 arg5
= (double)SWIG_As_double(obj4
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxDC
*arg1
= (wxDC
*) 0 ;
11380 PyObject
* obj0
= 0 ;
11381 PyObject
* obj1
= 0 ;
11382 PyObject
* obj2
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "x",(char *) "y", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11390 arg2
= (int)SWIG_As_int(obj1
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11392 arg3
= (int)SWIG_As_int(obj2
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 (arg1
)->DrawPoint(arg2
,arg3
);
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 Py_INCREF(Py_None
); resultobj
= Py_None
;
11408 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxDC
*arg1
= (wxDC
*) 0 ;
11411 wxPoint
*arg2
= 0 ;
11413 PyObject
* obj0
= 0 ;
11414 PyObject
* obj1
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self",(char *) "pt", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 Py_INCREF(Py_None
); resultobj
= Py_None
;
11440 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxDC
*arg1
= (wxDC
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 PyObject
* obj2
= 0 ;
11450 PyObject
* obj3
= 0 ;
11451 PyObject
* obj4
= 0 ;
11452 char *kwnames
[] = {
11453 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11459 arg2
= (int)SWIG_As_int(obj1
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11461 arg3
= (int)SWIG_As_int(obj2
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11463 arg4
= (int)SWIG_As_int(obj3
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11465 arg5
= (int)SWIG_As_int(obj4
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 Py_INCREF(Py_None
); resultobj
= Py_None
;
11481 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxDC
*arg1
= (wxDC
*) 0 ;
11486 PyObject
* obj0
= 0 ;
11487 PyObject
* obj1
= 0 ;
11488 char *kwnames
[] = {
11489 (char *) "self",(char *) "rect", NULL
11492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11497 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11513 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxDC
*arg1
= (wxDC
*) 0 ;
11516 wxPoint
*arg2
= 0 ;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11522 PyObject
* obj2
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self",(char *) "pt",(char *) "sz", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11536 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 Py_INCREF(Py_None
); resultobj
= Py_None
;
11552 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxDC
*arg1
= (wxDC
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 PyObject
* obj2
= 0 ;
11563 PyObject
* obj3
= 0 ;
11564 PyObject
* obj4
= 0 ;
11565 PyObject
* obj5
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11573 arg2
= (int)SWIG_As_int(obj1
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11575 arg3
= (int)SWIG_As_int(obj2
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11577 arg4
= (int)SWIG_As_int(obj3
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11579 arg5
= (int)SWIG_As_int(obj4
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11581 arg6
= (double)SWIG_As_double(obj5
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 Py_INCREF(Py_None
); resultobj
= Py_None
;
11597 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxDC
*arg1
= (wxDC
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 PyObject
* obj2
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self",(char *) "r",(char *) "radius", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11615 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11617 arg3
= (double)SWIG_As_double(obj2
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 Py_INCREF(Py_None
); resultobj
= Py_None
;
11633 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxDC
*arg1
= (wxDC
*) 0 ;
11636 wxPoint
*arg2
= 0 ;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 PyObject
* obj2
= 0 ;
11644 PyObject
* obj3
= 0 ;
11645 char *kwnames
[] = {
11646 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11658 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11660 arg4
= (double)SWIG_As_double(obj3
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 Py_INCREF(Py_None
); resultobj
= Py_None
;
11676 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
;
11678 wxDC
*arg1
= (wxDC
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 PyObject
* obj2
= 0 ;
11685 PyObject
* obj3
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11693 arg2
= (int)SWIG_As_int(obj1
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11695 arg3
= (int)SWIG_As_int(obj2
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11697 arg4
= (int)SWIG_As_int(obj3
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11713 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxDC
*arg1
= (wxDC
*) 0 ;
11716 wxPoint
*arg2
= 0 ;
11719 PyObject
* obj0
= 0 ;
11720 PyObject
* obj1
= 0 ;
11721 PyObject
* obj2
= 0 ;
11722 char *kwnames
[] = {
11723 (char *) "self",(char *) "pt",(char *) "radius", NULL
11726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11731 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11733 arg3
= (int)SWIG_As_int(obj2
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 Py_INCREF(Py_None
); resultobj
= Py_None
;
11749 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
*resultobj
;
11751 wxDC
*arg1
= (wxDC
*) 0 ;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 PyObject
* obj2
= 0 ;
11759 PyObject
* obj3
= 0 ;
11760 PyObject
* obj4
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11768 arg2
= (int)SWIG_As_int(obj1
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11770 arg3
= (int)SWIG_As_int(obj2
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11772 arg4
= (int)SWIG_As_int(obj3
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11774 arg5
= (int)SWIG_As_int(obj4
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11778 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 Py_INCREF(Py_None
); resultobj
= Py_None
;
11790 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11791 PyObject
*resultobj
;
11792 wxDC
*arg1
= (wxDC
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self",(char *) "rect", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 Py_INCREF(Py_None
); resultobj
= Py_None
;
11822 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11823 PyObject
*resultobj
;
11824 wxDC
*arg1
= (wxDC
*) 0 ;
11825 wxPoint
*arg2
= 0 ;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 PyObject
* obj2
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "pt",(char *) "sz", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11845 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 Py_INCREF(Py_None
); resultobj
= Py_None
;
11861 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
;
11863 wxDC
*arg1
= (wxDC
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 PyObject
* obj2
= 0 ;
11870 PyObject
* obj3
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11881 if (arg2
== NULL
) {
11882 PyErr_SetString(PyExc_TypeError
,"null reference");
11885 arg3
= (int)SWIG_As_int(obj2
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11887 arg4
= (int)SWIG_As_int(obj3
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 Py_INCREF(Py_None
); resultobj
= Py_None
;
11903 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxDC
*arg1
= (wxDC
*) 0 ;
11907 wxPoint
*arg3
= 0 ;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self",(char *) "icon",(char *) "pt", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11922 if (arg2
== NULL
) {
11923 PyErr_SetString(PyExc_TypeError
,"null reference");
11928 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 Py_INCREF(Py_None
); resultobj
= Py_None
;
11944 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxDC
*arg1
= (wxDC
*) 0 ;
11947 wxBitmap
*arg2
= 0 ;
11950 bool arg5
= (bool) false ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 PyObject
* obj3
= 0 ;
11955 PyObject
* obj4
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11966 if (arg2
== NULL
) {
11967 PyErr_SetString(PyExc_TypeError
,"null reference");
11970 arg3
= (int)SWIG_As_int(obj2
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11972 arg4
= (int)SWIG_As_int(obj3
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 arg5
= (bool)SWIG_As_bool(obj4
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 Py_INCREF(Py_None
); resultobj
= Py_None
;
11992 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxDC
*arg1
= (wxDC
*) 0 ;
11995 wxBitmap
*arg2
= 0 ;
11996 wxPoint
*arg3
= 0 ;
11997 bool arg4
= (bool) false ;
11999 PyObject
* obj0
= 0 ;
12000 PyObject
* obj1
= 0 ;
12001 PyObject
* obj2
= 0 ;
12002 PyObject
* obj3
= 0 ;
12003 char *kwnames
[] = {
12004 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12013 if (arg2
== NULL
) {
12014 PyErr_SetString(PyExc_TypeError
,"null reference");
12019 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12022 arg4
= (bool)SWIG_As_bool(obj3
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 Py_INCREF(Py_None
); resultobj
= Py_None
;
12039 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
;
12041 wxDC
*arg1
= (wxDC
*) 0 ;
12042 wxString
*arg2
= 0 ;
12045 bool temp2
= false ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 PyObject
* obj2
= 0 ;
12049 PyObject
* obj3
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12058 arg2
= wxString_in_helper(obj1
);
12059 if (arg2
== NULL
) SWIG_fail
;
12062 arg3
= (int)SWIG_As_int(obj2
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12064 arg4
= (int)SWIG_As_int(obj3
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 Py_INCREF(Py_None
); resultobj
= Py_None
;
12088 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxDC
*arg1
= (wxDC
*) 0 ;
12091 wxString
*arg2
= 0 ;
12092 wxPoint
*arg3
= 0 ;
12093 bool temp2
= false ;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 PyObject
* obj2
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self",(char *) "text",(char *) "pt", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 arg2
= wxString_in_helper(obj1
);
12107 if (arg2
== NULL
) SWIG_fail
;
12112 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 Py_INCREF(Py_None
); resultobj
= Py_None
;
12136 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxDC
*arg1
= (wxDC
*) 0 ;
12139 wxString
*arg2
= 0 ;
12143 bool temp2
= false ;
12144 PyObject
* obj0
= 0 ;
12145 PyObject
* obj1
= 0 ;
12146 PyObject
* obj2
= 0 ;
12147 PyObject
* obj3
= 0 ;
12148 PyObject
* obj4
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12157 arg2
= wxString_in_helper(obj1
);
12158 if (arg2
== NULL
) SWIG_fail
;
12161 arg3
= (int)SWIG_As_int(obj2
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12163 arg4
= (int)SWIG_As_int(obj3
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12165 arg5
= (double)SWIG_As_double(obj4
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 Py_INCREF(Py_None
); resultobj
= Py_None
;
12189 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxDC
*arg1
= (wxDC
*) 0 ;
12192 wxString
*arg2
= 0 ;
12193 wxPoint
*arg3
= 0 ;
12195 bool temp2
= false ;
12197 PyObject
* obj0
= 0 ;
12198 PyObject
* obj1
= 0 ;
12199 PyObject
* obj2
= 0 ;
12200 PyObject
* obj3
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12209 arg2
= wxString_in_helper(obj1
);
12210 if (arg2
== NULL
) SWIG_fail
;
12215 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12217 arg4
= (double)SWIG_As_double(obj3
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxDC
*arg1
= (wxDC
*) 0 ;
12248 wxDC
*arg6
= (wxDC
*) 0 ;
12251 int arg9
= (int) wxCOPY
;
12252 bool arg10
= (bool) false ;
12253 int arg11
= (int) -1 ;
12254 int arg12
= (int) -1 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 PyObject
* obj2
= 0 ;
12259 PyObject
* obj3
= 0 ;
12260 PyObject
* obj4
= 0 ;
12261 PyObject
* obj5
= 0 ;
12262 PyObject
* obj6
= 0 ;
12263 PyObject
* obj7
= 0 ;
12264 PyObject
* obj8
= 0 ;
12265 PyObject
* obj9
= 0 ;
12266 PyObject
* obj10
= 0 ;
12267 PyObject
* obj11
= 0 ;
12268 char *kwnames
[] = {
12269 (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
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12275 arg2
= (int)SWIG_As_int(obj1
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12277 arg3
= (int)SWIG_As_int(obj2
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12279 arg4
= (int)SWIG_As_int(obj3
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12281 arg5
= (int)SWIG_As_int(obj4
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12283 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12285 arg7
= (int)SWIG_As_int(obj6
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12287 arg8
= (int)SWIG_As_int(obj7
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 arg9
= (int)SWIG_As_int(obj8
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 arg10
= (bool)SWIG_As_bool(obj9
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12298 arg11
= (int)SWIG_As_int(obj10
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12302 arg12
= (int)SWIG_As_int(obj11
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12321 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12322 PyObject
*resultobj
;
12323 wxDC
*arg1
= (wxDC
*) 0 ;
12324 wxPoint
*arg2
= 0 ;
12326 wxDC
*arg4
= (wxDC
*) 0 ;
12327 wxPoint
*arg5
= 0 ;
12328 int arg6
= (int) wxCOPY
;
12329 bool arg7
= (bool) false ;
12330 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12331 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 PyObject
* obj2
= 0 ;
12340 PyObject
* obj3
= 0 ;
12341 PyObject
* obj4
= 0 ;
12342 PyObject
* obj5
= 0 ;
12343 PyObject
* obj6
= 0 ;
12344 PyObject
* obj7
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12358 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12360 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12367 arg6
= (int)SWIG_As_int(obj5
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12371 arg7
= (bool)SWIG_As_bool(obj6
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12377 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12396 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxDC
*arg1
= (wxDC
*) 0 ;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 PyObject
* obj2
= 0 ;
12406 PyObject
* obj3
= 0 ;
12407 PyObject
* obj4
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 arg2
= (int)SWIG_As_int(obj1
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12417 arg3
= (int)SWIG_As_int(obj2
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12419 arg4
= (int)SWIG_As_int(obj3
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12421 arg5
= (int)SWIG_As_int(obj4
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 Py_INCREF(Py_None
); resultobj
= Py_None
;
12437 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxDC
*arg1
= (wxDC
*) 0 ;
12440 wxPoint
*arg2
= 0 ;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 PyObject
* obj2
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "pt",(char *) "sz", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12460 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxDC
*arg1
= (wxDC
*) 0 ;
12479 wxRegion
*arg2
= 0 ;
12480 PyObject
* obj0
= 0 ;
12481 PyObject
* obj1
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self",(char *) "region", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12492 if (arg2
== NULL
) {
12493 PyErr_SetString(PyExc_TypeError
,"null reference");
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxDC
*arg1
= (wxDC
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self",(char *) "rect", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12526 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 Py_INCREF(Py_None
); resultobj
= Py_None
;
12542 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxDC
*arg1
= (wxDC
*) 0 ;
12546 wxPoint
*arg3
= (wxPoint
*) 0 ;
12547 int arg4
= (int) 0 ;
12548 int arg5
= (int) 0 ;
12549 PyObject
* obj0
= 0 ;
12550 PyObject
* obj1
= 0 ;
12551 PyObject
* obj2
= 0 ;
12552 PyObject
* obj3
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12561 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12562 if (arg3
== NULL
) SWIG_fail
;
12565 arg4
= (int)SWIG_As_int(obj2
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12569 arg5
= (int)SWIG_As_int(obj3
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 Py_INCREF(Py_None
); resultobj
= Py_None
;
12581 if (arg3
) delete [] arg3
;
12586 if (arg3
) delete [] arg3
;
12592 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
;
12594 wxDC
*arg1
= (wxDC
*) 0 ;
12596 wxPoint
*arg3
= (wxPoint
*) 0 ;
12597 int arg4
= (int) 0 ;
12598 int arg5
= (int) 0 ;
12599 int arg6
= (int) wxODDEVEN_RULE
;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 PyObject
* obj2
= 0 ;
12603 PyObject
* obj3
= 0 ;
12604 PyObject
* obj4
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12613 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12614 if (arg3
== NULL
) SWIG_fail
;
12617 arg4
= (int)SWIG_As_int(obj2
);
12618 if (PyErr_Occurred()) SWIG_fail
;
12621 arg5
= (int)SWIG_As_int(obj3
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 arg6
= (int)SWIG_As_int(obj4
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 if (arg3
) delete [] arg3
;
12642 if (arg3
) delete [] arg3
;
12648 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxDC
*arg1
= (wxDC
*) 0 ;
12651 wxString
*arg2
= 0 ;
12653 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12654 int arg5
= (int) -1 ;
12655 bool temp2
= false ;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 PyObject
* obj2
= 0 ;
12660 PyObject
* obj3
= 0 ;
12661 PyObject
* obj4
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12670 arg2
= wxString_in_helper(obj1
);
12671 if (arg2
== NULL
) SWIG_fail
;
12676 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12679 arg4
= (int)SWIG_As_int(obj3
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12683 arg5
= (int)SWIG_As_int(obj4
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 Py_INCREF(Py_None
); resultobj
= Py_None
;
12708 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxDC
*arg1
= (wxDC
*) 0 ;
12711 wxString
*arg2
= 0 ;
12712 wxBitmap
*arg3
= 0 ;
12714 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12715 int arg6
= (int) -1 ;
12717 bool temp2
= false ;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 PyObject
* obj2
= 0 ;
12722 PyObject
* obj3
= 0 ;
12723 PyObject
* obj4
= 0 ;
12724 PyObject
* obj5
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12733 arg2
= wxString_in_helper(obj1
);
12734 if (arg2
== NULL
) SWIG_fail
;
12737 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12740 if (arg3
== NULL
) {
12741 PyErr_SetString(PyExc_TypeError
,"null reference");
12746 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12749 arg5
= (int)SWIG_As_int(obj4
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 arg6
= (int)SWIG_As_int(obj5
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12764 wxRect
* resultptr
;
12765 resultptr
= new wxRect((wxRect
&) result
);
12766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12782 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxDC
*arg1
= (wxDC
*) 0 ;
12786 wxPoint
*arg3
= (wxPoint
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self",(char *) "points", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12797 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12798 if (arg3
== NULL
) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 (arg1
)->DrawSpline(arg2
,arg3
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 Py_INCREF(Py_None
); resultobj
= Py_None
;
12809 if (arg3
) delete [] arg3
;
12814 if (arg3
) delete [] arg3
;
12820 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
;
12822 wxDC
*arg1
= (wxDC
*) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 Py_INCREF(Py_None
); resultobj
= Py_None
;
12845 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxDC
*arg1
= (wxDC
*) 0 ;
12848 wxString
*arg2
= 0 ;
12850 bool temp2
= false ;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self",(char *) "message", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12861 arg2
= wxString_in_helper(obj1
);
12862 if (arg2
== NULL
) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12889 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxDC
*arg1
= (wxDC
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxDC
*arg1
= (wxDC
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->StartPage();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 Py_INCREF(Py_None
); resultobj
= Py_None
;
12939 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxDC
*arg1
= (wxDC
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxDC
*arg1
= (wxDC
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self",(char *) "font", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12980 if (arg2
== NULL
) {
12981 PyErr_SetString(PyExc_TypeError
,"null reference");
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 (arg1
)->SetFont((wxFont
const &)*arg2
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxDC
*arg1
= (wxDC
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self",(char *) "pen", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13014 if (arg2
== NULL
) {
13015 PyErr_SetString(PyExc_TypeError
,"null reference");
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 (arg1
)->SetPen((wxPen
const &)*arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 Py_INCREF(Py_None
); resultobj
= Py_None
;
13032 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxDC
*arg1
= (wxDC
*) 0 ;
13035 wxBrush
*arg2
= 0 ;
13036 PyObject
* obj0
= 0 ;
13037 PyObject
* obj1
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self",(char *) "brush", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13048 if (arg2
== NULL
) {
13049 PyErr_SetString(PyExc_TypeError
,"null reference");
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13066 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxDC
*arg1
= (wxDC
*) 0 ;
13069 wxBrush
*arg2
= 0 ;
13070 PyObject
* obj0
= 0 ;
13071 PyObject
* obj1
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "self",(char *) "brush", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13082 if (arg2
== NULL
) {
13083 PyErr_SetString(PyExc_TypeError
,"null reference");
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 Py_INCREF(Py_None
); resultobj
= Py_None
;
13100 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxDC
*arg1
= (wxDC
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self",(char *) "mode", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13113 arg2
= (int)SWIG_As_int(obj1
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 (arg1
)->SetBackgroundMode(arg2
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 Py_INCREF(Py_None
); resultobj
= Py_None
;
13129 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxDC
*arg1
= (wxDC
*) 0 ;
13132 wxPalette
*arg2
= 0 ;
13133 PyObject
* obj0
= 0 ;
13134 PyObject
* obj1
= 0 ;
13135 char *kwnames
[] = {
13136 (char *) "self",(char *) "palette", NULL
13139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13145 if (arg2
== NULL
) {
13146 PyErr_SetString(PyExc_TypeError
,"null reference");
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 Py_INCREF(Py_None
); resultobj
= Py_None
;
13163 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxDC
*arg1
= (wxDC
*) 0 ;
13166 PyObject
* obj0
= 0 ;
13167 char *kwnames
[] = {
13168 (char *) "self", NULL
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->DestroyClippingRegion();
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 Py_INCREF(Py_None
); resultobj
= Py_None
;
13188 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxDC
*arg1
= (wxDC
*) 0 ;
13191 int *arg2
= (int *) 0 ;
13192 int *arg3
= (int *) 0 ;
13193 int *arg4
= (int *) 0 ;
13194 int *arg5
= (int *) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self", NULL
13208 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13209 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13210 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13211 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 Py_INCREF(Py_None
); resultobj
= Py_None
;
13223 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13224 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13225 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13226 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13227 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13228 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13229 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13230 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13237 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxDC
*arg1
= (wxDC
*) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= wxDC_GetClippingRect(arg1
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 wxRect
* resultptr
;
13258 resultptr
= new wxRect((wxRect
&) result
);
13259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13267 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxDC
*arg1
= (wxDC
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_From_int((int)result
);
13293 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
;
13295 wxDC
*arg1
= (wxDC
*) 0 ;
13297 PyObject
* obj0
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13307 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_From_int((int)result
);
13319 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxDC
*arg1
= (wxDC
*) 0 ;
13322 wxString
*arg2
= 0 ;
13323 int *arg3
= (int *) 0 ;
13324 int *arg4
= (int *) 0 ;
13325 bool temp2
= false ;
13330 PyObject
* obj0
= 0 ;
13331 PyObject
* obj1
= 0 ;
13332 char *kwnames
[] = {
13333 (char *) "self",(char *) "string", NULL
13336 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13337 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= wxString_in_helper(obj1
);
13343 if (arg2
== NULL
) SWIG_fail
;
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13350 wxPyEndAllowThreads(__tstate
);
13351 if (PyErr_Occurred()) SWIG_fail
;
13353 Py_INCREF(Py_None
); resultobj
= Py_None
;
13354 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13355 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13356 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13357 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13372 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxDC
*arg1
= (wxDC
*) 0 ;
13375 wxString
*arg2
= 0 ;
13376 int *arg3
= (int *) 0 ;
13377 int *arg4
= (int *) 0 ;
13378 int *arg5
= (int *) 0 ;
13379 int *arg6
= (int *) 0 ;
13380 wxFont
*arg7
= (wxFont
*) NULL
;
13381 bool temp2
= false ;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 PyObject
* obj2
= 0 ;
13393 char *kwnames
[] = {
13394 (char *) "self",(char *) "string",(char *) "font", NULL
13397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13398 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13399 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13400 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13405 arg2
= wxString_in_helper(obj1
);
13406 if (arg2
== NULL
) SWIG_fail
;
13410 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 Py_INCREF(Py_None
); resultobj
= Py_None
;
13421 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13422 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13423 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13424 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13425 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13426 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13427 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13428 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13443 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxDC
*arg1
= (wxDC
*) 0 ;
13446 wxString
*arg2
= 0 ;
13447 int *arg3
= (int *) 0 ;
13448 int *arg4
= (int *) 0 ;
13449 int *arg5
= (int *) 0 ;
13450 wxFont
*arg6
= (wxFont
*) NULL
;
13451 bool temp2
= false ;
13458 PyObject
* obj0
= 0 ;
13459 PyObject
* obj1
= 0 ;
13460 PyObject
* obj2
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self",(char *) "text",(char *) "font", NULL
13465 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13466 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13467 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13472 arg2
= wxString_in_helper(obj1
);
13473 if (arg2
== NULL
) SWIG_fail
;
13477 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 Py_INCREF(Py_None
); resultobj
= Py_None
;
13488 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13489 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13490 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13491 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13492 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13493 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13508 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxDC
*arg1
= (wxDC
*) 0 ;
13511 wxString
*arg2
= 0 ;
13513 bool temp2
= false ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self",(char *) "text", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13524 arg2
= wxString_in_helper(obj1
);
13525 if (arg2
== NULL
) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= PyList_New(0);
13538 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13539 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13540 PyList_Append(resultobj
, val
);
13558 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxDC
*arg1
= (wxDC
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (arg1
)->GetSize();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13578 wxSize
* resultptr
;
13579 resultptr
= new wxSize((wxSize
&) result
);
13580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13588 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxDC
*arg1
= (wxDC
*) 0 ;
13591 int *arg2
= (int *) 0 ;
13592 int *arg3
= (int *) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self", NULL
13602 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13603 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->GetSize(arg2
,arg3
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 Py_INCREF(Py_None
); resultobj
= Py_None
;
13615 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13616 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13617 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13618 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13625 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
;
13627 wxDC
*arg1
= (wxDC
*) 0 ;
13629 PyObject
* obj0
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 wxSize
* resultptr
;
13646 resultptr
= new wxSize((wxSize
&) result
);
13647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13655 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxDC
*arg1
= (wxDC
*) 0 ;
13658 int *arg2
= (int *) 0 ;
13659 int *arg3
= (int *) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self", NULL
13669 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13670 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 Py_INCREF(Py_None
); resultobj
= Py_None
;
13682 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13683 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13684 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13685 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13692 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxDC
*arg1
= (wxDC
*) 0 ;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "self",(char *) "x", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 arg2
= (int)SWIG_As_int(obj1
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= SWIG_From_int((int)result
);
13722 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxDC
*arg1
= (wxDC
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self",(char *) "y", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 arg2
= (int)SWIG_As_int(obj1
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= SWIG_From_int((int)result
);
13752 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxDC
*arg1
= (wxDC
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self",(char *) "x", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13766 arg2
= (int)SWIG_As_int(obj1
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= SWIG_From_int((int)result
);
13782 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxDC
*arg1
= (wxDC
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 PyObject
* obj1
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self",(char *) "y", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 arg2
= (int)SWIG_As_int(obj1
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= SWIG_From_int((int)result
);
13812 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13813 PyObject
*resultobj
;
13814 wxDC
*arg1
= (wxDC
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "x", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13826 arg2
= (int)SWIG_As_int(obj1
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= SWIG_From_int((int)result
);
13842 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxDC
*arg1
= (wxDC
*) 0 ;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self",(char *) "y", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13856 arg2
= (int)SWIG_As_int(obj1
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_From_int((int)result
);
13872 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxDC
*arg1
= (wxDC
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 PyObject
* obj1
= 0 ;
13879 char *kwnames
[] = {
13880 (char *) "self",(char *) "x", NULL
13883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13886 arg2
= (int)SWIG_As_int(obj1
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_From_int((int)result
);
13902 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxDC
*arg1
= (wxDC
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "y", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 arg2
= (int)SWIG_As_int(obj1
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= SWIG_From_int((int)result
);
13932 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxDC
*arg1
= (wxDC
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 char *kwnames
[] = {
13938 (char *) "self", NULL
13941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13960 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxDC
*arg1
= (wxDC
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13988 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxDC
*arg1
= (wxDC
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_From_int((int)result
);
14014 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxDC
*arg1
= (wxDC
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= ((wxDC
const *)arg1
)->GetPPI();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14034 wxSize
* resultptr
;
14035 resultptr
= new wxSize((wxSize
&) result
);
14036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14044 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14045 PyObject
*resultobj
;
14046 wxDC
*arg1
= (wxDC
*) 0 ;
14048 PyObject
* obj0
= 0 ;
14049 char *kwnames
[] = {
14050 (char *) "self", NULL
14053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (bool)((wxDC
const *)arg1
)->Ok();
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14072 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxDC
*arg1
= (wxDC
*) 0 ;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= SWIG_From_int((int)result
);
14098 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14099 PyObject
*resultobj
;
14100 wxDC
*arg1
= (wxDC
*) 0 ;
14102 PyObject
* obj0
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14114 result
= (wxBrush
*) &_result_ref
;
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14121 wxBrush
* resultptr
= new wxBrush(*result
);
14122 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14130 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxDC
*arg1
= (wxDC
*) 0 ;
14134 PyObject
* obj0
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14146 result
= (wxBrush
*) &_result_ref
;
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 wxBrush
* resultptr
= new wxBrush(*result
);
14154 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14162 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxDC
*arg1
= (wxDC
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14178 result
= (wxFont
*) &_result_ref
;
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14185 wxFont
* resultptr
= new wxFont(*result
);
14186 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14194 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxDC
*arg1
= (wxDC
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 char *kwnames
[] = {
14200 (char *) "self", NULL
14203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14210 result
= (wxPen
*) &_result_ref
;
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14217 wxPen
* resultptr
= new wxPen(*result
);
14218 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14226 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxDC
*arg1
= (wxDC
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14242 result
= (wxColour
*) &_result_ref
;
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14255 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
;
14257 wxDC
*arg1
= (wxDC
*) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14271 result
= (wxColour
*) &_result_ref
;
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14284 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxDC
*arg1
= (wxDC
*) 0 ;
14287 wxColour
*arg2
= 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "colour", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14300 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 Py_INCREF(Py_None
); resultobj
= Py_None
;
14316 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxDC
*arg1
= (wxDC
*) 0 ;
14319 wxColour
*arg2
= 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self",(char *) "colour", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 Py_INCREF(Py_None
); resultobj
= Py_None
;
14348 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxDC
*arg1
= (wxDC
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= SWIG_From_int((int)result
);
14374 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxDC
*arg1
= (wxDC
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self",(char *) "mode", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14387 arg2
= (int)SWIG_As_int(obj1
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 (arg1
)->SetMapMode(arg2
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 Py_INCREF(Py_None
); resultobj
= Py_None
;
14403 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxDC
*arg1
= (wxDC
*) 0 ;
14406 double *arg2
= (double *) 0 ;
14407 double *arg3
= (double *) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self", NULL
14417 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14418 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 Py_INCREF(Py_None
); resultobj
= Py_None
;
14430 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14431 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14432 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14433 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14440 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxDC
*arg1
= (wxDC
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 PyObject
* obj2
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self",(char *) "x",(char *) "y", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 arg2
= (double)SWIG_As_double(obj1
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14457 arg3
= (double)SWIG_As_double(obj2
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 (arg1
)->SetUserScale(arg2
,arg3
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 Py_INCREF(Py_None
); resultobj
= Py_None
;
14473 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxDC
*arg1
= (wxDC
*) 0 ;
14476 double *arg2
= (double *) 0 ;
14477 double *arg3
= (double *) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self", NULL
14487 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14488 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 (arg1
)->GetLogicalScale(arg2
,arg3
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 Py_INCREF(Py_None
); resultobj
= Py_None
;
14500 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14501 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14502 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14503 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14510 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxDC
*arg1
= (wxDC
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 PyObject
* obj1
= 0 ;
14517 PyObject
* obj2
= 0 ;
14518 char *kwnames
[] = {
14519 (char *) "self",(char *) "x",(char *) "y", NULL
14522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14525 arg2
= (double)SWIG_As_double(obj1
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14527 arg3
= (double)SWIG_As_double(obj2
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 (arg1
)->SetLogicalScale(arg2
,arg3
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 Py_INCREF(Py_None
); resultobj
= Py_None
;
14543 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, 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_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 wxPoint
* resultptr
;
14564 resultptr
= new wxPoint((wxPoint
&) result
);
14565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14573 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxDC
*arg1
= (wxDC
*) 0 ;
14576 int *arg2
= (int *) 0 ;
14577 int *arg3
= (int *) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self", NULL
14587 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14588 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 Py_INCREF(Py_None
); resultobj
= Py_None
;
14600 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14601 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14602 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14603 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14610 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, 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_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14625 arg2
= (int)SWIG_As_int(obj1
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14627 arg3
= (int)SWIG_As_int(obj2
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 Py_INCREF(Py_None
); resultobj
= Py_None
;
14643 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxDC
*arg1
= (wxDC
*) 0 ;
14646 wxPoint
*arg2
= 0 ;
14648 PyObject
* obj0
= 0 ;
14649 PyObject
* obj1
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self",(char *) "point", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14668 Py_INCREF(Py_None
); resultobj
= Py_None
;
14675 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxDC
*arg1
= (wxDC
*) 0 ;
14679 PyObject
* obj0
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14695 wxPoint
* resultptr
;
14696 resultptr
= new wxPoint((wxPoint
&) result
);
14697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14705 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxDC
*arg1
= (wxDC
*) 0 ;
14708 int *arg2
= (int *) 0 ;
14709 int *arg3
= (int *) 0 ;
14714 PyObject
* obj0
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self", NULL
14719 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14720 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 Py_INCREF(Py_None
); resultobj
= Py_None
;
14732 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14733 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14734 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14735 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14742 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxDC
*arg1
= (wxDC
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 PyObject
* obj2
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self",(char *) "x",(char *) "y", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14757 arg2
= (int)SWIG_As_int(obj1
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14759 arg3
= (int)SWIG_As_int(obj2
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 Py_INCREF(Py_None
); resultobj
= Py_None
;
14775 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxDC
*arg1
= (wxDC
*) 0 ;
14778 wxPoint
*arg2
= 0 ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self",(char *) "point", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 Py_INCREF(Py_None
); resultobj
= Py_None
;
14807 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxDC
*arg1
= (wxDC
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 PyObject
* obj2
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 arg2
= (bool)SWIG_As_bool(obj1
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14824 arg3
= (bool)SWIG_As_bool(obj2
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 Py_INCREF(Py_None
); resultobj
= Py_None
;
14840 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxDC
*arg1
= (wxDC
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_From_int((int)result
);
14866 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxDC
*arg1
= (wxDC
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 PyObject
* obj1
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "function", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14879 arg2
= (int)SWIG_As_int(obj1
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 (arg1
)->SetLogicalFunction(arg2
);
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 Py_INCREF(Py_None
); resultobj
= Py_None
;
14895 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxDC
*arg1
= (wxDC
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 PyObject
* obj1
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self",(char *) "optimize", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14908 arg2
= (bool)SWIG_As_bool(obj1
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 (arg1
)->SetOptimization(arg2
);
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14917 Py_INCREF(Py_None
); resultobj
= Py_None
;
14924 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxDC
*arg1
= (wxDC
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (bool)(arg1
)->GetOptimization();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14952 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxDC
*arg1
= (wxDC
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 PyObject
* obj2
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self",(char *) "x",(char *) "y", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 arg2
= (int)SWIG_As_int(obj1
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14969 arg3
= (int)SWIG_As_int(obj2
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 Py_INCREF(Py_None
); resultobj
= Py_None
;
14985 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxDC
*arg1
= (wxDC
*) 0 ;
14988 wxPoint
*arg2
= 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self",(char *) "point", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 Py_INCREF(Py_None
); resultobj
= Py_None
;
15017 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
;
15019 wxDC
*arg1
= (wxDC
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 (arg1
)->ResetBoundingBox();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 Py_INCREF(Py_None
); resultobj
= Py_None
;
15042 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxDC
*arg1
= (wxDC
*) 0 ;
15046 PyObject
* obj0
= 0 ;
15047 char *kwnames
[] = {
15048 (char *) "self", NULL
15051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 result
= (int)((wxDC
const *)arg1
)->MinX();
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= SWIG_From_int((int)result
);
15068 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxDC
*arg1
= (wxDC
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (int)((wxDC
const *)arg1
)->MaxX();
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= SWIG_From_int((int)result
);
15094 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 wxDC
*arg1
= (wxDC
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self", NULL
15103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (int)((wxDC
const *)arg1
)->MinY();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_From_int((int)result
);
15120 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
;
15122 wxDC
*arg1
= (wxDC
*) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "self", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (int)((wxDC
const *)arg1
)->MaxY();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_From_int((int)result
);
15146 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxDC
*arg1
= (wxDC
*) 0 ;
15149 int *arg2
= (int *) 0 ;
15150 int *arg3
= (int *) 0 ;
15151 int *arg4
= (int *) 0 ;
15152 int *arg5
= (int *) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self", NULL
15166 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15167 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15168 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15169 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15177 wxPyEndAllowThreads(__tstate
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15180 Py_INCREF(Py_None
); resultobj
= Py_None
;
15181 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15182 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15183 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15184 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15185 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15186 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15187 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15188 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15195 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxDC
*arg1
= (wxDC
*) 0 ;
15198 PyObject
*arg2
= (PyObject
*) 0 ;
15199 PyObject
*arg3
= (PyObject
*) 0 ;
15200 PyObject
*arg4
= (PyObject
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 PyObject
* obj1
= 0 ;
15204 PyObject
* obj2
= 0 ;
15205 PyObject
* obj3
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= result
;
15230 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxDC
*arg1
= (wxDC
*) 0 ;
15233 PyObject
*arg2
= (PyObject
*) 0 ;
15234 PyObject
*arg3
= (PyObject
*) 0 ;
15235 PyObject
*arg4
= (PyObject
*) 0 ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 PyObject
* obj2
= 0 ;
15240 PyObject
* obj3
= 0 ;
15241 char *kwnames
[] = {
15242 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15255 wxPyEndAllowThreads(__tstate
);
15256 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= result
;
15265 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
;
15267 wxDC
*arg1
= (wxDC
*) 0 ;
15268 PyObject
*arg2
= (PyObject
*) 0 ;
15269 PyObject
*arg3
= (PyObject
*) 0 ;
15270 PyObject
*arg4
= (PyObject
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 PyObject
* obj2
= 0 ;
15275 PyObject
* obj3
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= result
;
15300 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxDC
*arg1
= (wxDC
*) 0 ;
15303 PyObject
*arg2
= (PyObject
*) 0 ;
15304 PyObject
*arg3
= (PyObject
*) 0 ;
15305 PyObject
*arg4
= (PyObject
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 PyObject
* obj2
= 0 ;
15310 PyObject
* obj3
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= result
;
15335 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxDC
*arg1
= (wxDC
*) 0 ;
15338 PyObject
*arg2
= (PyObject
*) 0 ;
15339 PyObject
*arg3
= (PyObject
*) 0 ;
15340 PyObject
*arg4
= (PyObject
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 PyObject
* obj1
= 0 ;
15344 PyObject
* obj2
= 0 ;
15345 PyObject
* obj3
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= result
;
15370 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxDC
*arg1
= (wxDC
*) 0 ;
15373 PyObject
*arg2
= (PyObject
*) 0 ;
15374 PyObject
*arg3
= (PyObject
*) 0 ;
15375 PyObject
*arg4
= (PyObject
*) 0 ;
15376 PyObject
*arg5
= (PyObject
*) 0 ;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 PyObject
* obj2
= 0 ;
15381 PyObject
* obj3
= 0 ;
15382 PyObject
* obj4
= 0 ;
15383 char *kwnames
[] = {
15384 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= result
;
15408 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15411 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15413 return Py_BuildValue((char *)"");
15415 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxMemoryDC
*result
;
15418 char *kwnames
[] = {
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15424 if (!wxPyCheckForApp()) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (wxMemoryDC
*)new wxMemoryDC();
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15438 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxDC
*arg1
= (wxDC
*) 0 ;
15441 wxMemoryDC
*result
;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "oldDC", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 if (!wxPyCheckForApp()) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15465 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15468 wxBitmap
*arg2
= 0 ;
15469 PyObject
* obj0
= 0 ;
15470 PyObject
* obj1
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self",(char *) "bitmap", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15481 if (arg2
== NULL
) {
15482 PyErr_SetString(PyExc_TypeError
,"null reference");
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 Py_INCREF(Py_None
); resultobj
= Py_None
;
15499 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15502 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15504 return Py_BuildValue((char *)"");
15506 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15507 PyObject
*resultobj
;
15508 wxDC
*arg1
= (wxDC
*) 0 ;
15509 wxBitmap
*arg2
= 0 ;
15510 wxBufferedDC
*result
;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15514 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15520 if (arg2
== NULL
) {
15521 PyErr_SetString(PyExc_TypeError
,"null reference");
15525 if (!wxPyCheckForApp()) SWIG_fail
;
15526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15527 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15539 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15540 PyObject
*resultobj
;
15541 wxDC
*arg1
= (wxDC
*) 0 ;
15543 wxBufferedDC
*result
;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15548 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15553 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15556 if (!wxPyCheckForApp()) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15570 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15575 argc
= PyObject_Length(args
);
15576 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15577 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15583 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15593 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15601 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15609 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15618 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15621 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15626 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15631 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15634 PyObject
* obj0
= 0 ;
15635 char *kwnames
[] = {
15636 (char *) "self", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 Py_INCREF(Py_None
); resultobj
= Py_None
;
15656 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15659 PyObject
* obj0
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 Py_INCREF(Py_None
); resultobj
= Py_None
;
15681 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15684 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15686 return Py_BuildValue((char *)"");
15688 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxWindow
*arg1
= (wxWindow
*) 0 ;
15691 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15692 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15693 wxBufferedPaintDC
*result
;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "window",(char *) "buffer", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15707 if (arg2
== NULL
) {
15708 PyErr_SetString(PyExc_TypeError
,"null reference");
15713 if (!wxPyCheckForApp()) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15727 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15730 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15732 return Py_BuildValue((char *)"");
15734 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxScreenDC
*result
;
15737 char *kwnames
[] = {
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15743 if (!wxPyCheckForApp()) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (wxScreenDC
*)new wxScreenDC();
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15757 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15760 wxWindow
*arg2
= (wxWindow
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self",(char *) "window", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15792 wxRect
*arg2
= (wxRect
*) NULL
;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self",(char *) "rect", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15823 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (bool)(arg1
)->EndDrawingOnTop();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15851 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15854 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15856 return Py_BuildValue((char *)"");
15858 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
;
15860 wxWindow
*arg1
= (wxWindow
*) 0 ;
15861 wxClientDC
*result
;
15862 PyObject
* obj0
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "win", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15871 if (!wxPyCheckForApp()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (wxClientDC
*)new wxClientDC(arg1
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15885 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15888 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15890 return Py_BuildValue((char *)"");
15892 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxWindow
*arg1
= (wxWindow
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "win", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15905 if (!wxPyCheckForApp()) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15919 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15922 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15924 return Py_BuildValue((char *)"");
15926 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxWindow
*arg1
= (wxWindow
*) 0 ;
15929 wxWindowDC
*result
;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "win", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 if (!wxPyCheckForApp()) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15953 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15956 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15958 return Py_BuildValue((char *)"");
15960 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
;
15964 wxMirrorDC
*result
;
15965 PyObject
* obj0
= 0 ;
15966 PyObject
* obj1
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "dc",(char *) "mirror", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15975 if (arg1
== NULL
) {
15976 PyErr_SetString(PyExc_TypeError
,"null reference");
15979 arg2
= (bool)SWIG_As_bool(obj1
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 if (!wxPyCheckForApp()) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15996 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15999 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16001 return Py_BuildValue((char *)"");
16003 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxPrintData
*arg1
= 0 ;
16006 wxPostScriptDC
*result
;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "printData", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16016 if (arg1
== NULL
) {
16017 PyErr_SetString(PyExc_TypeError
,"null reference");
16021 if (!wxPyCheckForApp()) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16035 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16038 wxPrintData
*result
;
16039 PyObject
* obj0
= 0 ;
16040 char *kwnames
[] = {
16041 (char *) "self", NULL
16044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16051 result
= (wxPrintData
*) &_result_ref
;
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16064 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16067 wxPrintData
*arg2
= 0 ;
16068 PyObject
* obj0
= 0 ;
16069 PyObject
* obj1
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "self",(char *) "data", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16080 if (arg2
== NULL
) {
16081 PyErr_SetString(PyExc_TypeError
,"null reference");
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 Py_INCREF(Py_None
); resultobj
= Py_None
;
16098 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16101 PyObject
* obj0
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "ppi", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16107 arg1
= (int)SWIG_As_int(obj0
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 wxPostScriptDC::SetResolution(arg1
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 Py_INCREF(Py_None
); resultobj
= Py_None
;
16123 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16126 char *kwnames
[] = {
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (int)wxPostScriptDC::GetResolution();
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_From_int((int)result
);
16145 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16148 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16150 return Py_BuildValue((char *)"");
16152 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16155 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16156 wxMetaFile
*result
;
16157 bool temp1
= false ;
16158 PyObject
* obj0
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "filename", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16166 arg1
= wxString_in_helper(obj0
);
16167 if (arg1
== NULL
) SWIG_fail
;
16172 if (!wxPyCheckForApp()) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16194 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16197 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16199 return Py_BuildValue((char *)"");
16201 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16204 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16205 int arg2
= (int) 0 ;
16206 int arg3
= (int) 0 ;
16207 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16208 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16209 wxMetaFileDC
*result
;
16210 bool temp1
= false ;
16211 bool temp4
= false ;
16212 PyObject
* obj0
= 0 ;
16213 PyObject
* obj1
= 0 ;
16214 PyObject
* obj2
= 0 ;
16215 PyObject
* obj3
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16223 arg1
= wxString_in_helper(obj0
);
16224 if (arg1
== NULL
) SWIG_fail
;
16229 arg2
= (int)SWIG_As_int(obj1
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 arg3
= (int)SWIG_As_int(obj2
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16238 arg4
= wxString_in_helper(obj3
);
16239 if (arg4
== NULL
) SWIG_fail
;
16244 if (!wxPyCheckForApp()) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16274 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16277 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16279 return Py_BuildValue((char *)"");
16281 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxPrintData
*arg1
= 0 ;
16284 wxPrinterDC
*result
;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "printData", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16294 if (arg1
== NULL
) {
16295 PyErr_SetString(PyExc_TypeError
,"null reference");
16299 if (!wxPyCheckForApp()) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16313 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16316 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16318 return Py_BuildValue((char *)"");
16320 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16324 int arg3
= (int) true ;
16325 int arg4
= (int) 1 ;
16326 wxImageList
*result
;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 PyObject
* obj2
= 0 ;
16330 PyObject
* obj3
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16336 arg1
= (int)SWIG_As_int(obj0
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16338 arg2
= (int)SWIG_As_int(obj1
);
16339 if (PyErr_Occurred()) SWIG_fail
;
16341 arg3
= (int)SWIG_As_int(obj2
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16345 arg4
= (int)SWIG_As_int(obj3
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 if (!wxPyCheckForApp()) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= wxPyMake_wxObject(result
, 1);
16365 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxImageList
*arg1
= (wxImageList
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxImageList
*arg1
= (wxImageList
*) 0 ;
16393 wxBitmap
*arg2
= 0 ;
16394 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16395 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16397 PyObject
* obj0
= 0 ;
16398 PyObject
* obj1
= 0 ;
16399 PyObject
* obj2
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16410 if (arg2
== NULL
) {
16411 PyErr_SetString(PyExc_TypeError
,"null reference");
16415 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16418 if (arg3
== NULL
) {
16419 PyErr_SetString(PyExc_TypeError
,"null reference");
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16430 resultobj
= SWIG_From_int((int)result
);
16437 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxImageList
*arg1
= (wxImageList
*) 0 ;
16440 wxBitmap
*arg2
= 0 ;
16441 wxColour
*arg3
= 0 ;
16444 PyObject
* obj0
= 0 ;
16445 PyObject
* obj1
= 0 ;
16446 PyObject
* obj2
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16457 if (arg2
== NULL
) {
16458 PyErr_SetString(PyExc_TypeError
,"null reference");
16463 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= SWIG_From_int((int)result
);
16479 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxImageList
*arg1
= (wxImageList
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 PyObject
* obj1
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self",(char *) "icon", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16496 if (arg2
== NULL
) {
16497 PyErr_SetString(PyExc_TypeError
,"null reference");
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= SWIG_From_int((int)result
);
16514 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxImageList
*arg1
= (wxImageList
*) 0 ;
16518 wxBitmap
*arg3
= 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 PyObject
* obj2
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16530 arg2
= (int)SWIG_As_int(obj1
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16535 if (arg3
== NULL
) {
16536 PyErr_SetString(PyExc_TypeError
,"null reference");
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16555 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxImageList
*arg1
= (wxImageList
*) 0 ;
16562 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16563 bool arg7
= (bool) (bool)false ;
16565 PyObject
* obj0
= 0 ;
16566 PyObject
* obj1
= 0 ;
16567 PyObject
* obj2
= 0 ;
16568 PyObject
* obj3
= 0 ;
16569 PyObject
* obj4
= 0 ;
16570 PyObject
* obj5
= 0 ;
16571 PyObject
* obj6
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16579 arg2
= (int)SWIG_As_int(obj1
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16581 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16584 if (arg3
== NULL
) {
16585 PyErr_SetString(PyExc_TypeError
,"null reference");
16588 arg4
= (int)SWIG_As_int(obj3
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16590 arg5
= (int)SWIG_As_int(obj4
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 arg6
= (int)SWIG_As_int(obj5
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16597 arg7
= (bool)SWIG_As_bool(obj6
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16616 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16617 PyObject
*resultobj
;
16618 wxImageList
*arg1
= (wxImageList
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= (int)(arg1
)->GetImageCount();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= SWIG_From_int((int)result
);
16642 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16644 wxImageList
*arg1
= (wxImageList
*) 0 ;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self",(char *) "index", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16656 arg2
= (int)SWIG_As_int(obj1
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= (bool)(arg1
)->Remove(arg2
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16674 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16675 PyObject
*resultobj
;
16676 wxImageList
*arg1
= (wxImageList
*) 0 ;
16678 PyObject
* obj0
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (bool)(arg1
)->RemoveAll();
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16702 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxImageList
*arg1
= (wxImageList
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char *kwnames
[] = {
16715 (char *) "self",(char *) "index", NULL
16718 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16719 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16723 arg2
= (int)SWIG_As_int(obj1
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 Py_INCREF(Py_None
); resultobj
= Py_None
;
16733 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16734 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16735 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16736 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16743 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16746 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16748 return Py_BuildValue((char *)"");
16750 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16751 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16756 static PyObject
*_wrap_NORMAL_FONT_get() {
16759 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16764 static int _wrap_SMALL_FONT_set(PyObject
*) {
16765 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16770 static PyObject
*_wrap_SMALL_FONT_get() {
16773 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16778 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16779 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16784 static PyObject
*_wrap_ITALIC_FONT_get() {
16787 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16792 static int _wrap_SWISS_FONT_set(PyObject
*) {
16793 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16798 static PyObject
*_wrap_SWISS_FONT_get() {
16801 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16806 static int _wrap_RED_PEN_set(PyObject
*) {
16807 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16812 static PyObject
*_wrap_RED_PEN_get() {
16815 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16820 static int _wrap_CYAN_PEN_set(PyObject
*) {
16821 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16826 static PyObject
*_wrap_CYAN_PEN_get() {
16829 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16834 static int _wrap_GREEN_PEN_set(PyObject
*) {
16835 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16840 static PyObject
*_wrap_GREEN_PEN_get() {
16843 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16848 static int _wrap_BLACK_PEN_set(PyObject
*) {
16849 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16854 static PyObject
*_wrap_BLACK_PEN_get() {
16857 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16862 static int _wrap_WHITE_PEN_set(PyObject
*) {
16863 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16868 static PyObject
*_wrap_WHITE_PEN_get() {
16871 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16876 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16877 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16882 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16885 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16890 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16891 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16896 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16899 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16904 static int _wrap_GREY_PEN_set(PyObject
*) {
16905 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16910 static PyObject
*_wrap_GREY_PEN_get() {
16913 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16918 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16919 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16924 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16927 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16932 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16933 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16938 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16941 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16946 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16947 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16952 static PyObject
*_wrap_BLUE_BRUSH_get() {
16955 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16960 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16961 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16966 static PyObject
*_wrap_GREEN_BRUSH_get() {
16969 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16974 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16975 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16980 static PyObject
*_wrap_WHITE_BRUSH_get() {
16983 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16988 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16989 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16994 static PyObject
*_wrap_BLACK_BRUSH_get() {
16997 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17002 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17003 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17008 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17011 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17016 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17017 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17022 static PyObject
*_wrap_CYAN_BRUSH_get() {
17025 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17030 static int _wrap_RED_BRUSH_set(PyObject
*) {
17031 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17036 static PyObject
*_wrap_RED_BRUSH_get() {
17039 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17044 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17045 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17050 static PyObject
*_wrap_GREY_BRUSH_get() {
17053 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17058 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17059 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17064 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17067 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17072 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17073 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17078 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17081 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17086 static int _wrap_BLACK_set(PyObject
*) {
17087 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17092 static PyObject
*_wrap_BLACK_get() {
17095 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17100 static int _wrap_WHITE_set(PyObject
*) {
17101 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17106 static PyObject
*_wrap_WHITE_get() {
17109 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17114 static int _wrap_RED_set(PyObject
*) {
17115 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17120 static PyObject
*_wrap_RED_get() {
17123 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17128 static int _wrap_BLUE_set(PyObject
*) {
17129 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17134 static PyObject
*_wrap_BLUE_get() {
17137 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17142 static int _wrap_GREEN_set(PyObject
*) {
17143 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17148 static PyObject
*_wrap_GREEN_get() {
17151 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17156 static int _wrap_CYAN_set(PyObject
*) {
17157 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17162 static PyObject
*_wrap_CYAN_get() {
17165 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17170 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17171 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17176 static PyObject
*_wrap_LIGHT_GREY_get() {
17179 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17184 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17185 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17190 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17193 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17198 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17199 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17204 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17207 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17212 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17213 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17218 static PyObject
*_wrap_CROSS_CURSOR_get() {
17221 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17226 static int _wrap_NullBitmap_set(PyObject
*) {
17227 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17232 static PyObject
*_wrap_NullBitmap_get() {
17235 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17240 static int _wrap_NullIcon_set(PyObject
*) {
17241 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17246 static PyObject
*_wrap_NullIcon_get() {
17249 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17254 static int _wrap_NullCursor_set(PyObject
*) {
17255 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17260 static PyObject
*_wrap_NullCursor_get() {
17263 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17268 static int _wrap_NullPen_set(PyObject
*) {
17269 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17274 static PyObject
*_wrap_NullPen_get() {
17277 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17282 static int _wrap_NullBrush_set(PyObject
*) {
17283 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17288 static PyObject
*_wrap_NullBrush_get() {
17291 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17296 static int _wrap_NullPalette_set(PyObject
*) {
17297 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17302 static PyObject
*_wrap_NullPalette_get() {
17305 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17310 static int _wrap_NullFont_set(PyObject
*) {
17311 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17316 static PyObject
*_wrap_NullFont_get() {
17319 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17324 static int _wrap_NullColour_set(PyObject
*) {
17325 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17330 static PyObject
*_wrap_NullColour_get() {
17333 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17338 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 wxPenList
*arg1
= (wxPenList
*) 0 ;
17341 wxPen
*arg2
= (wxPen
*) 0 ;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self",(char *) "pen", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 (arg1
)->AddPen(arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 Py_INCREF(Py_None
); resultobj
= Py_None
;
17367 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPenList
*arg1
= (wxPenList
*) 0 ;
17370 wxColour
*arg2
= 0 ;
17375 PyObject
* obj0
= 0 ;
17376 PyObject
* obj1
= 0 ;
17377 PyObject
* obj2
= 0 ;
17378 PyObject
* obj3
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17388 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17390 arg3
= (int)SWIG_As_int(obj2
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17392 arg4
= (int)SWIG_As_int(obj3
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17408 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
;
17410 wxPenList
*arg1
= (wxPenList
*) 0 ;
17411 wxPen
*arg2
= (wxPen
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 char *kwnames
[] = {
17415 (char *) "self",(char *) "pen", NULL
17418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 (arg1
)->RemovePen(arg2
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17437 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxPenList
*arg1
= (wxPenList
*) 0 ;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17451 result
= (int)(arg1
)->GetCount();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 resultobj
= SWIG_From_int((int)result
);
17463 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17466 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17468 return Py_BuildValue((char *)"");
17470 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17473 wxBrush
*arg2
= (wxBrush
*) 0 ;
17474 PyObject
* obj0
= 0 ;
17475 PyObject
* obj1
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self",(char *) "brush", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 (arg1
)->AddBrush(arg2
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 Py_INCREF(Py_None
); resultobj
= Py_None
;
17499 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17502 wxColour
*arg2
= 0 ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 PyObject
* obj2
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "colour",(char *) "style", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17520 arg3
= (int)SWIG_As_int(obj2
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17536 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17539 wxBrush
*arg2
= (wxBrush
*) 0 ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "self",(char *) "brush", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 (arg1
)->RemoveBrush(arg2
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 Py_INCREF(Py_None
); resultobj
= Py_None
;
17565 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17569 PyObject
* obj0
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (int)(arg1
)->GetCount();
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17584 resultobj
= SWIG_From_int((int)result
);
17591 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17594 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17596 return Py_BuildValue((char *)"");
17598 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxColourDatabase
*result
;
17601 char *kwnames
[] = {
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17607 if (!wxPyCheckForApp()) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (wxColourDatabase
*)new wxColourDatabase();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17621 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
;
17623 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17631 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
*, 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
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 arg2
= wxString_in_helper(obj1
);
17663 if (arg2
== NULL
) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17674 wxColour
* resultptr
;
17675 resultptr
= new wxColour((wxColour
&) result
);
17676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17692 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17695 wxColour
*arg2
= 0 ;
17698 PyObject
* obj0
= 0 ;
17699 PyObject
* obj1
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self",(char *) "colour", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17731 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17734 wxString
*arg2
= 0 ;
17735 wxColour
*arg3
= 0 ;
17736 bool temp2
= false ;
17738 PyObject
* obj0
= 0 ;
17739 PyObject
* obj1
= 0 ;
17740 PyObject
* obj2
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "name",(char *) "colour", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17749 arg2
= wxString_in_helper(obj1
);
17750 if (arg2
== NULL
) SWIG_fail
;
17755 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 Py_INCREF(Py_None
); resultobj
= Py_None
;
17779 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17782 wxString
*arg2
= 0 ;
17786 bool temp2
= false ;
17787 PyObject
* obj0
= 0 ;
17788 PyObject
* obj1
= 0 ;
17789 PyObject
* obj2
= 0 ;
17790 PyObject
* obj3
= 0 ;
17791 PyObject
* obj4
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 arg2
= wxString_in_helper(obj1
);
17801 if (arg2
== NULL
) SWIG_fail
;
17804 arg3
= (int)SWIG_As_int(obj2
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17806 arg4
= (int)SWIG_As_int(obj3
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17808 arg5
= (int)SWIG_As_int(obj4
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17832 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17835 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17837 return Py_BuildValue((char *)"");
17839 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxFontList
*arg1
= (wxFontList
*) 0 ;
17842 wxFont
*arg2
= (wxFont
*) 0 ;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "font", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17853 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
*, 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
,
17895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17896 arg2
= (int)SWIG_As_int(obj1
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17898 arg3
= (int)SWIG_As_int(obj2
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17900 arg4
= (int)SWIG_As_int(obj3
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17902 arg5
= (int)SWIG_As_int(obj4
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 arg6
= (bool)SWIG_As_bool(obj5
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17910 arg7
= wxString_in_helper(obj6
);
17911 if (arg7
== NULL
) SWIG_fail
;
17916 arg8
= (int)SWIG_As_int(obj7
);
17917 if (PyErr_Occurred()) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17941 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxFontList
*arg1
= (wxFontList
*) 0 ;
17944 wxFont
*arg2
= (wxFont
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "font", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 (arg1
)->RemoveFont(arg2
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 Py_INCREF(Py_None
); resultobj
= Py_None
;
17970 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxFontList
*arg1
= (wxFontList
*) 0 ;
17974 PyObject
* obj0
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (int)(arg1
)->GetCount();
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= SWIG_From_int((int)result
);
17996 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17999 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18001 return Py_BuildValue((char *)"");
18003 static int _wrap_TheFontList_set(PyObject
*) {
18004 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18009 static PyObject
*_wrap_TheFontList_get() {
18012 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18017 static int _wrap_ThePenList_set(PyObject
*) {
18018 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18023 static PyObject
*_wrap_ThePenList_get() {
18026 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18031 static int _wrap_TheBrushList_set(PyObject
*) {
18032 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18037 static PyObject
*_wrap_TheBrushList_get() {
18040 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18045 static int _wrap_TheColourDatabase_set(PyObject
*) {
18046 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18051 static PyObject
*_wrap_TheColourDatabase_get() {
18054 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18059 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18062 char *kwnames
[] = {
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (wxEffects
*)new wxEffects();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18081 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxEffects
*arg1
= (wxEffects
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 wxColour
* resultptr
;
18102 resultptr
= new wxColour((wxColour
&) result
);
18103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18111 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxEffects
*arg1
= (wxEffects
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18131 wxColour
* resultptr
;
18132 resultptr
= new wxColour((wxColour
&) result
);
18133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18141 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxEffects
*arg1
= (wxEffects
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18161 wxColour
* resultptr
;
18162 resultptr
= new wxColour((wxColour
&) result
);
18163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18171 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxEffects
*arg1
= (wxEffects
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 wxColour
* resultptr
;
18192 resultptr
= new wxColour((wxColour
&) result
);
18193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18201 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxEffects
*arg1
= (wxEffects
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18221 wxColour
* resultptr
;
18222 resultptr
= new wxColour((wxColour
&) result
);
18223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18231 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxEffects
*arg1
= (wxEffects
*) 0 ;
18234 wxColour
*arg2
= 0 ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "c", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18247 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 Py_INCREF(Py_None
); resultobj
= Py_None
;
18263 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxEffects
*arg1
= (wxEffects
*) 0 ;
18266 wxColour
*arg2
= 0 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "c", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 Py_INCREF(Py_None
); resultobj
= Py_None
;
18295 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxEffects
*arg1
= (wxEffects
*) 0 ;
18298 wxColour
*arg2
= 0 ;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self",(char *) "c", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18308 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
*, 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
,
18340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 Py_INCREF(Py_None
); resultobj
= Py_None
;
18359 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxEffects
*arg1
= (wxEffects
*) 0 ;
18362 wxColour
*arg2
= 0 ;
18364 PyObject
* obj0
= 0 ;
18365 PyObject
* obj1
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self",(char *) "c", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18375 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 Py_INCREF(Py_None
); resultobj
= Py_None
;
18391 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxEffects
*arg1
= (wxEffects
*) 0 ;
18394 wxColour
*arg2
= 0 ;
18395 wxColour
*arg3
= 0 ;
18396 wxColour
*arg4
= 0 ;
18397 wxColour
*arg5
= 0 ;
18398 wxColour
*arg6
= 0 ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 PyObject
* obj2
= 0 ;
18407 PyObject
* obj3
= 0 ;
18408 PyObject
* obj4
= 0 ;
18409 PyObject
* obj5
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18423 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18427 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18431 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18435 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 Py_INCREF(Py_None
); resultobj
= Py_None
;
18451 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxEffects
*arg1
= (wxEffects
*) 0 ;
18456 int arg4
= (int) 1 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 PyObject
* obj2
= 0 ;
18461 PyObject
* obj3
= 0 ;
18462 char *kwnames
[] = {
18463 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18472 if (arg2
== NULL
) {
18473 PyErr_SetString(PyExc_TypeError
,"null reference");
18478 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18481 arg4
= (int)SWIG_As_int(obj3
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 Py_INCREF(Py_None
); resultobj
= Py_None
;
18498 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxEffects
*arg1
= (wxEffects
*) 0 ;
18503 wxBitmap
*arg4
= 0 ;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 PyObject
* obj2
= 0 ;
18509 PyObject
* obj3
= 0 ;
18510 char *kwnames
[] = {
18511 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18519 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18521 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18524 if (arg3
== NULL
) {
18525 PyErr_SetString(PyExc_TypeError
,"null reference");
18528 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18531 if (arg4
== NULL
) {
18532 PyErr_SetString(PyExc_TypeError
,"null reference");
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18539 wxPyEndAllowThreads(__tstate
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18551 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18554 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18556 return Py_BuildValue((char *)"");
18558 static PyMethodDef SwigMethods
[] = {
18559 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18565 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18582 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18588 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18592 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18603 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18606 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18608 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18619 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18632 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18634 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18644 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18647 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18648 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18649 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18655 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18665 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18668 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18672 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18673 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18681 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18682 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18687 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18716 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18730 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18749 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18750 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18753 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18754 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18763 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18778 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18783 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18824 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18832 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18839 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18842 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18850 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18851 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18858 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18861 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18863 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18864 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18866 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18871 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18907 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18914 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18918 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18919 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18922 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18923 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18926 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18931 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18933 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18934 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18935 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18936 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18937 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18938 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18939 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18940 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18941 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18943 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18944 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18945 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18947 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18948 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18949 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18950 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18951 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18952 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18953 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18954 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18955 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18956 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18957 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18958 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18960 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18962 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18964 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18965 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18966 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18968 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18969 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18970 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18973 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18974 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18975 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18976 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18978 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18979 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18980 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18982 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18984 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18985 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18986 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18987 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18990 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18991 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18992 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18994 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18997 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18998 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18999 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
19000 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19001 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19002 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19003 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
19004 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
19005 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19006 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19007 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19008 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19009 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19010 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19011 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19012 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19013 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19014 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19015 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19016 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19017 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19018 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19019 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19020 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19021 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19022 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19023 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19024 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19025 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19026 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19027 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19028 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19029 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19030 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19031 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19032 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19033 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19034 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19035 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19036 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19037 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19038 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19039 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19040 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19041 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19042 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19043 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19044 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19045 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19046 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19047 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19048 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19049 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19050 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19051 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19052 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19053 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19054 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19055 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19056 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19057 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19058 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19059 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19060 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19061 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19062 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19063 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19064 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19065 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19066 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19067 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19068 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19069 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19070 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19071 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19072 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19073 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19074 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19075 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19076 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19077 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19078 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19079 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19080 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19081 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19082 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19083 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19084 { NULL
, NULL
, 0, NULL
}
19088 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19090 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19091 return (void *)((wxWindow
*) ((wxControl
*) x
));
19093 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19094 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19096 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19097 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19099 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19100 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19102 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19103 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19105 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19108 static void *_p_wxPenTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19111 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19114 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19117 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19120 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19123 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19126 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19129 static void *_p_wxIconTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19132 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19135 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19138 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) ((wxSizer
*) x
));
19141 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19144 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19147 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) ((wxPenList
*) x
));
19150 static void *_p_wxEventTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) ((wxEvent
*) x
));
19153 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19156 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19159 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19162 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19165 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19168 static void *_p_wxDCTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) ((wxDC
*) x
));
19171 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19174 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19177 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19180 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19183 static void *_p_wxControlTo_p_wxObject(void *x
) {
19184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19186 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19187 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19189 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19190 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19192 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19193 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19195 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19196 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19198 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19199 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19201 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19202 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19204 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19205 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19207 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19208 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19210 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19211 return (void *)((wxObject
*) ((wxEffects
*) x
));
19213 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19214 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19216 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19219 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19220 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19222 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19223 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19225 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19226 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19228 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19229 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19231 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19232 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19234 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19235 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19237 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19238 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19240 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19241 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19243 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19244 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19246 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19247 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19249 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19250 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19252 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19255 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19258 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19259 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19261 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19264 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19265 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19267 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19268 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19270 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19271 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19273 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19274 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19276 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19277 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19279 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19280 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19282 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19283 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19285 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19286 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19288 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19289 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19291 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19292 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19294 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19295 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19297 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19298 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19300 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19301 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19303 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19304 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19306 static void *_p_wxImageTo_p_wxObject(void *x
) {
19307 return (void *)((wxObject
*) ((wxImage
*) x
));
19309 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19310 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19312 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19313 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19315 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19316 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19318 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19319 return (void *)((wxObject
*) ((wxImageList
*) x
));
19321 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19322 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19324 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19325 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19327 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19328 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19330 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19333 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19334 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19336 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19337 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19339 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19340 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19342 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19343 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19345 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19348 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19349 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19351 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19352 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19354 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19355 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19357 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19358 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19360 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19361 return (void *)((wxObject
*) ((wxMask
*) x
));
19363 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19364 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19366 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19367 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19369 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19370 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19372 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19373 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19375 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19376 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19378 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19379 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19381 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19384 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19385 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19387 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19388 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19390 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19391 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19393 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19396 static void *_p_wxFontTo_p_wxObject(void *x
) {
19397 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19399 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19400 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19402 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19403 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19405 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19408 static void *_p_wxColourTo_p_wxObject(void *x
) {
19409 return (void *)((wxObject
*) ((wxColour
*) x
));
19411 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19412 return (void *)((wxObject
*) ((wxFontList
*) x
));
19414 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19417 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19418 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19420 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19421 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19423 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19424 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19426 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19427 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19429 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19430 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19432 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19433 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19435 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19436 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19438 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19439 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19441 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19442 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19444 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19445 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19447 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19448 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19450 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19451 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19453 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19454 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19456 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19457 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19459 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19460 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19462 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19463 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19465 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19466 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19468 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19469 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19471 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19472 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19474 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19475 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19477 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19478 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19480 static swig_type_info _swigt__p_wxPostScriptDC
[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0, 0, 0, 0},{"_p_wxPostScriptDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19481 static swig_type_info _swigt__p_wxBrush
[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19482 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19483 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19484 static swig_type_info _swigt__p_wxMirrorDC
[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0, 0, 0, 0},{"_p_wxMirrorDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19485 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19486 static swig_type_info _swigt__p_wxPyFontEnumerator
[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0, 0, 0, 0},{"_p_wxPyFontEnumerator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19487 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19488 static swig_type_info _swigt__p_wxIconLocation
[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0, 0, 0, 0},{"_p_wxIconLocation", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19489 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19490 static swig_type_info _swigt__p_wxMetaFileDC
[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0, 0, 0, 0},{"_p_wxMetaFileDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19491 static swig_type_info _swigt__p_wxMask
[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19492 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19493 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19494 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19495 static swig_type_info _swigt__p_double
[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19496 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19497 static swig_type_info _swigt__p_wxFontMapper
[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0, 0, 0, 0},{"_p_wxFontMapper", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19498 static swig_type_info _swigt__p_wxEffects
[] = {{"_p_wxEffects", 0, "wxEffects *", 0, 0, 0, 0},{"_p_wxEffects", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19499 static swig_type_info _swigt__p_wxNativeEncodingInfo
[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0, 0, 0, 0},{"_p_wxNativeEncodingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19500 static swig_type_info _swigt__p_wxPalette
[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19501 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19502 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPenList", _p_wxPenListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19503 static swig_type_info _swigt__p_wxRegionIterator
[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0, 0, 0, 0},{"_p_wxRegionIterator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19504 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19505 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19506 static swig_type_info _swigt__p_wxPrinterDC
[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0, 0, 0, 0},{"_p_wxPrinterDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19507 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19508 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19509 static swig_type_info _swigt__p_wxDash
[] = {{"_p_wxDash", 0, "wxDash *", 0, 0, 0, 0},{"_p_wxDash", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19510 static swig_type_info _swigt__p_wxScreenDC
[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0, 0, 0, 0},{"_p_wxScreenDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19511 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19512 static swig_type_info _swigt__p_wxClientDC
[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0, 0, 0, 0},{"_p_wxClientDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19513 static swig_type_info _swigt__p_wxBufferedDC
[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19514 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19515 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{"_p_byte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19516 static swig_type_info _swigt__p_wxGDIObject
[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19517 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19518 static swig_type_info _swigt__p_wxLocale
[] = {{"_p_wxLocale", 0, "wxLocale *", 0, 0, 0, 0},{"_p_wxLocale", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19519 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19520 static swig_type_info _swigt__p_wxLanguageInfo
[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19521 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19522 static swig_type_info _swigt__p_wxWindowDC
[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0, 0, 0, 0},{"_p_wxWindowDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19523 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19524 static swig_type_info _swigt__p_wxBrushList
[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0, 0, 0, 0},{"_p_wxBrushList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19525 static swig_type_info _swigt__p_wxFontList
[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19526 static swig_type_info _swigt__p_wxPen
[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19527 static swig_type_info _swigt__p_wxBufferedPaintDC
[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0, 0, 0, 0},{"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19528 static swig_type_info _swigt__p_wxPaintDC
[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0, 0, 0, 0},{"_p_wxPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19529 static swig_type_info _swigt__p_wxPenList
[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19530 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19531 static swig_type_info _swigt__p_wxMetaFile
[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0, 0, 0, 0},{"_p_wxMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19532 static swig_type_info _swigt__p_wxNativeFontInfo
[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0, 0, 0, 0},{"_p_wxNativeFontInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19533 static swig_type_info _swigt__p_wxEncodingConverter
[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0, 0, 0, 0},{"_p_wxEncodingConverter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19534 static swig_type_info _swigt__p_wxColourDatabase
[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0, 0, 0, 0},{"_p_wxColourDatabase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
19536 static swig_type_info
*swig_types_initial
[] = {
19537 _swigt__p_wxPostScriptDC
,
19539 _swigt__p_wxColour
,
19541 _swigt__p_wxMirrorDC
,
19543 _swigt__p_wxPyFontEnumerator
,
19545 _swigt__p_wxIconLocation
,
19547 _swigt__p_wxMetaFileDC
,
19551 _swigt__p_wxWindow
,
19553 _swigt__p_wxMemoryDC
,
19554 _swigt__p_wxFontMapper
,
19555 _swigt__p_wxEffects
,
19556 _swigt__p_wxNativeEncodingInfo
,
19557 _swigt__p_wxPalette
,
19558 _swigt__p_wxBitmap
,
19559 _swigt__p_wxObject
,
19560 _swigt__p_wxRegionIterator
,
19562 _swigt__p_wxString
,
19563 _swigt__p_wxPrinterDC
,
19564 _swigt__p_wxIconBundle
,
19567 _swigt__p_wxScreenDC
,
19568 _swigt__p_wxCursor
,
19569 _swigt__p_wxClientDC
,
19570 _swigt__p_wxBufferedDC
,
19571 _swigt__p_wxImageList
,
19572 _swigt__p_unsigned_char
,
19573 _swigt__p_wxGDIObject
,
19575 _swigt__p_wxLocale
,
19576 _swigt__p_wxRegion
,
19577 _swigt__p_wxLanguageInfo
,
19578 _swigt__p_wxConfigBase
,
19579 _swigt__p_wxWindowDC
,
19580 _swigt__p_wxPrintData
,
19581 _swigt__p_wxBrushList
,
19582 _swigt__p_wxFontList
,
19584 _swigt__p_wxBufferedPaintDC
,
19585 _swigt__p_wxPaintDC
,
19586 _swigt__p_wxPenList
,
19588 _swigt__p_wxMetaFile
,
19589 _swigt__p_wxNativeFontInfo
,
19590 _swigt__p_wxEncodingConverter
,
19591 _swigt__p_wxColourDatabase
,
19596 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19598 static swig_const_info swig_const_table
[] = {
19599 {0, 0, 0, 0.0, 0, 0}};
19608 SWIGEXPORT(void) SWIG_init(void) {
19609 static PyObject
*SWIG_globals
= 0;
19610 static int typeinit
= 0;
19613 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19614 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19615 d
= PyModule_GetDict(m
);
19618 for (i
= 0; swig_types_initial
[i
]; i
++) {
19619 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19623 SWIG_InstallConstants(d
,swig_const_table
);
19625 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19626 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19627 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19628 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19629 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19630 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19631 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19632 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19633 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19634 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19635 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19636 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19637 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19638 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19639 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19640 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19641 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19642 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19643 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19644 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19645 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19646 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19647 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19648 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19649 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19650 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19651 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19652 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19653 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19654 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19655 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19656 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19657 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19658 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19659 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19660 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19661 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19662 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19663 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19664 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19665 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19666 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19667 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19668 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19669 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19670 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19671 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19672 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19673 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19674 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19675 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19676 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19677 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19678 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19679 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19680 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19681 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19682 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19683 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19684 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19685 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19686 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19687 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19688 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19689 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19690 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19691 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19692 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19693 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19694 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19695 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19696 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19697 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19698 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19699 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19700 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19701 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19702 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19703 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19704 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19705 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19706 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19707 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19708 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19709 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19710 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19711 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19712 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19713 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19714 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19715 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19716 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19717 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19718 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19719 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19720 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19721 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19722 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19723 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19724 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19725 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19726 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19727 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19728 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19729 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19730 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19731 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19732 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19733 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19734 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19735 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19736 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19737 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19738 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19739 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19740 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19741 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19742 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19743 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19744 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19745 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19746 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19747 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19748 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19749 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19750 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19751 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19753 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19755 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19756 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19757 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19758 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19759 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19760 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19761 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19762 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19763 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19764 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19765 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19766 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19767 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19768 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19769 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19770 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19771 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19772 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19773 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19774 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19775 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19776 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19777 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19778 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19779 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19780 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19781 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19782 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19783 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19784 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19785 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19786 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19787 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19788 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19789 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19790 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19791 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19792 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19793 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19794 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19795 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19796 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19797 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19798 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19799 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19800 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19801 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19802 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19803 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19804 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19805 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19806 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19807 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19808 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19809 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19810 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19811 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19812 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19813 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19814 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19815 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
19816 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19817 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
19818 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19819 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
19820 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
19821 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19822 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19823 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19824 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19825 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19826 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19827 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
19828 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
19829 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
19830 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
19831 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
19832 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
19833 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
19834 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
19835 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
19836 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19837 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
19838 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
19839 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
19840 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
19841 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
19842 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
19843 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19844 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
19845 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19846 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19847 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
19848 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
19849 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
19850 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
19851 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
19852 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
19853 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
19854 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
19855 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
19856 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
19857 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
19858 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
19859 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
19860 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
19861 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
19862 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
19863 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
19864 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
19865 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
19866 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
19867 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
19868 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
19869 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
19870 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
19871 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
19872 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
19873 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
19874 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
19875 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
19876 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
19877 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
19878 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
19879 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
19880 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
19881 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
19882 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
19883 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
19884 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
19885 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
19886 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
19887 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19888 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
19889 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
19890 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
19891 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
19892 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
19893 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
19894 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
19895 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
19896 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
19897 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
19898 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19899 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19900 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
19901 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
19902 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
19903 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
19904 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
19905 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
19906 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19907 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
19908 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
19909 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
19910 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
19911 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
19912 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19913 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
19914 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
19915 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
19916 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
19917 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
19918 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19919 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
19920 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
19921 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
19922 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
19923 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
19924 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
19925 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
19926 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
19927 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
19928 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
19929 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
19930 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
19931 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19932 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19933 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
19934 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19935 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19936 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19937 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
19938 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19939 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19940 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
19941 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
19942 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
19943 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19944 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
19945 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19946 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
19947 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19948 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
19949 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
19950 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19951 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
19952 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
19953 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
19954 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
19955 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
19956 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
19957 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
19958 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
19959 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
19960 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
19961 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
19962 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
19963 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
19964 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
19965 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
19966 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
19967 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
19968 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
19969 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
19970 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
19971 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
19972 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
19973 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
19974 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19975 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
19976 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
19977 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
19978 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
19979 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
19980 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
19981 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
19982 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
19983 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
19984 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
19985 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
19986 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
19987 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
19988 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
19989 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
19990 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
19991 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
19992 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
19993 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
19994 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
19995 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
19996 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
19997 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
19998 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
19999 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
20000 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
20001 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
20002 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20003 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
20004 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
20005 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20006 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20007 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20008 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20009 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20010 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20011 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20012 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20013 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20014 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20015 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20016 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20017 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20018 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20019 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20020 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20021 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20022 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20023 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20024 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20025 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20026 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20027 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20028 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20029 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20030 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20031 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20032 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20033 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20034 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20035 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20036 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20037 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20038 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20039 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20040 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20041 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20042 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20043 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20044 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20045 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20046 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20047 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20048 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20049 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20050 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20051 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20052 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20053 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20054 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20056 // Work around a chicken/egg problem in drawlist.cpp
20057 wxPyDrawList_SetAPIPtr();