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_GetColoursCount(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_GetColoursCount",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
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1875 resultobj
= SWIG_From_int((int)result
);
1882 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1884 wxPalette
*arg1
= (wxPalette
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1888 (char *) "self", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (bool)(arg1
)->Ok();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1910 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1913 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1915 return Py_BuildValue((char *)"");
1917 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
*resultobj
;
1919 wxColour
*arg1
= 0 ;
1920 int arg2
= (int) 1 ;
1921 int arg3
= (int) wxSOLID
;
1924 PyObject
* obj0
= 0 ;
1925 PyObject
* obj1
= 0 ;
1926 PyObject
* obj2
= 0 ;
1928 (char *) "colour",(char *) "width",(char *) "style", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1934 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1937 arg2
= (int)SWIG_As_int(obj1
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1941 arg3
= (int)SWIG_As_int(obj2
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1945 if (!wxPyCheckForApp()) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1947 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1959 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1961 wxPen
*arg1
= (wxPen
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",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();
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1977 Py_INCREF(Py_None
); resultobj
= Py_None
;
1984 static PyObject
*_wrap_Pen_GetCap(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_GetCap",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
= (int)(arg1
)->GetCap();
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2003 resultobj
= SWIG_From_int((int)result
);
2010 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxPen
*arg1
= (wxPen
*) 0 ;
2014 PyObject
* obj0
= 0 ;
2016 (char *) "self", NULL
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
2020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 result
= (arg1
)->GetColour();
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2030 wxColour
* resultptr
;
2031 resultptr
= new wxColour((wxColour
&) result
);
2032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2040 static PyObject
*_wrap_Pen_GetJoin(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_GetJoin",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
)->GetJoin();
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= SWIG_From_int((int)result
);
2066 static PyObject
*_wrap_Pen_GetStyle(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_GetStyle",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
)->GetStyle();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= SWIG_From_int((int)result
);
2092 static PyObject
*_wrap_Pen_GetWidth(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_GetWidth",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
= (int)(arg1
)->GetWidth();
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= SWIG_From_int((int)result
);
2118 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2120 wxPen
*arg1
= (wxPen
*) 0 ;
2122 PyObject
* obj0
= 0 ;
2124 (char *) "self", NULL
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= (bool)(arg1
)->Ok();
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2146 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2148 wxPen
*arg1
= (wxPen
*) 0 ;
2150 PyObject
* obj0
= 0 ;
2151 PyObject
* obj1
= 0 ;
2153 (char *) "self",(char *) "cap_style", NULL
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2159 arg2
= (int)SWIG_As_int(obj1
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 (arg1
)->SetCap(arg2
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 Py_INCREF(Py_None
); resultobj
= Py_None
;
2175 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxPen
*arg1
= (wxPen
*) 0 ;
2178 wxColour
*arg2
= 0 ;
2180 PyObject
* obj0
= 0 ;
2181 PyObject
* obj1
= 0 ;
2183 (char *) "self",(char *) "colour", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2191 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 (arg1
)->SetColour(*arg2
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2200 Py_INCREF(Py_None
); resultobj
= Py_None
;
2207 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxPen
*arg1
= (wxPen
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2212 PyObject
* obj1
= 0 ;
2214 (char *) "self",(char *) "join_style", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2220 arg2
= (int)SWIG_As_int(obj1
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 (arg1
)->SetJoin(arg2
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2229 Py_INCREF(Py_None
); resultobj
= Py_None
;
2236 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
*resultobj
;
2238 wxPen
*arg1
= (wxPen
*) 0 ;
2240 PyObject
* obj0
= 0 ;
2241 PyObject
* obj1
= 0 ;
2243 (char *) "self",(char *) "style", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2249 arg2
= (int)SWIG_As_int(obj1
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 (arg1
)->SetStyle(arg2
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) SWIG_fail
;
2258 Py_INCREF(Py_None
); resultobj
= Py_None
;
2265 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2267 wxPen
*arg1
= (wxPen
*) 0 ;
2269 PyObject
* obj0
= 0 ;
2270 PyObject
* obj1
= 0 ;
2272 (char *) "self",(char *) "width", NULL
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2278 arg2
= (int)SWIG_As_int(obj1
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 (arg1
)->SetWidth(arg2
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 Py_INCREF(Py_None
); resultobj
= Py_None
;
2294 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxPen
*arg1
= (wxPen
*) 0 ;
2298 wxDash
*arg3
= (wxDash
*) 0 ;
2299 PyObject
* obj0
= 0 ;
2300 PyObject
* obj1
= 0 ;
2302 (char *) "self",(char *) "dashes", NULL
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2309 arg2
= PyList_Size(obj1
);
2310 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2311 if (arg3
== NULL
) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 (arg1
)->SetDashes(arg2
,arg3
);
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 Py_INCREF(Py_None
); resultobj
= Py_None
;
2322 if (arg3
) delete [] arg3
;
2327 if (arg3
) delete [] arg3
;
2333 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
*resultobj
;
2335 wxPen
*arg1
= (wxPen
*) 0 ;
2337 PyObject
* obj0
= 0 ;
2339 (char *) "self", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2359 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2361 wxPen
*arg1
= (wxPen
*) 0 ;
2362 PyObject
*arg2
= (PyObject
*) 0 ;
2363 PyObject
*arg3
= (PyObject
*) 0 ;
2364 PyObject
* obj0
= 0 ;
2365 PyObject
* obj1
= 0 ;
2366 PyObject
* obj2
= 0 ;
2368 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 wxPen__SetDashes(arg1
,arg2
,arg3
);
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 Py_INCREF(Py_None
); resultobj
= Py_None
;
2390 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 wxPen
*arg1
= (wxPen
*) 0 ;
2394 PyObject
* obj0
= 0 ;
2396 (char *) "self", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= SWIG_From_int((int)result
);
2416 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxPen
*arg1
= (wxPen
*) 0 ;
2419 wxPen
*arg2
= (wxPen
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2422 PyObject
* obj1
= 0 ;
2424 (char *) "self",(char *) "other", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2448 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxPen
*arg1
= (wxPen
*) 0 ;
2451 wxPen
*arg2
= (wxPen
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2454 PyObject
* obj1
= 0 ;
2456 (char *) "self",(char *) "other", NULL
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2480 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2483 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2485 return Py_BuildValue((char *)"");
2487 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
*resultobj
;
2489 wxColour
*arg1
= 0 ;
2490 int arg2
= (int) wxSOLID
;
2493 PyObject
* obj0
= 0 ;
2494 PyObject
* obj1
= 0 ;
2496 (char *) "colour",(char *) "style", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2502 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2505 arg2
= (int)SWIG_As_int(obj1
);
2506 if (PyErr_Occurred()) SWIG_fail
;
2509 if (!wxPyCheckForApp()) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2511 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2513 wxPyEndAllowThreads(__tstate
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2523 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2524 PyObject
*resultobj
;
2525 wxBrush
*arg1
= (wxBrush
*) 0 ;
2526 PyObject
* obj0
= 0 ;
2528 (char *) "self", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) SWIG_fail
;
2541 Py_INCREF(Py_None
); resultobj
= Py_None
;
2548 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 wxBrush
*arg1
= (wxBrush
*) 0 ;
2551 wxColour
*arg2
= 0 ;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2556 (char *) "self",(char *) "col", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2564 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 (arg1
)->SetColour((wxColour
const &)*arg2
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 Py_INCREF(Py_None
); resultobj
= Py_None
;
2580 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2582 wxBrush
*arg1
= (wxBrush
*) 0 ;
2584 PyObject
* obj0
= 0 ;
2585 PyObject
* obj1
= 0 ;
2587 (char *) "self",(char *) "style", NULL
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2593 arg2
= (int)SWIG_As_int(obj1
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 (arg1
)->SetStyle(arg2
);
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2602 Py_INCREF(Py_None
); resultobj
= Py_None
;
2609 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxBrush
*arg1
= (wxBrush
*) 0 ;
2612 wxBitmap
*arg2
= 0 ;
2613 PyObject
* obj0
= 0 ;
2614 PyObject
* obj1
= 0 ;
2616 (char *) "self",(char *) "stipple", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2626 PyErr_SetString(PyExc_TypeError
,"null reference");
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2636 Py_INCREF(Py_None
); resultobj
= Py_None
;
2643 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2645 wxBrush
*arg1
= (wxBrush
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2649 (char *) "self", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 result
= ((wxBrush
const *)arg1
)->GetColour();
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2663 wxColour
* resultptr
;
2664 resultptr
= new wxColour((wxColour
&) result
);
2665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2673 static PyObject
*_wrap_Brush_GetStyle(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_GetStyle",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
= (int)((wxBrush
const *)arg1
)->GetStyle();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 resultobj
= SWIG_From_int((int)result
);
2699 static PyObject
*_wrap_Brush_GetStipple(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_GetStipple",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
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2725 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxBrush
*arg1
= (wxBrush
*) 0 ;
2729 PyObject
* obj0
= 0 ;
2731 (char *) "self", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2753 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxBrush
*arg1
= (wxBrush
*) 0 ;
2757 PyObject
* obj0
= 0 ;
2759 (char *) "self", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= (bool)(arg1
)->Ok();
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2781 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2784 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2786 return Py_BuildValue((char *)"");
2788 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 wxString
*arg1
= 0 ;
2791 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2793 bool temp1
= false ;
2794 PyObject
* obj0
= 0 ;
2795 PyObject
* obj1
= 0 ;
2797 (char *) "name",(char *) "type", NULL
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2802 arg1
= wxString_in_helper(obj0
);
2803 if (arg1
== NULL
) SWIG_fail
;
2807 arg2
= (int)SWIG_As_int(obj1
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2811 if (!wxPyCheckForApp()) SWIG_fail
;
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2813 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2833 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
*resultobj
;
2835 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2836 PyObject
* obj0
= 0 ;
2838 (char *) "self", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2851 Py_INCREF(Py_None
); resultobj
= Py_None
;
2858 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2862 int arg3
= (int) -1 ;
2864 PyObject
* obj0
= 0 ;
2865 PyObject
* obj1
= 0 ;
2866 PyObject
* obj2
= 0 ;
2868 (char *) "width",(char *) "height",(char *) "depth", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2872 arg1
= (int)SWIG_As_int(obj0
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2874 arg2
= (int)SWIG_As_int(obj1
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2877 arg3
= (int)SWIG_As_int(obj2
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2881 if (!wxPyCheckForApp()) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2895 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2899 PyObject
* obj0
= 0 ;
2901 (char *) "icon", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2909 PyErr_SetString(PyExc_TypeError
,"null reference");
2913 if (!wxPyCheckForApp()) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2927 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2930 int arg2
= (int) -1 ;
2932 PyObject
* obj0
= 0 ;
2933 PyObject
* obj1
= 0 ;
2935 (char *) "image",(char *) "depth", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2943 PyErr_SetString(PyExc_TypeError
,"null reference");
2947 arg2
= (int)SWIG_As_int(obj1
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2951 if (!wxPyCheckForApp()) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2965 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
*resultobj
;
2967 PyObject
*arg1
= (PyObject
*) 0 ;
2969 PyObject
* obj0
= 0 ;
2971 (char *) "listOfStrings", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2977 if (!wxPyCheckForApp()) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2991 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 PyObject
*arg1
= (PyObject
*) 0 ;
2996 int arg4
= (int) 1 ;
2998 PyObject
* obj0
= 0 ;
2999 PyObject
* obj1
= 0 ;
3000 PyObject
* obj2
= 0 ;
3001 PyObject
* obj3
= 0 ;
3003 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3008 arg2
= (int)SWIG_As_int(obj1
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3010 arg3
= (int)SWIG_As_int(obj2
);
3011 if (PyErr_Occurred()) SWIG_fail
;
3013 arg4
= (int)SWIG_As_int(obj3
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 if (!wxPyCheckForApp()) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3031 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
*resultobj
;
3033 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3035 PyObject
* obj0
= 0 ;
3037 (char *) "self", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3045 result
= (bool)(arg1
)->Ok();
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3059 static PyObject
*_wrap_Bitmap_GetWidth(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_GetWidth",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
)->GetWidth();
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3078 resultobj
= SWIG_From_int((int)result
);
3085 static PyObject
*_wrap_Bitmap_GetHeight(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_GetHeight",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
)->GetHeight();
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= SWIG_From_int((int)result
);
3111 static PyObject
*_wrap_Bitmap_GetDepth(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_GetDepth",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
= (int)(arg1
)->GetDepth();
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3130 resultobj
= SWIG_From_int((int)result
);
3137 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
*resultobj
;
3139 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3141 PyObject
* obj0
= 0 ;
3143 (char *) "self", NULL
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= wxBitmap_GetSize(arg1
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3158 resultptr
= new wxSize((wxSize
&) result
);
3159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3167 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3170 SwigValueWrapper
< wxImage
> result
;
3171 PyObject
* obj0
= 0 ;
3173 (char *) "self", NULL
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) SWIG_fail
;
3187 wxImage
* resultptr
;
3188 resultptr
= new wxImage((wxImage
&) result
);
3189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3197 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3201 PyObject
* obj0
= 0 ;
3203 (char *) "self", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3223 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3225 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3226 wxMask
*arg2
= (wxMask
*) 0 ;
3227 PyObject
* obj0
= 0 ;
3228 PyObject
* obj1
= 0 ;
3230 (char *) "self",(char *) "mask", NULL
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 (arg1
)->SetMask(arg2
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3252 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3255 wxColour
*arg2
= 0 ;
3257 PyObject
* obj0
= 0 ;
3258 PyObject
* obj1
= 0 ;
3260 (char *) "self",(char *) "colour", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3288 SwigValueWrapper
< wxBitmap
> result
;
3290 PyObject
* obj0
= 0 ;
3291 PyObject
* obj1
= 0 ;
3293 (char *) "self",(char *) "rect", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3301 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3311 wxBitmap
* resultptr
;
3312 resultptr
= new wxBitmap((wxBitmap
&) result
);
3313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3321 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3324 wxString
*arg2
= 0 ;
3326 wxPalette
*arg4
= (wxPalette
*) NULL
;
3328 bool temp2
= false ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3331 PyObject
* obj2
= 0 ;
3332 PyObject
* obj3
= 0 ;
3334 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3341 arg2
= wxString_in_helper(obj1
);
3342 if (arg2
== NULL
) SWIG_fail
;
3345 arg3
= (int)SWIG_As_int(obj2
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3375 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3376 PyObject
*resultobj
;
3377 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3378 wxString
*arg2
= 0 ;
3381 bool temp2
= false ;
3382 PyObject
* obj0
= 0 ;
3383 PyObject
* obj1
= 0 ;
3384 PyObject
* obj2
= 0 ;
3386 (char *) "self",(char *) "name",(char *) "type", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3393 arg2
= wxString_in_helper(obj1
);
3394 if (arg2
== NULL
) SWIG_fail
;
3397 arg3
= (int)SWIG_As_int(obj2
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3423 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3427 PyObject
* obj0
= 0 ;
3429 (char *) "self", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
3433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
3449 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3455 PyObject
* obj1
= 0 ;
3457 (char *) "self",(char *) "icon", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3467 PyErr_SetString(PyExc_TypeError
,"null reference");
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3486 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "height", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 arg2
= (int)SWIG_As_int(obj1
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->SetHeight(arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3515 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3519 PyObject
* obj0
= 0 ;
3520 PyObject
* obj1
= 0 ;
3522 (char *) "self",(char *) "width", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3528 arg2
= (int)SWIG_As_int(obj1
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 (arg1
)->SetWidth(arg2
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3537 Py_INCREF(Py_None
); resultobj
= Py_None
;
3544 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
*resultobj
;
3546 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3551 (char *) "self",(char *) "depth", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3557 arg2
= (int)SWIG_As_int(obj1
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3561 (arg1
)->SetDepth(arg2
);
3563 wxPyEndAllowThreads(__tstate
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3566 Py_INCREF(Py_None
); resultobj
= Py_None
;
3573 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
;
3575 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3581 (char *) "self",(char *) "size", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3589 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 Py_INCREF(Py_None
); resultobj
= Py_None
;
3605 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
*resultobj
;
3607 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3608 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3610 PyObject
* obj0
= 0 ;
3611 PyObject
* obj1
= 0 ;
3613 (char *) "self",(char *) "other", NULL
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3637 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3640 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3643 PyObject
* obj1
= 0 ;
3645 (char *) "self",(char *) "other", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3669 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3672 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3674 return Py_BuildValue((char *)"");
3676 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxBitmap
*arg1
= 0 ;
3679 wxColour
const &arg2_defvalue
= wxNullColour
;
3680 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3683 PyObject
* obj0
= 0 ;
3684 PyObject
* obj1
= 0 ;
3686 (char *) "bitmap",(char *) "colour", NULL
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3694 PyErr_SetString(PyExc_TypeError
,"null reference");
3700 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3704 if (!wxPyCheckForApp()) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3718 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3721 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3723 return Py_BuildValue((char *)"");
3725 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 wxString
*arg1
= 0 ;
3729 int arg3
= (int) -1 ;
3730 int arg4
= (int) -1 ;
3732 bool temp1
= false ;
3733 PyObject
* obj0
= 0 ;
3734 PyObject
* obj1
= 0 ;
3735 PyObject
* obj2
= 0 ;
3736 PyObject
* obj3
= 0 ;
3738 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3743 arg1
= wxString_in_helper(obj0
);
3744 if (arg1
== NULL
) SWIG_fail
;
3747 arg2
= (int)SWIG_As_int(obj1
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 arg3
= (int)SWIG_As_int(obj2
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3754 arg4
= (int)SWIG_As_int(obj3
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3758 if (!wxPyCheckForApp()) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3780 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxIcon
*arg1
= (wxIcon
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3785 (char *) "self", NULL
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3805 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3814 if (!wxPyCheckForApp()) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (wxIcon
*)new wxIcon();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3828 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxIconLocation
*arg1
= 0 ;
3832 PyObject
* obj0
= 0 ;
3834 (char *) "loc", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3842 PyErr_SetString(PyExc_TypeError
,"null reference");
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3860 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3862 wxBitmap
*arg1
= 0 ;
3864 PyObject
* obj0
= 0 ;
3866 (char *) "bmp", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3874 PyErr_SetString(PyExc_TypeError
,"null reference");
3878 if (!wxPyCheckForApp()) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3892 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
*resultobj
;
3894 PyObject
*arg1
= (PyObject
*) 0 ;
3896 PyObject
* obj0
= 0 ;
3898 (char *) "listOfStrings", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3904 if (!wxPyCheckForApp()) SWIG_fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 result
= (wxIcon
*)new_wxIcon(arg1
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3918 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxIcon
*arg1
= (wxIcon
*) 0 ;
3921 wxString
*arg2
= 0 ;
3924 bool temp2
= false ;
3925 PyObject
* obj0
= 0 ;
3926 PyObject
* obj1
= 0 ;
3927 PyObject
* obj2
= 0 ;
3929 (char *) "self",(char *) "name",(char *) "type", NULL
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3936 arg2
= wxString_in_helper(obj1
);
3937 if (arg2
== NULL
) SWIG_fail
;
3940 arg3
= (int)SWIG_As_int(obj2
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3966 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxIcon
*arg1
= (wxIcon
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3972 (char *) "self", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= (bool)(arg1
)->Ok();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3994 static PyObject
*_wrap_Icon_GetWidth(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_GetWidth",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
)->GetWidth();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_From_int((int)result
);
4020 static PyObject
*_wrap_Icon_GetHeight(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_GetHeight",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
)->GetHeight();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_From_int((int)result
);
4046 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxIcon
*arg1
= (wxIcon
*) 0 ;
4050 PyObject
* obj0
= 0 ;
4052 (char *) "self", NULL
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (int)(arg1
)->GetDepth();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_From_int((int)result
);
4072 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxIcon
*arg1
= (wxIcon
*) 0 ;
4076 PyObject
* obj0
= 0 ;
4077 PyObject
* obj1
= 0 ;
4079 (char *) "self",(char *) "w", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4085 arg2
= (int)SWIG_As_int(obj1
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 (arg1
)->SetWidth(arg2
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 Py_INCREF(Py_None
); resultobj
= Py_None
;
4101 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxIcon
*arg1
= (wxIcon
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4108 (char *) "self",(char *) "h", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 arg2
= (int)SWIG_As_int(obj1
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 (arg1
)->SetHeight(arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4123 Py_INCREF(Py_None
); resultobj
= Py_None
;
4130 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxIcon
*arg1
= (wxIcon
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4137 (char *) "self",(char *) "d", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4143 arg2
= (int)SWIG_As_int(obj1
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 (arg1
)->SetDepth(arg2
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4160 PyObject
*resultobj
;
4161 wxIcon
*arg1
= (wxIcon
*) 0 ;
4162 wxBitmap
*arg2
= 0 ;
4163 PyObject
* obj0
= 0 ;
4164 PyObject
* obj1
= 0 ;
4166 (char *) "self",(char *) "bmp", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4176 PyErr_SetString(PyExc_TypeError
,"null reference");
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 Py_INCREF(Py_None
); resultobj
= Py_None
;
4193 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4196 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4198 return Py_BuildValue((char *)"");
4200 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
*resultobj
;
4202 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4203 int arg2
= (int) 0 ;
4204 wxIconLocation
*result
;
4205 bool temp1
= false ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4209 (char *) "filename",(char *) "num", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4215 arg1
= wxString_in_helper(obj0
);
4216 if (arg1
== NULL
) SWIG_fail
;
4221 arg2
= (int)SWIG_As_int(obj1
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4246 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "self", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",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();
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 Py_INCREF(Py_None
); resultobj
= Py_None
;
4271 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4273 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4277 (char *) "self", NULL
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4299 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4302 wxString
*arg2
= 0 ;
4303 bool temp2
= false ;
4304 PyObject
* obj0
= 0 ;
4305 PyObject
* obj1
= 0 ;
4307 (char *) "self",(char *) "filename", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4314 arg2
= wxString_in_helper(obj1
);
4315 if (arg2
== NULL
) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 (arg1
)->SetFileName((wxString
const &)*arg2
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 Py_INCREF(Py_None
); resultobj
= Py_None
;
4340 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4344 PyObject
* obj0
= 0 ;
4346 (char *) "self", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4356 result
= (wxString
*) &_result_ref
;
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4364 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4366 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4375 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4382 (char *) "self",(char *) "num", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 arg2
= (int)SWIG_As_int(obj1
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 wxIconLocation_SetIndex(arg1
,arg2
);
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 Py_INCREF(Py_None
); resultobj
= Py_None
;
4404 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
;
4406 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4408 PyObject
* obj0
= 0 ;
4410 (char *) "self", NULL
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (int)wxIconLocation_GetIndex(arg1
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_From_int((int)result
);
4430 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4433 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4435 return Py_BuildValue((char *)"");
4437 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 wxIconBundle
*result
;
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (wxIconBundle
*)new wxIconBundle();
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4459 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxString
*arg1
= 0 ;
4463 wxIconBundle
*result
;
4464 bool temp1
= false ;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4468 (char *) "file",(char *) "type", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4473 arg1
= wxString_in_helper(obj0
);
4474 if (arg1
== NULL
) SWIG_fail
;
4477 arg2
= (long)SWIG_As_long(obj1
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4501 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4504 wxIconBundle
*result
;
4505 PyObject
* obj0
= 0 ;
4507 (char *) "icon", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4515 PyErr_SetString(PyExc_TypeError
,"null reference");
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4532 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
;
4534 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4537 (char *) "self", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4550 Py_INCREF(Py_None
); resultobj
= Py_None
;
4557 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4559 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4564 (char *) "self",(char *) "icon", NULL
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4574 PyErr_SetString(PyExc_TypeError
,"null reference");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 Py_INCREF(Py_None
); resultobj
= Py_None
;
4591 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4594 wxString
*arg2
= 0 ;
4596 bool temp2
= false ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4599 PyObject
* obj2
= 0 ;
4601 (char *) "self",(char *) "file",(char *) "type", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4608 arg2
= wxString_in_helper(obj1
);
4609 if (arg2
== NULL
) SWIG_fail
;
4612 arg3
= (long)SWIG_As_long(obj2
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 Py_INCREF(Py_None
); resultobj
= Py_None
;
4636 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4643 PyObject
* obj1
= 0 ;
4645 (char *) "self",(char *) "size", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4653 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4659 result
= (wxIcon
*) &_result_ref
;
4662 wxPyEndAllowThreads(__tstate
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4666 wxIcon
* resultptr
= new wxIcon(*result
);
4667 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4675 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4678 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4680 return Py_BuildValue((char *)"");
4682 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxString
*arg1
= (wxString
*) 0 ;
4686 int arg3
= (int) 0 ;
4687 int arg4
= (int) 0 ;
4689 bool temp1
= false ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 PyObject
* obj2
= 0 ;
4693 PyObject
* obj3
= 0 ;
4695 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4700 arg1
= wxString_in_helper(obj0
);
4701 if (arg1
== NULL
) SWIG_fail
;
4704 arg2
= (long)SWIG_As_long(obj1
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 arg3
= (int)SWIG_As_int(obj2
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4711 arg4
= (int)SWIG_As_int(obj3
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4715 if (!wxPyCheckForApp()) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4737 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxCursor
*arg1
= (wxCursor
*) 0 ;
4740 PyObject
* obj0
= 0 ;
4742 (char *) "self", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 Py_INCREF(Py_None
); resultobj
= Py_None
;
4762 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4766 PyObject
* obj0
= 0 ;
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4772 arg1
= (int)SWIG_As_int(obj0
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 if (!wxPyCheckForApp()) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (wxCursor
*)new wxCursor(arg1
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4789 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4793 PyObject
* obj0
= 0 ;
4795 (char *) "image", NULL
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4803 PyErr_SetString(PyExc_TypeError
,"null reference");
4807 if (!wxPyCheckForApp()) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4821 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 wxCursor
*arg1
= (wxCursor
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4827 (char *) "self", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (bool)(arg1
)->Ok();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4849 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4852 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4854 return Py_BuildValue((char *)"");
4856 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4858 int arg1
= (int) 0 ;
4859 int arg2
= (int) 0 ;
4860 int arg3
= (int) 0 ;
4861 int arg4
= (int) 0 ;
4863 PyObject
* obj0
= 0 ;
4864 PyObject
* obj1
= 0 ;
4865 PyObject
* obj2
= 0 ;
4866 PyObject
* obj3
= 0 ;
4868 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4873 arg1
= (int)SWIG_As_int(obj0
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 arg2
= (int)SWIG_As_int(obj1
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4881 arg3
= (int)SWIG_As_int(obj2
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4885 arg4
= (int)SWIG_As_int(obj3
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4889 if (!wxPyCheckForApp()) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4903 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
*resultobj
;
4905 wxBitmap
*arg1
= 0 ;
4907 PyObject
* obj0
= 0 ;
4909 (char *) "bmp", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4917 PyErr_SetString(PyExc_TypeError
,"null reference");
4921 if (!wxPyCheckForApp()) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4935 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxBitmap
*arg1
= 0 ;
4938 wxColour
*arg2
= 0 ;
4939 int arg3
= (int) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4944 PyObject
* obj2
= 0 ;
4946 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4954 PyErr_SetString(PyExc_TypeError
,"null reference");
4959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4962 arg3
= (int)SWIG_As_int(obj2
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4966 if (!wxPyCheckForApp()) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4980 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4983 wxPoint
*arg2
= (wxPoint
*) 0 ;
4984 int arg3
= (int) wxWINDING_RULE
;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4989 (char *) "points",(char *) "fillStyle", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4994 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4995 if (arg2
== NULL
) SWIG_fail
;
4998 arg3
= (int)SWIG_As_int(obj1
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 if (!wxPyCheckForApp()) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5011 if (arg2
) delete [] arg2
;
5016 if (arg2
) delete [] arg2
;
5022 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxRegion
*arg1
= (wxRegion
*) 0 ;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "self", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5040 Py_INCREF(Py_None
); resultobj
= Py_None
;
5047 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
*resultobj
;
5049 wxRegion
*arg1
= (wxRegion
*) 0 ;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "self", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 Py_INCREF(Py_None
); resultobj
= Py_None
;
5072 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxRegion
*arg1
= (wxRegion
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 PyObject
* obj2
= 0 ;
5082 (char *) "self",(char *) "x",(char *) "y", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5088 arg2
= (int)SWIG_As_int(obj1
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5090 arg3
= (int)SWIG_As_int(obj2
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5108 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxRegion
*arg1
= (wxRegion
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5116 PyObject
* obj2
= 0 ;
5118 (char *) "self",(char *) "x",(char *) "y", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5124 arg2
= (int)SWIG_As_int(obj1
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5126 arg3
= (int)SWIG_As_int(obj2
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_From_int((int)result
);
5142 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxRegion
*arg1
= (wxRegion
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "self",(char *) "pt", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_From_int((int)result
);
5175 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxRegion
*arg1
= (wxRegion
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5184 (char *) "self",(char *) "rect", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5192 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_From_int((int)result
);
5208 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxRegion
*arg1
= (wxRegion
*) 0 ;
5216 PyObject
* obj0
= 0 ;
5217 PyObject
* obj1
= 0 ;
5218 PyObject
* obj2
= 0 ;
5219 PyObject
* obj3
= 0 ;
5220 PyObject
* obj4
= 0 ;
5222 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5228 arg2
= (int)SWIG_As_int(obj1
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5230 arg3
= (int)SWIG_As_int(obj2
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5232 arg4
= (int)SWIG_As_int(obj3
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5234 arg5
= (int)SWIG_As_int(obj4
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_From_int((int)result
);
5250 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxRegion
*arg1
= (wxRegion
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5256 (char *) "self", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (arg1
)->GetBox();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5271 resultptr
= new wxRect((wxRect
&) result
);
5272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5280 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxRegion
*arg1
= (wxRegion
*) 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5290 PyObject
* obj2
= 0 ;
5291 PyObject
* obj3
= 0 ;
5292 PyObject
* obj4
= 0 ;
5294 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5300 arg2
= (int)SWIG_As_int(obj1
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5302 arg3
= (int)SWIG_As_int(obj2
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5304 arg4
= (int)SWIG_As_int(obj3
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5306 arg5
= (int)SWIG_As_int(obj4
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5324 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxRegion
*arg1
= (wxRegion
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5333 (char *) "self",(char *) "rect", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5359 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxRegion
*arg1
= (wxRegion
*) 0 ;
5362 wxRegion
*arg2
= 0 ;
5364 PyObject
* obj0
= 0 ;
5365 PyObject
* obj1
= 0 ;
5367 (char *) "self",(char *) "region", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5377 PyErr_SetString(PyExc_TypeError
,"null reference");
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5396 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxRegion
*arg1
= (wxRegion
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "self", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (bool)(arg1
)->IsEmpty();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5424 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxRegion
*arg1
= (wxRegion
*) 0 ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5434 PyObject
* obj2
= 0 ;
5435 PyObject
* obj3
= 0 ;
5436 PyObject
* obj4
= 0 ;
5438 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5444 arg2
= (int)SWIG_As_int(obj1
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5446 arg3
= (int)SWIG_As_int(obj2
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5448 arg4
= (int)SWIG_As_int(obj3
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5450 arg5
= (int)SWIG_As_int(obj4
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5468 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
*resultobj
;
5470 wxRegion
*arg1
= (wxRegion
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5477 (char *) "self",(char *) "rect", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5503 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxRegion
*arg1
= (wxRegion
*) 0 ;
5506 wxRegion
*arg2
= 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5511 (char *) "self",(char *) "region", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5521 PyErr_SetString(PyExc_TypeError
,"null reference");
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5540 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxRegion
*arg1
= (wxRegion
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5551 PyObject
* obj3
= 0 ;
5552 PyObject
* obj4
= 0 ;
5554 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5560 arg2
= (int)SWIG_As_int(obj1
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5562 arg3
= (int)SWIG_As_int(obj2
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5564 arg4
= (int)SWIG_As_int(obj3
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5566 arg5
= (int)SWIG_As_int(obj4
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5584 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxRegion
*arg1
= (wxRegion
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5593 (char *) "self",(char *) "rect", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxRegion
*arg1
= (wxRegion
*) 0 ;
5622 wxRegion
*arg2
= 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5627 (char *) "self",(char *) "region", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5637 PyErr_SetString(PyExc_TypeError
,"null reference");
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5656 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
;
5658 wxRegion
*arg1
= (wxRegion
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5666 PyObject
* obj2
= 0 ;
5667 PyObject
* obj3
= 0 ;
5668 PyObject
* obj4
= 0 ;
5670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5676 arg2
= (int)SWIG_As_int(obj1
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5678 arg3
= (int)SWIG_As_int(obj2
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5680 arg4
= (int)SWIG_As_int(obj3
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5682 arg5
= (int)SWIG_As_int(obj4
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5700 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxRegion
*arg1
= (wxRegion
*) 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5709 (char *) "self",(char *) "rect", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5717 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5735 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxRegion
*arg1
= (wxRegion
*) 0 ;
5738 wxRegion
*arg2
= 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5743 (char *) "self",(char *) "region", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5753 PyErr_SetString(PyExc_TypeError
,"null reference");
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5772 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxRegion
*arg1
= (wxRegion
*) 0 ;
5775 SwigValueWrapper
< wxBitmap
> result
;
5776 PyObject
* obj0
= 0 ;
5778 (char *) "self", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (arg1
)->ConvertToBitmap();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5792 wxBitmap
* resultptr
;
5793 resultptr
= new wxBitmap((wxBitmap
&) result
);
5794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5802 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxRegion
*arg1
= (wxRegion
*) 0 ;
5805 wxBitmap
*arg2
= 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5810 (char *) "self",(char *) "bmp", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5820 PyErr_SetString(PyExc_TypeError
,"null reference");
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5839 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxRegion
*arg1
= (wxRegion
*) 0 ;
5842 wxBitmap
*arg2
= 0 ;
5843 wxColour
*arg3
= 0 ;
5844 int arg4
= (int) 0 ;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 PyObject
* obj2
= 0 ;
5850 PyObject
* obj3
= 0 ;
5852 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5862 PyErr_SetString(PyExc_TypeError
,"null reference");
5867 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5870 arg4
= (int)SWIG_As_int(obj3
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5877 wxPyEndAllowThreads(__tstate
);
5878 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5889 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5892 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5894 return Py_BuildValue((char *)"");
5896 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
;
5898 wxRegion
*arg1
= 0 ;
5899 wxRegionIterator
*result
;
5900 PyObject
* obj0
= 0 ;
5902 (char *) "region", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5910 PyErr_SetString(PyExc_TypeError
,"null reference");
5914 if (!wxPyCheckForApp()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5928 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5933 (char *) "self", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",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();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 Py_INCREF(Py_None
); resultobj
= Py_None
;
5953 static PyObject
*_wrap_RegionIterator_GetX(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_GetX",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
)->GetX();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_From_int((int)result
);
5979 static PyObject
*_wrap_RegionIterator_GetY(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_GetY",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
)->GetY();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_From_int((int)result
);
6005 static PyObject
*_wrap_RegionIterator_GetW(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_GetW",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
)->GetW();
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_From_int((int)result
);
6031 static PyObject
*_wrap_RegionIterator_GetWidth(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_GetWidth",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
)->GetWidth();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= SWIG_From_int((int)result
);
6057 static PyObject
*_wrap_RegionIterator_GetH(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_GetH",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
)->GetH();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= SWIG_From_int((int)result
);
6083 static PyObject
*_wrap_RegionIterator_GetHeight(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_GetHeight",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
= (int)(arg1
)->GetHeight();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= SWIG_From_int((int)result
);
6109 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "self", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (arg1
)->GetRect();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6130 resultptr
= new wxRect((wxRect
&) result
);
6131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6139 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6143 PyObject
* obj0
= 0 ;
6145 (char *) "self", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (bool)(arg1
)->HaveRects();
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6167 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6170 PyObject
* obj0
= 0 ;
6172 (char *) "self", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 Py_INCREF(Py_None
); resultobj
= Py_None
;
6192 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6197 (char *) "self", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",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 wxRegionIterator_Next(arg1
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 Py_INCREF(Py_None
); resultobj
= Py_None
;
6217 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6221 PyObject
* obj0
= 0 ;
6223 (char *) "self", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6245 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6248 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6250 return Py_BuildValue((char *)"");
6252 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxNativeFontInfo
*result
;
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6274 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
;
6276 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 Py_INCREF(Py_None
); resultobj
= Py_None
;
6299 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6302 PyObject
* obj0
= 0 ;
6304 (char *) "self", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 Py_INCREF(Py_None
); resultobj
= Py_None
;
6324 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6326 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6331 (char *) "self",(char *) "font", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6341 PyErr_SetString(PyExc_TypeError
,"null reference");
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6351 Py_INCREF(Py_None
); resultobj
= Py_None
;
6358 static PyObject
*_wrap_NativeFontInfo_GetPointSize(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_GetPointSize",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
)->GetPointSize();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_From_int((int)result
);
6384 static PyObject
*_wrap_NativeFontInfo_GetStyle(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_GetStyle",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
)->GetStyle();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 resultobj
= SWIG_From_int((int)result
);
6410 static PyObject
*_wrap_NativeFontInfo_GetWeight(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_GetWeight",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
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= SWIG_From_int((int)result
);
6436 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
*resultobj
;
6438 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6440 PyObject
* obj0
= 0 ;
6442 (char *) "self", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6464 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6496 static PyObject
*_wrap_NativeFontInfo_GetFamily(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_GetFamily",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
)->GetFamily();
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_From_int((int)result
);
6522 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= SWIG_From_int((int)result
);
6548 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6552 PyObject
* obj0
= 0 ;
6553 PyObject
* obj1
= 0 ;
6555 (char *) "self",(char *) "pointsize", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6561 arg2
= (int)SWIG_As_int(obj1
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 (arg1
)->SetPointSize(arg2
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 Py_INCREF(Py_None
); resultobj
= Py_None
;
6577 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6581 PyObject
* obj0
= 0 ;
6582 PyObject
* obj1
= 0 ;
6584 (char *) "self",(char *) "style", NULL
6587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6590 arg2
= (int)SWIG_As_int(obj1
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 Py_INCREF(Py_None
); resultobj
= Py_None
;
6606 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6613 (char *) "self",(char *) "weight", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 arg2
= (int)SWIG_As_int(obj1
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "underlined", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 arg2
= (bool)SWIG_As_bool(obj1
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 (arg1
)->SetUnderlined(arg2
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 Py_INCREF(Py_None
); resultobj
= Py_None
;
6664 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6671 (char *) "self",(char *) "facename", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6678 wxString
* sptr
= wxString_in_helper(obj1
);
6679 if (sptr
== NULL
) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->SetFaceName(arg2
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6704 (char *) "self",(char *) "family", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 arg2
= (int)SWIG_As_int(obj1
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 Py_INCREF(Py_None
); resultobj
= Py_None
;
6726 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6733 (char *) "self",(char *) "encoding", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6739 arg2
= (int)SWIG_As_int(obj1
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 Py_INCREF(Py_None
); resultobj
= Py_None
;
6755 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6758 wxString
*arg2
= 0 ;
6760 bool temp2
= false ;
6761 PyObject
* obj0
= 0 ;
6762 PyObject
* obj1
= 0 ;
6764 (char *) "self",(char *) "s", NULL
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6771 arg2
= wxString_in_helper(obj1
);
6772 if (arg2
== NULL
) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6799 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "self", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6831 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6835 PyObject
* obj0
= 0 ;
6837 (char *) "self", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= wxNativeFontInfo___str__(arg1
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6863 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6866 wxString
*arg2
= 0 ;
6868 bool temp2
= false ;
6869 PyObject
* obj0
= 0 ;
6870 PyObject
* obj1
= 0 ;
6872 (char *) "self",(char *) "s", NULL
6875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 arg2
= wxString_in_helper(obj1
);
6880 if (arg2
== NULL
) SWIG_fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6907 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
;
6909 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6911 PyObject
* obj0
= 0 ;
6913 (char *) "self", NULL
6916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6939 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6942 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6944 return Py_BuildValue((char *)"");
6946 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6949 wxString
*arg2
= (wxString
*) 0 ;
6950 bool temp2
= false ;
6951 PyObject
* obj0
= 0 ;
6952 PyObject
* obj1
= 0 ;
6954 (char *) "self",(char *) "facename", NULL
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6961 arg2
= wxString_in_helper(obj1
);
6962 if (arg2
== NULL
) SWIG_fail
;
6965 if (arg1
) (arg1
)->facename
= *arg2
;
6967 Py_INCREF(Py_None
); resultobj
= Py_None
;
6982 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "self", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6994 result
= (wxString
*)& ((arg1
)->facename
);
6998 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7000 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7009 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7014 PyObject
* obj1
= 0 ;
7016 (char *) "self",(char *) "encoding", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7022 arg2
= (int)SWIG_As_int(obj1
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7024 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7026 Py_INCREF(Py_None
); resultobj
= Py_None
;
7033 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7035 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7039 (char *) "self", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7045 result
= (int) ((arg1
)->encoding
);
7047 resultobj
= SWIG_From_int((int)result
);
7054 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxNativeEncodingInfo
*result
;
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7076 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "self", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 Py_INCREF(Py_None
); resultobj
= Py_None
;
7101 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7104 wxString
*arg2
= 0 ;
7106 bool temp2
= false ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "self",(char *) "s", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7117 arg2
= wxString_in_helper(obj1
);
7118 if (arg2
== NULL
) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7145 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7149 PyObject
* obj0
= 0 ;
7151 (char *) "self", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7177 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7180 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7182 return Py_BuildValue((char *)"");
7184 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7187 wxNativeEncodingInfo
*result
;
7188 PyObject
* obj0
= 0 ;
7190 (char *) "encoding", NULL
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7194 arg1
= (int)SWIG_As_int(obj0
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7210 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
;
7212 wxNativeEncodingInfo
*arg1
= 0 ;
7214 PyObject
* obj0
= 0 ;
7216 (char *) "info", NULL
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7224 PyErr_SetString(PyExc_TypeError
,"null reference");
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7243 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxFontMapper
*result
;
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 result
= (wxFontMapper
*)new wxFontMapper();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7265 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7270 (char *) "self", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 Py_INCREF(Py_None
); resultobj
= Py_None
;
7290 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxFontMapper
*result
;
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (wxFontMapper
*)wxFontMapper::Get();
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7312 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7315 wxFontMapper
*result
;
7316 PyObject
* obj0
= 0 ;
7318 (char *) "mapper", NULL
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7338 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7341 wxString
*arg2
= 0 ;
7342 bool arg3
= (bool) true ;
7344 bool temp2
= false ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7347 PyObject
* obj2
= 0 ;
7349 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7356 arg2
= wxString_in_helper(obj1
);
7357 if (arg2
== NULL
) SWIG_fail
;
7361 arg3
= (bool)SWIG_As_bool(obj2
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_From_int((int)result
);
7386 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
;
7393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7408 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7412 PyObject
* obj0
= 0 ;
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7418 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 result
= (int)wxFontMapper::GetEncoding(arg1
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_From_int((int)result
);
7434 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7438 PyObject
* obj0
= 0 ;
7440 (char *) "encoding", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7444 arg1
= (int)SWIG_As_int(obj0
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7466 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7470 PyObject
* obj0
= 0 ;
7472 (char *) "encoding", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7476 arg1
= (int)SWIG_As_int(obj0
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7498 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxString
*arg1
= 0 ;
7502 bool temp1
= false ;
7503 PyObject
* obj0
= 0 ;
7505 (char *) "name", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7510 arg1
= wxString_in_helper(obj0
);
7511 if (arg1
== NULL
) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_From_int((int)result
);
7536 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7539 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7543 (char *) "self",(char *) "config", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 (arg1
)->SetConfig(arg2
);
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 Py_INCREF(Py_None
); resultobj
= Py_None
;
7565 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7568 wxString
*arg2
= 0 ;
7569 bool temp2
= false ;
7570 PyObject
* obj0
= 0 ;
7571 PyObject
* obj1
= 0 ;
7573 (char *) "self",(char *) "prefix", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7580 arg2
= wxString_in_helper(obj1
);
7581 if (arg2
== NULL
) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 Py_INCREF(Py_None
); resultobj
= Py_None
;
7606 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= wxFontMapper::GetDefaultConfigPath();
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7634 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7638 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7639 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7640 bool arg4
= (bool) true ;
7642 bool temp3
= false ;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 PyObject
* obj2
= 0 ;
7646 PyObject
* obj3
= 0 ;
7648 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 arg2
= (int)SWIG_As_int(obj1
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 arg3
= wxString_in_helper(obj2
);
7659 if (arg3
== NULL
) SWIG_fail
;
7664 arg4
= (bool)SWIG_As_bool(obj3
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7689 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7696 bool temp3
= false ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7699 PyObject
* obj2
= 0 ;
7701 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7707 arg2
= (int)SWIG_As_int(obj1
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7711 arg3
= wxString_in_helper(obj2
);
7712 if (arg3
== NULL
) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7740 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7743 wxWindow
*arg2
= (wxWindow
*) 0 ;
7744 PyObject
* obj0
= 0 ;
7745 PyObject
* obj1
= 0 ;
7747 (char *) "self",(char *) "parent", NULL
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 (arg1
)->SetDialogParent(arg2
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 Py_INCREF(Py_None
); resultobj
= Py_None
;
7769 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7772 wxString
*arg2
= 0 ;
7773 bool temp2
= false ;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "self",(char *) "title", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7784 arg2
= wxString_in_helper(obj1
);
7785 if (arg2
== NULL
) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 Py_INCREF(Py_None
); resultobj
= Py_None
;
7810 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7813 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7815 return Py_BuildValue((char *)"");
7817 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7823 bool arg5
= (bool) false ;
7824 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7825 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7826 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7828 bool temp6
= false ;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj1
= 0 ;
7831 PyObject
* obj2
= 0 ;
7832 PyObject
* obj3
= 0 ;
7833 PyObject
* obj4
= 0 ;
7834 PyObject
* obj5
= 0 ;
7835 PyObject
* obj6
= 0 ;
7837 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7841 arg1
= (int)SWIG_As_int(obj0
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7843 arg2
= (int)SWIG_As_int(obj1
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7845 arg3
= (int)SWIG_As_int(obj2
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7847 arg4
= (int)SWIG_As_int(obj3
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 arg5
= (bool)SWIG_As_bool(obj4
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7855 arg6
= wxString_in_helper(obj5
);
7856 if (arg6
== NULL
) SWIG_fail
;
7861 arg7
= (int)SWIG_As_int(obj6
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 if (!wxPyCheckForApp()) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7887 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxFont
*arg1
= (wxFont
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7892 (char *) "self", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 Py_INCREF(Py_None
); resultobj
= Py_None
;
7912 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxNativeFontInfo
*arg1
= 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "info", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7926 PyErr_SetString(PyExc_TypeError
,"null reference");
7930 if (!wxPyCheckForApp()) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7944 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 wxString
*arg1
= 0 ;
7948 bool temp1
= false ;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "info", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7956 arg1
= wxString_in_helper(obj0
);
7957 if (arg1
== NULL
) SWIG_fail
;
7961 if (!wxPyCheckForApp()) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7983 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7987 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7988 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7990 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7992 bool temp4
= false ;
7993 PyObject
* obj0
= 0 ;
7994 PyObject
* obj1
= 0 ;
7995 PyObject
* obj2
= 0 ;
7996 PyObject
* obj3
= 0 ;
7997 PyObject
* obj4
= 0 ;
7999 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8003 arg1
= (int)SWIG_As_int(obj0
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8005 arg2
= (int)SWIG_As_int(obj1
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 arg3
= (int)SWIG_As_int(obj2
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8013 arg4
= wxString_in_helper(obj3
);
8014 if (arg4
== NULL
) SWIG_fail
;
8019 arg5
= (int)SWIG_As_int(obj4
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8023 if (!wxPyCheckForApp()) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8045 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8051 bool arg5
= (bool) false ;
8052 wxString
const &arg6_defvalue
= wxEmptyString
;
8053 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8054 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8057 bool temp6
= false ;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8060 PyObject
* obj2
= 0 ;
8061 PyObject
* obj3
= 0 ;
8062 PyObject
* obj4
= 0 ;
8063 PyObject
* obj5
= 0 ;
8064 PyObject
* obj6
= 0 ;
8066 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8072 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8074 arg2
= (int)SWIG_As_int(obj1
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8076 arg3
= (int)SWIG_As_int(obj2
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8078 arg4
= (int)SWIG_As_int(obj3
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 arg5
= (bool)SWIG_As_bool(obj4
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8086 arg6
= wxString_in_helper(obj5
);
8087 if (arg6
== NULL
) SWIG_fail
;
8092 arg7
= (int)SWIG_As_int(obj6
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 if (!wxPyCheckForApp()) SWIG_fail
;
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8118 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxFont
*arg1
= (wxFont
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8124 (char *) "self", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 result
= (bool)((wxFont
const *)arg1
)->Ok();
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8146 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
;
8148 wxFont
*arg1
= (wxFont
*) 0 ;
8149 wxFont
*arg2
= (wxFont
*) 0 ;
8151 PyObject
* obj0
= 0 ;
8152 PyObject
* obj1
= 0 ;
8154 (char *) "self",(char *) "other", NULL
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8178 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8180 wxFont
*arg1
= (wxFont
*) 0 ;
8181 wxFont
*arg2
= (wxFont
*) 0 ;
8183 PyObject
* obj0
= 0 ;
8184 PyObject
* obj1
= 0 ;
8186 (char *) "self",(char *) "other", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8210 static PyObject
*_wrap_Font_GetPointSize(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_GetPointSize",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
= (int)((wxFont
const *)arg1
)->GetPointSize();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 resultobj
= SWIG_From_int((int)result
);
8236 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxFont
*arg1
= (wxFont
*) 0 ;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "self", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8257 resultptr
= new wxSize((wxSize
&) result
);
8258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8266 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxFont
*arg1
= (wxFont
*) 0 ;
8270 PyObject
* obj0
= 0 ;
8272 (char *) "self", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8294 static PyObject
*_wrap_Font_GetFamily(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_GetFamily",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
)->GetFamily();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 resultobj
= SWIG_From_int((int)result
);
8320 static PyObject
*_wrap_Font_GetStyle(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_GetStyle",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
)->GetStyle();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= SWIG_From_int((int)result
);
8346 static PyObject
*_wrap_Font_GetWeight(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_GetWeight",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
= (int)((wxFont
const *)arg1
)->GetWeight();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= SWIG_From_int((int)result
);
8372 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxFont
*arg1
= (wxFont
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8400 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxFont
*arg1
= (wxFont
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8406 (char *) "self", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 result
= ((wxFont
const *)arg1
)->GetFaceName();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8432 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxFont
*arg1
= (wxFont
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",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
= (int)((wxFont
const *)arg1
)->GetEncoding();
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_From_int((int)result
);
8458 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxFont
*arg1
= (wxFont
*) 0 ;
8461 wxNativeFontInfo
*result
;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",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
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8484 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxFont
*arg1
= (wxFont
*) 0 ;
8488 PyObject
* obj0
= 0 ;
8490 (char *) "self", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8512 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxFont
*arg1
= (wxFont
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8518 (char *) "self", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8544 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
;
8546 wxFont
*arg1
= (wxFont
*) 0 ;
8548 PyObject
* obj0
= 0 ;
8550 (char *) "self", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8576 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxFont
*arg1
= (wxFont
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8583 (char *) "self",(char *) "pointSize", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 arg2
= (int)SWIG_As_int(obj1
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 (arg1
)->SetPointSize(arg2
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 Py_INCREF(Py_None
); resultobj
= Py_None
;
8605 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxFont
*arg1
= (wxFont
*) 0 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8613 (char *) "self",(char *) "pixelSize", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 Py_INCREF(Py_None
); resultobj
= Py_None
;
8637 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8639 wxFont
*arg1
= (wxFont
*) 0 ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8644 (char *) "self",(char *) "family", NULL
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 arg2
= (int)SWIG_As_int(obj1
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8654 (arg1
)->SetFamily(arg2
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 Py_INCREF(Py_None
); resultobj
= Py_None
;
8666 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxFont
*arg1
= (wxFont
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8671 PyObject
* obj1
= 0 ;
8673 (char *) "self",(char *) "style", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8679 arg2
= (int)SWIG_As_int(obj1
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 (arg1
)->SetStyle(arg2
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 Py_INCREF(Py_None
); resultobj
= Py_None
;
8695 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxFont
*arg1
= (wxFont
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8700 PyObject
* obj1
= 0 ;
8702 (char *) "self",(char *) "weight", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8708 arg2
= (int)SWIG_As_int(obj1
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 (arg1
)->SetWeight(arg2
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 Py_INCREF(Py_None
); resultobj
= Py_None
;
8724 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxFont
*arg1
= (wxFont
*) 0 ;
8727 wxString
*arg2
= 0 ;
8728 bool temp2
= false ;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8732 (char *) "self",(char *) "faceName", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8739 arg2
= wxString_in_helper(obj1
);
8740 if (arg2
== NULL
) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8765 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxFont
*arg1
= (wxFont
*) 0 ;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8772 (char *) "self",(char *) "underlined", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 arg2
= (bool)SWIG_As_bool(obj1
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetUnderlined(arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxFont
*arg1
= (wxFont
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8799 PyObject
* obj1
= 0 ;
8801 (char *) "self",(char *) "encoding", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 arg2
= (int)SWIG_As_int(obj1
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxFont
*arg1
= (wxFont
*) 0 ;
8826 wxNativeFontInfo
*arg2
= 0 ;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8830 (char *) "self",(char *) "info", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8840 PyErr_SetString(PyExc_TypeError
,"null reference");
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 Py_INCREF(Py_None
); resultobj
= Py_None
;
8857 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxFont
*arg1
= (wxFont
*) 0 ;
8860 wxString
*arg2
= 0 ;
8861 bool temp2
= false ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8865 (char *) "self",(char *) "info", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8872 arg2
= wxString_in_helper(obj1
);
8873 if (arg2
== NULL
) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 Py_INCREF(Py_None
); resultobj
= Py_None
;
8898 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxFont
*arg1
= (wxFont
*) 0 ;
8901 wxString
*arg2
= 0 ;
8902 bool temp2
= false ;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8906 (char *) "self",(char *) "info", NULL
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8913 arg2
= wxString_in_helper(obj1
);
8914 if (arg2
== NULL
) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 Py_INCREF(Py_None
); resultobj
= Py_None
;
8939 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxFont
*arg1
= (wxFont
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8945 (char *) "self", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8971 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxFont
*arg1
= (wxFont
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "self", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= ((wxFont
const *)arg1
)->GetStyleString();
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9003 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxFont
*arg1
= (wxFont
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "self", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= ((wxFont
const *)arg1
)->GetWeightString();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9035 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxFont
*arg1
= (wxFont
*) 0 ;
9038 bool arg2
= (bool) true ;
9039 PyObject
* obj0
= 0 ;
9040 PyObject
* obj1
= 0 ;
9042 (char *) "self",(char *) "no", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9049 arg2
= (bool)SWIG_As_bool(obj1
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 (arg1
)->SetNoAntiAliasing(arg2
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 Py_INCREF(Py_None
); resultobj
= Py_None
;
9066 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxFont
*arg1
= (wxFont
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9072 (char *) "self", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9103 if (!wxPyCheckForApp()) SWIG_fail
;
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 result
= (int)wxFont::GetDefaultEncoding();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_From_int((int)result
);
9117 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "encoding", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9126 arg1
= (int)SWIG_As_int(obj0
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 if (!wxPyCheckForApp()) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 Py_INCREF(Py_None
); resultobj
= Py_None
;
9143 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9146 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9148 return Py_BuildValue((char *)"");
9150 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxPyFontEnumerator
*result
;
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9159 if (!wxPyCheckForApp()) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9173 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9178 (char *) "self", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 Py_INCREF(Py_None
); resultobj
= Py_None
;
9198 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9201 PyObject
*arg2
= (PyObject
*) 0 ;
9202 PyObject
*arg3
= (PyObject
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9207 PyObject
* obj3
= 0 ;
9209 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9217 arg4
= (bool)SWIG_As_bool(obj3
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 Py_INCREF(Py_None
); resultobj
= Py_None
;
9233 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9236 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9237 bool arg3
= (bool) false ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9241 PyObject
* obj2
= 0 ;
9243 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9250 arg2
= (int)SWIG_As_int(obj1
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 arg3
= (bool)SWIG_As_bool(obj2
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9273 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9276 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9277 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9279 bool temp2
= false ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9283 (char *) "self",(char *) "facename", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9291 arg2
= wxString_in_helper(obj1
);
9292 if (arg2
== NULL
) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9320 static PyObject
*_wrap_FontEnumerator_GetEncodings(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_GetEncodings",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_GetEncodings(arg1
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9346 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9372 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9375 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9377 return Py_BuildValue((char *)"");
9379 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9386 (char *) "self",(char *) "Language", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 arg2
= (int)SWIG_As_int(obj1
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9394 if (arg1
) (arg1
)->Language
= arg2
;
9396 Py_INCREF(Py_None
); resultobj
= Py_None
;
9403 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
;
9405 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9407 PyObject
* obj0
= 0 ;
9409 (char *) "self", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 result
= (int) ((arg1
)->Language
);
9417 resultobj
= SWIG_From_int((int)result
);
9424 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9427 wxString
*arg2
= (wxString
*) 0 ;
9428 bool temp2
= false ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9432 (char *) "self",(char *) "CanonicalName", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 arg2
= wxString_in_helper(obj1
);
9440 if (arg2
== NULL
) SWIG_fail
;
9443 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9445 Py_INCREF(Py_None
); resultobj
= Py_None
;
9460 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9476 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9478 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9487 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9490 wxString
*arg2
= (wxString
*) 0 ;
9491 bool temp2
= false ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9495 (char *) "self",(char *) "Description", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9506 if (arg1
) (arg1
)->Description
= *arg2
;
9508 Py_INCREF(Py_None
); resultobj
= Py_None
;
9523 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
;
9525 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9527 PyObject
* obj0
= 0 ;
9529 (char *) "self", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 result
= (wxString
*)& ((arg1
)->Description
);
9539 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9541 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9550 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9553 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9555 return Py_BuildValue((char *)"");
9557 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 int arg1
= (int) -1 ;
9560 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9565 (char *) "language",(char *) "flags", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9570 arg1
= (int)SWIG_As_int(obj0
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9574 arg2
= (int)SWIG_As_int(obj1
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9591 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxLocale
*arg1
= (wxLocale
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9596 (char *) "self", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 Py_INCREF(Py_None
); resultobj
= Py_None
;
9616 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxLocale
*arg1
= (wxLocale
*) 0 ;
9619 wxString
*arg2
= 0 ;
9620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9622 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9623 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9624 bool arg5
= (bool) true ;
9625 bool arg6
= (bool) false ;
9627 bool temp2
= false ;
9628 bool temp3
= false ;
9629 bool temp4
= false ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 PyObject
* obj2
= 0 ;
9633 PyObject
* obj3
= 0 ;
9634 PyObject
* obj4
= 0 ;
9635 PyObject
* obj5
= 0 ;
9637 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 arg2
= wxString_in_helper(obj1
);
9645 if (arg2
== NULL
) SWIG_fail
;
9650 arg3
= wxString_in_helper(obj2
);
9651 if (arg3
== NULL
) SWIG_fail
;
9657 arg4
= wxString_in_helper(obj3
);
9658 if (arg4
== NULL
) SWIG_fail
;
9663 arg5
= (bool)SWIG_As_bool(obj4
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9667 arg6
= (bool)SWIG_As_bool(obj5
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxLocale
*arg1
= (wxLocale
*) 0 ;
9713 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9714 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 PyObject
* obj2
= 0 ;
9720 (char *) "self",(char *) "language",(char *) "flags", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9727 arg2
= (int)SWIG_As_int(obj1
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 arg3
= (int)SWIG_As_int(obj2
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9750 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (int)wxLocale::GetSystemLanguage();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_From_int((int)result
);
9772 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (int)wxLocale::GetSystemEncoding();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_From_int((int)result
);
9794 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= wxLocale::GetSystemEncodingName();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9822 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 wxLocale
*arg1
= (wxLocale
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "self", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9850 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxLocale
*arg1
= (wxLocale
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= ((wxLocale
const *)arg1
)->GetLocale();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9882 static PyObject
*_wrap_Locale_GetLanguage(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_GetLanguage",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
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_From_int((int)result
);
9908 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxLocale
*arg1
= (wxLocale
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= ((wxLocale
const *)arg1
)->GetSysName();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9940 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxLocale
*arg1
= (wxLocale
*) 0 ;
9944 PyObject
* obj0
= 0 ;
9946 (char *) "self", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9972 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxString
*arg1
= 0 ;
9975 bool temp1
= false ;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "prefix", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9983 arg1
= wxString_in_helper(obj0
);
9984 if (arg1
== NULL
) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 Py_INCREF(Py_None
); resultobj
= Py_None
;
10009 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxLocale
*arg1
= (wxLocale
*) 0 ;
10012 wxString
*arg2
= 0 ;
10014 bool temp2
= false ;
10015 PyObject
* obj0
= 0 ;
10016 PyObject
* obj1
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self",(char *) "szDomain", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 arg2
= wxString_in_helper(obj1
);
10026 if (arg2
== NULL
) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10053 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxLocale
*arg1
= (wxLocale
*) 0 ;
10056 wxString
*arg2
= 0 ;
10058 bool temp2
= false ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "szDomain", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 arg2
= wxString_in_helper(obj1
);
10070 if (arg2
== NULL
) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10097 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10100 wxLanguageInfo
*result
;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "lang", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10107 arg1
= (int)SWIG_As_int(obj0
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10123 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10127 PyObject
* obj0
= 0 ;
10128 char *kwnames
[] = {
10129 (char *) "lang", NULL
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10133 arg1
= (int)SWIG_As_int(obj0
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= wxLocale::GetLanguageName(arg1
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10155 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxString
*arg1
= 0 ;
10158 wxLanguageInfo
*result
;
10159 bool temp1
= false ;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "locale", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10167 arg1
= wxString_in_helper(obj0
);
10168 if (arg1
== NULL
) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10193 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10195 wxLanguageInfo
*arg1
= 0 ;
10196 PyObject
* obj0
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "info", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10205 if (arg1
== NULL
) {
10206 PyErr_SetString(PyExc_TypeError
,"null reference");
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 Py_INCREF(Py_None
); resultobj
= Py_None
;
10223 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
;
10225 wxLocale
*arg1
= (wxLocale
*) 0 ;
10226 wxString
*arg2
= 0 ;
10227 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10228 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10230 bool temp2
= false ;
10231 bool temp3
= false ;
10232 PyObject
* obj0
= 0 ;
10233 PyObject
* obj1
= 0 ;
10234 PyObject
* obj2
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 arg2
= wxString_in_helper(obj1
);
10244 if (arg2
== NULL
) SWIG_fail
;
10249 arg3
= wxString_in_helper(obj2
);
10250 if (arg3
== NULL
) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10290 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10291 PyObject
*resultobj
;
10292 wxLocale
*arg1
= (wxLocale
*) 0 ;
10294 PyObject
* obj0
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10306 result
= (wxString
*) &_result_ref
;
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10316 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10325 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10328 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10330 return Py_BuildValue((char *)"");
10332 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
;
10335 char *kwnames
[] = {
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (wxLocale
*)wxGetLocale();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10354 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10355 PyObject
*resultobj
;
10356 wxString
*arg1
= 0 ;
10358 bool temp1
= false ;
10359 PyObject
* obj0
= 0 ;
10361 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10363 arg1
= wxString_in_helper(obj0
);
10364 if (arg1
== NULL
) SWIG_fail
;
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= wxGetTranslation((wxString
const &)*arg1
);
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10395 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10396 PyObject
*resultobj
;
10397 wxString
*arg1
= 0 ;
10398 wxString
*arg2
= 0 ;
10401 bool temp1
= false ;
10402 bool temp2
= false ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 PyObject
* obj2
= 0 ;
10407 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10409 arg1
= wxString_in_helper(obj0
);
10410 if (arg1
== NULL
) SWIG_fail
;
10414 arg2
= wxString_in_helper(obj1
);
10415 if (arg2
== NULL
) SWIG_fail
;
10418 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10456 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10461 argc
= PyObject_Length(args
);
10462 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10463 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10468 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10471 return _wrap_GetTranslation__SWIG_0(self
,args
);
10477 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10481 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10484 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10486 return _wrap_GetTranslation__SWIG_1(self
,args
);
10492 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10497 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10499 wxEncodingConverter
*result
;
10500 char *kwnames
[] = {
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10519 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 Py_INCREF(Py_None
); resultobj
= Py_None
;
10544 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10549 int arg4
= (int) wxCONVERT_STRICT
;
10551 PyObject
* obj0
= 0 ;
10552 PyObject
* obj1
= 0 ;
10553 PyObject
* obj2
= 0 ;
10554 PyObject
* obj3
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 arg2
= (int)SWIG_As_int(obj1
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10564 arg3
= (int)SWIG_As_int(obj2
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 arg4
= (int)SWIG_As_int(obj3
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10586 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
;
10588 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10589 wxString
*arg2
= 0 ;
10591 bool temp2
= false ;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self",(char *) "input", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 arg2
= wxString_in_helper(obj1
);
10603 if (arg2
== NULL
) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10634 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10637 int arg2
= (int) wxPLATFORM_CURRENT
;
10638 wxFontEncodingArray result
;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "enc",(char *) "platform", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10646 arg1
= (int)SWIG_As_int(obj0
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 arg2
= (int)SWIG_As_int(obj1
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= PyList_New(0);
10661 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10662 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10663 PyList_Append(resultobj
, number
);
10673 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10676 wxFontEncodingArray result
;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "enc", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10683 arg1
= (int)SWIG_As_int(obj0
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= PyList_New(0);
10694 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10695 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10696 PyList_Append(resultobj
, number
);
10706 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "encIn",(char *) "encOut", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10718 arg1
= (int)SWIG_As_int(obj0
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10720 arg2
= (int)SWIG_As_int(obj1
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10738 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10741 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10743 return Py_BuildValue((char *)"");
10745 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxDC
*arg1
= (wxDC
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxDC
*arg1
= (wxDC
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 (arg1
)->BeginDrawing();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 Py_INCREF(Py_None
); resultobj
= Py_None
;
10795 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxDC
*arg1
= (wxDC
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->EndDrawing();
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxDC
*arg1
= (wxDC
*) 0 ;
10825 wxColour
*arg4
= 0 ;
10826 int arg5
= (int) wxFLOOD_SURFACE
;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 PyObject
* obj2
= 0 ;
10832 PyObject
* obj3
= 0 ;
10833 PyObject
* obj4
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10841 arg2
= (int)SWIG_As_int(obj1
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10843 arg3
= (int)SWIG_As_int(obj2
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10847 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10850 arg5
= (int)SWIG_As_int(obj4
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10869 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxDC
*arg1
= (wxDC
*) 0 ;
10872 wxPoint
*arg2
= 0 ;
10873 wxColour
*arg3
= 0 ;
10874 int arg4
= (int) wxFLOOD_SURFACE
;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 PyObject
* obj2
= 0 ;
10881 PyObject
* obj3
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10895 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10898 arg4
= (int)SWIG_As_int(obj3
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10917 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxDC
*arg1
= (wxDC
*) 0 ;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 PyObject
* obj2
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self",(char *) "x",(char *) "y", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 arg2
= (int)SWIG_As_int(obj1
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10935 arg3
= (int)SWIG_As_int(obj2
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10945 wxColour
* resultptr
;
10946 resultptr
= new wxColour((wxColour
&) result
);
10947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10955 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxDC
*arg1
= (wxDC
*) 0 ;
10958 wxPoint
*arg2
= 0 ;
10961 PyObject
* obj0
= 0 ;
10962 PyObject
* obj1
= 0 ;
10963 char *kwnames
[] = {
10964 (char *) "self",(char *) "pt", NULL
10967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10982 wxColour
* resultptr
;
10983 resultptr
= new wxColour((wxColour
&) result
);
10984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10992 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxDC
*arg1
= (wxDC
*) 0 ;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 PyObject
* obj2
= 0 ;
11002 PyObject
* obj3
= 0 ;
11003 PyObject
* obj4
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 arg2
= (int)SWIG_As_int(obj1
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11013 arg3
= (int)SWIG_As_int(obj2
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11015 arg4
= (int)SWIG_As_int(obj3
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11017 arg5
= (int)SWIG_As_int(obj4
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 Py_INCREF(Py_None
); resultobj
= Py_None
;
11033 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxDC
*arg1
= (wxDC
*) 0 ;
11036 wxPoint
*arg2
= 0 ;
11037 wxPoint
*arg3
= 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11056 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11065 Py_INCREF(Py_None
); resultobj
= Py_None
;
11072 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxDC
*arg1
= (wxDC
*) 0 ;
11077 PyObject
* obj0
= 0 ;
11078 PyObject
* obj1
= 0 ;
11079 PyObject
* obj2
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "x",(char *) "y", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11087 arg2
= (int)SWIG_As_int(obj1
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11089 arg3
= (int)SWIG_As_int(obj2
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 (arg1
)->CrossHair(arg2
,arg3
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 Py_INCREF(Py_None
); resultobj
= Py_None
;
11105 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxDC
*arg1
= (wxDC
*) 0 ;
11108 wxPoint
*arg2
= 0 ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self",(char *) "pt", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 Py_INCREF(Py_None
); resultobj
= Py_None
;
11137 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxDC
*arg1
= (wxDC
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 PyObject
* obj1
= 0 ;
11148 PyObject
* obj2
= 0 ;
11149 PyObject
* obj3
= 0 ;
11150 PyObject
* obj4
= 0 ;
11151 PyObject
* obj5
= 0 ;
11152 PyObject
* obj6
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11160 arg2
= (int)SWIG_As_int(obj1
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11162 arg3
= (int)SWIG_As_int(obj2
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11164 arg4
= (int)SWIG_As_int(obj3
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11166 arg5
= (int)SWIG_As_int(obj4
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11168 arg6
= (int)SWIG_As_int(obj5
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11170 arg7
= (int)SWIG_As_int(obj6
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 Py_INCREF(Py_None
); resultobj
= Py_None
;
11186 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxDC
*arg1
= (wxDC
*) 0 ;
11189 wxPoint
*arg2
= 0 ;
11190 wxPoint
*arg3
= 0 ;
11191 wxPoint
*arg4
= 0 ;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 PyObject
* obj2
= 0 ;
11198 PyObject
* obj3
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11208 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11216 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 Py_INCREF(Py_None
); resultobj
= Py_None
;
11232 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxDC
*arg1
= (wxDC
*) 0 ;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 PyObject
* obj2
= 0 ;
11242 PyObject
* obj3
= 0 ;
11243 PyObject
* obj4
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11251 arg2
= (int)SWIG_As_int(obj1
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11253 arg3
= (int)SWIG_As_int(obj2
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11255 arg4
= (int)SWIG_As_int(obj3
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11257 arg5
= (int)SWIG_As_int(obj4
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxDC
*arg1
= (wxDC
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self",(char *) "rect", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxDC
*arg1
= (wxDC
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 PyObject
* obj2
= 0 ;
11317 PyObject
* obj3
= 0 ;
11318 PyObject
* obj4
= 0 ;
11319 PyObject
* obj5
= 0 ;
11320 PyObject
* obj6
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11328 arg2
= (int)SWIG_As_int(obj1
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11330 arg3
= (int)SWIG_As_int(obj2
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11332 arg4
= (int)SWIG_As_int(obj3
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11334 arg5
= (int)SWIG_As_int(obj4
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11336 arg6
= (double)SWIG_As_double(obj5
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11338 arg7
= (double)SWIG_As_double(obj6
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 Py_INCREF(Py_None
); resultobj
= Py_None
;
11354 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxDC
*arg1
= (wxDC
*) 0 ;
11357 wxPoint
*arg2
= 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 PyObject
* obj2
= 0 ;
11366 PyObject
* obj3
= 0 ;
11367 PyObject
* obj4
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11381 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11383 arg4
= (double)SWIG_As_double(obj3
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11385 arg5
= (double)SWIG_As_double(obj4
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 Py_INCREF(Py_None
); resultobj
= Py_None
;
11401 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxDC
*arg1
= (wxDC
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 PyObject
* obj2
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self",(char *) "x",(char *) "y", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 arg2
= (int)SWIG_As_int(obj1
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11418 arg3
= (int)SWIG_As_int(obj2
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 (arg1
)->DrawPoint(arg2
,arg3
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 Py_INCREF(Py_None
); resultobj
= Py_None
;
11434 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
;
11436 wxDC
*arg1
= (wxDC
*) 0 ;
11437 wxPoint
*arg2
= 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self",(char *) "pt", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 Py_INCREF(Py_None
); resultobj
= Py_None
;
11466 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxDC
*arg1
= (wxDC
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 PyObject
* obj2
= 0 ;
11476 PyObject
* obj3
= 0 ;
11477 PyObject
* obj4
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11485 arg2
= (int)SWIG_As_int(obj1
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11487 arg3
= (int)SWIG_As_int(obj2
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11489 arg4
= (int)SWIG_As_int(obj3
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11491 arg5
= (int)SWIG_As_int(obj4
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 Py_INCREF(Py_None
); resultobj
= Py_None
;
11507 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 wxDC
*arg1
= (wxDC
*) 0 ;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self",(char *) "rect", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11523 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 Py_INCREF(Py_None
); resultobj
= Py_None
;
11539 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxDC
*arg1
= (wxDC
*) 0 ;
11542 wxPoint
*arg2
= 0 ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 PyObject
* obj2
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self",(char *) "pt",(char *) "sz", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11562 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 Py_INCREF(Py_None
); resultobj
= Py_None
;
11578 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxDC
*arg1
= (wxDC
*) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 PyObject
* obj2
= 0 ;
11589 PyObject
* obj3
= 0 ;
11590 PyObject
* obj4
= 0 ;
11591 PyObject
* obj5
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 arg2
= (int)SWIG_As_int(obj1
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11601 arg3
= (int)SWIG_As_int(obj2
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11603 arg4
= (int)SWIG_As_int(obj3
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11605 arg5
= (int)SWIG_As_int(obj4
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11607 arg6
= (double)SWIG_As_double(obj5
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 Py_INCREF(Py_None
); resultobj
= Py_None
;
11623 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxDC
*arg1
= (wxDC
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj1
= 0 ;
11631 PyObject
* obj2
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self",(char *) "r",(char *) "radius", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11641 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11643 arg3
= (double)SWIG_As_double(obj2
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 Py_INCREF(Py_None
); resultobj
= Py_None
;
11659 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxDC
*arg1
= (wxDC
*) 0 ;
11662 wxPoint
*arg2
= 0 ;
11667 PyObject
* obj0
= 0 ;
11668 PyObject
* obj1
= 0 ;
11669 PyObject
* obj2
= 0 ;
11670 PyObject
* obj3
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11684 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11686 arg4
= (double)SWIG_As_double(obj3
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 Py_INCREF(Py_None
); resultobj
= Py_None
;
11702 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxDC
*arg1
= (wxDC
*) 0 ;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 PyObject
* obj2
= 0 ;
11711 PyObject
* obj3
= 0 ;
11712 char *kwnames
[] = {
11713 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11719 arg2
= (int)SWIG_As_int(obj1
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11721 arg3
= (int)SWIG_As_int(obj2
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11723 arg4
= (int)SWIG_As_int(obj3
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 Py_INCREF(Py_None
); resultobj
= Py_None
;
11739 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxDC
*arg1
= (wxDC
*) 0 ;
11742 wxPoint
*arg2
= 0 ;
11745 PyObject
* obj0
= 0 ;
11746 PyObject
* obj1
= 0 ;
11747 PyObject
* obj2
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self",(char *) "pt",(char *) "radius", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11759 arg3
= (int)SWIG_As_int(obj2
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 Py_INCREF(Py_None
); resultobj
= Py_None
;
11775 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxDC
*arg1
= (wxDC
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 PyObject
* obj1
= 0 ;
11784 PyObject
* obj2
= 0 ;
11785 PyObject
* obj3
= 0 ;
11786 PyObject
* obj4
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11794 arg2
= (int)SWIG_As_int(obj1
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11796 arg3
= (int)SWIG_As_int(obj2
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11798 arg4
= (int)SWIG_As_int(obj3
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11800 arg5
= (int)SWIG_As_int(obj4
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxDC
*arg1
= (wxDC
*) 0 ;
11821 PyObject
* obj0
= 0 ;
11822 PyObject
* obj1
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self",(char *) "rect", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11832 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 Py_INCREF(Py_None
); resultobj
= Py_None
;
11848 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11849 PyObject
*resultobj
;
11850 wxDC
*arg1
= (wxDC
*) 0 ;
11851 wxPoint
*arg2
= 0 ;
11855 PyObject
* obj0
= 0 ;
11856 PyObject
* obj1
= 0 ;
11857 PyObject
* obj2
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "pt",(char *) "sz", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11871 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 Py_INCREF(Py_None
); resultobj
= Py_None
;
11887 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxDC
*arg1
= (wxDC
*) 0 ;
11893 PyObject
* obj0
= 0 ;
11894 PyObject
* obj1
= 0 ;
11895 PyObject
* obj2
= 0 ;
11896 PyObject
* obj3
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11907 if (arg2
== NULL
) {
11908 PyErr_SetString(PyExc_TypeError
,"null reference");
11911 arg3
= (int)SWIG_As_int(obj2
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11913 arg4
= (int)SWIG_As_int(obj3
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 Py_INCREF(Py_None
); resultobj
= Py_None
;
11929 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxDC
*arg1
= (wxDC
*) 0 ;
11933 wxPoint
*arg3
= 0 ;
11935 PyObject
* obj0
= 0 ;
11936 PyObject
* obj1
= 0 ;
11937 PyObject
* obj2
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "self",(char *) "icon",(char *) "pt", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11948 if (arg2
== NULL
) {
11949 PyErr_SetString(PyExc_TypeError
,"null reference");
11954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 Py_INCREF(Py_None
); resultobj
= Py_None
;
11970 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxDC
*arg1
= (wxDC
*) 0 ;
11973 wxBitmap
*arg2
= 0 ;
11976 bool arg5
= (bool) false ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 PyObject
* obj2
= 0 ;
11980 PyObject
* obj3
= 0 ;
11981 PyObject
* obj4
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11992 if (arg2
== NULL
) {
11993 PyErr_SetString(PyExc_TypeError
,"null reference");
11996 arg3
= (int)SWIG_As_int(obj2
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11998 arg4
= (int)SWIG_As_int(obj3
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 arg5
= (bool)SWIG_As_bool(obj4
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 Py_INCREF(Py_None
); resultobj
= Py_None
;
12018 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
;
12020 wxDC
*arg1
= (wxDC
*) 0 ;
12021 wxBitmap
*arg2
= 0 ;
12022 wxPoint
*arg3
= 0 ;
12023 bool arg4
= (bool) false ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 PyObject
* obj2
= 0 ;
12028 PyObject
* obj3
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12039 if (arg2
== NULL
) {
12040 PyErr_SetString(PyExc_TypeError
,"null reference");
12045 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12048 arg4
= (bool)SWIG_As_bool(obj3
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 Py_INCREF(Py_None
); resultobj
= Py_None
;
12065 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxDC
*arg1
= (wxDC
*) 0 ;
12068 wxString
*arg2
= 0 ;
12071 bool temp2
= false ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 PyObject
* obj2
= 0 ;
12075 PyObject
* obj3
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12084 arg2
= wxString_in_helper(obj1
);
12085 if (arg2
== NULL
) SWIG_fail
;
12088 arg3
= (int)SWIG_As_int(obj2
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12090 arg4
= (int)SWIG_As_int(obj3
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxDC
*arg1
= (wxDC
*) 0 ;
12117 wxString
*arg2
= 0 ;
12118 wxPoint
*arg3
= 0 ;
12119 bool temp2
= false ;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 PyObject
* obj2
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self",(char *) "text",(char *) "pt", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 arg2
= wxString_in_helper(obj1
);
12133 if (arg2
== NULL
) SWIG_fail
;
12138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 Py_INCREF(Py_None
); resultobj
= Py_None
;
12162 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxDC
*arg1
= (wxDC
*) 0 ;
12165 wxString
*arg2
= 0 ;
12169 bool temp2
= false ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 PyObject
* obj2
= 0 ;
12173 PyObject
* obj3
= 0 ;
12174 PyObject
* obj4
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12183 arg2
= wxString_in_helper(obj1
);
12184 if (arg2
== NULL
) SWIG_fail
;
12187 arg3
= (int)SWIG_As_int(obj2
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12189 arg4
= (int)SWIG_As_int(obj3
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12191 arg5
= (double)SWIG_As_double(obj4
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 Py_INCREF(Py_None
); resultobj
= Py_None
;
12215 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxDC
*arg1
= (wxDC
*) 0 ;
12218 wxString
*arg2
= 0 ;
12219 wxPoint
*arg3
= 0 ;
12221 bool temp2
= false ;
12223 PyObject
* obj0
= 0 ;
12224 PyObject
* obj1
= 0 ;
12225 PyObject
* obj2
= 0 ;
12226 PyObject
* obj3
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 arg2
= wxString_in_helper(obj1
);
12236 if (arg2
== NULL
) SWIG_fail
;
12241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12243 arg4
= (double)SWIG_As_double(obj3
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 Py_INCREF(Py_None
); resultobj
= Py_None
;
12267 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxDC
*arg1
= (wxDC
*) 0 ;
12274 wxDC
*arg6
= (wxDC
*) 0 ;
12277 int arg9
= (int) wxCOPY
;
12278 bool arg10
= (bool) false ;
12279 int arg11
= (int) -1 ;
12280 int arg12
= (int) -1 ;
12282 PyObject
* obj0
= 0 ;
12283 PyObject
* obj1
= 0 ;
12284 PyObject
* obj2
= 0 ;
12285 PyObject
* obj3
= 0 ;
12286 PyObject
* obj4
= 0 ;
12287 PyObject
* obj5
= 0 ;
12288 PyObject
* obj6
= 0 ;
12289 PyObject
* obj7
= 0 ;
12290 PyObject
* obj8
= 0 ;
12291 PyObject
* obj9
= 0 ;
12292 PyObject
* obj10
= 0 ;
12293 PyObject
* obj11
= 0 ;
12294 char *kwnames
[] = {
12295 (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
12298 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
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12301 arg2
= (int)SWIG_As_int(obj1
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12303 arg3
= (int)SWIG_As_int(obj2
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12305 arg4
= (int)SWIG_As_int(obj3
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12307 arg5
= (int)SWIG_As_int(obj4
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12309 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 arg7
= (int)SWIG_As_int(obj6
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12313 arg8
= (int)SWIG_As_int(obj7
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 arg9
= (int)SWIG_As_int(obj8
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 arg10
= (bool)SWIG_As_bool(obj9
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12324 arg11
= (int)SWIG_As_int(obj10
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12328 arg12
= (int)SWIG_As_int(obj11
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12347 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxDC
*arg1
= (wxDC
*) 0 ;
12350 wxPoint
*arg2
= 0 ;
12352 wxDC
*arg4
= (wxDC
*) 0 ;
12353 wxPoint
*arg5
= 0 ;
12354 int arg6
= (int) wxCOPY
;
12355 bool arg7
= (bool) false ;
12356 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12357 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12363 PyObject
* obj0
= 0 ;
12364 PyObject
* obj1
= 0 ;
12365 PyObject
* obj2
= 0 ;
12366 PyObject
* obj3
= 0 ;
12367 PyObject
* obj4
= 0 ;
12368 PyObject
* obj5
= 0 ;
12369 PyObject
* obj6
= 0 ;
12370 PyObject
* obj7
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12384 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12386 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12390 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12393 arg6
= (int)SWIG_As_int(obj5
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 arg7
= (bool)SWIG_As_bool(obj6
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12403 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12422 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxDC
*arg1
= (wxDC
*) 0 ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 PyObject
* obj2
= 0 ;
12432 PyObject
* obj3
= 0 ;
12433 PyObject
* obj4
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12441 arg2
= (int)SWIG_As_int(obj1
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12443 arg3
= (int)SWIG_As_int(obj2
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12445 arg4
= (int)SWIG_As_int(obj3
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12447 arg5
= (int)SWIG_As_int(obj4
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 Py_INCREF(Py_None
); resultobj
= Py_None
;
12463 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
;
12465 wxDC
*arg1
= (wxDC
*) 0 ;
12466 wxPoint
*arg2
= 0 ;
12470 PyObject
* obj0
= 0 ;
12471 PyObject
* obj1
= 0 ;
12472 PyObject
* obj2
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "pt",(char *) "sz", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12482 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12486 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 Py_INCREF(Py_None
); resultobj
= Py_None
;
12502 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxDC
*arg1
= (wxDC
*) 0 ;
12505 wxRegion
*arg2
= 0 ;
12506 PyObject
* obj0
= 0 ;
12507 PyObject
* obj1
= 0 ;
12508 char *kwnames
[] = {
12509 (char *) "self",(char *) "region", NULL
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12518 if (arg2
== NULL
) {
12519 PyErr_SetString(PyExc_TypeError
,"null reference");
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 Py_INCREF(Py_None
); resultobj
= Py_None
;
12536 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxDC
*arg1
= (wxDC
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self",(char *) "rect", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12558 wxPyEndAllowThreads(__tstate
);
12559 if (PyErr_Occurred()) SWIG_fail
;
12561 Py_INCREF(Py_None
); resultobj
= Py_None
;
12568 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxDC
*arg1
= (wxDC
*) 0 ;
12572 wxPoint
*arg3
= (wxPoint
*) 0 ;
12573 int arg4
= (int) 0 ;
12574 int arg5
= (int) 0 ;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 PyObject
* obj2
= 0 ;
12578 PyObject
* obj3
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12587 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12588 if (arg3
== NULL
) SWIG_fail
;
12591 arg4
= (int)SWIG_As_int(obj2
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12595 arg5
= (int)SWIG_As_int(obj3
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12607 if (arg3
) delete [] arg3
;
12612 if (arg3
) delete [] arg3
;
12618 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxDC
*arg1
= (wxDC
*) 0 ;
12622 wxPoint
*arg3
= (wxPoint
*) 0 ;
12623 int arg4
= (int) 0 ;
12624 int arg5
= (int) 0 ;
12625 int arg6
= (int) wxODDEVEN_RULE
;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 PyObject
* obj2
= 0 ;
12629 PyObject
* obj3
= 0 ;
12630 PyObject
* obj4
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12639 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12640 if (arg3
== NULL
) SWIG_fail
;
12643 arg4
= (int)SWIG_As_int(obj2
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12647 arg5
= (int)SWIG_As_int(obj3
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12651 arg6
= (int)SWIG_As_int(obj4
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 Py_INCREF(Py_None
); resultobj
= Py_None
;
12663 if (arg3
) delete [] arg3
;
12668 if (arg3
) delete [] arg3
;
12674 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxDC
*arg1
= (wxDC
*) 0 ;
12677 wxString
*arg2
= 0 ;
12679 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12680 int arg5
= (int) -1 ;
12681 bool temp2
= false ;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 PyObject
* obj2
= 0 ;
12686 PyObject
* obj3
= 0 ;
12687 PyObject
* obj4
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 arg2
= wxString_in_helper(obj1
);
12697 if (arg2
== NULL
) SWIG_fail
;
12702 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12705 arg4
= (int)SWIG_As_int(obj3
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12709 arg5
= (int)SWIG_As_int(obj4
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxDC
*arg1
= (wxDC
*) 0 ;
12737 wxString
*arg2
= 0 ;
12738 wxBitmap
*arg3
= 0 ;
12740 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12741 int arg6
= (int) -1 ;
12743 bool temp2
= false ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 PyObject
* obj2
= 0 ;
12748 PyObject
* obj3
= 0 ;
12749 PyObject
* obj4
= 0 ;
12750 PyObject
* obj5
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12759 arg2
= wxString_in_helper(obj1
);
12760 if (arg2
== NULL
) SWIG_fail
;
12763 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12766 if (arg3
== NULL
) {
12767 PyErr_SetString(PyExc_TypeError
,"null reference");
12772 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12775 arg5
= (int)SWIG_As_int(obj4
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12779 arg6
= (int)SWIG_As_int(obj5
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 wxRect
* resultptr
;
12791 resultptr
= new wxRect((wxRect
&) result
);
12792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12808 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxDC
*arg1
= (wxDC
*) 0 ;
12812 wxPoint
*arg3
= (wxPoint
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self",(char *) "points", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12824 if (arg3
== NULL
) SWIG_fail
;
12827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 (arg1
)->DrawSpline(arg2
,arg3
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 Py_INCREF(Py_None
); resultobj
= Py_None
;
12835 if (arg3
) delete [] arg3
;
12840 if (arg3
) delete [] arg3
;
12846 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxDC
*arg1
= (wxDC
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "self", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 Py_INCREF(Py_None
); resultobj
= Py_None
;
12871 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxDC
*arg1
= (wxDC
*) 0 ;
12874 wxString
*arg2
= 0 ;
12876 bool temp2
= false ;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 char *kwnames
[] = {
12880 (char *) "self",(char *) "message", NULL
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12887 arg2
= wxString_in_helper(obj1
);
12888 if (arg2
== NULL
) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12915 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxDC
*arg1
= (wxDC
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 Py_INCREF(Py_None
); resultobj
= Py_None
;
12940 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxDC
*arg1
= (wxDC
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 (arg1
)->StartPage();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 Py_INCREF(Py_None
); resultobj
= Py_None
;
12965 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxDC
*arg1
= (wxDC
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 Py_INCREF(Py_None
); resultobj
= Py_None
;
12990 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxDC
*arg1
= (wxDC
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 char *kwnames
[] = {
12997 (char *) "self",(char *) "font", NULL
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13006 if (arg2
== NULL
) {
13007 PyErr_SetString(PyExc_TypeError
,"null reference");
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 (arg1
)->SetFont((wxFont
const &)*arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 Py_INCREF(Py_None
); resultobj
= Py_None
;
13024 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
;
13026 wxDC
*arg1
= (wxDC
*) 0 ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "self",(char *) "pen", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13040 if (arg2
== NULL
) {
13041 PyErr_SetString(PyExc_TypeError
,"null reference");
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 (arg1
)->SetPen((wxPen
const &)*arg2
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 Py_INCREF(Py_None
); resultobj
= Py_None
;
13058 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
;
13060 wxDC
*arg1
= (wxDC
*) 0 ;
13061 wxBrush
*arg2
= 0 ;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self",(char *) "brush", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13074 if (arg2
== NULL
) {
13075 PyErr_SetString(PyExc_TypeError
,"null reference");
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13085 Py_INCREF(Py_None
); resultobj
= Py_None
;
13092 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
;
13094 wxDC
*arg1
= (wxDC
*) 0 ;
13095 wxBrush
*arg2
= 0 ;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "self",(char *) "brush", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13108 if (arg2
== NULL
) {
13109 PyErr_SetString(PyExc_TypeError
,"null reference");
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxDC
*arg1
= (wxDC
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self",(char *) "mode", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13139 arg2
= (int)SWIG_As_int(obj1
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->SetBackgroundMode(arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13155 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxDC
*arg1
= (wxDC
*) 0 ;
13158 wxPalette
*arg2
= 0 ;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self",(char *) "palette", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13171 if (arg2
== NULL
) {
13172 PyErr_SetString(PyExc_TypeError
,"null reference");
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 Py_INCREF(Py_None
); resultobj
= Py_None
;
13189 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxDC
*arg1
= (wxDC
*) 0 ;
13192 PyObject
* obj0
= 0 ;
13193 char *kwnames
[] = {
13194 (char *) "self", NULL
13197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->DestroyClippingRegion();
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxDC
*arg1
= (wxDC
*) 0 ;
13217 int *arg2
= (int *) 0 ;
13218 int *arg3
= (int *) 0 ;
13219 int *arg4
= (int *) 0 ;
13220 int *arg5
= (int *) 0 ;
13229 PyObject
* obj0
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self", NULL
13234 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13235 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13236 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13237 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13249 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13250 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13251 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13252 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13253 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13254 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13255 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13256 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13263 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxDC
*arg1
= (wxDC
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= wxDC_GetClippingRect(arg1
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 wxRect
* resultptr
;
13284 resultptr
= new wxRect((wxRect
&) result
);
13285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13293 static PyObject
*_wrap_DC_GetCharHeight(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_GetCharHeight",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
)->GetCharHeight();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_From_int((int)result
);
13319 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxDC
*arg1
= (wxDC
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_From_int((int)result
);
13345 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxDC
*arg1
= (wxDC
*) 0 ;
13348 wxString
*arg2
= 0 ;
13349 int *arg3
= (int *) 0 ;
13350 int *arg4
= (int *) 0 ;
13351 bool temp2
= false ;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self",(char *) "string", NULL
13362 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13363 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 arg2
= wxString_in_helper(obj1
);
13369 if (arg2
== NULL
) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13379 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13381 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13382 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13383 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13398 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxDC
*arg1
= (wxDC
*) 0 ;
13401 wxString
*arg2
= 0 ;
13402 int *arg3
= (int *) 0 ;
13403 int *arg4
= (int *) 0 ;
13404 int *arg5
= (int *) 0 ;
13405 int *arg6
= (int *) 0 ;
13406 wxFont
*arg7
= (wxFont
*) NULL
;
13407 bool temp2
= false ;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 PyObject
* obj2
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "string",(char *) "font", NULL
13423 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13424 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13425 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13426 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13431 arg2
= wxString_in_helper(obj1
);
13432 if (arg2
== NULL
) SWIG_fail
;
13436 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13448 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13449 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13450 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13451 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13452 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13453 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13454 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13469 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxDC
*arg1
= (wxDC
*) 0 ;
13472 wxString
*arg2
= 0 ;
13473 int *arg3
= (int *) 0 ;
13474 int *arg4
= (int *) 0 ;
13475 int *arg5
= (int *) 0 ;
13476 wxFont
*arg6
= (wxFont
*) NULL
;
13477 bool temp2
= false ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 PyObject
* obj2
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self",(char *) "text",(char *) "font", NULL
13491 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13492 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13493 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13498 arg2
= wxString_in_helper(obj1
);
13499 if (arg2
== NULL
) SWIG_fail
;
13503 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 Py_INCREF(Py_None
); resultobj
= Py_None
;
13514 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13515 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13516 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13517 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13518 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13519 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13534 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxDC
*arg1
= (wxDC
*) 0 ;
13537 wxString
*arg2
= 0 ;
13539 bool temp2
= false ;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self",(char *) "text", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 arg2
= wxString_in_helper(obj1
);
13551 if (arg2
== NULL
) SWIG_fail
;
13555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13556 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13562 resultobj
= PyList_New(0);
13564 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13565 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13566 PyList_Append(resultobj
, val
);
13584 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxDC
*arg1
= (wxDC
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (arg1
)->GetSize();
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13604 wxSize
* resultptr
;
13605 resultptr
= new wxSize((wxSize
&) result
);
13606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13614 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxDC
*arg1
= (wxDC
*) 0 ;
13617 int *arg2
= (int *) 0 ;
13618 int *arg3
= (int *) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self", NULL
13628 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13629 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 (arg1
)->GetSize(arg2
,arg3
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 Py_INCREF(Py_None
); resultobj
= Py_None
;
13641 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13642 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13643 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13644 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13651 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxDC
*arg1
= (wxDC
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 wxSize
* resultptr
;
13672 resultptr
= new wxSize((wxSize
&) result
);
13673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13681 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxDC
*arg1
= (wxDC
*) 0 ;
13684 int *arg2
= (int *) 0 ;
13685 int *arg3
= (int *) 0 ;
13690 PyObject
* obj0
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self", NULL
13695 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13696 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 Py_INCREF(Py_None
); resultobj
= Py_None
;
13708 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13709 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13710 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13711 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13718 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
;
13720 wxDC
*arg1
= (wxDC
*) 0 ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self",(char *) "x", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13732 arg2
= (int)SWIG_As_int(obj1
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_From_int((int)result
);
13748 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxDC
*arg1
= (wxDC
*) 0 ;
13753 PyObject
* obj0
= 0 ;
13754 PyObject
* obj1
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self",(char *) "y", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13762 arg2
= (int)SWIG_As_int(obj1
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_From_int((int)result
);
13778 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxDC
*arg1
= (wxDC
*) 0 ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self",(char *) "x", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13792 arg2
= (int)SWIG_As_int(obj1
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_From_int((int)result
);
13808 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxDC
*arg1
= (wxDC
*) 0 ;
13813 PyObject
* obj0
= 0 ;
13814 PyObject
* obj1
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self",(char *) "y", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13822 arg2
= (int)SWIG_As_int(obj1
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 resultobj
= SWIG_From_int((int)result
);
13838 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxDC
*arg1
= (wxDC
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self",(char *) "x", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13852 arg2
= (int)SWIG_As_int(obj1
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_From_int((int)result
);
13868 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxDC
*arg1
= (wxDC
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self",(char *) "y", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13882 arg2
= (int)SWIG_As_int(obj1
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_From_int((int)result
);
13898 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
;
13900 wxDC
*arg1
= (wxDC
*) 0 ;
13903 PyObject
* obj0
= 0 ;
13904 PyObject
* obj1
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self",(char *) "x", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13912 arg2
= (int)SWIG_As_int(obj1
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_From_int((int)result
);
13928 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxDC
*arg1
= (wxDC
*) 0 ;
13933 PyObject
* obj0
= 0 ;
13934 PyObject
* obj1
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self",(char *) "y", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13942 arg2
= (int)SWIG_As_int(obj1
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_From_int((int)result
);
13958 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13959 PyObject
*resultobj
;
13960 wxDC
*arg1
= (wxDC
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 char *kwnames
[] = {
13964 (char *) "self", NULL
13967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13986 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxDC
*arg1
= (wxDC
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14014 static PyObject
*_wrap_DC_GetDepth(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_GetDepth",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
= (int)((wxDC
const *)arg1
)->GetDepth();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_From_int((int)result
);
14040 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxDC
*arg1
= (wxDC
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= ((wxDC
const *)arg1
)->GetPPI();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14060 wxSize
* resultptr
;
14061 resultptr
= new wxSize((wxSize
&) result
);
14062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14070 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxDC
*arg1
= (wxDC
*) 0 ;
14074 PyObject
* obj0
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (bool)((wxDC
const *)arg1
)->Ok();
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14098 static PyObject
*_wrap_DC_GetBackgroundMode(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_GetBackgroundMode",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();
14112 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= SWIG_From_int((int)result
);
14124 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxDC
*arg1
= (wxDC
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14140 result
= (wxBrush
*) &_result_ref
;
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14147 wxBrush
* resultptr
= new wxBrush(*result
);
14148 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14156 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxDC
*arg1
= (wxDC
*) 0 ;
14160 PyObject
* obj0
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14172 result
= (wxBrush
*) &_result_ref
;
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 wxBrush
* resultptr
= new wxBrush(*result
);
14180 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14188 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxDC
*arg1
= (wxDC
*) 0 ;
14192 PyObject
* obj0
= 0 ;
14193 char *kwnames
[] = {
14194 (char *) "self", NULL
14197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14204 result
= (wxFont
*) &_result_ref
;
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 wxFont
* resultptr
= new wxFont(*result
);
14212 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14220 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxDC
*arg1
= (wxDC
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14236 result
= (wxPen
*) &_result_ref
;
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14243 wxPen
* resultptr
= new wxPen(*result
);
14244 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14252 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxDC
*arg1
= (wxDC
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14268 result
= (wxColour
*) &_result_ref
;
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14281 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxDC
*arg1
= (wxDC
*) 0 ;
14285 PyObject
* obj0
= 0 ;
14286 char *kwnames
[] = {
14287 (char *) "self", NULL
14290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14297 result
= (wxColour
*) &_result_ref
;
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14310 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxDC
*arg1
= (wxDC
*) 0 ;
14313 wxColour
*arg2
= 0 ;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self",(char *) "colour", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 Py_INCREF(Py_None
); resultobj
= Py_None
;
14342 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxDC
*arg1
= (wxDC
*) 0 ;
14345 wxColour
*arg2
= 0 ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "self",(char *) "colour", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14358 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 Py_INCREF(Py_None
); resultobj
= Py_None
;
14374 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxDC
*arg1
= (wxDC
*) 0 ;
14378 PyObject
* obj0
= 0 ;
14379 char *kwnames
[] = {
14380 (char *) "self", NULL
14383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= SWIG_From_int((int)result
);
14400 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxDC
*arg1
= (wxDC
*) 0 ;
14404 PyObject
* obj0
= 0 ;
14405 PyObject
* obj1
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "self",(char *) "mode", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14413 arg2
= (int)SWIG_As_int(obj1
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 (arg1
)->SetMapMode(arg2
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 Py_INCREF(Py_None
); resultobj
= Py_None
;
14429 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxDC
*arg1
= (wxDC
*) 0 ;
14432 double *arg2
= (double *) 0 ;
14433 double *arg3
= (double *) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self", NULL
14443 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14444 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 Py_INCREF(Py_None
); resultobj
= Py_None
;
14456 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14457 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14458 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14459 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14466 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxDC
*arg1
= (wxDC
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 PyObject
* obj1
= 0 ;
14473 PyObject
* obj2
= 0 ;
14474 char *kwnames
[] = {
14475 (char *) "self",(char *) "x",(char *) "y", NULL
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 arg2
= (double)SWIG_As_double(obj1
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14483 arg3
= (double)SWIG_As_double(obj2
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 (arg1
)->SetUserScale(arg2
,arg3
);
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14492 Py_INCREF(Py_None
); resultobj
= Py_None
;
14499 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14500 PyObject
*resultobj
;
14501 wxDC
*arg1
= (wxDC
*) 0 ;
14502 double *arg2
= (double *) 0 ;
14503 double *arg3
= (double *) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 char *kwnames
[] = {
14510 (char *) "self", NULL
14513 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14514 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 (arg1
)->GetLogicalScale(arg2
,arg3
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 Py_INCREF(Py_None
); resultobj
= Py_None
;
14526 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14527 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14528 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14529 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14536 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxDC
*arg1
= (wxDC
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 PyObject
* obj2
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self",(char *) "x",(char *) "y", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14551 arg2
= (double)SWIG_As_double(obj1
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14553 arg3
= (double)SWIG_As_double(obj2
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 (arg1
)->SetLogicalScale(arg2
,arg3
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 Py_INCREF(Py_None
); resultobj
= Py_None
;
14569 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxDC
*arg1
= (wxDC
*) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14589 wxPoint
* resultptr
;
14590 resultptr
= new wxPoint((wxPoint
&) result
);
14591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14599 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxDC
*arg1
= (wxDC
*) 0 ;
14602 int *arg2
= (int *) 0 ;
14603 int *arg3
= (int *) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self", NULL
14613 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14614 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 Py_INCREF(Py_None
); resultobj
= Py_None
;
14626 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14627 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14628 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14629 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14636 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxDC
*arg1
= (wxDC
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 PyObject
* obj2
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self",(char *) "x",(char *) "y", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 arg2
= (int)SWIG_As_int(obj1
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14653 arg3
= (int)SWIG_As_int(obj2
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 Py_INCREF(Py_None
); resultobj
= Py_None
;
14669 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxDC
*arg1
= (wxDC
*) 0 ;
14672 wxPoint
*arg2
= 0 ;
14674 PyObject
* obj0
= 0 ;
14675 PyObject
* obj1
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self",(char *) "point", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 Py_INCREF(Py_None
); resultobj
= Py_None
;
14701 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxDC
*arg1
= (wxDC
*) 0 ;
14705 PyObject
* obj0
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14721 wxPoint
* resultptr
;
14722 resultptr
= new wxPoint((wxPoint
&) result
);
14723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14731 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxDC
*arg1
= (wxDC
*) 0 ;
14734 int *arg2
= (int *) 0 ;
14735 int *arg3
= (int *) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self", NULL
14745 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14746 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 Py_INCREF(Py_None
); resultobj
= Py_None
;
14758 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14759 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14760 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14761 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14768 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxDC
*arg1
= (wxDC
*) 0 ;
14773 PyObject
* obj0
= 0 ;
14774 PyObject
* obj1
= 0 ;
14775 PyObject
* obj2
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self",(char *) "x",(char *) "y", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 arg2
= (int)SWIG_As_int(obj1
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14785 arg3
= (int)SWIG_As_int(obj2
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14789 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14791 wxPyEndAllowThreads(__tstate
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14794 Py_INCREF(Py_None
); resultobj
= Py_None
;
14801 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
;
14803 wxDC
*arg1
= (wxDC
*) 0 ;
14804 wxPoint
*arg2
= 0 ;
14806 PyObject
* obj0
= 0 ;
14807 PyObject
* obj1
= 0 ;
14808 char *kwnames
[] = {
14809 (char *) "self",(char *) "point", NULL
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 Py_INCREF(Py_None
); resultobj
= Py_None
;
14833 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxDC
*arg1
= (wxDC
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 PyObject
* obj1
= 0 ;
14840 PyObject
* obj2
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14848 arg2
= (bool)SWIG_As_bool(obj1
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14850 arg3
= (bool)SWIG_As_bool(obj2
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 Py_INCREF(Py_None
); resultobj
= Py_None
;
14866 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxDC
*arg1
= (wxDC
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= SWIG_From_int((int)result
);
14892 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxDC
*arg1
= (wxDC
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 char *kwnames
[] = {
14899 (char *) "self",(char *) "function", NULL
14902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 arg2
= (int)SWIG_As_int(obj1
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 (arg1
)->SetLogicalFunction(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 Py_INCREF(Py_None
); resultobj
= Py_None
;
14921 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxDC
*arg1
= (wxDC
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 (arg1
)->ComputeScaleAndOrigin();
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14939 Py_INCREF(Py_None
); resultobj
= Py_None
;
14946 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxDC
*arg1
= (wxDC
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 PyObject
* obj2
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self",(char *) "x",(char *) "y", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14961 arg2
= (int)SWIG_As_int(obj1
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14963 arg3
= (int)SWIG_As_int(obj2
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 Py_INCREF(Py_None
); resultobj
= Py_None
;
14979 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxDC
*arg1
= (wxDC
*) 0 ;
14982 wxPoint
*arg2
= 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self",(char *) "point", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 Py_INCREF(Py_None
); resultobj
= Py_None
;
15011 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxDC
*arg1
= (wxDC
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 (arg1
)->ResetBoundingBox();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxDC
*arg1
= (wxDC
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (int)((wxDC
const *)arg1
)->MinX();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_From_int((int)result
);
15062 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxDC
*arg1
= (wxDC
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15076 result
= (int)((wxDC
const *)arg1
)->MaxX();
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= SWIG_From_int((int)result
);
15088 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxDC
*arg1
= (wxDC
*) 0 ;
15092 PyObject
* obj0
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (int)((wxDC
const *)arg1
)->MinY();
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= SWIG_From_int((int)result
);
15114 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxDC
*arg1
= (wxDC
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (int)((wxDC
const *)arg1
)->MaxY();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_From_int((int)result
);
15140 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxDC
*arg1
= (wxDC
*) 0 ;
15143 int *arg2
= (int *) 0 ;
15144 int *arg3
= (int *) 0 ;
15145 int *arg4
= (int *) 0 ;
15146 int *arg5
= (int *) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 char *kwnames
[] = {
15157 (char *) "self", NULL
15160 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15161 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15162 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15163 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15176 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15177 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15178 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15179 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15180 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15181 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15182 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15189 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxDC
*arg1
= (wxDC
*) 0 ;
15192 PyObject
*arg2
= (PyObject
*) 0 ;
15193 PyObject
*arg3
= (PyObject
*) 0 ;
15194 PyObject
*arg4
= (PyObject
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 PyObject
* obj1
= 0 ;
15198 PyObject
* obj2
= 0 ;
15199 PyObject
* obj3
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= result
;
15224 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
;
15226 wxDC
*arg1
= (wxDC
*) 0 ;
15227 PyObject
*arg2
= (PyObject
*) 0 ;
15228 PyObject
*arg3
= (PyObject
*) 0 ;
15229 PyObject
*arg4
= (PyObject
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 PyObject
* obj2
= 0 ;
15234 PyObject
* obj3
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= result
;
15259 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxDC
*arg1
= (wxDC
*) 0 ;
15262 PyObject
*arg2
= (PyObject
*) 0 ;
15263 PyObject
*arg3
= (PyObject
*) 0 ;
15264 PyObject
*arg4
= (PyObject
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 PyObject
* obj2
= 0 ;
15269 PyObject
* obj3
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= result
;
15294 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxDC
*arg1
= (wxDC
*) 0 ;
15297 PyObject
*arg2
= (PyObject
*) 0 ;
15298 PyObject
*arg3
= (PyObject
*) 0 ;
15299 PyObject
*arg4
= (PyObject
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 PyObject
* obj2
= 0 ;
15304 PyObject
* obj3
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= result
;
15329 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxDC
*arg1
= (wxDC
*) 0 ;
15332 PyObject
*arg2
= (PyObject
*) 0 ;
15333 PyObject
*arg3
= (PyObject
*) 0 ;
15334 PyObject
*arg4
= (PyObject
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 PyObject
* obj2
= 0 ;
15339 PyObject
* obj3
= 0 ;
15340 char *kwnames
[] = {
15341 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15357 resultobj
= result
;
15364 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxDC
*arg1
= (wxDC
*) 0 ;
15367 PyObject
*arg2
= (PyObject
*) 0 ;
15368 PyObject
*arg3
= (PyObject
*) 0 ;
15369 PyObject
*arg4
= (PyObject
*) 0 ;
15370 PyObject
*arg5
= (PyObject
*) 0 ;
15372 PyObject
* obj0
= 0 ;
15373 PyObject
* obj1
= 0 ;
15374 PyObject
* obj2
= 0 ;
15375 PyObject
* obj3
= 0 ;
15376 PyObject
* obj4
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= result
;
15402 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15405 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15407 return Py_BuildValue((char *)"");
15409 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxMemoryDC
*result
;
15412 char *kwnames
[] = {
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15418 if (!wxPyCheckForApp()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxMemoryDC
*)new wxMemoryDC();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15432 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxDC
*arg1
= (wxDC
*) 0 ;
15435 wxMemoryDC
*result
;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "oldDC", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 if (!wxPyCheckForApp()) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15459 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15462 wxBitmap
*arg2
= 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self",(char *) "bitmap", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15475 if (arg2
== NULL
) {
15476 PyErr_SetString(PyExc_TypeError
,"null reference");
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 Py_INCREF(Py_None
); resultobj
= Py_None
;
15493 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15496 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15498 return Py_BuildValue((char *)"");
15500 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15501 PyObject
*resultobj
;
15502 wxDC
*arg1
= (wxDC
*) 0 ;
15503 wxBitmap
*arg2
= 0 ;
15504 wxBufferedDC
*result
;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15508 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15514 if (arg2
== NULL
) {
15515 PyErr_SetString(PyExc_TypeError
,"null reference");
15519 if (!wxPyCheckForApp()) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15533 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15534 PyObject
*resultobj
;
15535 wxDC
*arg1
= (wxDC
*) 0 ;
15537 wxBufferedDC
*result
;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15542 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15550 if (!wxPyCheckForApp()) SWIG_fail
;
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15564 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15569 argc
= PyObject_Length(args
);
15570 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15571 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15577 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15587 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15595 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15603 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15612 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15615 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15620 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15625 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 Py_INCREF(Py_None
); resultobj
= Py_None
;
15650 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15653 PyObject
* obj0
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15678 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15680 return Py_BuildValue((char *)"");
15682 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 wxWindow
*arg1
= (wxWindow
*) 0 ;
15685 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15686 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15687 wxBufferedPaintDC
*result
;
15688 PyObject
* obj0
= 0 ;
15689 PyObject
* obj1
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "window",(char *) "buffer", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15701 if (arg2
== NULL
) {
15702 PyErr_SetString(PyExc_TypeError
,"null reference");
15707 if (!wxPyCheckForApp()) SWIG_fail
;
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15721 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15724 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15726 return Py_BuildValue((char *)"");
15728 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxScreenDC
*result
;
15731 char *kwnames
[] = {
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15737 if (!wxPyCheckForApp()) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 result
= (wxScreenDC
*)new wxScreenDC();
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15751 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15754 wxWindow
*arg2
= (wxWindow
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self",(char *) "window", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15783 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15786 wxRect
*arg2
= (wxRect
*) NULL
;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self",(char *) "rect", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15817 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= (bool)(arg1
)->EndDrawingOnTop();
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15845 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15848 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15850 return Py_BuildValue((char *)"");
15852 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxWindow
*arg1
= (wxWindow
*) 0 ;
15855 wxClientDC
*result
;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "win", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 if (!wxPyCheckForApp()) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (wxClientDC
*)new wxClientDC(arg1
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15879 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15882 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15884 return Py_BuildValue((char *)"");
15886 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxWindow
*arg1
= (wxWindow
*) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "win", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15899 if (!wxPyCheckForApp()) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15913 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15916 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15918 return Py_BuildValue((char *)"");
15920 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxWindow
*arg1
= (wxWindow
*) 0 ;
15923 wxWindowDC
*result
;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "win", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15933 if (!wxPyCheckForApp()) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15947 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15950 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15952 return Py_BuildValue((char *)"");
15954 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15958 wxMirrorDC
*result
;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "dc",(char *) "mirror", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15969 if (arg1
== NULL
) {
15970 PyErr_SetString(PyExc_TypeError
,"null reference");
15973 arg2
= (bool)SWIG_As_bool(obj1
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 if (!wxPyCheckForApp()) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15990 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15993 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15995 return Py_BuildValue((char *)"");
15997 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxPrintData
*arg1
= 0 ;
16000 wxPostScriptDC
*result
;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "printData", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16010 if (arg1
== NULL
) {
16011 PyErr_SetString(PyExc_TypeError
,"null reference");
16015 if (!wxPyCheckForApp()) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16029 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16032 wxPrintData
*result
;
16033 PyObject
* obj0
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16045 result
= (wxPrintData
*) &_result_ref
;
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16058 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16061 wxPrintData
*arg2
= 0 ;
16062 PyObject
* obj0
= 0 ;
16063 PyObject
* obj1
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self",(char *) "data", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16074 if (arg2
== NULL
) {
16075 PyErr_SetString(PyExc_TypeError
,"null reference");
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 Py_INCREF(Py_None
); resultobj
= Py_None
;
16092 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16095 PyObject
* obj0
= 0 ;
16096 char *kwnames
[] = {
16097 (char *) "ppi", NULL
16100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16101 arg1
= (int)SWIG_As_int(obj0
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 wxPostScriptDC::SetResolution(arg1
);
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16120 char *kwnames
[] = {
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (int)wxPostScriptDC::GetResolution();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_From_int((int)result
);
16139 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16142 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16144 return Py_BuildValue((char *)"");
16146 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16149 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16150 wxMetaFile
*result
;
16151 bool temp1
= false ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "filename", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16160 arg1
= wxString_in_helper(obj0
);
16161 if (arg1
== NULL
) SWIG_fail
;
16166 if (!wxPyCheckForApp()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16188 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16191 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16193 return Py_BuildValue((char *)"");
16195 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16198 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16199 int arg2
= (int) 0 ;
16200 int arg3
= (int) 0 ;
16201 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16202 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16203 wxMetaFileDC
*result
;
16204 bool temp1
= false ;
16205 bool temp4
= false ;
16206 PyObject
* obj0
= 0 ;
16207 PyObject
* obj1
= 0 ;
16208 PyObject
* obj2
= 0 ;
16209 PyObject
* obj3
= 0 ;
16210 char *kwnames
[] = {
16211 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16217 arg1
= wxString_in_helper(obj0
);
16218 if (arg1
== NULL
) SWIG_fail
;
16223 arg2
= (int)SWIG_As_int(obj1
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16227 arg3
= (int)SWIG_As_int(obj2
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16232 arg4
= wxString_in_helper(obj3
);
16233 if (arg4
== NULL
) SWIG_fail
;
16238 if (!wxPyCheckForApp()) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16268 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16271 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16273 return Py_BuildValue((char *)"");
16275 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxPrintData
*arg1
= 0 ;
16278 wxPrinterDC
*result
;
16279 PyObject
* obj0
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "printData", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16288 if (arg1
== NULL
) {
16289 PyErr_SetString(PyExc_TypeError
,"null reference");
16293 if (!wxPyCheckForApp()) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16307 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16310 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16312 return Py_BuildValue((char *)"");
16314 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16318 int arg3
= (int) true ;
16319 int arg4
= (int) 1 ;
16320 wxImageList
*result
;
16321 PyObject
* obj0
= 0 ;
16322 PyObject
* obj1
= 0 ;
16323 PyObject
* obj2
= 0 ;
16324 PyObject
* obj3
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16330 arg1
= (int)SWIG_As_int(obj0
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16332 arg2
= (int)SWIG_As_int(obj1
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 arg3
= (int)SWIG_As_int(obj2
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 arg4
= (int)SWIG_As_int(obj3
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 if (!wxPyCheckForApp()) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= wxPyMake_wxObject(result
, 1);
16359 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxImageList
*arg1
= (wxImageList
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16377 Py_INCREF(Py_None
); resultobj
= Py_None
;
16384 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxImageList
*arg1
= (wxImageList
*) 0 ;
16387 wxBitmap
*arg2
= 0 ;
16388 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16389 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 PyObject
* obj2
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16404 if (arg2
== NULL
) {
16405 PyErr_SetString(PyExc_TypeError
,"null reference");
16409 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16412 if (arg3
== NULL
) {
16413 PyErr_SetString(PyExc_TypeError
,"null reference");
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_From_int((int)result
);
16431 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxImageList
*arg1
= (wxImageList
*) 0 ;
16434 wxBitmap
*arg2
= 0 ;
16435 wxColour
*arg3
= 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 PyObject
* obj2
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16451 if (arg2
== NULL
) {
16452 PyErr_SetString(PyExc_TypeError
,"null reference");
16457 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= SWIG_From_int((int)result
);
16473 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxImageList
*arg1
= (wxImageList
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 PyObject
* obj1
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self",(char *) "icon", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16490 if (arg2
== NULL
) {
16491 PyErr_SetString(PyExc_TypeError
,"null reference");
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_From_int((int)result
);
16508 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxImageList
*arg1
= (wxImageList
*) 0 ;
16512 wxBitmap
*arg3
= 0 ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 PyObject
* obj2
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 arg2
= (int)SWIG_As_int(obj1
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16526 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16529 if (arg3
== NULL
) {
16530 PyErr_SetString(PyExc_TypeError
,"null reference");
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16549 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxImageList
*arg1
= (wxImageList
*) 0 ;
16556 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16557 bool arg7
= (bool) (bool)false ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 PyObject
* obj2
= 0 ;
16562 PyObject
* obj3
= 0 ;
16563 PyObject
* obj4
= 0 ;
16564 PyObject
* obj5
= 0 ;
16565 PyObject
* obj6
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 arg2
= (int)SWIG_As_int(obj1
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16575 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16578 if (arg3
== NULL
) {
16579 PyErr_SetString(PyExc_TypeError
,"null reference");
16582 arg4
= (int)SWIG_As_int(obj3
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16584 arg5
= (int)SWIG_As_int(obj4
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 arg6
= (int)SWIG_As_int(obj5
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16591 arg7
= (bool)SWIG_As_bool(obj6
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16610 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxImageList
*arg1
= (wxImageList
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (int)(arg1
)->GetImageCount();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_From_int((int)result
);
16636 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxImageList
*arg1
= (wxImageList
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self",(char *) "index", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 arg2
= (int)SWIG_As_int(obj1
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (bool)(arg1
)->Remove(arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16668 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxImageList
*arg1
= (wxImageList
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (bool)(arg1
)->RemoveAll();
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16696 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxImageList
*arg1
= (wxImageList
*) 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self",(char *) "index", NULL
16712 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16713 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16717 arg2
= (int)SWIG_As_int(obj1
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 Py_INCREF(Py_None
); resultobj
= Py_None
;
16727 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16728 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16729 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16730 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16737 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16740 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16742 return Py_BuildValue((char *)"");
16744 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16745 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16750 static PyObject
*_wrap_NORMAL_FONT_get() {
16753 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16758 static int _wrap_SMALL_FONT_set(PyObject
*) {
16759 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16764 static PyObject
*_wrap_SMALL_FONT_get() {
16767 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16772 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16773 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16778 static PyObject
*_wrap_ITALIC_FONT_get() {
16781 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16786 static int _wrap_SWISS_FONT_set(PyObject
*) {
16787 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16792 static PyObject
*_wrap_SWISS_FONT_get() {
16795 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16800 static int _wrap_RED_PEN_set(PyObject
*) {
16801 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16806 static PyObject
*_wrap_RED_PEN_get() {
16809 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16814 static int _wrap_CYAN_PEN_set(PyObject
*) {
16815 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16820 static PyObject
*_wrap_CYAN_PEN_get() {
16823 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16828 static int _wrap_GREEN_PEN_set(PyObject
*) {
16829 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16834 static PyObject
*_wrap_GREEN_PEN_get() {
16837 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16842 static int _wrap_BLACK_PEN_set(PyObject
*) {
16843 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16848 static PyObject
*_wrap_BLACK_PEN_get() {
16851 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16856 static int _wrap_WHITE_PEN_set(PyObject
*) {
16857 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16862 static PyObject
*_wrap_WHITE_PEN_get() {
16865 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16870 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16871 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16876 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16879 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16884 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16885 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16890 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16893 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16898 static int _wrap_GREY_PEN_set(PyObject
*) {
16899 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16904 static PyObject
*_wrap_GREY_PEN_get() {
16907 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16912 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16913 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16918 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16921 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16926 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16927 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16932 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16935 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16940 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16941 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16946 static PyObject
*_wrap_BLUE_BRUSH_get() {
16949 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16954 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16955 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16960 static PyObject
*_wrap_GREEN_BRUSH_get() {
16963 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16968 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16969 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16974 static PyObject
*_wrap_WHITE_BRUSH_get() {
16977 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16982 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16983 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16988 static PyObject
*_wrap_BLACK_BRUSH_get() {
16991 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16996 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16997 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17002 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17005 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17010 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17011 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17016 static PyObject
*_wrap_CYAN_BRUSH_get() {
17019 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17024 static int _wrap_RED_BRUSH_set(PyObject
*) {
17025 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17030 static PyObject
*_wrap_RED_BRUSH_get() {
17033 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17038 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17039 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17044 static PyObject
*_wrap_GREY_BRUSH_get() {
17047 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17052 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17053 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17058 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17061 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17066 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17067 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17072 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17075 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17080 static int _wrap_BLACK_set(PyObject
*) {
17081 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17086 static PyObject
*_wrap_BLACK_get() {
17089 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17094 static int _wrap_WHITE_set(PyObject
*) {
17095 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17100 static PyObject
*_wrap_WHITE_get() {
17103 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17108 static int _wrap_RED_set(PyObject
*) {
17109 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17114 static PyObject
*_wrap_RED_get() {
17117 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17122 static int _wrap_BLUE_set(PyObject
*) {
17123 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17128 static PyObject
*_wrap_BLUE_get() {
17131 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17136 static int _wrap_GREEN_set(PyObject
*) {
17137 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17142 static PyObject
*_wrap_GREEN_get() {
17145 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17150 static int _wrap_CYAN_set(PyObject
*) {
17151 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17156 static PyObject
*_wrap_CYAN_get() {
17159 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17164 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17165 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17170 static PyObject
*_wrap_LIGHT_GREY_get() {
17173 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17178 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17179 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17184 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17187 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17192 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17193 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17198 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17201 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17206 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17207 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17212 static PyObject
*_wrap_CROSS_CURSOR_get() {
17215 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17220 static int _wrap_NullBitmap_set(PyObject
*) {
17221 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17226 static PyObject
*_wrap_NullBitmap_get() {
17229 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17234 static int _wrap_NullIcon_set(PyObject
*) {
17235 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17240 static PyObject
*_wrap_NullIcon_get() {
17243 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17248 static int _wrap_NullCursor_set(PyObject
*) {
17249 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17254 static PyObject
*_wrap_NullCursor_get() {
17257 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17262 static int _wrap_NullPen_set(PyObject
*) {
17263 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17268 static PyObject
*_wrap_NullPen_get() {
17271 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17276 static int _wrap_NullBrush_set(PyObject
*) {
17277 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17282 static PyObject
*_wrap_NullBrush_get() {
17285 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17290 static int _wrap_NullPalette_set(PyObject
*) {
17291 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17296 static PyObject
*_wrap_NullPalette_get() {
17299 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17304 static int _wrap_NullFont_set(PyObject
*) {
17305 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17310 static PyObject
*_wrap_NullFont_get() {
17313 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17318 static int _wrap_NullColour_set(PyObject
*) {
17319 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17324 static PyObject
*_wrap_NullColour_get() {
17327 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17332 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxPenList
*arg1
= (wxPenList
*) 0 ;
17335 wxPen
*arg2
= (wxPen
*) 0 ;
17336 PyObject
* obj0
= 0 ;
17337 PyObject
* obj1
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self",(char *) "pen", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 (arg1
)->AddPen(arg2
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxPenList
*arg1
= (wxPenList
*) 0 ;
17364 wxColour
*arg2
= 0 ;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj1
= 0 ;
17371 PyObject
* obj2
= 0 ;
17372 PyObject
* obj3
= 0 ;
17373 char *kwnames
[] = {
17374 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17382 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17384 arg3
= (int)SWIG_As_int(obj2
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17386 arg4
= (int)SWIG_As_int(obj3
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17402 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxPenList
*arg1
= (wxPenList
*) 0 ;
17405 wxPen
*arg2
= (wxPen
*) 0 ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self",(char *) "pen", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->RemovePen(arg2
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 Py_INCREF(Py_None
); resultobj
= Py_None
;
17431 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxPenList
*arg1
= (wxPenList
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (int)(arg1
)->GetCount();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= SWIG_From_int((int)result
);
17457 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17460 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17462 return Py_BuildValue((char *)"");
17464 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17467 wxBrush
*arg2
= (wxBrush
*) 0 ;
17468 PyObject
* obj0
= 0 ;
17469 PyObject
* obj1
= 0 ;
17470 char *kwnames
[] = {
17471 (char *) "self",(char *) "brush", NULL
17474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 (arg1
)->AddBrush(arg2
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 Py_INCREF(Py_None
); resultobj
= Py_None
;
17493 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17496 wxColour
*arg2
= 0 ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self",(char *) "colour",(char *) "style", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17514 arg3
= (int)SWIG_As_int(obj2
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17530 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17533 wxBrush
*arg2
= (wxBrush
*) 0 ;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self",(char *) "brush", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->RemoveBrush(arg2
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (int)(arg1
)->GetCount();
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= SWIG_From_int((int)result
);
17585 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17588 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17590 return Py_BuildValue((char *)"");
17592 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxColourDatabase
*result
;
17595 char *kwnames
[] = {
17599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17601 if (!wxPyCheckForApp()) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= (wxColourDatabase
*)new wxColourDatabase();
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17615 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17618 PyObject
* obj0
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 Py_INCREF(Py_None
); resultobj
= Py_None
;
17640 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17643 wxString
*arg2
= 0 ;
17645 bool temp2
= false ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self",(char *) "name", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17656 arg2
= wxString_in_helper(obj1
);
17657 if (arg2
== NULL
) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 wxColour
* resultptr
;
17669 resultptr
= new wxColour((wxColour
&) result
);
17670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17686 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17689 wxColour
*arg2
= 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char *kwnames
[] = {
17695 (char *) "self",(char *) "colour", NULL
17698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17725 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17728 wxString
*arg2
= 0 ;
17729 wxColour
*arg3
= 0 ;
17730 bool temp2
= false ;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 PyObject
* obj2
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "self",(char *) "name",(char *) "colour", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17743 arg2
= wxString_in_helper(obj1
);
17744 if (arg2
== NULL
) SWIG_fail
;
17749 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 Py_INCREF(Py_None
); resultobj
= Py_None
;
17773 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
;
17775 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17776 wxString
*arg2
= 0 ;
17780 bool temp2
= false ;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 PyObject
* obj2
= 0 ;
17784 PyObject
* obj3
= 0 ;
17785 PyObject
* obj4
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17794 arg2
= wxString_in_helper(obj1
);
17795 if (arg2
== NULL
) SWIG_fail
;
17798 arg3
= (int)SWIG_As_int(obj2
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17800 arg4
= (int)SWIG_As_int(obj3
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17802 arg5
= (int)SWIG_As_int(obj4
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 Py_INCREF(Py_None
); resultobj
= Py_None
;
17826 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17829 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17831 return Py_BuildValue((char *)"");
17833 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxFontList
*arg1
= (wxFontList
*) 0 ;
17836 wxFont
*arg2
= (wxFont
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "font", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 (arg1
)->AddFont(arg2
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 Py_INCREF(Py_None
); resultobj
= Py_None
;
17862 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxFontList
*arg1
= (wxFontList
*) 0 ;
17869 bool arg6
= (bool) false ;
17870 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17872 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17874 bool temp7
= false ;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 PyObject
* obj2
= 0 ;
17878 PyObject
* obj3
= 0 ;
17879 PyObject
* obj4
= 0 ;
17880 PyObject
* obj5
= 0 ;
17881 PyObject
* obj6
= 0 ;
17882 PyObject
* obj7
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 arg2
= (int)SWIG_As_int(obj1
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17892 arg3
= (int)SWIG_As_int(obj2
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17894 arg4
= (int)SWIG_As_int(obj3
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17896 arg5
= (int)SWIG_As_int(obj4
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 arg6
= (bool)SWIG_As_bool(obj5
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17904 arg7
= wxString_in_helper(obj6
);
17905 if (arg7
== NULL
) SWIG_fail
;
17910 arg8
= (int)SWIG_As_int(obj7
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17935 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxFontList
*arg1
= (wxFontList
*) 0 ;
17938 wxFont
*arg2
= (wxFont
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "font", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 (arg1
)->RemoveFont(arg2
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 Py_INCREF(Py_None
); resultobj
= Py_None
;
17964 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxFontList
*arg1
= (wxFontList
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 char *kwnames
[] = {
17970 (char *) "self", NULL
17973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (int)(arg1
)->GetCount();
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= SWIG_From_int((int)result
);
17990 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17993 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17995 return Py_BuildValue((char *)"");
17997 static int _wrap_TheFontList_set(PyObject
*) {
17998 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18003 static PyObject
*_wrap_TheFontList_get() {
18006 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18011 static int _wrap_ThePenList_set(PyObject
*) {
18012 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18017 static PyObject
*_wrap_ThePenList_get() {
18020 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18025 static int _wrap_TheBrushList_set(PyObject
*) {
18026 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18031 static PyObject
*_wrap_TheBrushList_get() {
18034 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18039 static int _wrap_TheColourDatabase_set(PyObject
*) {
18040 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18045 static PyObject
*_wrap_TheColourDatabase_get() {
18048 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18053 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18056 char *kwnames
[] = {
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (wxEffects
*)new wxEffects();
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18075 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
;
18077 wxEffects
*arg1
= (wxEffects
*) 0 ;
18079 PyObject
* obj0
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18095 wxColour
* resultptr
;
18096 resultptr
= new wxColour((wxColour
&) result
);
18097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18105 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxEffects
*arg1
= (wxEffects
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 wxColour
* resultptr
;
18126 resultptr
= new wxColour((wxColour
&) result
);
18127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18135 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxEffects
*arg1
= (wxEffects
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 wxColour
* resultptr
;
18156 resultptr
= new wxColour((wxColour
&) result
);
18157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18165 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxEffects
*arg1
= (wxEffects
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 wxColour
* resultptr
;
18186 resultptr
= new wxColour((wxColour
&) result
);
18187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18195 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxEffects
*arg1
= (wxEffects
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 wxColour
* resultptr
;
18216 resultptr
= new wxColour((wxColour
&) result
);
18217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18225 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
;
18227 wxEffects
*arg1
= (wxEffects
*) 0 ;
18228 wxColour
*arg2
= 0 ;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "c", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18241 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 Py_INCREF(Py_None
); resultobj
= Py_None
;
18257 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxEffects
*arg1
= (wxEffects
*) 0 ;
18260 wxColour
*arg2
= 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self",(char *) "c", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 Py_INCREF(Py_None
); resultobj
= Py_None
;
18289 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxEffects
*arg1
= (wxEffects
*) 0 ;
18292 wxColour
*arg2
= 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "c", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18305 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 Py_INCREF(Py_None
); resultobj
= Py_None
;
18321 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxEffects
*arg1
= (wxEffects
*) 0 ;
18324 wxColour
*arg2
= 0 ;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 char *kwnames
[] = {
18329 (char *) "self",(char *) "c", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxEffects
*arg1
= (wxEffects
*) 0 ;
18356 wxColour
*arg2
= 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "c", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 Py_INCREF(Py_None
); resultobj
= Py_None
;
18385 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxEffects
*arg1
= (wxEffects
*) 0 ;
18388 wxColour
*arg2
= 0 ;
18389 wxColour
*arg3
= 0 ;
18390 wxColour
*arg4
= 0 ;
18391 wxColour
*arg5
= 0 ;
18392 wxColour
*arg6
= 0 ;
18398 PyObject
* obj0
= 0 ;
18399 PyObject
* obj1
= 0 ;
18400 PyObject
* obj2
= 0 ;
18401 PyObject
* obj3
= 0 ;
18402 PyObject
* obj4
= 0 ;
18403 PyObject
* obj5
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18417 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18421 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18425 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18429 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 Py_INCREF(Py_None
); resultobj
= Py_None
;
18445 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxEffects
*arg1
= (wxEffects
*) 0 ;
18450 int arg4
= (int) 1 ;
18452 PyObject
* obj0
= 0 ;
18453 PyObject
* obj1
= 0 ;
18454 PyObject
* obj2
= 0 ;
18455 PyObject
* obj3
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18466 if (arg2
== NULL
) {
18467 PyErr_SetString(PyExc_TypeError
,"null reference");
18472 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18475 arg4
= (int)SWIG_As_int(obj3
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 Py_INCREF(Py_None
); resultobj
= Py_None
;
18492 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
;
18494 wxEffects
*arg1
= (wxEffects
*) 0 ;
18497 wxBitmap
*arg4
= 0 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 PyObject
* obj2
= 0 ;
18503 PyObject
* obj3
= 0 ;
18504 char *kwnames
[] = {
18505 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18513 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18515 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18518 if (arg3
== NULL
) {
18519 PyErr_SetString(PyExc_TypeError
,"null reference");
18522 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18525 if (arg4
== NULL
) {
18526 PyErr_SetString(PyExc_TypeError
,"null reference");
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18545 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18548 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18550 return Py_BuildValue((char *)"");
18552 static PyMethodDef SwigMethods
[] = {
18553 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18559 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18565 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18576 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18583 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18592 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18603 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18606 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18608 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18614 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18632 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18634 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18642 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18644 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18648 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18649 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18655 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18660 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18668 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18672 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18676 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18681 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18682 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18711 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18716 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18725 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18749 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18750 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18753 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18754 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18758 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18778 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18819 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18827 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18834 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18842 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18850 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18851 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18856 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18858 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18864 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18866 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18907 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18914 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18918 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18919 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18922 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18923 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18926 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18931 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18933 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18934 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18935 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18936 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18937 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18938 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18939 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18940 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18941 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18943 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18944 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18945 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18947 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18948 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18949 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18950 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18951 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18952 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18953 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18954 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18955 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18956 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18957 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18958 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18960 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18962 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18964 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18965 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18966 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18968 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18969 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18970 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18973 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18974 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18975 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18976 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18978 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18979 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18980 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18982 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18984 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18985 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18986 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18987 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18990 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18991 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18992 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18994 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18997 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18998 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18999 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19000 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19001 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19002 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19003 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19004 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19005 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19006 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19007 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19008 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19009 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19010 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19011 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19012 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19013 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19014 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19015 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19016 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19017 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19018 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19019 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19020 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19021 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19022 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19023 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19024 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19025 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19026 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19027 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19028 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19029 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19030 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19031 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19032 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19033 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19034 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19035 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19036 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19037 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19038 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19039 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19040 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19041 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19042 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19043 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19044 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19045 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19046 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19047 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19048 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19049 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19050 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19051 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19052 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19053 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19054 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19055 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19056 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19057 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19058 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19059 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19060 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19061 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19062 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19063 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19064 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19065 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19066 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19067 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19068 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19069 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19070 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19071 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19072 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19073 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19074 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19075 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19076 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19077 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19078 { NULL
, NULL
, 0, NULL
}
19082 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19084 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19085 return (void *)((wxWindow
*) ((wxControl
*) x
));
19087 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19088 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19090 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19091 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19093 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19094 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19096 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19097 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19099 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19102 static void *_p_wxPenTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19105 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19108 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19111 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19114 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19117 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19120 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19123 static void *_p_wxIconTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19126 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19129 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19132 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) ((wxSizer
*) x
));
19135 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19138 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19141 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) ((wxPenList
*) x
));
19144 static void *_p_wxEventTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) ((wxEvent
*) x
));
19147 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19150 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19153 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19156 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19159 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19162 static void *_p_wxDCTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) ((wxDC
*) x
));
19165 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19168 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19171 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19174 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19177 static void *_p_wxControlTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19180 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19183 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19184 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19186 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19187 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19189 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19190 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19192 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19193 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19195 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19196 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19198 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19199 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19201 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19202 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19204 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19205 return (void *)((wxObject
*) ((wxEffects
*) x
));
19207 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19208 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19210 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19213 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19214 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19216 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19217 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19219 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19220 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19222 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19223 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19225 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19228 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19229 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19231 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19232 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19234 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19235 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19237 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19238 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19240 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19241 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19243 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19244 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19246 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19247 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19249 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19250 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19252 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19253 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19255 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19256 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19258 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19259 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19261 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19262 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19264 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19265 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19267 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19268 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19270 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19271 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19273 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19274 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19276 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19277 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19279 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19280 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19282 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19283 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19285 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19286 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19288 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19289 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19291 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19292 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19294 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19295 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19297 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19298 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19300 static void *_p_wxImageTo_p_wxObject(void *x
) {
19301 return (void *)((wxObject
*) ((wxImage
*) x
));
19303 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19304 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19306 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19307 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19309 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19310 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19312 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19313 return (void *)((wxObject
*) ((wxImageList
*) x
));
19315 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19316 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19318 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19319 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19321 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19322 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19324 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19327 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19328 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19330 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19331 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19333 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19334 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19336 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19337 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19339 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19342 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19343 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19345 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19346 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19348 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19349 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19351 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19352 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19354 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19355 return (void *)((wxObject
*) ((wxMask
*) x
));
19357 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19360 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19361 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19363 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19364 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19366 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19367 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19369 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19370 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19372 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19373 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19375 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19378 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19379 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19381 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19382 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19384 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19385 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19387 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19388 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19390 static void *_p_wxFontTo_p_wxObject(void *x
) {
19391 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19393 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19394 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19396 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19397 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19399 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19402 static void *_p_wxColourTo_p_wxObject(void *x
) {
19403 return (void *)((wxObject
*) ((wxColour
*) x
));
19405 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19406 return (void *)((wxObject
*) ((wxFontList
*) x
));
19408 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19411 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19412 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19414 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19415 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19417 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19418 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19420 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19421 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19423 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19424 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19426 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19427 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19429 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19430 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19432 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19433 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19435 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19436 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19438 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19439 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19441 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19442 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19444 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19445 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19447 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19448 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19450 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19451 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19453 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19454 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19456 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19457 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19459 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19460 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19462 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19463 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19465 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19466 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19468 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19469 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19471 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19472 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19474 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}};
19475 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}};
19476 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}};
19477 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}};
19478 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}};
19479 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}};
19480 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}};
19481 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}};
19482 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}};
19483 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}};
19484 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}};
19485 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}};
19486 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}};
19487 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}};
19488 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}};
19489 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}};
19490 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}};
19491 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}};
19492 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}};
19493 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}};
19494 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}};
19495 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}};
19496 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}};
19497 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}};
19498 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}};
19499 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}};
19500 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}};
19501 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}};
19502 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}};
19503 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}};
19504 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}};
19505 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}};
19506 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}};
19507 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}};
19508 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}};
19509 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}};
19510 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}};
19511 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}};
19512 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}};
19513 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}};
19514 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}};
19515 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}};
19516 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}};
19517 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}};
19518 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}};
19519 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}};
19520 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}};
19521 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}};
19522 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}};
19523 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}};
19524 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}};
19525 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}};
19526 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}};
19527 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}};
19528 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}};
19530 static swig_type_info
*swig_types_initial
[] = {
19531 _swigt__p_wxPostScriptDC
,
19533 _swigt__p_wxColour
,
19535 _swigt__p_wxMirrorDC
,
19537 _swigt__p_wxPyFontEnumerator
,
19539 _swigt__p_wxIconLocation
,
19541 _swigt__p_wxMetaFileDC
,
19545 _swigt__p_wxWindow
,
19547 _swigt__p_wxMemoryDC
,
19548 _swigt__p_wxFontMapper
,
19549 _swigt__p_wxEffects
,
19550 _swigt__p_wxNativeEncodingInfo
,
19551 _swigt__p_wxPalette
,
19552 _swigt__p_wxBitmap
,
19553 _swigt__p_wxObject
,
19554 _swigt__p_wxRegionIterator
,
19556 _swigt__p_wxString
,
19557 _swigt__p_wxPrinterDC
,
19558 _swigt__p_wxIconBundle
,
19561 _swigt__p_wxScreenDC
,
19562 _swigt__p_wxCursor
,
19563 _swigt__p_wxClientDC
,
19564 _swigt__p_wxBufferedDC
,
19565 _swigt__p_wxImageList
,
19566 _swigt__p_unsigned_char
,
19567 _swigt__p_wxGDIObject
,
19569 _swigt__p_wxLocale
,
19570 _swigt__p_wxRegion
,
19571 _swigt__p_wxLanguageInfo
,
19572 _swigt__p_wxConfigBase
,
19573 _swigt__p_wxWindowDC
,
19574 _swigt__p_wxPrintData
,
19575 _swigt__p_wxBrushList
,
19576 _swigt__p_wxFontList
,
19578 _swigt__p_wxBufferedPaintDC
,
19579 _swigt__p_wxPaintDC
,
19580 _swigt__p_wxPenList
,
19582 _swigt__p_wxMetaFile
,
19583 _swigt__p_wxNativeFontInfo
,
19584 _swigt__p_wxEncodingConverter
,
19585 _swigt__p_wxColourDatabase
,
19590 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19592 static swig_const_info swig_const_table
[] = {
19593 {0, 0, 0, 0.0, 0, 0}};
19602 SWIGEXPORT(void) SWIG_init(void) {
19603 static PyObject
*SWIG_globals
= 0;
19604 static int typeinit
= 0;
19607 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19608 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19609 d
= PyModule_GetDict(m
);
19612 for (i
= 0; swig_types_initial
[i
]; i
++) {
19613 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19617 SWIG_InstallConstants(d
,swig_const_table
);
19619 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19620 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19621 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19622 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19623 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19624 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19625 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19626 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19627 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19628 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19629 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19630 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19631 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19632 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19633 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19634 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19635 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19636 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19637 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19638 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19639 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19640 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19641 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19642 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19643 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19644 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19645 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19646 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19647 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19648 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19649 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19650 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19651 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19652 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19653 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19654 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19655 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19656 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19657 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19658 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19659 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19660 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19661 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19662 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19663 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19664 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19665 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19666 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19667 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19668 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19669 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19670 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19671 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19672 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19673 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19674 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19675 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19676 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19677 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19678 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19679 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19680 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19681 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19682 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19683 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19684 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19685 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19686 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19687 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19688 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19689 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19690 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19691 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19692 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19693 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19694 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19695 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19696 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19697 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19698 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19699 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19700 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19701 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19702 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19703 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19704 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19705 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19706 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19707 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19708 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19709 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19710 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19711 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19712 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19713 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19714 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19715 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19716 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19717 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19718 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19719 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19720 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19721 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19722 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19723 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19724 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19725 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19726 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19727 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19728 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19729 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19730 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19731 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19732 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19733 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19734 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19735 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19736 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19737 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19738 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19739 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19740 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19741 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19742 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19743 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19744 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19745 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19747 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19749 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19750 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19751 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19752 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19753 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19754 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19755 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19756 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19757 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19758 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19759 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19760 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19761 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19762 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19763 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19764 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19765 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19766 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19767 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19768 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19769 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19770 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19771 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19772 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19773 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19774 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19775 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19776 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19777 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19778 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19779 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19780 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19781 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19782 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19783 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19784 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19785 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19786 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19787 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19788 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19789 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19790 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19791 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19792 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19793 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19794 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19795 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19796 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19797 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19798 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19799 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19800 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19801 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19802 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19803 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19804 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19805 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19806 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19807 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19808 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19809 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
19810 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19811 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
19812 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19813 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
19814 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
19815 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19816 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19817 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19818 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19819 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19820 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19821 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
19822 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
19823 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
19824 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
19825 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
19826 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
19827 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
19828 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
19829 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
19830 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19831 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
19832 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
19833 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
19834 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
19835 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
19836 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
19837 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19838 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
19839 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19840 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19841 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
19842 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
19843 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
19844 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
19845 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
19846 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
19847 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
19848 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
19849 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
19850 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
19851 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
19852 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
19853 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
19854 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
19855 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
19856 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
19857 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
19858 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
19859 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
19860 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
19861 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
19862 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
19863 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
19864 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
19865 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
19866 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
19867 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
19868 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
19869 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
19870 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
19871 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
19872 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
19873 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
19874 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
19875 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
19876 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
19877 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
19878 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
19879 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
19880 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
19881 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19882 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
19883 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
19884 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
19885 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
19886 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
19887 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
19888 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
19889 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
19890 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
19891 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
19892 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19893 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19894 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
19895 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
19896 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
19897 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
19898 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
19899 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
19900 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19901 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
19902 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
19903 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
19904 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
19905 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
19906 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19907 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
19908 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
19909 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
19910 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
19911 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
19912 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19913 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
19914 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
19915 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
19916 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
19917 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
19918 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
19919 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
19920 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
19921 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
19922 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
19923 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
19924 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
19925 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19926 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19927 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
19928 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19929 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19930 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19931 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
19932 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19933 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19934 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
19935 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
19936 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
19937 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19938 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
19939 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19940 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
19941 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19942 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
19943 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
19944 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19945 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
19946 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
19947 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
19948 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
19949 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
19950 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
19951 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
19952 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
19953 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
19954 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
19955 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
19956 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
19957 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
19958 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
19959 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
19960 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
19961 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
19962 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
19963 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
19964 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
19965 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
19966 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
19967 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
19968 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19969 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
19970 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
19971 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
19972 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
19973 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
19974 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
19975 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
19976 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
19977 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
19978 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
19979 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
19980 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
19981 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
19982 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
19983 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
19984 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
19985 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
19986 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
19987 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
19988 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
19989 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
19990 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
19991 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
19992 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
19993 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
19994 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
19995 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
19996 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19997 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
19998 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
19999 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20000 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20001 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20002 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20003 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20004 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20005 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20006 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20007 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20008 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20009 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20010 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20011 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20012 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20013 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20014 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20015 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20016 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20017 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20018 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20019 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20020 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20021 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20022 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20023 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20024 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20025 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20026 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20027 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20028 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20029 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20030 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20031 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20032 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20033 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20034 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20035 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20036 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20037 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20038 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20039 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20040 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20041 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20042 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20043 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20044 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20045 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20046 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20047 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20048 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20050 // Work around a chicken/egg problem in drawlist.cpp
20051 wxPyDrawList_SetAPIPtr();