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);
887 wxLocale
*new_wxLocale(int language
,int flags
){
889 return new wxLocale();
891 return new wxLocale(language
, flags
);
894 #include "wx/wxPython/pydrawxxx.h"
896 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
898 self
->GetPixel(x
, y
, &col
);
901 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
903 self
->GetPixel(pt
, &col
);
907 // See my_fragments.i
908 SWIGSTATICINLINE(int)
909 SWIG_AsVal_double(PyObject
*obj
, double* val
)
911 if (PyNumber_Check(obj
)) {
912 if (val
) *val
= PyFloat_AsDouble(obj
);
916 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
917 obj
->ob_type
->tp_name
);
918 PyErr_SetObject(PyExc_TypeError
, errmsg
);
925 SWIGSTATICINLINE(double)
926 SWIG_As_double(PyObject
* obj
)
929 if (!SWIG_AsVal_double(obj
, &v
)) {
931 this is needed to make valgrind/purify happier. the other
932 solution is throw an exception, but since this code should work
935 memset((void*)&v
, 0, sizeof(double));
941 SWIGSTATICINLINE(int)
942 SWIG_Check_double(PyObject
* obj
)
944 return SWIG_AsVal_double(obj
, (double*)0);
947 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
949 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
953 wxRect
wxDC_GetClippingRect(wxDC
*self
){
955 self
->GetClippingBox(rect
);
958 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
960 self
->GetPartialTextExtents(text
, widths
);
964 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
965 self
->SetLogicalOrigin(point
.x
, point
.y
);
967 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
968 self
->SetDeviceOrigin(point
.x
, point
.y
);
970 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
971 self
->CalcBoundingBox(point
.x
, point
.y
);
973 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
974 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
976 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
977 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
979 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
980 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
982 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
983 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
985 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
986 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
988 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
989 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
992 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1000 #include <wx/dcbuffer.h>
1003 #include <wx/dcps.h>
1006 class wxMetaFile
: public wxObject
{
1008 wxMetaFile(const wxString
&)
1009 { wxPyRaiseNotImplemented(); }
1012 class wxMetaFileDC
: public wxClientDC
{
1014 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
1015 { wxPyRaiseNotImplemented(); }
1020 class wxPrinterDC
: public wxClientDC
{
1022 wxPrinterDC(const wxPrintData
&)
1023 { wxPyRaiseNotImplemented(); }
1025 // wxPrinterDC(const wxString&, const wxString&, const wxString&, bool, int)
1026 // { wxPyRaiseNotImplemented(); }
1031 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1032 self
->AddColour(name
, wxColour(red
, green
, blue
));
1035 #include <wx/effects.h>
1040 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxGDIObject
*result
;
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1049 if (!wxPyCheckForApp()) SWIG_fail
;
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 result
= (wxGDIObject
*)new wxGDIObject();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) SWIG_fail
;
1056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1063 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
*resultobj
;
1065 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1066 PyObject
* obj0
= 0 ;
1068 (char *) "self", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) SWIG_fail
;
1081 Py_INCREF(Py_None
); resultobj
= Py_None
;
1088 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
*resultobj
;
1090 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1092 PyObject
* obj0
= 0 ;
1094 (char *) "self", NULL
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",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();
1102 result
= (bool)(arg1
)->GetVisible();
1104 wxPyEndAllowThreads(__tstate
);
1105 if (PyErr_Occurred()) SWIG_fail
;
1108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1116 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
*resultobj
;
1118 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1120 PyObject
* obj0
= 0 ;
1121 PyObject
* obj1
= 0 ;
1123 (char *) "self",(char *) "visible", NULL
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1129 arg2
= (bool)SWIG_As_bool(obj1
);
1130 if (PyErr_Occurred()) SWIG_fail
;
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 (arg1
)->SetVisible(arg2
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1138 Py_INCREF(Py_None
); resultobj
= Py_None
;
1145 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
*resultobj
;
1147 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1149 PyObject
* obj0
= 0 ;
1151 (char *) "self", NULL
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 result
= (bool)(arg1
)->IsNull();
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1173 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1176 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1178 return Py_BuildValue((char *)"");
1180 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
*resultobj
;
1182 byte arg1
= (byte
) 0 ;
1183 byte arg2
= (byte
) 0 ;
1184 byte arg3
= (byte
) 0 ;
1186 PyObject
* obj0
= 0 ;
1187 PyObject
* obj1
= 0 ;
1188 PyObject
* obj2
= 0 ;
1190 (char *) "red",(char *) "green",(char *) "blue", NULL
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1195 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1196 if (PyErr_Occurred()) SWIG_fail
;
1199 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1200 if (PyErr_Occurred()) SWIG_fail
;
1203 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1204 if (PyErr_Occurred()) SWIG_fail
;
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) SWIG_fail
;
1213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1220 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
*resultobj
;
1222 wxString
*arg1
= 0 ;
1224 bool temp1
= false ;
1225 PyObject
* obj0
= 0 ;
1227 (char *) "colorName", NULL
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1232 arg1
= wxString_in_helper(obj0
);
1233 if (arg1
== NULL
) SWIG_fail
;
1237 if (!wxPyCheckForApp()) SWIG_fail
;
1238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1241 wxPyEndAllowThreads(__tstate
);
1242 if (PyErr_Occurred()) SWIG_fail
;
1244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1259 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
*resultobj
;
1261 unsigned long arg1
;
1263 PyObject
* obj0
= 0 ;
1265 (char *) "colRGB", NULL
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1269 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1270 if (PyErr_Occurred()) SWIG_fail
;
1272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1273 result
= (wxColour
*)new wxColour(arg1
);
1275 wxPyEndAllowThreads(__tstate
);
1276 if (PyErr_Occurred()) SWIG_fail
;
1278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1285 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1287 wxColour
*arg1
= (wxColour
*) 0 ;
1288 PyObject
* obj0
= 0 ;
1290 (char *) "self", NULL
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1303 Py_INCREF(Py_None
); resultobj
= Py_None
;
1310 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
*resultobj
;
1312 wxColour
*arg1
= (wxColour
*) 0 ;
1314 PyObject
* obj0
= 0 ;
1316 (char *) "self", NULL
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",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();
1324 result
= (byte
)(arg1
)->Red();
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) SWIG_fail
;
1329 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1336 static PyObject
*_wrap_Colour_Green(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_Green",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
)->Green();
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) SWIG_fail
;
1355 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1362 static PyObject
*_wrap_Colour_Blue(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_Blue",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
)->Blue();
1378 wxPyEndAllowThreads(__tstate
);
1379 if (PyErr_Occurred()) SWIG_fail
;
1381 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1388 static PyObject
*_wrap_Colour_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1416 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
*resultobj
;
1418 wxColour
*arg1
= (wxColour
*) 0 ;
1422 PyObject
* obj0
= 0 ;
1423 PyObject
* obj1
= 0 ;
1424 PyObject
* obj2
= 0 ;
1425 PyObject
* obj3
= 0 ;
1427 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1433 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1434 if (PyErr_Occurred()) SWIG_fail
;
1435 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1436 if (PyErr_Occurred()) SWIG_fail
;
1437 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 (arg1
)->Set(arg2
,arg3
,arg4
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 Py_INCREF(Py_None
); resultobj
= Py_None
;
1453 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxColour
*arg1
= (wxColour
*) 0 ;
1456 unsigned long arg2
;
1457 PyObject
* obj0
= 0 ;
1458 PyObject
* obj1
= 0 ;
1460 (char *) "self",(char *) "colRGB", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1466 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1475 Py_INCREF(Py_None
); resultobj
= Py_None
;
1482 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
*resultobj
;
1484 wxColour
*arg1
= (wxColour
*) 0 ;
1485 wxString
*arg2
= 0 ;
1486 bool temp2
= false ;
1487 PyObject
* obj0
= 0 ;
1488 PyObject
* obj1
= 0 ;
1490 (char *) "self",(char *) "colourName", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1497 arg2
= wxString_in_helper(obj1
);
1498 if (arg2
== NULL
) SWIG_fail
;
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 (arg1
)->InitFromName((wxString
const &)*arg2
);
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1508 Py_INCREF(Py_None
); resultobj
= Py_None
;
1523 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
*resultobj
;
1525 wxColour
*arg1
= (wxColour
*) 0 ;
1527 PyObject
* obj0
= 0 ;
1529 (char *) "self", NULL
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) SWIG_fail
;
1542 resultobj
= SWIG_From_long((long)result
);
1549 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
*resultobj
;
1551 wxColour
*arg1
= (wxColour
*) 0 ;
1552 wxColour
*arg2
= 0 ;
1555 PyObject
* obj0
= 0 ;
1556 PyObject
* obj1
= 0 ;
1558 (char *) "self",(char *) "colour", NULL
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1584 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1586 wxColour
*arg1
= (wxColour
*) 0 ;
1587 wxColour
*arg2
= 0 ;
1590 PyObject
* obj0
= 0 ;
1591 PyObject
* obj1
= 0 ;
1593 (char *) "self",(char *) "colour", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1601 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1619 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1621 wxColour
*arg1
= (wxColour
*) 0 ;
1623 PyObject
* obj0
= 0 ;
1625 (char *) "self", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= (PyObject
*)wxColour_Get(arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1645 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
*resultobj
;
1647 wxColour
*arg1
= (wxColour
*) 0 ;
1648 unsigned long result
;
1649 PyObject
* obj0
= 0 ;
1651 (char *) "self", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",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
= (unsigned long)wxColour_GetRGB(arg1
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1664 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1671 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1674 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1676 return Py_BuildValue((char *)"");
1678 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
*resultobj
;
1681 unsigned char *arg2
= (unsigned char *) 0 ;
1682 unsigned char *arg3
= (unsigned char *) 0 ;
1683 unsigned char *arg4
= (unsigned char *) 0 ;
1685 PyObject
* obj0
= 0 ;
1686 PyObject
* obj1
= 0 ;
1687 PyObject
* obj2
= 0 ;
1688 PyObject
* obj3
= 0 ;
1690 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1694 arg1
= (int)SWIG_As_int(obj0
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1698 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1700 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1703 if (!wxPyCheckForApp()) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1717 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1719 wxPalette
*arg1
= (wxPalette
*) 0 ;
1720 PyObject
* obj0
= 0 ;
1722 (char *) "self", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) SWIG_fail
;
1735 Py_INCREF(Py_None
); resultobj
= Py_None
;
1742 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
*resultobj
;
1744 wxPalette
*arg1
= (wxPalette
*) 0 ;
1749 PyObject
* obj0
= 0 ;
1750 PyObject
* obj1
= 0 ;
1751 PyObject
* obj2
= 0 ;
1752 PyObject
* obj3
= 0 ;
1754 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1760 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1762 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1764 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 resultobj
= SWIG_From_int((int)result
);
1780 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxPalette
*arg1
= (wxPalette
*) 0 ;
1784 byte
*arg3
= (byte
*) 0 ;
1785 byte
*arg4
= (byte
*) 0 ;
1786 byte
*arg5
= (byte
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1795 PyObject
* obj1
= 0 ;
1797 (char *) "self",(char *) "pixel", NULL
1800 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1801 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1802 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1806 arg2
= (int)SWIG_As_int(obj1
);
1807 if (PyErr_Occurred()) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1818 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1819 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1820 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1821 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1822 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1823 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1830 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxPalette
*arg1
= (wxPalette
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1836 (char *) "self", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 result
= (bool)(arg1
)->Ok();
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1858 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1861 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1863 return Py_BuildValue((char *)"");
1865 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxColour
*arg1
= 0 ;
1868 int arg2
= (int) 1 ;
1869 int arg3
= (int) wxSOLID
;
1872 PyObject
* obj0
= 0 ;
1873 PyObject
* obj1
= 0 ;
1874 PyObject
* obj2
= 0 ;
1876 (char *) "colour",(char *) "width",(char *) "style", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1882 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1885 arg2
= (int)SWIG_As_int(obj1
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1889 arg3
= (int)SWIG_As_int(obj2
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1893 if (!wxPyCheckForApp()) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1907 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxPen
*arg1
= (wxPen
*) 0 ;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "self", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxPen
*arg1
= (wxPen
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (int)(arg1
)->GetCap();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= SWIG_From_int((int)result
);
1958 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxPen
*arg1
= (wxPen
*) 0 ;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "self", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 result
= (arg1
)->GetColour();
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) SWIG_fail
;
1978 wxColour
* resultptr
;
1979 resultptr
= new wxColour((wxColour
&) result
);
1980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1988 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
*resultobj
;
1990 wxPen
*arg1
= (wxPen
*) 0 ;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "self", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
1998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (int)(arg1
)->GetJoin();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 resultobj
= SWIG_From_int((int)result
);
2014 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2016 wxPen
*arg1
= (wxPen
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2020 (char *) "self", NULL
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 result
= (int)(arg1
)->GetStyle();
2030 wxPyEndAllowThreads(__tstate
);
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 resultobj
= SWIG_From_int((int)result
);
2040 static PyObject
*_wrap_Pen_GetWidth(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_GetWidth",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
)->GetWidth();
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= SWIG_From_int((int)result
);
2066 static PyObject
*_wrap_Pen_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2094 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 wxPen
*arg1
= (wxPen
*) 0 ;
2098 PyObject
* obj0
= 0 ;
2099 PyObject
* obj1
= 0 ;
2101 (char *) "self",(char *) "cap_style", NULL
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2107 arg2
= (int)SWIG_As_int(obj1
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 (arg1
)->SetCap(arg2
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2116 Py_INCREF(Py_None
); resultobj
= Py_None
;
2123 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
;
2125 wxPen
*arg1
= (wxPen
*) 0 ;
2126 wxColour
*arg2
= 0 ;
2128 PyObject
* obj0
= 0 ;
2129 PyObject
* obj1
= 0 ;
2131 (char *) "self",(char *) "colour", NULL
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 (arg1
)->SetColour(*arg2
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) SWIG_fail
;
2148 Py_INCREF(Py_None
); resultobj
= Py_None
;
2155 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
*resultobj
;
2157 wxPen
*arg1
= (wxPen
*) 0 ;
2159 PyObject
* obj0
= 0 ;
2160 PyObject
* obj1
= 0 ;
2162 (char *) "self",(char *) "join_style", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2168 arg2
= (int)SWIG_As_int(obj1
);
2169 if (PyErr_Occurred()) SWIG_fail
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 (arg1
)->SetJoin(arg2
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2177 Py_INCREF(Py_None
); resultobj
= Py_None
;
2184 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxPen
*arg1
= (wxPen
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2189 PyObject
* obj1
= 0 ;
2191 (char *) "self",(char *) "style", NULL
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2197 arg2
= (int)SWIG_As_int(obj1
);
2198 if (PyErr_Occurred()) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 (arg1
)->SetStyle(arg2
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2206 Py_INCREF(Py_None
); resultobj
= Py_None
;
2213 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
*resultobj
;
2215 wxPen
*arg1
= (wxPen
*) 0 ;
2217 PyObject
* obj0
= 0 ;
2218 PyObject
* obj1
= 0 ;
2220 (char *) "self",(char *) "width", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2226 arg2
= (int)SWIG_As_int(obj1
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 (arg1
)->SetWidth(arg2
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 Py_INCREF(Py_None
); resultobj
= Py_None
;
2242 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxPen
*arg1
= (wxPen
*) 0 ;
2246 wxDash
*arg3
= (wxDash
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj1
= 0 ;
2250 (char *) "self",(char *) "dashes", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 arg2
= PyList_Size(obj1
);
2258 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2259 if (arg3
== NULL
) SWIG_fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 (arg1
)->SetDashes(arg2
,arg3
);
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 Py_INCREF(Py_None
); resultobj
= Py_None
;
2270 if (arg3
) delete [] arg3
;
2275 if (arg3
) delete [] arg3
;
2281 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2283 wxPen
*arg1
= (wxPen
*) 0 ;
2285 PyObject
* obj0
= 0 ;
2287 (char *) "self", NULL
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) SWIG_fail
;
2307 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2308 PyObject
*resultobj
;
2309 wxPen
*arg1
= (wxPen
*) 0 ;
2310 PyObject
*arg2
= (PyObject
*) 0 ;
2311 PyObject
*arg3
= (PyObject
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2313 PyObject
* obj1
= 0 ;
2314 PyObject
* obj2
= 0 ;
2316 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 wxPen__SetDashes(arg1
,arg2
,arg3
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2338 static PyObject
*_wrap_Pen_GetDashCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
*resultobj
;
2340 wxPen
*arg1
= (wxPen
*) 0 ;
2342 PyObject
* obj0
= 0 ;
2344 (char *) "self", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashCount",kwnames
,&obj0
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= SWIG_From_int((int)result
);
2364 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxPen
*arg1
= (wxPen
*) 0 ;
2367 wxPen
*arg2
= (wxPen
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2370 PyObject
* obj1
= 0 ;
2372 (char *) "self",(char *) "other", NULL
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2382 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2384 wxPyEndAllowThreads(__tstate
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2396 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
*resultobj
;
2398 wxPen
*arg1
= (wxPen
*) 0 ;
2399 wxPen
*arg2
= (wxPen
*) 0 ;
2401 PyObject
* obj0
= 0 ;
2402 PyObject
* obj1
= 0 ;
2404 (char *) "self",(char *) "other", NULL
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2428 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2431 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2433 return Py_BuildValue((char *)"");
2435 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2437 wxColour
*arg1
= 0 ;
2438 int arg2
= (int) wxSOLID
;
2441 PyObject
* obj0
= 0 ;
2442 PyObject
* obj1
= 0 ;
2444 (char *) "colour",(char *) "style", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2453 arg2
= (int)SWIG_As_int(obj1
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2457 if (!wxPyCheckForApp()) SWIG_fail
;
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) SWIG_fail
;
2464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2471 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxBrush
*arg1
= (wxBrush
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2476 (char *) "self", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2489 Py_INCREF(Py_None
); resultobj
= Py_None
;
2496 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 wxBrush
*arg1
= (wxBrush
*) 0 ;
2499 wxColour
*arg2
= 0 ;
2501 PyObject
* obj0
= 0 ;
2502 PyObject
* obj1
= 0 ;
2504 (char *) "self",(char *) "col", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 (arg1
)->SetColour((wxColour
const &)*arg2
);
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2521 Py_INCREF(Py_None
); resultobj
= Py_None
;
2528 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxBrush
*arg1
= (wxBrush
*) 0 ;
2532 PyObject
* obj0
= 0 ;
2533 PyObject
* obj1
= 0 ;
2535 (char *) "self",(char *) "style", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2541 arg2
= (int)SWIG_As_int(obj1
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 (arg1
)->SetStyle(arg2
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxBrush
*arg1
= (wxBrush
*) 0 ;
2560 wxBitmap
*arg2
= 0 ;
2561 PyObject
* obj0
= 0 ;
2562 PyObject
* obj1
= 0 ;
2564 (char *) "self",(char *) "stipple", NULL
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2574 PyErr_SetString(PyExc_TypeError
,"null reference");
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2584 Py_INCREF(Py_None
); resultobj
= Py_None
;
2591 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
*resultobj
;
2593 wxBrush
*arg1
= (wxBrush
*) 0 ;
2595 PyObject
* obj0
= 0 ;
2597 (char *) "self", NULL
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 result
= ((wxBrush
const *)arg1
)->GetColour();
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 wxColour
* resultptr
;
2612 resultptr
= new wxColour((wxColour
&) result
);
2613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2621 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxBrush
*arg1
= (wxBrush
*) 0 ;
2625 PyObject
* obj0
= 0 ;
2627 (char *) "self", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2640 resultobj
= SWIG_From_int((int)result
);
2647 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxBrush
*arg1
= (wxBrush
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2653 (char *) "self", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2673 static PyObject
*_wrap_Brush_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2701 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2704 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2706 return Py_BuildValue((char *)"");
2708 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxString
*arg1
= 0 ;
2711 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2713 bool temp1
= false ;
2714 PyObject
* obj0
= 0 ;
2715 PyObject
* obj1
= 0 ;
2717 (char *) "name",(char *) "type", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2722 arg1
= wxString_in_helper(obj0
);
2723 if (arg1
== NULL
) SWIG_fail
;
2727 arg2
= (int)SWIG_As_int(obj1
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 if (!wxPyCheckForApp()) SWIG_fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2753 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2754 PyObject
*resultobj
;
2755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2756 PyObject
* obj0
= 0 ;
2758 (char *) "self", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2771 Py_INCREF(Py_None
); resultobj
= Py_None
;
2778 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
*resultobj
;
2782 int arg3
= (int) -1 ;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2786 PyObject
* obj2
= 0 ;
2788 (char *) "width",(char *) "height",(char *) "depth", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2792 arg1
= (int)SWIG_As_int(obj0
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2794 arg2
= (int)SWIG_As_int(obj1
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2797 arg3
= (int)SWIG_As_int(obj2
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2801 if (!wxPyCheckForApp()) SWIG_fail
;
2802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2805 wxPyEndAllowThreads(__tstate
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2815 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2819 PyObject
* obj0
= 0 ;
2821 (char *) "icon", NULL
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2829 PyErr_SetString(PyExc_TypeError
,"null reference");
2833 if (!wxPyCheckForApp()) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2847 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
;
2850 int arg2
= (int) -1 ;
2852 PyObject
* obj0
= 0 ;
2853 PyObject
* obj1
= 0 ;
2855 (char *) "image",(char *) "depth", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2863 PyErr_SetString(PyExc_TypeError
,"null reference");
2867 arg2
= (int)SWIG_As_int(obj1
);
2868 if (PyErr_Occurred()) SWIG_fail
;
2871 if (!wxPyCheckForApp()) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2885 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2887 PyObject
*arg1
= (PyObject
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2891 (char *) "listOfStrings", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2897 if (!wxPyCheckForApp()) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2911 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 PyObject
*arg1
= (PyObject
*) 0 ;
2916 int arg4
= (int) 1 ;
2918 PyObject
* obj0
= 0 ;
2919 PyObject
* obj1
= 0 ;
2920 PyObject
* obj2
= 0 ;
2921 PyObject
* obj3
= 0 ;
2923 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2928 arg2
= (int)SWIG_As_int(obj1
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2930 arg3
= (int)SWIG_As_int(obj2
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2933 arg4
= (int)SWIG_As_int(obj3
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 if (!wxPyCheckForApp()) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2951 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2955 PyObject
* obj0
= 0 ;
2957 (char *) "self", NULL
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
2961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2965 result
= (bool)(arg1
)->Ok();
2967 wxPyEndAllowThreads(__tstate
);
2968 if (PyErr_Occurred()) SWIG_fail
;
2971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2979 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2983 PyObject
* obj0
= 0 ;
2985 (char *) "self", NULL
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
2989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 result
= (int)(arg1
)->GetWidth();
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= SWIG_From_int((int)result
);
3005 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3006 PyObject
*resultobj
;
3007 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3011 (char *) "self", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 result
= (int)(arg1
)->GetHeight();
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= SWIG_From_int((int)result
);
3031 static PyObject
*_wrap_Bitmap_GetDepth(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_GetDepth",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
= (int)(arg1
)->GetDepth();
3047 wxPyEndAllowThreads(__tstate
);
3048 if (PyErr_Occurred()) SWIG_fail
;
3050 resultobj
= SWIG_From_int((int)result
);
3057 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3061 PyObject
* obj0
= 0 ;
3063 (char *) "self", NULL
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 result
= wxBitmap_GetSize(arg1
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) SWIG_fail
;
3078 resultptr
= new wxSize((wxSize
&) result
);
3079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3087 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3090 SwigValueWrapper
< wxImage
> result
;
3091 PyObject
* obj0
= 0 ;
3093 (char *) "self", NULL
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3101 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3103 wxPyEndAllowThreads(__tstate
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3107 wxImage
* resultptr
;
3108 resultptr
= new wxImage((wxImage
&) result
);
3109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3117 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
*resultobj
;
3119 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3121 PyObject
* obj0
= 0 ;
3123 (char *) "self", NULL
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3143 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
*resultobj
;
3145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3146 wxMask
*arg2
= (wxMask
*) 0 ;
3147 PyObject
* obj0
= 0 ;
3148 PyObject
* obj1
= 0 ;
3150 (char *) "self",(char *) "mask", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 (arg1
)->SetMask(arg2
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3165 Py_INCREF(Py_None
); resultobj
= Py_None
;
3172 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
*resultobj
;
3174 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3175 wxColour
*arg2
= 0 ;
3177 PyObject
* obj0
= 0 ;
3178 PyObject
* obj1
= 0 ;
3180 (char *) "self",(char *) "colour", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3208 SwigValueWrapper
< wxBitmap
> result
;
3210 PyObject
* obj0
= 0 ;
3211 PyObject
* obj1
= 0 ;
3213 (char *) "self",(char *) "rect", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3231 wxBitmap
* resultptr
;
3232 resultptr
= new wxBitmap((wxBitmap
&) result
);
3233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3241 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3244 wxString
*arg2
= 0 ;
3246 wxPalette
*arg4
= (wxPalette
*) NULL
;
3248 bool temp2
= false ;
3249 PyObject
* obj0
= 0 ;
3250 PyObject
* obj1
= 0 ;
3251 PyObject
* obj2
= 0 ;
3252 PyObject
* obj3
= 0 ;
3254 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3261 arg2
= wxString_in_helper(obj1
);
3262 if (arg2
== NULL
) SWIG_fail
;
3265 arg3
= (int)SWIG_As_int(obj2
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3295 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3298 wxString
*arg2
= 0 ;
3301 bool temp2
= false ;
3302 PyObject
* obj0
= 0 ;
3303 PyObject
* obj1
= 0 ;
3304 PyObject
* obj2
= 0 ;
3306 (char *) "self",(char *) "name",(char *) "type", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3313 arg2
= wxString_in_helper(obj1
);
3314 if (arg2
== NULL
) SWIG_fail
;
3317 arg3
= (int)SWIG_As_int(obj2
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3343 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3351 (char *) "self",(char *) "icon", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3361 PyErr_SetString(PyExc_TypeError
,"null reference");
3365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3380 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3382 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3385 PyObject
* obj1
= 0 ;
3387 (char *) "self",(char *) "height", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3393 arg2
= (int)SWIG_As_int(obj1
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 (arg1
)->SetHeight(arg2
);
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3402 Py_INCREF(Py_None
); resultobj
= Py_None
;
3409 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3411 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3416 (char *) "self",(char *) "width", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3422 arg2
= (int)SWIG_As_int(obj1
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 (arg1
)->SetWidth(arg2
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 Py_INCREF(Py_None
); resultobj
= Py_None
;
3438 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3442 PyObject
* obj0
= 0 ;
3443 PyObject
* obj1
= 0 ;
3445 (char *) "self",(char *) "depth", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3451 arg2
= (int)SWIG_As_int(obj1
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 (arg1
)->SetDepth(arg2
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 Py_INCREF(Py_None
); resultobj
= Py_None
;
3467 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
*resultobj
;
3469 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3472 PyObject
* obj0
= 0 ;
3473 PyObject
* obj1
= 0 ;
3475 (char *) "self",(char *) "size", NULL
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3483 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3492 Py_INCREF(Py_None
); resultobj
= Py_None
;
3499 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3502 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3505 PyObject
* obj1
= 0 ;
3507 (char *) "self",(char *) "other", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3531 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
*resultobj
;
3533 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3534 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "other", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3563 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3566 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3568 return Py_BuildValue((char *)"");
3570 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxBitmap
*arg1
= 0 ;
3573 wxColour
const &arg2_defvalue
= wxNullColour
;
3574 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "bitmap",(char *) "colour", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3588 PyErr_SetString(PyExc_TypeError
,"null reference");
3594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3598 if (!wxPyCheckForApp()) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3612 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3615 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3617 return Py_BuildValue((char *)"");
3619 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
*resultobj
;
3621 wxString
*arg1
= 0 ;
3623 int arg3
= (int) -1 ;
3624 int arg4
= (int) -1 ;
3626 bool temp1
= false ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3629 PyObject
* obj2
= 0 ;
3630 PyObject
* obj3
= 0 ;
3632 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3637 arg1
= wxString_in_helper(obj0
);
3638 if (arg1
== NULL
) SWIG_fail
;
3641 arg2
= (int)SWIG_As_int(obj1
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 arg3
= (int)SWIG_As_int(obj2
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 arg4
= (int)SWIG_As_int(obj3
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 if (!wxPyCheckForApp()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3674 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 wxIcon
*arg1
= (wxIcon
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3679 (char *) "self", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 Py_INCREF(Py_None
); resultobj
= Py_None
;
3699 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3708 if (!wxPyCheckForApp()) SWIG_fail
;
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 result
= (wxIcon
*)new wxIcon();
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3722 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxIconLocation
*arg1
= 0 ;
3726 PyObject
* obj0
= 0 ;
3728 (char *) "loc", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3736 PyErr_SetString(PyExc_TypeError
,"null reference");
3740 if (!wxPyCheckForApp()) SWIG_fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3754 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxBitmap
*arg1
= 0 ;
3758 PyObject
* obj0
= 0 ;
3760 (char *) "bmp", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3768 PyErr_SetString(PyExc_TypeError
,"null reference");
3772 if (!wxPyCheckForApp()) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3786 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 PyObject
*arg1
= (PyObject
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3792 (char *) "listOfStrings", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3798 if (!wxPyCheckForApp()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (wxIcon
*)new_wxIcon(arg1
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3812 static PyObject
*_wrap_Icon_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 wxIcon
*arg1
= (wxIcon
*) 0 ;
3815 wxString
*arg2
= 0 ;
3818 bool temp2
= false ;
3819 PyObject
* obj0
= 0 ;
3820 PyObject
* obj1
= 0 ;
3821 PyObject
* obj2
= 0 ;
3823 (char *) "self",(char *) "name",(char *) "type", NULL
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3830 arg2
= wxString_in_helper(obj1
);
3831 if (arg2
== NULL
) SWIG_fail
;
3834 arg3
= (int)SWIG_As_int(obj2
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3860 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3862 wxIcon
*arg1
= (wxIcon
*) 0 ;
3864 PyObject
* obj0
= 0 ;
3866 (char *) "self", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (bool)(arg1
)->Ok();
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3888 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxIcon
*arg1
= (wxIcon
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3894 (char *) "self", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (int)(arg1
)->GetWidth();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= SWIG_From_int((int)result
);
3914 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxIcon
*arg1
= (wxIcon
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (int)(arg1
)->GetHeight();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_From_int((int)result
);
3940 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxIcon
*arg1
= (wxIcon
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (int)(arg1
)->GetDepth();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_From_int((int)result
);
3966 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxIcon
*arg1
= (wxIcon
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "w", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 arg2
= (int)SWIG_As_int(obj1
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 (arg1
)->SetWidth(arg2
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxIcon
*arg1
= (wxIcon
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4000 PyObject
* obj1
= 0 ;
4002 (char *) "self",(char *) "h", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4008 arg2
= (int)SWIG_As_int(obj1
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 (arg1
)->SetHeight(arg2
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 Py_INCREF(Py_None
); resultobj
= Py_None
;
4024 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxIcon
*arg1
= (wxIcon
*) 0 ;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4031 (char *) "self",(char *) "d", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4037 arg2
= (int)SWIG_As_int(obj1
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 (arg1
)->SetDepth(arg2
);
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 Py_INCREF(Py_None
); resultobj
= Py_None
;
4053 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxIcon
*arg1
= (wxIcon
*) 0 ;
4056 wxBitmap
*arg2
= 0 ;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4060 (char *) "self",(char *) "bmp", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4070 PyErr_SetString(PyExc_TypeError
,"null reference");
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 Py_INCREF(Py_None
); resultobj
= Py_None
;
4087 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4092 return Py_BuildValue((char *)"");
4094 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4097 int arg2
= (int) 0 ;
4098 wxIconLocation
*result
;
4099 bool temp1
= false ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4103 (char *) "filename",(char *) "num", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4109 arg1
= wxString_in_helper(obj0
);
4110 if (arg1
== NULL
) SWIG_fail
;
4115 arg2
= (int)SWIG_As_int(obj1
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4140 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4145 (char *) "self", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 Py_INCREF(Py_None
); resultobj
= Py_None
;
4165 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4171 (char *) "self", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4193 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4195 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4196 wxString
*arg2
= 0 ;
4197 bool temp2
= false ;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj1
= 0 ;
4201 (char *) "self",(char *) "filename", NULL
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4208 arg2
= wxString_in_helper(obj1
);
4209 if (arg2
== NULL
) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->SetFileName((wxString
const &)*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 Py_INCREF(Py_None
); resultobj
= Py_None
;
4234 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4240 (char *) "self", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4250 result
= (wxString
*) &_result_ref
;
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4258 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4260 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4269 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4276 (char *) "self",(char *) "num", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 arg2
= (int)SWIG_As_int(obj1
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 wxIconLocation_SetIndex(arg1
,arg2
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 Py_INCREF(Py_None
); resultobj
= Py_None
;
4298 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4302 PyObject
* obj0
= 0 ;
4304 (char *) "self", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (int)wxIconLocation_GetIndex(arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_From_int((int)result
);
4324 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4327 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4329 return Py_BuildValue((char *)"");
4331 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxIconBundle
*result
;
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (wxIconBundle
*)new wxIconBundle();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4353 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxString
*arg1
= 0 ;
4357 wxIconBundle
*result
;
4358 bool temp1
= false ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "file",(char *) "type", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4367 arg1
= wxString_in_helper(obj0
);
4368 if (arg1
== NULL
) SWIG_fail
;
4371 arg2
= (long)SWIG_As_long(obj1
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4395 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4398 wxIconBundle
*result
;
4399 PyObject
* obj0
= 0 ;
4401 (char *) "icon", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4409 PyErr_SetString(PyExc_TypeError
,"null reference");
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4426 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "self", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 Py_INCREF(Py_None
); resultobj
= Py_None
;
4451 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4458 (char *) "self",(char *) "icon", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4468 PyErr_SetString(PyExc_TypeError
,"null reference");
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 Py_INCREF(Py_None
); resultobj
= Py_None
;
4485 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4488 wxString
*arg2
= 0 ;
4490 bool temp2
= false ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 PyObject
* obj2
= 0 ;
4495 (char *) "self",(char *) "file",(char *) "type", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4502 arg2
= wxString_in_helper(obj1
);
4503 if (arg2
== NULL
) SWIG_fail
;
4506 arg3
= (long)SWIG_As_long(obj2
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4539 (char *) "self",(char *) "size", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4553 result
= (wxIcon
*) &_result_ref
;
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4560 wxIcon
* resultptr
= new wxIcon(*result
);
4561 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4569 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4572 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4574 return Py_BuildValue((char *)"");
4576 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxString
*arg1
= (wxString
*) 0 ;
4580 int arg3
= (int) 0 ;
4581 int arg4
= (int) 0 ;
4583 bool temp1
= false ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 PyObject
* obj3
= 0 ;
4589 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4594 arg1
= wxString_in_helper(obj0
);
4595 if (arg1
== NULL
) SWIG_fail
;
4598 arg2
= (long)SWIG_As_long(obj1
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 arg3
= (int)SWIG_As_int(obj2
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 arg4
= (int)SWIG_As_int(obj3
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 if (!wxPyCheckForApp()) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4631 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxCursor
*arg1
= (wxCursor
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4636 (char *) "self", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 Py_INCREF(Py_None
); resultobj
= Py_None
;
4656 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4660 PyObject
* obj0
= 0 ;
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4666 arg1
= (int)SWIG_As_int(obj0
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 if (!wxPyCheckForApp()) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxCursor
*)new wxCursor(arg1
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4683 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "image", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4697 PyErr_SetString(PyExc_TypeError
,"null reference");
4701 if (!wxPyCheckForApp()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4715 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxCursor
*arg1
= (wxCursor
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4721 (char *) "self", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (bool)(arg1
)->Ok();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4743 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4746 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4748 return Py_BuildValue((char *)"");
4750 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 int arg1
= (int) 0 ;
4753 int arg2
= (int) 0 ;
4754 int arg3
= (int) 0 ;
4755 int arg4
= (int) 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 PyObject
* obj2
= 0 ;
4760 PyObject
* obj3
= 0 ;
4762 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4767 arg1
= (int)SWIG_As_int(obj0
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4771 arg2
= (int)SWIG_As_int(obj1
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 arg3
= (int)SWIG_As_int(obj2
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 arg4
= (int)SWIG_As_int(obj3
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4783 if (!wxPyCheckForApp()) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4797 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxBitmap
*arg1
= 0 ;
4801 PyObject
* obj0
= 0 ;
4803 (char *) "bmp", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4811 PyErr_SetString(PyExc_TypeError
,"null reference");
4815 if (!wxPyCheckForApp()) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4829 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxBitmap
*arg1
= 0 ;
4832 wxColour
*arg2
= 0 ;
4833 int arg3
= (int) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 PyObject
* obj2
= 0 ;
4840 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4848 PyErr_SetString(PyExc_TypeError
,"null reference");
4853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4856 arg3
= (int)SWIG_As_int(obj2
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 if (!wxPyCheckForApp()) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4874 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4877 wxPoint
*arg2
= (wxPoint
*) 0 ;
4878 int arg3
= (int) wxWINDING_RULE
;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4883 (char *) "points",(char *) "fillStyle", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4888 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4889 if (arg2
== NULL
) SWIG_fail
;
4892 arg3
= (int)SWIG_As_int(obj1
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4896 if (!wxPyCheckForApp()) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4905 if (arg2
) delete [] arg2
;
4910 if (arg2
) delete [] arg2
;
4916 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxRegion
*arg1
= (wxRegion
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4921 (char *) "self", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 Py_INCREF(Py_None
); resultobj
= Py_None
;
4941 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxRegion
*arg1
= (wxRegion
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4946 (char *) "self", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxRegion
*arg1
= (wxRegion
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4974 PyObject
* obj2
= 0 ;
4976 (char *) "self",(char *) "x",(char *) "y", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4982 arg2
= (int)SWIG_As_int(obj1
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4984 arg3
= (int)SWIG_As_int(obj2
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5004 wxRegion
*arg1
= (wxRegion
*) 0 ;
5008 PyObject
* obj0
= 0 ;
5009 PyObject
* obj1
= 0 ;
5010 PyObject
* obj2
= 0 ;
5012 (char *) "self",(char *) "x",(char *) "y", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5018 arg2
= (int)SWIG_As_int(obj1
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5020 arg3
= (int)SWIG_As_int(obj2
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= SWIG_From_int((int)result
);
5036 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5038 wxRegion
*arg1
= (wxRegion
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5043 PyObject
* obj1
= 0 ;
5045 (char *) "self",(char *) "pt", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_From_int((int)result
);
5069 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxRegion
*arg1
= (wxRegion
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5076 PyObject
* obj1
= 0 ;
5078 (char *) "self",(char *) "rect", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5086 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_From_int((int)result
);
5102 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
;
5104 wxRegion
*arg1
= (wxRegion
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5111 PyObject
* obj1
= 0 ;
5112 PyObject
* obj2
= 0 ;
5113 PyObject
* obj3
= 0 ;
5114 PyObject
* obj4
= 0 ;
5116 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 arg2
= (int)SWIG_As_int(obj1
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5124 arg3
= (int)SWIG_As_int(obj2
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5126 arg4
= (int)SWIG_As_int(obj3
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5128 arg5
= (int)SWIG_As_int(obj4
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_From_int((int)result
);
5144 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxRegion
*arg1
= (wxRegion
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5150 (char *) "self", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (arg1
)->GetBox();
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5165 resultptr
= new wxRect((wxRect
&) result
);
5166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5174 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxRegion
*arg1
= (wxRegion
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5183 PyObject
* obj1
= 0 ;
5184 PyObject
* obj2
= 0 ;
5185 PyObject
* obj3
= 0 ;
5186 PyObject
* obj4
= 0 ;
5188 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5194 arg2
= (int)SWIG_As_int(obj1
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5196 arg3
= (int)SWIG_As_int(obj2
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5198 arg4
= (int)SWIG_As_int(obj3
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5200 arg5
= (int)SWIG_As_int(obj4
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5218 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxRegion
*arg1
= (wxRegion
*) 0 ;
5224 PyObject
* obj0
= 0 ;
5225 PyObject
* obj1
= 0 ;
5227 (char *) "self",(char *) "rect", NULL
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5253 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxRegion
*arg1
= (wxRegion
*) 0 ;
5256 wxRegion
*arg2
= 0 ;
5258 PyObject
* obj0
= 0 ;
5259 PyObject
* obj1
= 0 ;
5261 (char *) "self",(char *) "region", NULL
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5271 PyErr_SetString(PyExc_TypeError
,"null reference");
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5290 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxRegion
*arg1
= (wxRegion
*) 0 ;
5294 PyObject
* obj0
= 0 ;
5296 (char *) "self", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (bool)(arg1
)->IsEmpty();
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5318 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5320 wxRegion
*arg1
= (wxRegion
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5327 PyObject
* obj1
= 0 ;
5328 PyObject
* obj2
= 0 ;
5329 PyObject
* obj3
= 0 ;
5330 PyObject
* obj4
= 0 ;
5332 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5338 arg2
= (int)SWIG_As_int(obj1
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5340 arg3
= (int)SWIG_As_int(obj2
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5342 arg4
= (int)SWIG_As_int(obj3
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5344 arg5
= (int)SWIG_As_int(obj4
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5362 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxRegion
*arg1
= (wxRegion
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5371 (char *) "self",(char *) "rect", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5379 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5397 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxRegion
*arg1
= (wxRegion
*) 0 ;
5400 wxRegion
*arg2
= 0 ;
5402 PyObject
* obj0
= 0 ;
5403 PyObject
* obj1
= 0 ;
5405 (char *) "self",(char *) "region", NULL
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5415 PyErr_SetString(PyExc_TypeError
,"null reference");
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5434 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxRegion
*arg1
= (wxRegion
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 PyObject
* obj2
= 0 ;
5445 PyObject
* obj3
= 0 ;
5446 PyObject
* obj4
= 0 ;
5448 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 arg2
= (int)SWIG_As_int(obj1
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5456 arg3
= (int)SWIG_As_int(obj2
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5458 arg4
= (int)SWIG_As_int(obj3
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5460 arg5
= (int)SWIG_As_int(obj4
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5478 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxRegion
*arg1
= (wxRegion
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5487 (char *) "self",(char *) "rect", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5495 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5513 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxRegion
*arg1
= (wxRegion
*) 0 ;
5516 wxRegion
*arg2
= 0 ;
5518 PyObject
* obj0
= 0 ;
5519 PyObject
* obj1
= 0 ;
5521 (char *) "self",(char *) "region", NULL
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5531 PyErr_SetString(PyExc_TypeError
,"null reference");
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5550 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5551 PyObject
*resultobj
;
5552 wxRegion
*arg1
= (wxRegion
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5560 PyObject
* obj2
= 0 ;
5561 PyObject
* obj3
= 0 ;
5562 PyObject
* obj4
= 0 ;
5564 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5570 arg2
= (int)SWIG_As_int(obj1
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5572 arg3
= (int)SWIG_As_int(obj2
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5574 arg4
= (int)SWIG_As_int(obj3
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5576 arg5
= (int)SWIG_As_int(obj4
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5594 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxRegion
*arg1
= (wxRegion
*) 0 ;
5600 PyObject
* obj0
= 0 ;
5601 PyObject
* obj1
= 0 ;
5603 (char *) "self",(char *) "rect", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5629 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxRegion
*arg1
= (wxRegion
*) 0 ;
5632 wxRegion
*arg2
= 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5637 (char *) "self",(char *) "region", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5647 PyErr_SetString(PyExc_TypeError
,"null reference");
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5666 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxRegion
*arg1
= (wxRegion
*) 0 ;
5669 SwigValueWrapper
< wxBitmap
> result
;
5670 PyObject
* obj0
= 0 ;
5672 (char *) "self", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= (arg1
)->ConvertToBitmap();
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5686 wxBitmap
* resultptr
;
5687 resultptr
= new wxBitmap((wxBitmap
&) result
);
5688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5696 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxRegion
*arg1
= (wxRegion
*) 0 ;
5699 wxBitmap
*arg2
= 0 ;
5701 PyObject
* obj0
= 0 ;
5702 PyObject
* obj1
= 0 ;
5704 (char *) "self",(char *) "bmp", NULL
5707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5714 PyErr_SetString(PyExc_TypeError
,"null reference");
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5733 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxRegion
*arg1
= (wxRegion
*) 0 ;
5736 wxBitmap
*arg2
= 0 ;
5737 wxColour
*arg3
= 0 ;
5738 int arg4
= (int) 0 ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5743 PyObject
* obj2
= 0 ;
5744 PyObject
* obj3
= 0 ;
5746 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5756 PyErr_SetString(PyExc_TypeError
,"null reference");
5761 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5764 arg4
= (int)SWIG_As_int(obj3
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5783 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5786 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5788 return Py_BuildValue((char *)"");
5790 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxRegion
*arg1
= 0 ;
5793 wxRegionIterator
*result
;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "region", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5804 PyErr_SetString(PyExc_TypeError
,"null reference");
5808 if (!wxPyCheckForApp()) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5822 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5825 PyObject
* obj0
= 0 ;
5827 (char *) "self", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 Py_INCREF(Py_None
); resultobj
= Py_None
;
5847 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5853 (char *) "self", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= (int)(arg1
)->GetX();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_From_int((int)result
);
5873 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5877 PyObject
* obj0
= 0 ;
5879 (char *) "self", NULL
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)(arg1
)->GetY();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_From_int((int)result
);
5899 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (int)(arg1
)->GetW();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_From_int((int)result
);
5925 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5929 PyObject
* obj0
= 0 ;
5931 (char *) "self", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (int)(arg1
)->GetWidth();
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_From_int((int)result
);
5951 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (int)(arg1
)->GetH();
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_From_int((int)result
);
5977 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5978 PyObject
*resultobj
;
5979 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5981 PyObject
* obj0
= 0 ;
5983 (char *) "self", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 result
= (int)(arg1
)->GetHeight();
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_From_int((int)result
);
6003 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6009 (char *) "self", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (arg1
)->GetRect();
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6024 resultptr
= new wxRect((wxRect
&) result
);
6025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6033 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (bool)(arg1
)->HaveRects();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6061 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
;
6063 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6064 PyObject
* obj0
= 0 ;
6066 (char *) "self", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 Py_INCREF(Py_None
); resultobj
= Py_None
;
6086 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
;
6088 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 wxRegionIterator_Next(arg1
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 Py_INCREF(Py_None
); resultobj
= Py_None
;
6111 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6117 (char *) "self", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6139 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6142 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6144 return Py_BuildValue((char *)"");
6146 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxNativeFontInfo
*result
;
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6168 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6173 (char *) "self", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 Py_INCREF(Py_None
); resultobj
= Py_None
;
6193 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6198 (char *) "self", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 Py_INCREF(Py_None
); resultobj
= Py_None
;
6218 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6225 (char *) "self",(char *) "font", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6235 PyErr_SetString(PyExc_TypeError
,"null reference");
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 Py_INCREF(Py_None
); resultobj
= Py_None
;
6252 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6256 PyObject
* obj0
= 0 ;
6258 (char *) "self", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= SWIG_From_int((int)result
);
6278 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= SWIG_From_int((int)result
);
6304 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6308 PyObject
* obj0
= 0 ;
6310 (char *) "self", NULL
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= SWIG_From_int((int)result
);
6330 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6358 static PyObject
*_wrap_NativeFontInfo_GetFaceName(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_GetFaceName",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
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6390 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6394 PyObject
* obj0
= 0 ;
6396 (char *) "self", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= SWIG_From_int((int)result
);
6416 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
*resultobj
;
6418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6422 (char *) "self", NULL
6425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_From_int((int)result
);
6442 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6446 PyObject
* obj0
= 0 ;
6447 PyObject
* obj1
= 0 ;
6449 (char *) "self",(char *) "pointsize", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6455 arg2
= (int)SWIG_As_int(obj1
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 (arg1
)->SetPointSize(arg2
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 Py_INCREF(Py_None
); resultobj
= Py_None
;
6471 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6475 PyObject
* obj0
= 0 ;
6476 PyObject
* obj1
= 0 ;
6478 (char *) "self",(char *) "style", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6484 arg2
= (int)SWIG_As_int(obj1
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 Py_INCREF(Py_None
); resultobj
= Py_None
;
6500 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6504 PyObject
* obj0
= 0 ;
6505 PyObject
* obj1
= 0 ;
6507 (char *) "self",(char *) "weight", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6513 arg2
= (int)SWIG_As_int(obj1
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6533 PyObject
* obj0
= 0 ;
6534 PyObject
* obj1
= 0 ;
6536 (char *) "self",(char *) "underlined", NULL
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6542 arg2
= (bool)SWIG_As_bool(obj1
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 (arg1
)->SetUnderlined(arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 Py_INCREF(Py_None
); resultobj
= Py_None
;
6558 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6565 (char *) "self",(char *) "facename", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 wxString
* sptr
= wxString_in_helper(obj1
);
6573 if (sptr
== NULL
) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 (arg1
)->SetFaceName(arg2
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6591 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6598 (char *) "self",(char *) "family", NULL
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 arg2
= (int)SWIG_As_int(obj1
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6627 (char *) "self",(char *) "encoding", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6633 arg2
= (int)SWIG_As_int(obj1
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6642 Py_INCREF(Py_None
); resultobj
= Py_None
;
6649 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6652 wxString
*arg2
= 0 ;
6654 bool temp2
= false ;
6655 PyObject
* obj0
= 0 ;
6656 PyObject
* obj1
= 0 ;
6658 (char *) "self",(char *) "s", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6665 arg2
= wxString_in_helper(obj1
);
6666 if (arg2
== NULL
) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6693 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6697 PyObject
* obj0
= 0 ;
6699 (char *) "self", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6725 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6729 PyObject
* obj0
= 0 ;
6731 (char *) "self", NULL
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 result
= wxNativeFontInfo___str__(arg1
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6757 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6760 wxString
*arg2
= 0 ;
6762 bool temp2
= false ;
6763 PyObject
* obj0
= 0 ;
6764 PyObject
* obj1
= 0 ;
6766 (char *) "self",(char *) "s", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6773 arg2
= wxString_in_helper(obj1
);
6774 if (arg2
== NULL
) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6801 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
;
6803 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6805 PyObject
* obj0
= 0 ;
6807 (char *) "self", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6833 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6836 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6838 return Py_BuildValue((char *)"");
6840 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6843 wxString
*arg2
= (wxString
*) 0 ;
6844 bool temp2
= false ;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6848 (char *) "self",(char *) "facename", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6855 arg2
= wxString_in_helper(obj1
);
6856 if (arg2
== NULL
) SWIG_fail
;
6859 if (arg1
) (arg1
)->facename
= *arg2
;
6861 Py_INCREF(Py_None
); resultobj
= Py_None
;
6876 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6882 (char *) "self", NULL
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 result
= (wxString
*)& ((arg1
)->facename
);
6892 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6894 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6903 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6907 PyObject
* obj0
= 0 ;
6908 PyObject
* obj1
= 0 ;
6910 (char *) "self",(char *) "encoding", NULL
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6916 arg2
= (int)SWIG_As_int(obj1
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6918 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6920 Py_INCREF(Py_None
); resultobj
= Py_None
;
6927 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6931 PyObject
* obj0
= 0 ;
6933 (char *) "self", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6939 result
= (int) ((arg1
)->encoding
);
6941 resultobj
= SWIG_From_int((int)result
);
6948 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxNativeEncodingInfo
*result
;
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6970 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6975 (char *) "self", NULL
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 Py_INCREF(Py_None
); resultobj
= Py_None
;
6995 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
;
6997 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6998 wxString
*arg2
= 0 ;
7000 bool temp2
= false ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7004 (char *) "self",(char *) "s", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7011 arg2
= wxString_in_helper(obj1
);
7012 if (arg2
== NULL
) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7039 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7045 (char *) "self", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7071 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7074 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7076 return Py_BuildValue((char *)"");
7078 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7081 wxNativeEncodingInfo
*result
;
7082 PyObject
* obj0
= 0 ;
7084 (char *) "encoding", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7088 arg1
= (int)SWIG_As_int(obj0
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7104 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxNativeEncodingInfo
*arg1
= 0 ;
7108 PyObject
* obj0
= 0 ;
7110 (char *) "info", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7118 PyErr_SetString(PyExc_TypeError
,"null reference");
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7137 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxFontMapper
*result
;
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (wxFontMapper
*)new wxFontMapper();
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7159 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7164 (char *) "self", NULL
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxFontMapper
*result
;
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= (wxFontMapper
*)wxFontMapper::Get();
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7206 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
;
7208 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7209 wxFontMapper
*result
;
7210 PyObject
* obj0
= 0 ;
7212 (char *) "mapper", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7232 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
;
7234 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7235 wxString
*arg2
= 0 ;
7236 bool arg3
= (bool) true ;
7238 bool temp2
= false ;
7239 PyObject
* obj0
= 0 ;
7240 PyObject
* obj1
= 0 ;
7241 PyObject
* obj2
= 0 ;
7243 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7250 arg2
= wxString_in_helper(obj1
);
7251 if (arg2
== NULL
) SWIG_fail
;
7255 arg3
= (bool)SWIG_As_bool(obj2
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_From_int((int)result
);
7280 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7302 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7306 PyObject
* obj0
= 0 ;
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7312 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 result
= (int)wxFontMapper::GetEncoding(arg1
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_From_int((int)result
);
7328 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7332 PyObject
* obj0
= 0 ;
7334 (char *) "encoding", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7338 arg1
= (int)SWIG_As_int(obj0
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7360 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7364 PyObject
* obj0
= 0 ;
7366 (char *) "encoding", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7370 arg1
= (int)SWIG_As_int(obj0
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7392 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxString
*arg1
= 0 ;
7396 bool temp1
= false ;
7397 PyObject
* obj0
= 0 ;
7399 (char *) "name", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7404 arg1
= wxString_in_helper(obj0
);
7405 if (arg1
== NULL
) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_From_int((int)result
);
7430 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7433 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7437 (char *) "self",(char *) "config", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 (arg1
)->SetConfig(arg2
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 Py_INCREF(Py_None
); resultobj
= Py_None
;
7459 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7462 wxString
*arg2
= 0 ;
7463 bool temp2
= false ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7467 (char *) "self",(char *) "prefix", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 arg2
= wxString_in_helper(obj1
);
7475 if (arg2
== NULL
) SWIG_fail
;
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 Py_INCREF(Py_None
); resultobj
= Py_None
;
7500 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= wxFontMapper::GetDefaultConfigPath();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7528 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7530 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7534 bool arg4
= (bool) true ;
7536 bool temp3
= false ;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj2
= 0 ;
7540 PyObject
* obj3
= 0 ;
7542 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 arg2
= (int)SWIG_As_int(obj1
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7552 arg3
= wxString_in_helper(obj2
);
7553 if (arg3
== NULL
) SWIG_fail
;
7558 arg4
= (bool)SWIG_As_bool(obj3
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7583 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7590 bool temp3
= false ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7593 PyObject
* obj2
= 0 ;
7595 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 arg2
= (int)SWIG_As_int(obj1
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7605 arg3
= wxString_in_helper(obj2
);
7606 if (arg3
== NULL
) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7634 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7637 wxWindow
*arg2
= (wxWindow
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7641 (char *) "self",(char *) "parent", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 (arg1
)->SetDialogParent(arg2
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 Py_INCREF(Py_None
); resultobj
= Py_None
;
7663 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7666 wxString
*arg2
= 0 ;
7667 bool temp2
= false ;
7668 PyObject
* obj0
= 0 ;
7669 PyObject
* obj1
= 0 ;
7671 (char *) "self",(char *) "title", NULL
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7678 arg2
= wxString_in_helper(obj1
);
7679 if (arg2
== NULL
) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 Py_INCREF(Py_None
); resultobj
= Py_None
;
7704 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7707 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7709 return Py_BuildValue((char *)"");
7711 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7717 bool arg5
= (bool) false ;
7718 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7719 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7720 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7722 bool temp6
= false ;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7725 PyObject
* obj2
= 0 ;
7726 PyObject
* obj3
= 0 ;
7727 PyObject
* obj4
= 0 ;
7728 PyObject
* obj5
= 0 ;
7729 PyObject
* obj6
= 0 ;
7731 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7735 arg1
= (int)SWIG_As_int(obj0
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7737 arg2
= (int)SWIG_As_int(obj1
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7739 arg3
= (int)SWIG_As_int(obj2
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7741 arg4
= (int)SWIG_As_int(obj3
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 arg5
= (bool)SWIG_As_bool(obj4
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7749 arg6
= wxString_in_helper(obj5
);
7750 if (arg6
== NULL
) SWIG_fail
;
7755 arg7
= (int)SWIG_As_int(obj6
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7759 if (!wxPyCheckForApp()) SWIG_fail
;
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7781 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxFont
*arg1
= (wxFont
*) 0 ;
7784 PyObject
* obj0
= 0 ;
7786 (char *) "self", NULL
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxNativeFontInfo
*arg1
= 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "info", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7820 PyErr_SetString(PyExc_TypeError
,"null reference");
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7838 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxString
*arg1
= 0 ;
7842 bool temp1
= false ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "info", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7850 arg1
= wxString_in_helper(obj0
);
7851 if (arg1
== NULL
) SWIG_fail
;
7855 if (!wxPyCheckForApp()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7877 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7881 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7882 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7883 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7884 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7886 bool temp4
= false ;
7887 PyObject
* obj0
= 0 ;
7888 PyObject
* obj1
= 0 ;
7889 PyObject
* obj2
= 0 ;
7890 PyObject
* obj3
= 0 ;
7891 PyObject
* obj4
= 0 ;
7893 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7897 arg1
= (int)SWIG_As_int(obj0
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7899 arg2
= (int)SWIG_As_int(obj1
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 arg3
= (int)SWIG_As_int(obj2
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7907 arg4
= wxString_in_helper(obj3
);
7908 if (arg4
== NULL
) SWIG_fail
;
7913 arg5
= (int)SWIG_As_int(obj4
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7917 if (!wxPyCheckForApp()) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7939 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7945 bool arg5
= (bool) false ;
7946 wxString
const &arg6_defvalue
= wxEmptyString
;
7947 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7948 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7951 bool temp6
= false ;
7952 PyObject
* obj0
= 0 ;
7953 PyObject
* obj1
= 0 ;
7954 PyObject
* obj2
= 0 ;
7955 PyObject
* obj3
= 0 ;
7956 PyObject
* obj4
= 0 ;
7957 PyObject
* obj5
= 0 ;
7958 PyObject
* obj6
= 0 ;
7960 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7966 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
7968 arg2
= (int)SWIG_As_int(obj1
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7970 arg3
= (int)SWIG_As_int(obj2
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7972 arg4
= (int)SWIG_As_int(obj3
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 arg5
= (bool)SWIG_As_bool(obj4
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7980 arg6
= wxString_in_helper(obj5
);
7981 if (arg6
== NULL
) SWIG_fail
;
7986 arg7
= (int)SWIG_As_int(obj6
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7990 if (!wxPyCheckForApp()) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8012 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxFont
*arg1
= (wxFont
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (bool)((wxFont
const *)arg1
)->Ok();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8040 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxFont
*arg1
= (wxFont
*) 0 ;
8043 wxFont
*arg2
= (wxFont
*) 0 ;
8045 PyObject
* obj0
= 0 ;
8046 PyObject
* obj1
= 0 ;
8048 (char *) "self",(char *) "other", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8072 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxFont
*arg1
= (wxFont
*) 0 ;
8075 wxFont
*arg2
= (wxFont
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8080 (char *) "self",(char *) "other", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8104 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxFont
*arg1
= (wxFont
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8110 (char *) "self", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= SWIG_From_int((int)result
);
8130 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxFont
*arg1
= (wxFont
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8151 resultptr
= new wxSize((wxSize
&) result
);
8152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8160 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxFont
*arg1
= (wxFont
*) 0 ;
8164 PyObject
* obj0
= 0 ;
8166 (char *) "self", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8174 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8176 wxPyEndAllowThreads(__tstate
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8188 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxFont
*arg1
= (wxFont
*) 0 ;
8192 PyObject
* obj0
= 0 ;
8194 (char *) "self", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= SWIG_From_int((int)result
);
8214 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxFont
*arg1
= (wxFont
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_From_int((int)result
);
8240 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxFont
*arg1
= (wxFont
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= SWIG_From_int((int)result
);
8266 static PyObject
*_wrap_Font_GetUnderlined(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_GetUnderlined",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
)->GetUnderlined();
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8294 static PyObject
*_wrap_Font_GetFaceName(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_GetFaceName",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
= ((wxFont
const *)arg1
)->GetFaceName();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8326 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxFont
*arg1
= (wxFont
*) 0 ;
8330 PyObject
* obj0
= 0 ;
8332 (char *) "self", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_From_int((int)result
);
8352 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
;
8354 wxFont
*arg1
= (wxFont
*) 0 ;
8355 wxNativeFontInfo
*result
;
8356 PyObject
* obj0
= 0 ;
8358 (char *) "self", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8378 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxFont
*arg1
= (wxFont
*) 0 ;
8382 PyObject
* obj0
= 0 ;
8384 (char *) "self", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8406 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxFont
*arg1
= (wxFont
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8412 (char *) "self", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8438 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxFont
*arg1
= (wxFont
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8470 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxFont
*arg1
= (wxFont
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8475 PyObject
* obj1
= 0 ;
8477 (char *) "self",(char *) "pointSize", NULL
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8483 arg2
= (int)SWIG_As_int(obj1
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 (arg1
)->SetPointSize(arg2
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 Py_INCREF(Py_None
); resultobj
= Py_None
;
8499 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 wxFont
*arg1
= (wxFont
*) 0 ;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8507 (char *) "self",(char *) "pixelSize", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8515 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 Py_INCREF(Py_None
); resultobj
= Py_None
;
8531 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
*resultobj
;
8533 wxFont
*arg1
= (wxFont
*) 0 ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8538 (char *) "self",(char *) "family", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 arg2
= (int)SWIG_As_int(obj1
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 (arg1
)->SetFamily(arg2
);
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 Py_INCREF(Py_None
); resultobj
= Py_None
;
8560 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
;
8562 wxFont
*arg1
= (wxFont
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8567 (char *) "self",(char *) "style", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8573 arg2
= (int)SWIG_As_int(obj1
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 (arg1
)->SetStyle(arg2
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 Py_INCREF(Py_None
); resultobj
= Py_None
;
8589 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
*resultobj
;
8591 wxFont
*arg1
= (wxFont
*) 0 ;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8596 (char *) "self",(char *) "weight", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8602 arg2
= (int)SWIG_As_int(obj1
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 (arg1
)->SetWeight(arg2
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 Py_INCREF(Py_None
); resultobj
= Py_None
;
8618 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxFont
*arg1
= (wxFont
*) 0 ;
8621 wxString
*arg2
= 0 ;
8622 bool temp2
= false ;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8626 (char *) "self",(char *) "faceName", NULL
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8633 arg2
= wxString_in_helper(obj1
);
8634 if (arg2
== NULL
) SWIG_fail
;
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8641 wxPyEndAllowThreads(__tstate
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 Py_INCREF(Py_None
); resultobj
= Py_None
;
8659 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxFont
*arg1
= (wxFont
*) 0 ;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8666 (char *) "self",(char *) "underlined", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8672 arg2
= (bool)SWIG_As_bool(obj1
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 (arg1
)->SetUnderlined(arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxFont
*arg1
= (wxFont
*) 0 ;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8695 (char *) "self",(char *) "encoding", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8701 arg2
= (int)SWIG_As_int(obj1
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 Py_INCREF(Py_None
); resultobj
= Py_None
;
8717 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxFont
*arg1
= (wxFont
*) 0 ;
8720 wxNativeFontInfo
*arg2
= 0 ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8724 (char *) "self",(char *) "info", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8734 PyErr_SetString(PyExc_TypeError
,"null reference");
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxFont
*arg1
= (wxFont
*) 0 ;
8754 wxString
*arg2
= 0 ;
8755 bool temp2
= false ;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8759 (char *) "self",(char *) "info", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8766 arg2
= wxString_in_helper(obj1
);
8767 if (arg2
== NULL
) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxFont
*arg1
= (wxFont
*) 0 ;
8795 wxString
*arg2
= 0 ;
8796 bool temp2
= false ;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8800 (char *) "self",(char *) "info", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 arg2
= wxString_in_helper(obj1
);
8808 if (arg2
== NULL
) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 Py_INCREF(Py_None
); resultobj
= Py_None
;
8833 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
*resultobj
;
8835 wxFont
*arg1
= (wxFont
*) 0 ;
8837 PyObject
* obj0
= 0 ;
8839 (char *) "self", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8865 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxFont
*arg1
= (wxFont
*) 0 ;
8869 PyObject
* obj0
= 0 ;
8871 (char *) "self", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= ((wxFont
const *)arg1
)->GetStyleString();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8897 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 wxFont
*arg1
= (wxFont
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= ((wxFont
const *)arg1
)->GetWeightString();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8929 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxFont
*arg1
= (wxFont
*) 0 ;
8932 bool arg2
= (bool) true ;
8933 PyObject
* obj0
= 0 ;
8934 PyObject
* obj1
= 0 ;
8936 (char *) "self",(char *) "no", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8943 arg2
= (bool)SWIG_As_bool(obj1
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 (arg1
)->SetNoAntiAliasing(arg2
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8953 Py_INCREF(Py_None
); resultobj
= Py_None
;
8960 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 wxFont
*arg1
= (wxFont
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8966 (char *) "self", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8988 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
;
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8997 if (!wxPyCheckForApp()) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (int)wxFont::GetDefaultEncoding();
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= SWIG_From_int((int)result
);
9011 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "encoding", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9020 arg1
= (int)SWIG_As_int(obj0
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 if (!wxPyCheckForApp()) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9040 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9042 return Py_BuildValue((char *)"");
9044 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxPyFontEnumerator
*result
;
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9053 if (!wxPyCheckForApp()) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9067 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9072 (char *) "self", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 Py_INCREF(Py_None
); resultobj
= Py_None
;
9092 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9094 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9095 PyObject
*arg2
= (PyObject
*) 0 ;
9096 PyObject
*arg3
= (PyObject
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9101 PyObject
* obj3
= 0 ;
9103 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 arg4
= (bool)SWIG_As_bool(obj3
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 Py_INCREF(Py_None
); resultobj
= Py_None
;
9127 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
;
9129 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9130 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9131 bool arg3
= (bool) false ;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9135 PyObject
* obj2
= 0 ;
9137 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 arg2
= (int)SWIG_As_int(obj1
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9148 arg3
= (bool)SWIG_As_bool(obj2
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9167 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9170 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9171 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9173 bool temp2
= false ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9177 (char *) "self",(char *) "facename", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9185 arg2
= wxString_in_helper(obj1
);
9186 if (arg2
== NULL
) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9214 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
;
9216 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9220 (char *) "self", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9240 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9266 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9269 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9271 return Py_BuildValue((char *)"");
9273 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
*resultobj
;
9275 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9280 (char *) "self",(char *) "Language", NULL
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9286 arg2
= (int)SWIG_As_int(obj1
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9288 if (arg1
) (arg1
)->Language
= arg2
;
9290 Py_INCREF(Py_None
); resultobj
= Py_None
;
9297 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "self", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9309 result
= (int) ((arg1
)->Language
);
9311 resultobj
= SWIG_From_int((int)result
);
9318 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9321 wxString
*arg2
= (wxString
*) 0 ;
9322 bool temp2
= false ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9326 (char *) "self",(char *) "CanonicalName", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9333 arg2
= wxString_in_helper(obj1
);
9334 if (arg2
== NULL
) SWIG_fail
;
9337 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9358 PyObject
* obj0
= 0 ;
9360 (char *) "self", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9370 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9372 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9381 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
;
9383 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9384 wxString
*arg2
= (wxString
*) 0 ;
9385 bool temp2
= false ;
9386 PyObject
* obj0
= 0 ;
9387 PyObject
* obj1
= 0 ;
9389 (char *) "self",(char *) "Description", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9396 arg2
= wxString_in_helper(obj1
);
9397 if (arg2
== NULL
) SWIG_fail
;
9400 if (arg1
) (arg1
)->Description
= *arg2
;
9402 Py_INCREF(Py_None
); resultobj
= Py_None
;
9417 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 result
= (wxString
*)& ((arg1
)->Description
);
9433 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9435 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9444 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9447 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9449 return Py_BuildValue((char *)"");
9451 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
*resultobj
;
9453 int arg1
= (int) -1 ;
9454 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9459 (char *) "language",(char *) "flags", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9464 arg1
= (int)SWIG_As_int(obj0
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9468 arg2
= (int)SWIG_As_int(obj1
);
9469 if (PyErr_Occurred()) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9485 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxLocale
*arg1
= (wxLocale
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9490 (char *) "self", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 Py_INCREF(Py_None
); resultobj
= Py_None
;
9510 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxLocale
*arg1
= (wxLocale
*) 0 ;
9513 wxString
*arg2
= 0 ;
9514 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9515 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9516 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9517 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9518 bool arg5
= (bool) true ;
9519 bool arg6
= (bool) false ;
9521 bool temp2
= false ;
9522 bool temp3
= false ;
9523 bool temp4
= false ;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9526 PyObject
* obj2
= 0 ;
9527 PyObject
* obj3
= 0 ;
9528 PyObject
* obj4
= 0 ;
9529 PyObject
* obj5
= 0 ;
9531 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 arg2
= wxString_in_helper(obj1
);
9539 if (arg2
== NULL
) SWIG_fail
;
9544 arg3
= wxString_in_helper(obj2
);
9545 if (arg3
== NULL
) SWIG_fail
;
9551 arg4
= wxString_in_helper(obj3
);
9552 if (arg4
== NULL
) SWIG_fail
;
9557 arg5
= (bool)SWIG_As_bool(obj4
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 arg6
= (bool)SWIG_As_bool(obj5
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9604 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxLocale
*arg1
= (wxLocale
*) 0 ;
9607 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9608 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9612 PyObject
* obj2
= 0 ;
9614 (char *) "self",(char *) "language",(char *) "flags", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 arg2
= (int)SWIG_As_int(obj1
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 arg3
= (int)SWIG_As_int(obj2
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9644 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (int)wxLocale::GetSystemLanguage();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_From_int((int)result
);
9666 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (int)wxLocale::GetSystemEncoding();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_From_int((int)result
);
9688 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= wxLocale::GetSystemEncodingName();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9707 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9716 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9718 wxLocale
*arg1
= (wxLocale
*) 0 ;
9720 PyObject
* obj0
= 0 ;
9722 (char *) "self", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9744 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxLocale
*arg1
= (wxLocale
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= ((wxLocale
const *)arg1
)->GetLocale();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9776 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxLocale
*arg1
= (wxLocale
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_From_int((int)result
);
9802 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxLocale
*arg1
= (wxLocale
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= ((wxLocale
const *)arg1
)->GetSysName();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9834 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9836 wxLocale
*arg1
= (wxLocale
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9866 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxString
*arg1
= 0 ;
9869 bool temp1
= false ;
9870 PyObject
* obj0
= 0 ;
9872 (char *) "prefix", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9877 arg1
= wxString_in_helper(obj0
);
9878 if (arg1
== NULL
) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 Py_INCREF(Py_None
); resultobj
= Py_None
;
9903 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxLocale
*arg1
= (wxLocale
*) 0 ;
9906 wxString
*arg2
= 0 ;
9908 bool temp2
= false ;
9909 PyObject
* obj0
= 0 ;
9910 PyObject
* obj1
= 0 ;
9912 (char *) "self",(char *) "szDomain", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9919 arg2
= wxString_in_helper(obj1
);
9920 if (arg2
== NULL
) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9947 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxLocale
*arg1
= (wxLocale
*) 0 ;
9950 wxString
*arg2
= 0 ;
9952 bool temp2
= false ;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9956 (char *) "self",(char *) "szDomain", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 arg2
= wxString_in_helper(obj1
);
9964 if (arg2
== NULL
) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9991 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9994 wxLanguageInfo
*result
;
9995 PyObject
* obj0
= 0 ;
9997 (char *) "lang", NULL
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10001 arg1
= (int)SWIG_As_int(obj0
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10017 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "lang", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10027 arg1
= (int)SWIG_As_int(obj0
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= wxLocale::GetLanguageName(arg1
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10049 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxString
*arg1
= 0 ;
10052 wxLanguageInfo
*result
;
10053 bool temp1
= false ;
10054 PyObject
* obj0
= 0 ;
10055 char *kwnames
[] = {
10056 (char *) "locale", NULL
10059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10061 arg1
= wxString_in_helper(obj0
);
10062 if (arg1
== NULL
) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10087 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxLanguageInfo
*arg1
= 0 ;
10090 PyObject
* obj0
= 0 ;
10091 char *kwnames
[] = {
10092 (char *) "info", NULL
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10097 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10099 if (arg1
== NULL
) {
10100 PyErr_SetString(PyExc_TypeError
,"null reference");
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 Py_INCREF(Py_None
); resultobj
= Py_None
;
10117 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxLocale
*arg1
= (wxLocale
*) 0 ;
10120 wxString
*arg2
= 0 ;
10121 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10122 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10124 bool temp2
= false ;
10125 bool temp3
= false ;
10126 PyObject
* obj0
= 0 ;
10127 PyObject
* obj1
= 0 ;
10128 PyObject
* obj2
= 0 ;
10129 char *kwnames
[] = {
10130 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10137 arg2
= wxString_in_helper(obj1
);
10138 if (arg2
== NULL
) SWIG_fail
;
10143 arg3
= wxString_in_helper(obj2
);
10144 if (arg3
== NULL
) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10184 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxLocale
*arg1
= (wxLocale
*) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10200 result
= (wxString
*) &_result_ref
;
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10219 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10222 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10224 return Py_BuildValue((char *)"");
10226 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10229 char *kwnames
[] = {
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (wxLocale
*)wxGetLocale();
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10248 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10249 PyObject
*resultobj
;
10250 wxString
*arg1
= 0 ;
10252 bool temp1
= false ;
10253 PyObject
* obj0
= 0 ;
10255 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10257 arg1
= wxString_in_helper(obj0
);
10258 if (arg1
== NULL
) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= wxGetTranslation((wxString
const &)*arg1
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10289 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10290 PyObject
*resultobj
;
10291 wxString
*arg1
= 0 ;
10292 wxString
*arg2
= 0 ;
10295 bool temp1
= false ;
10296 bool temp2
= false ;
10297 PyObject
* obj0
= 0 ;
10298 PyObject
* obj1
= 0 ;
10299 PyObject
* obj2
= 0 ;
10301 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10303 arg1
= wxString_in_helper(obj0
);
10304 if (arg1
== NULL
) SWIG_fail
;
10308 arg2
= wxString_in_helper(obj1
);
10309 if (arg2
== NULL
) SWIG_fail
;
10312 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10350 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10355 argc
= PyObject_Length(args
);
10356 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10357 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10362 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10365 return _wrap_GetTranslation__SWIG_0(self
,args
);
10371 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10375 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10378 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10380 return _wrap_GetTranslation__SWIG_1(self
,args
);
10386 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10391 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
;
10393 wxEncodingConverter
*result
;
10394 char *kwnames
[] = {
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10413 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 Py_INCREF(Py_None
); resultobj
= Py_None
;
10438 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10443 int arg4
= (int) wxCONVERT_STRICT
;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 PyObject
* obj2
= 0 ;
10448 PyObject
* obj3
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10456 arg2
= (int)SWIG_As_int(obj1
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10458 arg3
= (int)SWIG_As_int(obj2
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 arg4
= (int)SWIG_As_int(obj3
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10480 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10483 wxString
*arg2
= 0 ;
10485 bool temp2
= false ;
10486 PyObject
* obj0
= 0 ;
10487 PyObject
* obj1
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "input", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 arg2
= wxString_in_helper(obj1
);
10497 if (arg2
== NULL
) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10528 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10531 int arg2
= (int) wxPLATFORM_CURRENT
;
10532 wxFontEncodingArray result
;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "enc",(char *) "platform", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10540 arg1
= (int)SWIG_As_int(obj0
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 arg2
= (int)SWIG_As_int(obj1
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= PyList_New(0);
10555 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10556 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10557 PyList_Append(resultobj
, number
);
10567 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10570 wxFontEncodingArray result
;
10571 PyObject
* obj0
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "enc", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10577 arg1
= (int)SWIG_As_int(obj0
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 resultobj
= PyList_New(0);
10588 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10589 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10590 PyList_Append(resultobj
, number
);
10600 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "encIn",(char *) "encOut", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10612 arg1
= (int)SWIG_As_int(obj0
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10614 arg2
= (int)SWIG_As_int(obj1
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10635 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10637 return Py_BuildValue((char *)"");
10639 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxDC
*arg1
= (wxDC
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxDC
*arg1
= (wxDC
*) 0 ;
10667 PyObject
* obj0
= 0 ;
10668 char *kwnames
[] = {
10669 (char *) "self", NULL
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10677 (arg1
)->BeginDrawing();
10679 wxPyEndAllowThreads(__tstate
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10682 Py_INCREF(Py_None
); resultobj
= Py_None
;
10689 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
;
10691 wxDC
*arg1
= (wxDC
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 (arg1
)->EndDrawing();
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 Py_INCREF(Py_None
); resultobj
= Py_None
;
10714 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
*resultobj
;
10716 wxDC
*arg1
= (wxDC
*) 0 ;
10719 wxColour
*arg4
= 0 ;
10720 int arg5
= (int) wxFLOOD_SURFACE
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 PyObject
* obj2
= 0 ;
10726 PyObject
* obj3
= 0 ;
10727 PyObject
* obj4
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 arg2
= (int)SWIG_As_int(obj1
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10737 arg3
= (int)SWIG_As_int(obj2
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10741 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10744 arg5
= (int)SWIG_As_int(obj4
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10763 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxDC
*arg1
= (wxDC
*) 0 ;
10766 wxPoint
*arg2
= 0 ;
10767 wxColour
*arg3
= 0 ;
10768 int arg4
= (int) wxFLOOD_SURFACE
;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 PyObject
* obj2
= 0 ;
10775 PyObject
* obj3
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10785 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10789 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10792 arg4
= (int)SWIG_As_int(obj3
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10811 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxDC
*arg1
= (wxDC
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 PyObject
* obj2
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "self",(char *) "x",(char *) "y", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 arg2
= (int)SWIG_As_int(obj1
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10829 arg3
= (int)SWIG_As_int(obj2
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10839 wxColour
* resultptr
;
10840 resultptr
= new wxColour((wxColour
&) result
);
10841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10849 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxDC
*arg1
= (wxDC
*) 0 ;
10852 wxPoint
*arg2
= 0 ;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "pt", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 wxColour
* resultptr
;
10877 resultptr
= new wxColour((wxColour
&) result
);
10878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10886 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxDC
*arg1
= (wxDC
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 PyObject
* obj3
= 0 ;
10897 PyObject
* obj4
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10905 arg2
= (int)SWIG_As_int(obj1
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10907 arg3
= (int)SWIG_As_int(obj2
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10909 arg4
= (int)SWIG_As_int(obj3
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10911 arg5
= (int)SWIG_As_int(obj4
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 Py_INCREF(Py_None
); resultobj
= Py_None
;
10927 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxDC
*arg1
= (wxDC
*) 0 ;
10930 wxPoint
*arg2
= 0 ;
10931 wxPoint
*arg3
= 0 ;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 PyObject
* obj2
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10950 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 Py_INCREF(Py_None
); resultobj
= Py_None
;
10966 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxDC
*arg1
= (wxDC
*) 0 ;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 PyObject
* obj2
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "self",(char *) "x",(char *) "y", NULL
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10981 arg2
= (int)SWIG_As_int(obj1
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10983 arg3
= (int)SWIG_As_int(obj2
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->CrossHair(arg2
,arg3
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxDC
*arg1
= (wxDC
*) 0 ;
11002 wxPoint
*arg2
= 0 ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "pt", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxDC
*arg1
= (wxDC
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 PyObject
* obj3
= 0 ;
11044 PyObject
* obj4
= 0 ;
11045 PyObject
* obj5
= 0 ;
11046 PyObject
* obj6
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11054 arg2
= (int)SWIG_As_int(obj1
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11056 arg3
= (int)SWIG_As_int(obj2
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11058 arg4
= (int)SWIG_As_int(obj3
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11060 arg5
= (int)SWIG_As_int(obj4
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11062 arg6
= (int)SWIG_As_int(obj5
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11064 arg7
= (int)SWIG_As_int(obj6
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 Py_INCREF(Py_None
); resultobj
= Py_None
;
11080 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxDC
*arg1
= (wxDC
*) 0 ;
11083 wxPoint
*arg2
= 0 ;
11084 wxPoint
*arg3
= 0 ;
11085 wxPoint
*arg4
= 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 PyObject
* obj2
= 0 ;
11092 PyObject
* obj3
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11106 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxDC
*arg1
= (wxDC
*) 0 ;
11133 PyObject
* obj0
= 0 ;
11134 PyObject
* obj1
= 0 ;
11135 PyObject
* obj2
= 0 ;
11136 PyObject
* obj3
= 0 ;
11137 PyObject
* obj4
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11145 arg2
= (int)SWIG_As_int(obj1
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11147 arg3
= (int)SWIG_As_int(obj2
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11149 arg4
= (int)SWIG_As_int(obj3
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11151 arg5
= (int)SWIG_As_int(obj4
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 Py_INCREF(Py_None
); resultobj
= Py_None
;
11167 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
;
11169 wxDC
*arg1
= (wxDC
*) 0 ;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "rect", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 Py_INCREF(Py_None
); resultobj
= Py_None
;
11199 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxDC
*arg1
= (wxDC
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 PyObject
* obj2
= 0 ;
11211 PyObject
* obj3
= 0 ;
11212 PyObject
* obj4
= 0 ;
11213 PyObject
* obj5
= 0 ;
11214 PyObject
* obj6
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11222 arg2
= (int)SWIG_As_int(obj1
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11224 arg3
= (int)SWIG_As_int(obj2
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11226 arg4
= (int)SWIG_As_int(obj3
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11228 arg5
= (int)SWIG_As_int(obj4
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11230 arg6
= (double)SWIG_As_double(obj5
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11232 arg7
= (double)SWIG_As_double(obj6
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 Py_INCREF(Py_None
); resultobj
= Py_None
;
11248 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxDC
*arg1
= (wxDC
*) 0 ;
11251 wxPoint
*arg2
= 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 PyObject
* obj3
= 0 ;
11261 PyObject
* obj4
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11275 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11277 arg4
= (double)SWIG_As_double(obj3
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11279 arg5
= (double)SWIG_As_double(obj4
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 Py_INCREF(Py_None
); resultobj
= Py_None
;
11295 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxDC
*arg1
= (wxDC
*) 0 ;
11300 PyObject
* obj0
= 0 ;
11301 PyObject
* obj1
= 0 ;
11302 PyObject
* obj2
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self",(char *) "x",(char *) "y", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11310 arg2
= (int)SWIG_As_int(obj1
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11312 arg3
= (int)SWIG_As_int(obj2
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->DrawPoint(arg2
,arg3
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxDC
*arg1
= (wxDC
*) 0 ;
11331 wxPoint
*arg2
= 0 ;
11333 PyObject
* obj0
= 0 ;
11334 PyObject
* obj1
= 0 ;
11335 char *kwnames
[] = {
11336 (char *) "self",(char *) "pt", NULL
11339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 Py_INCREF(Py_None
); resultobj
= Py_None
;
11360 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxDC
*arg1
= (wxDC
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 PyObject
* obj2
= 0 ;
11370 PyObject
* obj3
= 0 ;
11371 PyObject
* obj4
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 arg2
= (int)SWIG_As_int(obj1
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11381 arg3
= (int)SWIG_As_int(obj2
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11383 arg4
= (int)SWIG_As_int(obj3
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11385 arg5
= (int)SWIG_As_int(obj4
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 (arg1
)->DrawRectangle(arg2
,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_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxDC
*arg1
= (wxDC
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "rect", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11417 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 Py_INCREF(Py_None
); resultobj
= Py_None
;
11433 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxDC
*arg1
= (wxDC
*) 0 ;
11436 wxPoint
*arg2
= 0 ;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 PyObject
* obj2
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "pt",(char *) "sz", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11452 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11456 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11465 Py_INCREF(Py_None
); resultobj
= Py_None
;
11472 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxDC
*arg1
= (wxDC
*) 0 ;
11480 PyObject
* obj0
= 0 ;
11481 PyObject
* obj1
= 0 ;
11482 PyObject
* obj2
= 0 ;
11483 PyObject
* obj3
= 0 ;
11484 PyObject
* obj4
= 0 ;
11485 PyObject
* obj5
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 arg2
= (int)SWIG_As_int(obj1
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11495 arg3
= (int)SWIG_As_int(obj2
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11497 arg4
= (int)SWIG_As_int(obj3
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11499 arg5
= (int)SWIG_As_int(obj4
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11501 arg6
= (double)SWIG_As_double(obj5
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 Py_INCREF(Py_None
); resultobj
= Py_None
;
11517 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxDC
*arg1
= (wxDC
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 PyObject
* obj1
= 0 ;
11525 PyObject
* obj2
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self",(char *) "r",(char *) "radius", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11535 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11537 arg3
= (double)SWIG_As_double(obj2
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 Py_INCREF(Py_None
); resultobj
= Py_None
;
11553 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxDC
*arg1
= (wxDC
*) 0 ;
11556 wxPoint
*arg2
= 0 ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 PyObject
* obj3
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11578 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11580 arg4
= (double)SWIG_As_double(obj3
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 Py_INCREF(Py_None
); resultobj
= Py_None
;
11596 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxDC
*arg1
= (wxDC
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 PyObject
* obj2
= 0 ;
11605 PyObject
* obj3
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11613 arg2
= (int)SWIG_As_int(obj1
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11615 arg3
= (int)SWIG_As_int(obj2
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11617 arg4
= (int)SWIG_As_int(obj3
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 Py_INCREF(Py_None
); resultobj
= Py_None
;
11633 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxDC
*arg1
= (wxDC
*) 0 ;
11636 wxPoint
*arg2
= 0 ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 PyObject
* obj2
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "pt",(char *) "radius", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11653 arg3
= (int)SWIG_As_int(obj2
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 Py_INCREF(Py_None
); resultobj
= Py_None
;
11669 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxDC
*arg1
= (wxDC
*) 0 ;
11676 PyObject
* obj0
= 0 ;
11677 PyObject
* obj1
= 0 ;
11678 PyObject
* obj2
= 0 ;
11679 PyObject
* obj3
= 0 ;
11680 PyObject
* obj4
= 0 ;
11681 char *kwnames
[] = {
11682 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11688 arg2
= (int)SWIG_As_int(obj1
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11690 arg3
= (int)SWIG_As_int(obj2
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11692 arg4
= (int)SWIG_As_int(obj3
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11694 arg5
= (int)SWIG_As_int(obj4
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 Py_INCREF(Py_None
); resultobj
= Py_None
;
11710 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxDC
*arg1
= (wxDC
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self",(char *) "rect", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11726 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxDC
*arg1
= (wxDC
*) 0 ;
11745 wxPoint
*arg2
= 0 ;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 PyObject
* obj2
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self",(char *) "pt",(char *) "sz", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11765 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 Py_INCREF(Py_None
); resultobj
= Py_None
;
11781 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxDC
*arg1
= (wxDC
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 PyObject
* obj2
= 0 ;
11790 PyObject
* obj3
= 0 ;
11791 char *kwnames
[] = {
11792 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11801 if (arg2
== NULL
) {
11802 PyErr_SetString(PyExc_TypeError
,"null reference");
11805 arg3
= (int)SWIG_As_int(obj2
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11807 arg4
= (int)SWIG_As_int(obj3
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 Py_INCREF(Py_None
); resultobj
= Py_None
;
11823 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxDC
*arg1
= (wxDC
*) 0 ;
11827 wxPoint
*arg3
= 0 ;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 PyObject
* obj2
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self",(char *) "icon",(char *) "pt", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11842 if (arg2
== NULL
) {
11843 PyErr_SetString(PyExc_TypeError
,"null reference");
11848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 Py_INCREF(Py_None
); resultobj
= Py_None
;
11864 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxDC
*arg1
= (wxDC
*) 0 ;
11867 wxBitmap
*arg2
= 0 ;
11870 bool arg5
= (bool) false ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 PyObject
* obj4
= 0 ;
11876 char *kwnames
[] = {
11877 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11886 if (arg2
== NULL
) {
11887 PyErr_SetString(PyExc_TypeError
,"null reference");
11890 arg3
= (int)SWIG_As_int(obj2
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11892 arg4
= (int)SWIG_As_int(obj3
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 arg5
= (bool)SWIG_As_bool(obj4
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 Py_INCREF(Py_None
); resultobj
= Py_None
;
11912 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxDC
*arg1
= (wxDC
*) 0 ;
11915 wxBitmap
*arg2
= 0 ;
11916 wxPoint
*arg3
= 0 ;
11917 bool arg4
= (bool) false ;
11919 PyObject
* obj0
= 0 ;
11920 PyObject
* obj1
= 0 ;
11921 PyObject
* obj2
= 0 ;
11922 PyObject
* obj3
= 0 ;
11923 char *kwnames
[] = {
11924 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11933 if (arg2
== NULL
) {
11934 PyErr_SetString(PyExc_TypeError
,"null reference");
11939 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11942 arg4
= (bool)SWIG_As_bool(obj3
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 Py_INCREF(Py_None
); resultobj
= Py_None
;
11959 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
;
11961 wxDC
*arg1
= (wxDC
*) 0 ;
11962 wxString
*arg2
= 0 ;
11965 bool temp2
= false ;
11966 PyObject
* obj0
= 0 ;
11967 PyObject
* obj1
= 0 ;
11968 PyObject
* obj2
= 0 ;
11969 PyObject
* obj3
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 arg2
= wxString_in_helper(obj1
);
11979 if (arg2
== NULL
) SWIG_fail
;
11982 arg3
= (int)SWIG_As_int(obj2
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11984 arg4
= (int)SWIG_As_int(obj3
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 Py_INCREF(Py_None
); resultobj
= Py_None
;
12008 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxDC
*arg1
= (wxDC
*) 0 ;
12011 wxString
*arg2
= 0 ;
12012 wxPoint
*arg3
= 0 ;
12013 bool temp2
= false ;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 PyObject
* obj2
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self",(char *) "text",(char *) "pt", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12026 arg2
= wxString_in_helper(obj1
);
12027 if (arg2
== NULL
) SWIG_fail
;
12032 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 Py_INCREF(Py_None
); resultobj
= Py_None
;
12056 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxDC
*arg1
= (wxDC
*) 0 ;
12059 wxString
*arg2
= 0 ;
12063 bool temp2
= false ;
12064 PyObject
* obj0
= 0 ;
12065 PyObject
* obj1
= 0 ;
12066 PyObject
* obj2
= 0 ;
12067 PyObject
* obj3
= 0 ;
12068 PyObject
* obj4
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12077 arg2
= wxString_in_helper(obj1
);
12078 if (arg2
== NULL
) SWIG_fail
;
12081 arg3
= (int)SWIG_As_int(obj2
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12083 arg4
= (int)SWIG_As_int(obj3
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12085 arg5
= (double)SWIG_As_double(obj4
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12109 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxDC
*arg1
= (wxDC
*) 0 ;
12112 wxString
*arg2
= 0 ;
12113 wxPoint
*arg3
= 0 ;
12115 bool temp2
= false ;
12117 PyObject
* obj0
= 0 ;
12118 PyObject
* obj1
= 0 ;
12119 PyObject
* obj2
= 0 ;
12120 PyObject
* obj3
= 0 ;
12121 char *kwnames
[] = {
12122 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12129 arg2
= wxString_in_helper(obj1
);
12130 if (arg2
== NULL
) SWIG_fail
;
12135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12137 arg4
= (double)SWIG_As_double(obj3
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 Py_INCREF(Py_None
); resultobj
= Py_None
;
12161 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxDC
*arg1
= (wxDC
*) 0 ;
12168 wxDC
*arg6
= (wxDC
*) 0 ;
12171 int arg9
= (int) wxCOPY
;
12172 bool arg10
= (bool) false ;
12173 int arg11
= (int) -1 ;
12174 int arg12
= (int) -1 ;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 PyObject
* obj2
= 0 ;
12179 PyObject
* obj3
= 0 ;
12180 PyObject
* obj4
= 0 ;
12181 PyObject
* obj5
= 0 ;
12182 PyObject
* obj6
= 0 ;
12183 PyObject
* obj7
= 0 ;
12184 PyObject
* obj8
= 0 ;
12185 PyObject
* obj9
= 0 ;
12186 PyObject
* obj10
= 0 ;
12187 PyObject
* obj11
= 0 ;
12188 char *kwnames
[] = {
12189 (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
12192 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
;
12193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12195 arg2
= (int)SWIG_As_int(obj1
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12197 arg3
= (int)SWIG_As_int(obj2
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12199 arg4
= (int)SWIG_As_int(obj3
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12201 arg5
= (int)SWIG_As_int(obj4
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12203 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 arg7
= (int)SWIG_As_int(obj6
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12207 arg8
= (int)SWIG_As_int(obj7
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 arg9
= (int)SWIG_As_int(obj8
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12214 arg10
= (bool)SWIG_As_bool(obj9
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 arg11
= (int)SWIG_As_int(obj10
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 arg12
= (int)SWIG_As_int(obj11
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12241 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxDC
*arg1
= (wxDC
*) 0 ;
12244 wxPoint
*arg2
= 0 ;
12246 wxDC
*arg4
= (wxDC
*) 0 ;
12247 wxPoint
*arg5
= 0 ;
12248 int arg6
= (int) wxCOPY
;
12249 bool arg7
= (bool) false ;
12250 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12251 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 PyObject
* obj2
= 0 ;
12260 PyObject
* obj3
= 0 ;
12261 PyObject
* obj4
= 0 ;
12262 PyObject
* obj5
= 0 ;
12263 PyObject
* obj6
= 0 ;
12264 PyObject
* obj7
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12278 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12280 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12284 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12287 arg6
= (int)SWIG_As_int(obj5
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 arg7
= (bool)SWIG_As_bool(obj6
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12297 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12316 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxDC
*arg1
= (wxDC
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 PyObject
* obj1
= 0 ;
12325 PyObject
* obj2
= 0 ;
12326 PyObject
* obj3
= 0 ;
12327 PyObject
* obj4
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12335 arg2
= (int)SWIG_As_int(obj1
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12337 arg3
= (int)SWIG_As_int(obj2
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12339 arg4
= (int)SWIG_As_int(obj3
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12341 arg5
= (int)SWIG_As_int(obj4
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxDC
*arg1
= (wxDC
*) 0 ;
12360 wxPoint
*arg2
= 0 ;
12364 PyObject
* obj0
= 0 ;
12365 PyObject
* obj1
= 0 ;
12366 PyObject
* obj2
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self",(char *) "pt",(char *) "sz", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12380 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 Py_INCREF(Py_None
); resultobj
= Py_None
;
12396 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxDC
*arg1
= (wxDC
*) 0 ;
12399 wxRegion
*arg2
= 0 ;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self",(char *) "region", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12412 if (arg2
== NULL
) {
12413 PyErr_SetString(PyExc_TypeError
,"null reference");
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 Py_INCREF(Py_None
); resultobj
= Py_None
;
12430 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxDC
*arg1
= (wxDC
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 PyObject
* obj1
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self",(char *) "rect", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 Py_INCREF(Py_None
); resultobj
= Py_None
;
12462 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxDC
*arg1
= (wxDC
*) 0 ;
12466 wxPoint
*arg3
= (wxPoint
*) 0 ;
12467 int arg4
= (int) 0 ;
12468 int arg5
= (int) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 PyObject
* obj2
= 0 ;
12472 PyObject
* obj3
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12482 if (arg3
== NULL
) SWIG_fail
;
12485 arg4
= (int)SWIG_As_int(obj2
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12489 arg5
= (int)SWIG_As_int(obj3
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 Py_INCREF(Py_None
); resultobj
= Py_None
;
12501 if (arg3
) delete [] arg3
;
12506 if (arg3
) delete [] arg3
;
12512 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxDC
*arg1
= (wxDC
*) 0 ;
12516 wxPoint
*arg3
= (wxPoint
*) 0 ;
12517 int arg4
= (int) 0 ;
12518 int arg5
= (int) 0 ;
12519 int arg6
= (int) wxODDEVEN_RULE
;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 PyObject
* obj2
= 0 ;
12523 PyObject
* obj3
= 0 ;
12524 PyObject
* obj4
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12534 if (arg3
== NULL
) SWIG_fail
;
12537 arg4
= (int)SWIG_As_int(obj2
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 arg5
= (int)SWIG_As_int(obj3
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12545 arg6
= (int)SWIG_As_int(obj4
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 if (arg3
) delete [] arg3
;
12562 if (arg3
) delete [] arg3
;
12568 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxDC
*arg1
= (wxDC
*) 0 ;
12571 wxString
*arg2
= 0 ;
12573 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12574 int arg5
= (int) -1 ;
12575 bool temp2
= false ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 PyObject
* obj2
= 0 ;
12580 PyObject
* obj3
= 0 ;
12581 PyObject
* obj4
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 arg2
= wxString_in_helper(obj1
);
12591 if (arg2
== NULL
) SWIG_fail
;
12596 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12599 arg4
= (int)SWIG_As_int(obj3
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 arg5
= (int)SWIG_As_int(obj4
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12628 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxDC
*arg1
= (wxDC
*) 0 ;
12631 wxString
*arg2
= 0 ;
12632 wxBitmap
*arg3
= 0 ;
12634 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12635 int arg6
= (int) -1 ;
12637 bool temp2
= false ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 PyObject
* obj2
= 0 ;
12642 PyObject
* obj3
= 0 ;
12643 PyObject
* obj4
= 0 ;
12644 PyObject
* obj5
= 0 ;
12645 char *kwnames
[] = {
12646 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12653 arg2
= wxString_in_helper(obj1
);
12654 if (arg2
== NULL
) SWIG_fail
;
12657 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12660 if (arg3
== NULL
) {
12661 PyErr_SetString(PyExc_TypeError
,"null reference");
12666 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12669 arg5
= (int)SWIG_As_int(obj4
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 arg6
= (int)SWIG_As_int(obj5
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12684 wxRect
* resultptr
;
12685 resultptr
= new wxRect((wxRect
&) result
);
12686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12702 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxDC
*arg1
= (wxDC
*) 0 ;
12706 wxPoint
*arg3
= (wxPoint
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self",(char *) "points", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12717 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12718 if (arg3
== NULL
) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 (arg1
)->DrawSpline(arg2
,arg3
);
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 if (arg3
) delete [] arg3
;
12734 if (arg3
) delete [] arg3
;
12740 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxDC
*arg1
= (wxDC
*) 0 ;
12743 PyObject
* obj0
= 0 ;
12744 char *kwnames
[] = {
12745 (char *) "self", NULL
12748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 Py_INCREF(Py_None
); resultobj
= Py_None
;
12765 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
;
12767 wxDC
*arg1
= (wxDC
*) 0 ;
12768 wxString
*arg2
= 0 ;
12770 bool temp2
= false ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self",(char *) "message", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12781 arg2
= wxString_in_helper(obj1
);
12782 if (arg2
== NULL
) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12809 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxDC
*arg1
= (wxDC
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 Py_INCREF(Py_None
); resultobj
= Py_None
;
12834 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxDC
*arg1
= (wxDC
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->StartPage();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 Py_INCREF(Py_None
); resultobj
= Py_None
;
12859 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxDC
*arg1
= (wxDC
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxDC
*arg1
= (wxDC
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 PyObject
* obj1
= 0 ;
12890 char *kwnames
[] = {
12891 (char *) "self",(char *) "font", NULL
12894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12900 if (arg2
== NULL
) {
12901 PyErr_SetString(PyExc_TypeError
,"null reference");
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 (arg1
)->SetFont((wxFont
const &)*arg2
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 Py_INCREF(Py_None
); resultobj
= Py_None
;
12918 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxDC
*arg1
= (wxDC
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "pen", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12934 if (arg2
== NULL
) {
12935 PyErr_SetString(PyExc_TypeError
,"null reference");
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 (arg1
)->SetPen((wxPen
const &)*arg2
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 Py_INCREF(Py_None
); resultobj
= Py_None
;
12952 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxDC
*arg1
= (wxDC
*) 0 ;
12955 wxBrush
*arg2
= 0 ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self",(char *) "brush", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12968 if (arg2
== NULL
) {
12969 PyErr_SetString(PyExc_TypeError
,"null reference");
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 Py_INCREF(Py_None
); resultobj
= Py_None
;
12986 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxDC
*arg1
= (wxDC
*) 0 ;
12989 wxBrush
*arg2
= 0 ;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self",(char *) "brush", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13002 if (arg2
== NULL
) {
13003 PyErr_SetString(PyExc_TypeError
,"null reference");
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 Py_INCREF(Py_None
); resultobj
= Py_None
;
13020 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxDC
*arg1
= (wxDC
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 char *kwnames
[] = {
13027 (char *) "self",(char *) "mode", NULL
13030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13033 arg2
= (int)SWIG_As_int(obj1
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 (arg1
)->SetBackgroundMode(arg2
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 Py_INCREF(Py_None
); resultobj
= Py_None
;
13049 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxDC
*arg1
= (wxDC
*) 0 ;
13052 wxPalette
*arg2
= 0 ;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self",(char *) "palette", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13065 if (arg2
== NULL
) {
13066 PyErr_SetString(PyExc_TypeError
,"null reference");
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxDC
*arg1
= (wxDC
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 (arg1
)->DestroyClippingRegion();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 Py_INCREF(Py_None
); resultobj
= Py_None
;
13108 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxDC
*arg1
= (wxDC
*) 0 ;
13111 int *arg2
= (int *) 0 ;
13112 int *arg3
= (int *) 0 ;
13113 int *arg4
= (int *) 0 ;
13114 int *arg5
= (int *) 0 ;
13123 PyObject
* obj0
= 0 ;
13124 char *kwnames
[] = {
13125 (char *) "self", NULL
13128 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13129 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13130 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13131 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 Py_INCREF(Py_None
); resultobj
= Py_None
;
13143 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13144 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13145 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13146 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13147 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13148 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13149 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13150 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13157 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxDC
*arg1
= (wxDC
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= wxDC_GetClippingRect(arg1
);
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 wxRect
* resultptr
;
13178 resultptr
= new wxRect((wxRect
&) result
);
13179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13187 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxDC
*arg1
= (wxDC
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_From_int((int)result
);
13213 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxDC
*arg1
= (wxDC
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_From_int((int)result
);
13239 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxDC
*arg1
= (wxDC
*) 0 ;
13242 wxString
*arg2
= 0 ;
13243 int *arg3
= (int *) 0 ;
13244 int *arg4
= (int *) 0 ;
13245 bool temp2
= false ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self",(char *) "string", NULL
13256 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13257 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13262 arg2
= wxString_in_helper(obj1
);
13263 if (arg2
== NULL
) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13275 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13276 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13277 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13292 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxDC
*arg1
= (wxDC
*) 0 ;
13295 wxString
*arg2
= 0 ;
13296 int *arg3
= (int *) 0 ;
13297 int *arg4
= (int *) 0 ;
13298 int *arg5
= (int *) 0 ;
13299 int *arg6
= (int *) 0 ;
13300 wxFont
*arg7
= (wxFont
*) NULL
;
13301 bool temp2
= false ;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 PyObject
* obj2
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "self",(char *) "string",(char *) "font", NULL
13317 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13318 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13319 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13320 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 arg2
= wxString_in_helper(obj1
);
13326 if (arg2
== NULL
) SWIG_fail
;
13330 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13341 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13342 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13343 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13344 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13345 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13346 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13347 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13348 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13363 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxDC
*arg1
= (wxDC
*) 0 ;
13366 wxString
*arg2
= 0 ;
13367 int *arg3
= (int *) 0 ;
13368 int *arg4
= (int *) 0 ;
13369 int *arg5
= (int *) 0 ;
13370 wxFont
*arg6
= (wxFont
*) NULL
;
13371 bool temp2
= false ;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 PyObject
* obj2
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "text",(char *) "font", NULL
13385 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13386 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13387 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13392 arg2
= wxString_in_helper(obj1
);
13393 if (arg2
== NULL
) SWIG_fail
;
13397 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 Py_INCREF(Py_None
); resultobj
= Py_None
;
13408 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13409 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13410 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13411 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13412 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13413 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13428 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxDC
*arg1
= (wxDC
*) 0 ;
13431 wxString
*arg2
= 0 ;
13433 bool temp2
= false ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "text", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13444 arg2
= wxString_in_helper(obj1
);
13445 if (arg2
== NULL
) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= PyList_New(0);
13458 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13459 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13460 PyList_Append(resultobj
, val
);
13478 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxDC
*arg1
= (wxDC
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (arg1
)->GetSize();
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13498 wxSize
* resultptr
;
13499 resultptr
= new wxSize((wxSize
&) result
);
13500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13508 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxDC
*arg1
= (wxDC
*) 0 ;
13511 int *arg2
= (int *) 0 ;
13512 int *arg3
= (int *) 0 ;
13517 PyObject
* obj0
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self", NULL
13522 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13523 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 (arg1
)->GetSize(arg2
,arg3
);
13531 wxPyEndAllowThreads(__tstate
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13534 Py_INCREF(Py_None
); resultobj
= Py_None
;
13535 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13536 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13537 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13538 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13545 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
;
13547 wxDC
*arg1
= (wxDC
*) 0 ;
13549 PyObject
* obj0
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13565 wxSize
* resultptr
;
13566 resultptr
= new wxSize((wxSize
&) result
);
13567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13575 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
;
13577 wxDC
*arg1
= (wxDC
*) 0 ;
13578 int *arg2
= (int *) 0 ;
13579 int *arg3
= (int *) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self", NULL
13589 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13590 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 Py_INCREF(Py_None
); resultobj
= Py_None
;
13602 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13603 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13604 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13605 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13612 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
;
13614 wxDC
*arg1
= (wxDC
*) 0 ;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self",(char *) "x", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13626 arg2
= (int)SWIG_As_int(obj1
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_From_int((int)result
);
13642 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxDC
*arg1
= (wxDC
*) 0 ;
13647 PyObject
* obj0
= 0 ;
13648 PyObject
* obj1
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self",(char *) "y", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 arg2
= (int)SWIG_As_int(obj1
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_From_int((int)result
);
13672 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
;
13674 wxDC
*arg1
= (wxDC
*) 0 ;
13677 PyObject
* obj0
= 0 ;
13678 PyObject
* obj1
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self",(char *) "x", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13686 arg2
= (int)SWIG_As_int(obj1
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= SWIG_From_int((int)result
);
13702 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxDC
*arg1
= (wxDC
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self",(char *) "y", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13716 arg2
= (int)SWIG_As_int(obj1
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_From_int((int)result
);
13732 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxDC
*arg1
= (wxDC
*) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 PyObject
* obj1
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self",(char *) "x", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13746 arg2
= (int)SWIG_As_int(obj1
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_From_int((int)result
);
13762 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxDC
*arg1
= (wxDC
*) 0 ;
13767 PyObject
* obj0
= 0 ;
13768 PyObject
* obj1
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self",(char *) "y", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13776 arg2
= (int)SWIG_As_int(obj1
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= SWIG_From_int((int)result
);
13792 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxDC
*arg1
= (wxDC
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 PyObject
* obj1
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self",(char *) "x", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 arg2
= (int)SWIG_As_int(obj1
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_From_int((int)result
);
13822 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxDC
*arg1
= (wxDC
*) 0 ;
13827 PyObject
* obj0
= 0 ;
13828 PyObject
* obj1
= 0 ;
13829 char *kwnames
[] = {
13830 (char *) "self",(char *) "y", NULL
13833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13836 arg2
= (int)SWIG_As_int(obj1
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_From_int((int)result
);
13852 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxDC
*arg1
= (wxDC
*) 0 ;
13856 PyObject
* obj0
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13880 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
;
13882 wxDC
*arg1
= (wxDC
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13908 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxDC
*arg1
= (wxDC
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_From_int((int)result
);
13934 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxDC
*arg1
= (wxDC
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= ((wxDC
const *)arg1
)->GetPPI();
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13954 wxSize
* resultptr
;
13955 resultptr
= new wxSize((wxSize
&) result
);
13956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13964 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
;
13966 wxDC
*arg1
= (wxDC
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self", NULL
13973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (bool)((wxDC
const *)arg1
)->Ok();
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13992 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
;
13994 wxDC
*arg1
= (wxDC
*) 0 ;
13996 PyObject
* obj0
= 0 ;
13997 char *kwnames
[] = {
13998 (char *) "self", NULL
14001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= SWIG_From_int((int)result
);
14018 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxDC
*arg1
= (wxDC
*) 0 ;
14022 PyObject
* obj0
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14034 result
= (wxBrush
*) &_result_ref
;
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14041 wxBrush
* resultptr
= new wxBrush(*result
);
14042 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14050 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxDC
*arg1
= (wxDC
*) 0 ;
14054 PyObject
* obj0
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14066 result
= (wxBrush
*) &_result_ref
;
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14073 wxBrush
* resultptr
= new wxBrush(*result
);
14074 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14082 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxDC
*arg1
= (wxDC
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14098 result
= (wxFont
*) &_result_ref
;
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14105 wxFont
* resultptr
= new wxFont(*result
);
14106 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14114 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxDC
*arg1
= (wxDC
*) 0 ;
14118 PyObject
* obj0
= 0 ;
14119 char *kwnames
[] = {
14120 (char *) "self", NULL
14123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14130 result
= (wxPen
*) &_result_ref
;
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14137 wxPen
* resultptr
= new wxPen(*result
);
14138 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14146 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxDC
*arg1
= (wxDC
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14162 result
= (wxColour
*) &_result_ref
;
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14175 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxDC
*arg1
= (wxDC
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14191 result
= (wxColour
*) &_result_ref
;
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14204 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxDC
*arg1
= (wxDC
*) 0 ;
14207 wxColour
*arg2
= 0 ;
14209 PyObject
* obj0
= 0 ;
14210 PyObject
* obj1
= 0 ;
14211 char *kwnames
[] = {
14212 (char *) "self",(char *) "colour", NULL
14215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 Py_INCREF(Py_None
); resultobj
= Py_None
;
14236 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxDC
*arg1
= (wxDC
*) 0 ;
14239 wxColour
*arg2
= 0 ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self",(char *) "colour", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14252 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 Py_INCREF(Py_None
); resultobj
= Py_None
;
14268 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxDC
*arg1
= (wxDC
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14282 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_From_int((int)result
);
14294 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxDC
*arg1
= (wxDC
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self",(char *) "mode", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14307 arg2
= (int)SWIG_As_int(obj1
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 (arg1
)->SetMapMode(arg2
);
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 Py_INCREF(Py_None
); resultobj
= Py_None
;
14323 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxDC
*arg1
= (wxDC
*) 0 ;
14326 double *arg2
= (double *) 0 ;
14327 double *arg3
= (double *) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14338 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14346 wxPyEndAllowThreads(__tstate
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14351 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14352 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14353 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14360 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxDC
*arg1
= (wxDC
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj1
= 0 ;
14367 PyObject
* obj2
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "self",(char *) "x",(char *) "y", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 arg2
= (double)SWIG_As_double(obj1
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14377 arg3
= (double)SWIG_As_double(obj2
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 (arg1
)->SetUserScale(arg2
,arg3
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 Py_INCREF(Py_None
); resultobj
= Py_None
;
14393 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxDC
*arg1
= (wxDC
*) 0 ;
14396 double *arg2
= (double *) 0 ;
14397 double *arg3
= (double *) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 char *kwnames
[] = {
14404 (char *) "self", NULL
14407 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14408 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 (arg1
)->GetLogicalScale(arg2
,arg3
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 Py_INCREF(Py_None
); resultobj
= Py_None
;
14420 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14421 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14422 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14423 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14430 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxDC
*arg1
= (wxDC
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 PyObject
* obj1
= 0 ;
14437 PyObject
* obj2
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self",(char *) "x",(char *) "y", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 arg2
= (double)SWIG_As_double(obj1
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14447 arg3
= (double)SWIG_As_double(obj2
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 (arg1
)->SetLogicalScale(arg2
,arg3
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 Py_INCREF(Py_None
); resultobj
= Py_None
;
14463 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxDC
*arg1
= (wxDC
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14483 wxPoint
* resultptr
;
14484 resultptr
= new wxPoint((wxPoint
&) result
);
14485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14493 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxDC
*arg1
= (wxDC
*) 0 ;
14496 int *arg2
= (int *) 0 ;
14497 int *arg3
= (int *) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14508 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14521 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14522 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14523 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14530 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxDC
*arg1
= (wxDC
*) 0 ;
14535 PyObject
* obj0
= 0 ;
14536 PyObject
* obj1
= 0 ;
14537 PyObject
* obj2
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self",(char *) "x",(char *) "y", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14545 arg2
= (int)SWIG_As_int(obj1
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14547 arg3
= (int)SWIG_As_int(obj2
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxDC
*arg1
= (wxDC
*) 0 ;
14566 wxPoint
*arg2
= 0 ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "point", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 Py_INCREF(Py_None
); resultobj
= Py_None
;
14595 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxDC
*arg1
= (wxDC
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 wxPoint
* resultptr
;
14616 resultptr
= new wxPoint((wxPoint
&) result
);
14617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14625 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxDC
*arg1
= (wxDC
*) 0 ;
14628 int *arg2
= (int *) 0 ;
14629 int *arg3
= (int *) 0 ;
14634 PyObject
* obj0
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self", NULL
14639 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14640 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14652 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14653 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14654 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14655 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14662 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxDC
*arg1
= (wxDC
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 PyObject
* obj2
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self",(char *) "x",(char *) "y", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 arg2
= (int)SWIG_As_int(obj1
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14679 arg3
= (int)SWIG_As_int(obj2
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 Py_INCREF(Py_None
); resultobj
= Py_None
;
14695 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxDC
*arg1
= (wxDC
*) 0 ;
14698 wxPoint
*arg2
= 0 ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self",(char *) "point", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14727 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxDC
*arg1
= (wxDC
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 PyObject
* obj2
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 arg2
= (bool)SWIG_As_bool(obj1
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14744 arg3
= (bool)SWIG_As_bool(obj2
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 Py_INCREF(Py_None
); resultobj
= Py_None
;
14760 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxDC
*arg1
= (wxDC
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= SWIG_From_int((int)result
);
14786 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14787 PyObject
*resultobj
;
14788 wxDC
*arg1
= (wxDC
*) 0 ;
14790 PyObject
* obj0
= 0 ;
14791 PyObject
* obj1
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self",(char *) "function", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 arg2
= (int)SWIG_As_int(obj1
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 (arg1
)->SetLogicalFunction(arg2
);
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 Py_INCREF(Py_None
); resultobj
= Py_None
;
14815 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxDC
*arg1
= (wxDC
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self",(char *) "optimize", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 arg2
= (bool)SWIG_As_bool(obj1
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 (arg1
)->SetOptimization(arg2
);
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 Py_INCREF(Py_None
); resultobj
= Py_None
;
14844 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
;
14846 wxDC
*arg1
= (wxDC
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (bool)(arg1
)->GetOptimization();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14872 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxDC
*arg1
= (wxDC
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 PyObject
* obj2
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self",(char *) "x",(char *) "y", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14887 arg2
= (int)SWIG_As_int(obj1
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14889 arg3
= (int)SWIG_As_int(obj2
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 Py_INCREF(Py_None
); resultobj
= Py_None
;
14905 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
;
14907 wxDC
*arg1
= (wxDC
*) 0 ;
14908 wxPoint
*arg2
= 0 ;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj1
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "self",(char *) "point", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 Py_INCREF(Py_None
); resultobj
= Py_None
;
14937 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxDC
*arg1
= (wxDC
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 (arg1
)->ResetBoundingBox();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 Py_INCREF(Py_None
); resultobj
= Py_None
;
14962 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxDC
*arg1
= (wxDC
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (int)((wxDC
const *)arg1
)->MinX();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_From_int((int)result
);
14988 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
;
14990 wxDC
*arg1
= (wxDC
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (int)((wxDC
const *)arg1
)->MaxX();
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_From_int((int)result
);
15014 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxDC
*arg1
= (wxDC
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= (int)((wxDC
const *)arg1
)->MinY();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_From_int((int)result
);
15040 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
;
15042 wxDC
*arg1
= (wxDC
*) 0 ;
15044 PyObject
* obj0
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "self", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (int)((wxDC
const *)arg1
)->MaxY();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_From_int((int)result
);
15066 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxDC
*arg1
= (wxDC
*) 0 ;
15069 int *arg2
= (int *) 0 ;
15070 int *arg3
= (int *) 0 ;
15071 int *arg4
= (int *) 0 ;
15072 int *arg5
= (int *) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 char *kwnames
[] = {
15083 (char *) "self", NULL
15086 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15087 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15088 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15089 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 Py_INCREF(Py_None
); resultobj
= Py_None
;
15101 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15102 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15103 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15104 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15105 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15106 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15107 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15108 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15115 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxDC
*arg1
= (wxDC
*) 0 ;
15118 PyObject
*arg2
= (PyObject
*) 0 ;
15119 PyObject
*arg3
= (PyObject
*) 0 ;
15120 PyObject
*arg4
= (PyObject
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 PyObject
* obj1
= 0 ;
15124 PyObject
* obj2
= 0 ;
15125 PyObject
* obj3
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= result
;
15150 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxDC
*arg1
= (wxDC
*) 0 ;
15153 PyObject
*arg2
= (PyObject
*) 0 ;
15154 PyObject
*arg3
= (PyObject
*) 0 ;
15155 PyObject
*arg4
= (PyObject
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 PyObject
* obj2
= 0 ;
15160 PyObject
* obj3
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= result
;
15185 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxDC
*arg1
= (wxDC
*) 0 ;
15188 PyObject
*arg2
= (PyObject
*) 0 ;
15189 PyObject
*arg3
= (PyObject
*) 0 ;
15190 PyObject
*arg4
= (PyObject
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 PyObject
* obj2
= 0 ;
15195 PyObject
* obj3
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= result
;
15220 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxDC
*arg1
= (wxDC
*) 0 ;
15223 PyObject
*arg2
= (PyObject
*) 0 ;
15224 PyObject
*arg3
= (PyObject
*) 0 ;
15225 PyObject
*arg4
= (PyObject
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 PyObject
* obj2
= 0 ;
15230 PyObject
* obj3
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= result
;
15255 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
;
15257 wxDC
*arg1
= (wxDC
*) 0 ;
15258 PyObject
*arg2
= (PyObject
*) 0 ;
15259 PyObject
*arg3
= (PyObject
*) 0 ;
15260 PyObject
*arg4
= (PyObject
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 PyObject
* obj2
= 0 ;
15265 PyObject
* obj3
= 0 ;
15266 char *kwnames
[] = {
15267 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= result
;
15290 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxDC
*arg1
= (wxDC
*) 0 ;
15293 PyObject
*arg2
= (PyObject
*) 0 ;
15294 PyObject
*arg3
= (PyObject
*) 0 ;
15295 PyObject
*arg4
= (PyObject
*) 0 ;
15296 PyObject
*arg5
= (PyObject
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 PyObject
* obj1
= 0 ;
15300 PyObject
* obj2
= 0 ;
15301 PyObject
* obj3
= 0 ;
15302 PyObject
* obj4
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= result
;
15328 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15331 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15333 return Py_BuildValue((char *)"");
15335 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxMemoryDC
*result
;
15338 char *kwnames
[] = {
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15344 if (!wxPyCheckForApp()) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (wxMemoryDC
*)new wxMemoryDC();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15358 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxDC
*arg1
= (wxDC
*) 0 ;
15361 wxMemoryDC
*result
;
15362 PyObject
* obj0
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "oldDC", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15371 if (!wxPyCheckForApp()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15385 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15386 PyObject
*resultobj
;
15387 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15388 wxBitmap
*arg2
= 0 ;
15389 PyObject
* obj0
= 0 ;
15390 PyObject
* obj1
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self",(char *) "bitmap", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15399 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15401 if (arg2
== NULL
) {
15402 PyErr_SetString(PyExc_TypeError
,"null reference");
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 Py_INCREF(Py_None
); resultobj
= Py_None
;
15419 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15422 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15424 return Py_BuildValue((char *)"");
15426 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15427 PyObject
*resultobj
;
15428 wxDC
*arg1
= (wxDC
*) 0 ;
15429 wxBitmap
*arg2
= 0 ;
15430 wxBufferedDC
*result
;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15434 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15440 if (arg2
== NULL
) {
15441 PyErr_SetString(PyExc_TypeError
,"null reference");
15445 if (!wxPyCheckForApp()) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15459 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15460 PyObject
*resultobj
;
15461 wxDC
*arg1
= (wxDC
*) 0 ;
15463 wxBufferedDC
*result
;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15468 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15476 if (!wxPyCheckForApp()) SWIG_fail
;
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15490 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15495 argc
= PyObject_Length(args
);
15496 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15497 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15503 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15513 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15521 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15529 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15538 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15541 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15546 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15551 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15554 PyObject
* obj0
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 Py_INCREF(Py_None
); resultobj
= Py_None
;
15601 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15604 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15606 return Py_BuildValue((char *)"");
15608 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxWindow
*arg1
= (wxWindow
*) 0 ;
15611 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15612 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15613 wxBufferedPaintDC
*result
;
15614 PyObject
* obj0
= 0 ;
15615 PyObject
* obj1
= 0 ;
15616 char *kwnames
[] = {
15617 (char *) "window",(char *) "buffer", NULL
15620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15627 if (arg2
== NULL
) {
15628 PyErr_SetString(PyExc_TypeError
,"null reference");
15633 if (!wxPyCheckForApp()) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15647 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15650 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15652 return Py_BuildValue((char *)"");
15654 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxScreenDC
*result
;
15657 char *kwnames
[] = {
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15663 if (!wxPyCheckForApp()) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (wxScreenDC
*)new wxScreenDC();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15677 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15680 wxWindow
*arg2
= (wxWindow
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self",(char *) "window", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15709 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15712 wxRect
*arg2
= (wxRect
*) NULL
;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "self",(char *) "rect", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15743 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (bool)(arg1
)->EndDrawingOnTop();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15771 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15774 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15776 return Py_BuildValue((char *)"");
15778 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxWindow
*arg1
= (wxWindow
*) 0 ;
15781 wxClientDC
*result
;
15782 PyObject
* obj0
= 0 ;
15783 char *kwnames
[] = {
15784 (char *) "win", NULL
15787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15791 if (!wxPyCheckForApp()) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (wxClientDC
*)new wxClientDC(arg1
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15805 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15808 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15810 return Py_BuildValue((char *)"");
15812 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxWindow
*arg1
= (wxWindow
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "win", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 if (!wxPyCheckForApp()) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15839 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15842 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15844 return Py_BuildValue((char *)"");
15846 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxWindow
*arg1
= (wxWindow
*) 0 ;
15849 wxWindowDC
*result
;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "win", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15859 if (!wxPyCheckForApp()) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15873 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15876 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15878 return Py_BuildValue((char *)"");
15880 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15884 wxMirrorDC
*result
;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "dc",(char *) "mirror", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15895 if (arg1
== NULL
) {
15896 PyErr_SetString(PyExc_TypeError
,"null reference");
15899 arg2
= (bool)SWIG_As_bool(obj1
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 if (!wxPyCheckForApp()) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15916 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15919 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15921 return Py_BuildValue((char *)"");
15923 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxPrintData
*arg1
= 0 ;
15926 wxPostScriptDC
*result
;
15927 PyObject
* obj0
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "printData", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15936 if (arg1
== NULL
) {
15937 PyErr_SetString(PyExc_TypeError
,"null reference");
15941 if (!wxPyCheckForApp()) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15955 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15958 wxPrintData
*result
;
15959 PyObject
* obj0
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15971 result
= (wxPrintData
*) &_result_ref
;
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15984 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15987 wxPrintData
*arg2
= 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self",(char *) "data", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16000 if (arg2
== NULL
) {
16001 PyErr_SetString(PyExc_TypeError
,"null reference");
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 Py_INCREF(Py_None
); resultobj
= Py_None
;
16018 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16021 PyObject
* obj0
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "ppi", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16027 arg1
= (int)SWIG_As_int(obj0
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 wxPostScriptDC::SetResolution(arg1
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 Py_INCREF(Py_None
); resultobj
= Py_None
;
16043 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16046 char *kwnames
[] = {
16050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (int)wxPostScriptDC::GetResolution();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= SWIG_From_int((int)result
);
16065 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16068 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16070 return Py_BuildValue((char *)"");
16072 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16075 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16076 wxMetaFile
*result
;
16077 bool temp1
= false ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "filename", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16086 arg1
= wxString_in_helper(obj0
);
16087 if (arg1
== NULL
) SWIG_fail
;
16092 if (!wxPyCheckForApp()) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16114 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16117 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16119 return Py_BuildValue((char *)"");
16121 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16124 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16125 int arg2
= (int) 0 ;
16126 int arg3
= (int) 0 ;
16127 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16128 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16129 wxMetaFileDC
*result
;
16130 bool temp1
= false ;
16131 bool temp4
= false ;
16132 PyObject
* obj0
= 0 ;
16133 PyObject
* obj1
= 0 ;
16134 PyObject
* obj2
= 0 ;
16135 PyObject
* obj3
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16143 arg1
= wxString_in_helper(obj0
);
16144 if (arg1
== NULL
) SWIG_fail
;
16149 arg2
= (int)SWIG_As_int(obj1
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 arg3
= (int)SWIG_As_int(obj2
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16158 arg4
= wxString_in_helper(obj3
);
16159 if (arg4
== NULL
) SWIG_fail
;
16164 if (!wxPyCheckForApp()) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16194 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16197 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16199 return Py_BuildValue((char *)"");
16201 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxPrintData
*arg1
= 0 ;
16204 wxPrinterDC
*result
;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "printData", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16214 if (arg1
== NULL
) {
16215 PyErr_SetString(PyExc_TypeError
,"null reference");
16219 if (!wxPyCheckForApp()) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16233 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16236 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16238 return Py_BuildValue((char *)"");
16240 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
;
16244 int arg3
= (int) true ;
16245 int arg4
= (int) 1 ;
16246 wxImageList
*result
;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 PyObject
* obj2
= 0 ;
16250 PyObject
* obj3
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16256 arg1
= (int)SWIG_As_int(obj0
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16258 arg2
= (int)SWIG_As_int(obj1
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 arg3
= (int)SWIG_As_int(obj2
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 arg4
= (int)SWIG_As_int(obj3
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16269 if (!wxPyCheckForApp()) SWIG_fail
;
16270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16271 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= wxPyMake_wxObject(result
, 1);
16285 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxImageList
*arg1
= (wxImageList
*) 0 ;
16288 PyObject
* obj0
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxImageList
*arg1
= (wxImageList
*) 0 ;
16313 wxBitmap
*arg2
= 0 ;
16314 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16315 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16317 PyObject
* obj0
= 0 ;
16318 PyObject
* obj1
= 0 ;
16319 PyObject
* obj2
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16330 if (arg2
== NULL
) {
16331 PyErr_SetString(PyExc_TypeError
,"null reference");
16335 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16338 if (arg3
== NULL
) {
16339 PyErr_SetString(PyExc_TypeError
,"null reference");
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= SWIG_From_int((int)result
);
16357 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxImageList
*arg1
= (wxImageList
*) 0 ;
16360 wxBitmap
*arg2
= 0 ;
16361 wxColour
*arg3
= 0 ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 PyObject
* obj2
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16377 if (arg2
== NULL
) {
16378 PyErr_SetString(PyExc_TypeError
,"null reference");
16383 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= SWIG_From_int((int)result
);
16399 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxImageList
*arg1
= (wxImageList
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "icon", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16416 if (arg2
== NULL
) {
16417 PyErr_SetString(PyExc_TypeError
,"null reference");
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= SWIG_From_int((int)result
);
16434 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxImageList
*arg1
= (wxImageList
*) 0 ;
16438 wxBitmap
*arg3
= 0 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 PyObject
* obj2
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16450 arg2
= (int)SWIG_As_int(obj1
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16452 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16455 if (arg3
== NULL
) {
16456 PyErr_SetString(PyExc_TypeError
,"null reference");
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16475 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxImageList
*arg1
= (wxImageList
*) 0 ;
16482 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16483 bool arg7
= (bool) (bool)false ;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 PyObject
* obj2
= 0 ;
16488 PyObject
* obj3
= 0 ;
16489 PyObject
* obj4
= 0 ;
16490 PyObject
* obj5
= 0 ;
16491 PyObject
* obj6
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16499 arg2
= (int)SWIG_As_int(obj1
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16501 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16504 if (arg3
== NULL
) {
16505 PyErr_SetString(PyExc_TypeError
,"null reference");
16508 arg4
= (int)SWIG_As_int(obj3
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16510 arg5
= (int)SWIG_As_int(obj4
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 arg6
= (int)SWIG_As_int(obj5
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16517 arg7
= (bool)SWIG_As_bool(obj6
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16536 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxImageList
*arg1
= (wxImageList
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (int)(arg1
)->GetImageCount();
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= SWIG_From_int((int)result
);
16562 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxImageList
*arg1
= (wxImageList
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self",(char *) "index", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16576 arg2
= (int)SWIG_As_int(obj1
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (bool)(arg1
)->Remove(arg2
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16594 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxImageList
*arg1
= (wxImageList
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 result
= (bool)(arg1
)->RemoveAll();
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16622 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxImageList
*arg1
= (wxImageList
*) 0 ;
16632 PyObject
* obj0
= 0 ;
16633 PyObject
* obj1
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self",(char *) "index", NULL
16638 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16639 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16643 arg2
= (int)SWIG_As_int(obj1
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 Py_INCREF(Py_None
); resultobj
= Py_None
;
16653 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16654 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16655 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16656 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16663 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16666 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16668 return Py_BuildValue((char *)"");
16670 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16671 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16676 static PyObject
*_wrap_NORMAL_FONT_get() {
16679 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16684 static int _wrap_SMALL_FONT_set(PyObject
*) {
16685 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16690 static PyObject
*_wrap_SMALL_FONT_get() {
16693 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16698 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16699 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16704 static PyObject
*_wrap_ITALIC_FONT_get() {
16707 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16712 static int _wrap_SWISS_FONT_set(PyObject
*) {
16713 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16718 static PyObject
*_wrap_SWISS_FONT_get() {
16721 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16726 static int _wrap_RED_PEN_set(PyObject
*) {
16727 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16732 static PyObject
*_wrap_RED_PEN_get() {
16735 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16740 static int _wrap_CYAN_PEN_set(PyObject
*) {
16741 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16746 static PyObject
*_wrap_CYAN_PEN_get() {
16749 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16754 static int _wrap_GREEN_PEN_set(PyObject
*) {
16755 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16760 static PyObject
*_wrap_GREEN_PEN_get() {
16763 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16768 static int _wrap_BLACK_PEN_set(PyObject
*) {
16769 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16774 static PyObject
*_wrap_BLACK_PEN_get() {
16777 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16782 static int _wrap_WHITE_PEN_set(PyObject
*) {
16783 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16788 static PyObject
*_wrap_WHITE_PEN_get() {
16791 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16796 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16797 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16802 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16805 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16810 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16811 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16816 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16819 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16824 static int _wrap_GREY_PEN_set(PyObject
*) {
16825 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16830 static PyObject
*_wrap_GREY_PEN_get() {
16833 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16838 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16839 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16844 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16847 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16852 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16853 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16858 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16861 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16866 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16867 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16872 static PyObject
*_wrap_BLUE_BRUSH_get() {
16875 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16880 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16881 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16886 static PyObject
*_wrap_GREEN_BRUSH_get() {
16889 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16894 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16895 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16900 static PyObject
*_wrap_WHITE_BRUSH_get() {
16903 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16908 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16909 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16914 static PyObject
*_wrap_BLACK_BRUSH_get() {
16917 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16922 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16923 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16928 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16931 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16936 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16937 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16942 static PyObject
*_wrap_CYAN_BRUSH_get() {
16945 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16950 static int _wrap_RED_BRUSH_set(PyObject
*) {
16951 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16956 static PyObject
*_wrap_RED_BRUSH_get() {
16959 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16964 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16965 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16970 static PyObject
*_wrap_GREY_BRUSH_get() {
16973 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16978 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16979 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16984 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16987 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16992 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16993 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16998 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17001 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17006 static int _wrap_BLACK_set(PyObject
*) {
17007 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17012 static PyObject
*_wrap_BLACK_get() {
17015 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17020 static int _wrap_WHITE_set(PyObject
*) {
17021 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17026 static PyObject
*_wrap_WHITE_get() {
17029 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17034 static int _wrap_RED_set(PyObject
*) {
17035 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17040 static PyObject
*_wrap_RED_get() {
17043 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17048 static int _wrap_BLUE_set(PyObject
*) {
17049 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17054 static PyObject
*_wrap_BLUE_get() {
17057 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17062 static int _wrap_GREEN_set(PyObject
*) {
17063 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17068 static PyObject
*_wrap_GREEN_get() {
17071 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17076 static int _wrap_CYAN_set(PyObject
*) {
17077 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17082 static PyObject
*_wrap_CYAN_get() {
17085 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17090 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17091 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17096 static PyObject
*_wrap_LIGHT_GREY_get() {
17099 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17104 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17105 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17110 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17113 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17118 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17119 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17124 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17127 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17132 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17133 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17138 static PyObject
*_wrap_CROSS_CURSOR_get() {
17141 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17146 static int _wrap_NullBitmap_set(PyObject
*) {
17147 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17152 static PyObject
*_wrap_NullBitmap_get() {
17155 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17160 static int _wrap_NullIcon_set(PyObject
*) {
17161 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17166 static PyObject
*_wrap_NullIcon_get() {
17169 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17174 static int _wrap_NullCursor_set(PyObject
*) {
17175 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17180 static PyObject
*_wrap_NullCursor_get() {
17183 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17188 static int _wrap_NullPen_set(PyObject
*) {
17189 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17194 static PyObject
*_wrap_NullPen_get() {
17197 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17202 static int _wrap_NullBrush_set(PyObject
*) {
17203 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17208 static PyObject
*_wrap_NullBrush_get() {
17211 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17216 static int _wrap_NullPalette_set(PyObject
*) {
17217 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17222 static PyObject
*_wrap_NullPalette_get() {
17225 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17230 static int _wrap_NullFont_set(PyObject
*) {
17231 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17236 static PyObject
*_wrap_NullFont_get() {
17239 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17244 static int _wrap_NullColour_set(PyObject
*) {
17245 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17250 static PyObject
*_wrap_NullColour_get() {
17253 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17258 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxPenList
*arg1
= (wxPenList
*) 0 ;
17261 wxPen
*arg2
= (wxPen
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self",(char *) "pen", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 (arg1
)->AddPen(arg2
);
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 Py_INCREF(Py_None
); resultobj
= Py_None
;
17287 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxPenList
*arg1
= (wxPenList
*) 0 ;
17290 wxColour
*arg2
= 0 ;
17295 PyObject
* obj0
= 0 ;
17296 PyObject
* obj1
= 0 ;
17297 PyObject
* obj2
= 0 ;
17298 PyObject
* obj3
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17310 arg3
= (int)SWIG_As_int(obj2
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17312 arg4
= (int)SWIG_As_int(obj3
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17328 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxPenList
*arg1
= (wxPenList
*) 0 ;
17331 wxPen
*arg2
= (wxPen
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "pen", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 (arg1
)->RemovePen(arg2
);
17347 wxPyEndAllowThreads(__tstate
);
17348 if (PyErr_Occurred()) SWIG_fail
;
17350 Py_INCREF(Py_None
); resultobj
= Py_None
;
17357 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17358 PyObject
*resultobj
;
17359 wxPenList
*arg1
= (wxPenList
*) 0 ;
17361 PyObject
* obj0
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "self", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (int)(arg1
)->GetCount();
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_From_int((int)result
);
17383 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17386 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17388 return Py_BuildValue((char *)"");
17390 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17392 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17393 wxBrush
*arg2
= (wxBrush
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 char *kwnames
[] = {
17397 (char *) "self",(char *) "brush", NULL
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 (arg1
)->AddBrush(arg2
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17412 Py_INCREF(Py_None
); resultobj
= Py_None
;
17419 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
;
17421 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17422 wxColour
*arg2
= 0 ;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 PyObject
* obj2
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self",(char *) "colour",(char *) "style", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17440 arg3
= (int)SWIG_As_int(obj2
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17456 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17459 wxBrush
*arg2
= (wxBrush
*) 0 ;
17460 PyObject
* obj0
= 0 ;
17461 PyObject
* obj1
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self",(char *) "brush", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 (arg1
)->RemoveBrush(arg2
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 Py_INCREF(Py_None
); resultobj
= Py_None
;
17485 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17486 PyObject
*resultobj
;
17487 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 result
= (int)(arg1
)->GetCount();
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= SWIG_From_int((int)result
);
17511 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17514 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17516 return Py_BuildValue((char *)"");
17518 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxColourDatabase
*result
;
17521 char *kwnames
[] = {
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17527 if (!wxPyCheckForApp()) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (wxColourDatabase
*)new wxColourDatabase();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17541 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
;
17543 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17544 PyObject
* obj0
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 Py_INCREF(Py_None
); resultobj
= Py_None
;
17566 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17567 PyObject
*resultobj
;
17568 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17569 wxString
*arg2
= 0 ;
17571 bool temp2
= false ;
17572 PyObject
* obj0
= 0 ;
17573 PyObject
* obj1
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self",(char *) "name", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17582 arg2
= wxString_in_helper(obj1
);
17583 if (arg2
== NULL
) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 wxColour
* resultptr
;
17595 resultptr
= new wxColour((wxColour
&) result
);
17596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17612 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17615 wxColour
*arg2
= 0 ;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 char *kwnames
[] = {
17621 (char *) "self",(char *) "colour", NULL
17624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17651 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17654 wxString
*arg2
= 0 ;
17655 wxColour
*arg3
= 0 ;
17656 bool temp2
= false ;
17658 PyObject
* obj0
= 0 ;
17659 PyObject
* obj1
= 0 ;
17660 PyObject
* obj2
= 0 ;
17661 char *kwnames
[] = {
17662 (char *) "self",(char *) "name",(char *) "colour", NULL
17665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17669 arg2
= wxString_in_helper(obj1
);
17670 if (arg2
== NULL
) SWIG_fail
;
17675 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 Py_INCREF(Py_None
); resultobj
= Py_None
;
17699 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17702 wxString
*arg2
= 0 ;
17706 bool temp2
= false ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 PyObject
* obj2
= 0 ;
17710 PyObject
* obj3
= 0 ;
17711 PyObject
* obj4
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 arg2
= wxString_in_helper(obj1
);
17721 if (arg2
== NULL
) SWIG_fail
;
17724 arg3
= (int)SWIG_As_int(obj2
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17726 arg4
= (int)SWIG_As_int(obj3
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17728 arg5
= (int)SWIG_As_int(obj4
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 Py_INCREF(Py_None
); resultobj
= Py_None
;
17752 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17755 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17757 return Py_BuildValue((char *)"");
17759 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxFontList
*arg1
= (wxFontList
*) 0 ;
17762 wxFont
*arg2
= (wxFont
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self",(char *) "font", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 (arg1
)->AddFont(arg2
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17781 Py_INCREF(Py_None
); resultobj
= Py_None
;
17788 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxFontList
*arg1
= (wxFontList
*) 0 ;
17795 bool arg6
= (bool) false ;
17796 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17797 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17798 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17800 bool temp7
= false ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 PyObject
* obj2
= 0 ;
17804 PyObject
* obj3
= 0 ;
17805 PyObject
* obj4
= 0 ;
17806 PyObject
* obj5
= 0 ;
17807 PyObject
* obj6
= 0 ;
17808 PyObject
* obj7
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 arg2
= (int)SWIG_As_int(obj1
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17818 arg3
= (int)SWIG_As_int(obj2
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17820 arg4
= (int)SWIG_As_int(obj3
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17822 arg5
= (int)SWIG_As_int(obj4
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 arg6
= (bool)SWIG_As_bool(obj5
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17830 arg7
= wxString_in_helper(obj6
);
17831 if (arg7
== NULL
) SWIG_fail
;
17836 arg8
= (int)SWIG_As_int(obj7
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17861 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxFontList
*arg1
= (wxFontList
*) 0 ;
17864 wxFont
*arg2
= (wxFont
*) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 PyObject
* obj1
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self",(char *) "font", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 (arg1
)->RemoveFont(arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxFontList
*arg1
= (wxFontList
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (int)(arg1
)->GetCount();
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_From_int((int)result
);
17916 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17919 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17921 return Py_BuildValue((char *)"");
17923 static int _wrap_TheFontList_set(PyObject
*) {
17924 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17929 static PyObject
*_wrap_TheFontList_get() {
17932 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17937 static int _wrap_ThePenList_set(PyObject
*) {
17938 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17943 static PyObject
*_wrap_ThePenList_get() {
17946 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17951 static int _wrap_TheBrushList_set(PyObject
*) {
17952 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17957 static PyObject
*_wrap_TheBrushList_get() {
17960 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17965 static int _wrap_TheColourDatabase_set(PyObject
*) {
17966 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17971 static PyObject
*_wrap_TheColourDatabase_get() {
17974 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17979 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17982 char *kwnames
[] = {
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (wxEffects
*)new wxEffects();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18001 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxEffects
*arg1
= (wxEffects
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18021 wxColour
* resultptr
;
18022 resultptr
= new wxColour((wxColour
&) result
);
18023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18031 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxEffects
*arg1
= (wxEffects
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18051 wxColour
* resultptr
;
18052 resultptr
= new wxColour((wxColour
&) result
);
18053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18061 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxEffects
*arg1
= (wxEffects
*) 0 ;
18065 PyObject
* obj0
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 wxColour
* resultptr
;
18082 resultptr
= new wxColour((wxColour
&) result
);
18083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18091 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxEffects
*arg1
= (wxEffects
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 wxColour
* resultptr
;
18112 resultptr
= new wxColour((wxColour
&) result
);
18113 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18121 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxEffects
*arg1
= (wxEffects
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18141 wxColour
* resultptr
;
18142 resultptr
= new wxColour((wxColour
&) result
);
18143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18151 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 wxEffects
*arg1
= (wxEffects
*) 0 ;
18154 wxColour
*arg2
= 0 ;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "self",(char *) "c", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18167 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 Py_INCREF(Py_None
); resultobj
= Py_None
;
18183 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxEffects
*arg1
= (wxEffects
*) 0 ;
18186 wxColour
*arg2
= 0 ;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "c", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18199 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 Py_INCREF(Py_None
); resultobj
= Py_None
;
18215 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxEffects
*arg1
= (wxEffects
*) 0 ;
18218 wxColour
*arg2
= 0 ;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self",(char *) "c", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18231 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 Py_INCREF(Py_None
); resultobj
= Py_None
;
18247 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxEffects
*arg1
= (wxEffects
*) 0 ;
18250 wxColour
*arg2
= 0 ;
18252 PyObject
* obj0
= 0 ;
18253 PyObject
* obj1
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "c", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18263 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 Py_INCREF(Py_None
); resultobj
= Py_None
;
18279 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxEffects
*arg1
= (wxEffects
*) 0 ;
18282 wxColour
*arg2
= 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self",(char *) "c", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 Py_INCREF(Py_None
); resultobj
= Py_None
;
18311 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxEffects
*arg1
= (wxEffects
*) 0 ;
18314 wxColour
*arg2
= 0 ;
18315 wxColour
*arg3
= 0 ;
18316 wxColour
*arg4
= 0 ;
18317 wxColour
*arg5
= 0 ;
18318 wxColour
*arg6
= 0 ;
18324 PyObject
* obj0
= 0 ;
18325 PyObject
* obj1
= 0 ;
18326 PyObject
* obj2
= 0 ;
18327 PyObject
* obj3
= 0 ;
18328 PyObject
* obj4
= 0 ;
18329 PyObject
* obj5
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18339 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18343 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18347 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18351 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18355 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 Py_INCREF(Py_None
); resultobj
= Py_None
;
18371 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxEffects
*arg1
= (wxEffects
*) 0 ;
18376 int arg4
= (int) 1 ;
18378 PyObject
* obj0
= 0 ;
18379 PyObject
* obj1
= 0 ;
18380 PyObject
* obj2
= 0 ;
18381 PyObject
* obj3
= 0 ;
18382 char *kwnames
[] = {
18383 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18392 if (arg2
== NULL
) {
18393 PyErr_SetString(PyExc_TypeError
,"null reference");
18398 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18401 arg4
= (int)SWIG_As_int(obj3
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 Py_INCREF(Py_None
); resultobj
= Py_None
;
18418 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxEffects
*arg1
= (wxEffects
*) 0 ;
18423 wxBitmap
*arg4
= 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 PyObject
* obj3
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18441 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18444 if (arg3
== NULL
) {
18445 PyErr_SetString(PyExc_TypeError
,"null reference");
18448 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18451 if (arg4
== NULL
) {
18452 PyErr_SetString(PyExc_TypeError
,"null reference");
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18471 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18474 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18476 return Py_BuildValue((char *)"");
18478 static PyMethodDef SwigMethods
[] = {
18479 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18480 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18485 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18486 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18492 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18500 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18502 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18503 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18508 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18524 { (char *)"Pen_GetDashCount", (PyCFunction
) _wrap_Pen_GetDashCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18525 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18528 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18529 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18532 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18533 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18534 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18538 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18539 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18540 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18541 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18547 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18565 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18567 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18583 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18591 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18592 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18599 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18603 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18605 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18606 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18608 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18632 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18634 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18644 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18648 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18649 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18655 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18668 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18672 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18681 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18682 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18701 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18716 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18742 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18749 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18750 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18753 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18754 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18757 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18778 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18779 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18781 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18789 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18842 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18850 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18851 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18858 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18864 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18866 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18907 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18914 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18918 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18919 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18922 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18923 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18926 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18928 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18931 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18933 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18934 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18935 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18936 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18937 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18938 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18939 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18940 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18941 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18943 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18944 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18945 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18947 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18948 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18949 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18950 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18951 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18952 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18953 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18954 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18955 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18956 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18957 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18958 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18960 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18962 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18964 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18965 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18966 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18968 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18969 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18970 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18973 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18974 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
18975 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18976 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18978 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18979 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18980 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
18982 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18984 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18985 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18986 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
18987 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18990 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18991 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18992 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18994 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18997 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18998 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18999 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19000 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19001 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19002 { NULL
, NULL
, 0, NULL
}
19006 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19008 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19009 return (void *)((wxWindow
*) ((wxControl
*) x
));
19011 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19012 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19014 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19015 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19017 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19018 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19020 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19021 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19023 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19024 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19026 static void *_p_wxPenTo_p_wxObject(void *x
) {
19027 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19029 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19030 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19032 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19033 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19035 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19036 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19038 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19039 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19041 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19044 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19045 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19047 static void *_p_wxIconTo_p_wxObject(void *x
) {
19048 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19050 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19053 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19056 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) ((wxSizer
*) x
));
19059 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19062 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19065 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) ((wxPenList
*) x
));
19068 static void *_p_wxEventTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) ((wxEvent
*) x
));
19071 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19074 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19077 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19080 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19083 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19086 static void *_p_wxDCTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) ((wxDC
*) x
));
19089 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19092 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19093 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19095 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19096 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19098 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19099 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19101 static void *_p_wxControlTo_p_wxObject(void *x
) {
19102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19104 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19105 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19107 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19108 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19110 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19111 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19113 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19114 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19116 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19117 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19119 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19120 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19122 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19123 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19125 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19126 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19128 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19129 return (void *)((wxObject
*) ((wxEffects
*) x
));
19131 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19132 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19134 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19137 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19138 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19140 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19141 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19143 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19144 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19146 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19147 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19149 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19150 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19152 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19153 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19155 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19156 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19158 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19159 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19161 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19162 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19164 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19165 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19167 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19168 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19170 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19171 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19173 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19176 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19179 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19182 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19183 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19185 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19188 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19189 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19191 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19192 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19194 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19195 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19197 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19198 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19200 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19201 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19203 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19204 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19206 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19207 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19209 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19210 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19212 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19213 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19215 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19216 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19218 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19219 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19221 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19222 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19224 static void *_p_wxImageTo_p_wxObject(void *x
) {
19225 return (void *)((wxObject
*) ((wxImage
*) x
));
19227 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19228 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19230 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19231 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19233 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19234 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19236 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19237 return (void *)((wxObject
*) ((wxImageList
*) x
));
19239 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19240 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19242 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19243 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19245 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19246 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19248 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19251 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19252 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19254 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19255 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19257 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19258 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19260 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19261 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19263 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19266 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19267 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19269 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19270 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19272 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19273 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19275 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19276 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19278 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19279 return (void *)((wxObject
*) ((wxMask
*) x
));
19281 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19282 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19284 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19285 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19287 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19288 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19290 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19291 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19293 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19294 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19296 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19297 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19299 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19300 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19302 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19303 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19305 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19306 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19308 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19309 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19311 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19314 static void *_p_wxFontTo_p_wxObject(void *x
) {
19315 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19317 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19318 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19320 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19321 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19323 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19324 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19326 static void *_p_wxColourTo_p_wxObject(void *x
) {
19327 return (void *)((wxObject
*) ((wxColour
*) x
));
19329 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19330 return (void *)((wxObject
*) ((wxFontList
*) x
));
19332 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19333 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19335 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19336 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19338 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19339 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19341 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19342 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19344 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19345 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19347 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19348 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19350 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19351 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19353 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19354 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19356 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19357 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19359 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19360 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19362 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19363 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19365 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19366 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19368 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19369 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19371 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19372 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19374 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19375 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19377 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19378 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19380 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19381 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19383 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19384 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19386 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19387 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19389 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19390 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19392 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19393 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19395 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19396 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19398 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}};
19399 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}};
19400 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}};
19401 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}};
19402 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}};
19403 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}};
19404 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}};
19405 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}};
19406 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}};
19407 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}};
19408 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}};
19409 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}};
19410 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}};
19411 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}};
19412 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}};
19413 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}};
19414 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}};
19415 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}};
19416 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}};
19417 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}};
19418 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}};
19419 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}};
19420 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}};
19421 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}};
19422 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}};
19423 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}};
19424 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}};
19425 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}};
19426 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}};
19427 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}};
19428 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}};
19429 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}};
19430 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}};
19431 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}};
19432 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}};
19433 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}};
19434 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}};
19435 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}};
19436 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}};
19437 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}};
19438 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}};
19439 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}};
19440 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}};
19441 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}};
19442 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}};
19443 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}};
19444 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}};
19445 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}};
19446 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}};
19447 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}};
19448 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}};
19449 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}};
19450 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}};
19451 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}};
19452 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}};
19454 static swig_type_info
*swig_types_initial
[] = {
19455 _swigt__p_wxPostScriptDC
,
19457 _swigt__p_wxColour
,
19459 _swigt__p_wxMirrorDC
,
19461 _swigt__p_wxPyFontEnumerator
,
19463 _swigt__p_wxIconLocation
,
19465 _swigt__p_wxMetaFileDC
,
19469 _swigt__p_wxWindow
,
19471 _swigt__p_wxMemoryDC
,
19472 _swigt__p_wxFontMapper
,
19473 _swigt__p_wxEffects
,
19474 _swigt__p_wxNativeEncodingInfo
,
19475 _swigt__p_wxPalette
,
19476 _swigt__p_wxBitmap
,
19477 _swigt__p_wxObject
,
19478 _swigt__p_wxRegionIterator
,
19480 _swigt__p_wxString
,
19481 _swigt__p_wxPrinterDC
,
19482 _swigt__p_wxIconBundle
,
19485 _swigt__p_wxScreenDC
,
19486 _swigt__p_wxCursor
,
19487 _swigt__p_wxClientDC
,
19488 _swigt__p_wxBufferedDC
,
19489 _swigt__p_wxImageList
,
19490 _swigt__p_unsigned_char
,
19491 _swigt__p_wxGDIObject
,
19493 _swigt__p_wxLocale
,
19494 _swigt__p_wxRegion
,
19495 _swigt__p_wxLanguageInfo
,
19496 _swigt__p_wxConfigBase
,
19497 _swigt__p_wxWindowDC
,
19498 _swigt__p_wxPrintData
,
19499 _swigt__p_wxBrushList
,
19500 _swigt__p_wxFontList
,
19502 _swigt__p_wxBufferedPaintDC
,
19503 _swigt__p_wxPaintDC
,
19504 _swigt__p_wxPenList
,
19506 _swigt__p_wxMetaFile
,
19507 _swigt__p_wxNativeFontInfo
,
19508 _swigt__p_wxEncodingConverter
,
19509 _swigt__p_wxColourDatabase
,
19514 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19516 static swig_const_info swig_const_table
[] = {
19517 {0, 0, 0, 0.0, 0, 0}};
19526 SWIGEXPORT(void) SWIG_init(void) {
19527 static PyObject
*SWIG_globals
= 0;
19528 static int typeinit
= 0;
19531 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19532 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19533 d
= PyModule_GetDict(m
);
19536 for (i
= 0; swig_types_initial
[i
]; i
++) {
19537 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19541 SWIG_InstallConstants(d
,swig_const_table
);
19543 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19544 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19545 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19546 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19547 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19548 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19549 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19550 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19551 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19552 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19553 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19554 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19555 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19556 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19557 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19558 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19559 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19560 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19561 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19562 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19563 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19564 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19565 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19566 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19567 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19568 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19569 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19570 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19571 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19572 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19573 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19574 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19575 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19576 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19577 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19578 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19579 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19580 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19581 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19582 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19583 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19584 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19585 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19586 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19587 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19588 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19589 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19590 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19591 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19592 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19593 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19594 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19595 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19596 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19597 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19598 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19599 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19600 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19601 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19602 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19603 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19604 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19605 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19606 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19607 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19608 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19609 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19610 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19611 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19612 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19613 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19614 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19615 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19616 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19617 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19618 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19619 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19620 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19621 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19622 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19623 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19624 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19625 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19626 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19627 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19628 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19629 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19630 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19631 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19632 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19633 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19634 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19635 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19636 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19637 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19638 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19639 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19640 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19641 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19642 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19643 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19644 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19645 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19646 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19647 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19648 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19649 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19650 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19651 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19652 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19653 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19654 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19655 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19656 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19657 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19658 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19659 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19660 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19661 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19662 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19663 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19664 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19665 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19666 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19667 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19668 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19669 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19671 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19673 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19674 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19675 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19676 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19677 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19678 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19679 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19680 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19681 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19682 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19683 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19684 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19685 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19686 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19687 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19688 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19689 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19690 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19691 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19692 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19693 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19694 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19695 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19696 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19697 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19698 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19699 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19700 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19701 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19702 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19703 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19704 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19705 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19706 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19707 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19708 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19709 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19710 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19711 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19712 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19713 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19714 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19715 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19716 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19717 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19718 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19719 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19720 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19721 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19722 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19723 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19724 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19725 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19726 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19727 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19728 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19729 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19730 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19731 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19732 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19733 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
19734 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19735 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
19736 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19737 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
19738 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
19739 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19740 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19741 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19742 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19743 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19744 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19745 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
19746 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
19747 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
19748 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
19749 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
19750 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
19751 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
19752 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
19753 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
19754 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19755 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
19756 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
19757 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
19758 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
19759 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
19760 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
19761 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19762 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
19763 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19764 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19765 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
19766 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
19767 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
19768 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
19769 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
19770 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
19771 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
19772 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
19773 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
19774 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
19775 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
19776 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
19777 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
19778 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
19779 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
19780 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
19781 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
19782 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
19783 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
19784 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
19785 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
19786 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
19787 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
19788 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
19789 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
19790 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
19791 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
19792 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
19793 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
19794 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
19795 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
19796 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
19797 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
19798 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
19799 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
19800 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
19801 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
19802 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
19803 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
19804 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
19805 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19806 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
19807 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
19808 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
19809 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
19810 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
19811 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
19812 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
19813 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
19814 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
19815 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
19816 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19817 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19818 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
19819 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
19820 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
19821 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
19822 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
19823 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
19824 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19825 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
19826 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
19827 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
19828 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
19829 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
19830 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19831 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
19832 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
19833 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
19834 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
19835 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
19836 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19837 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
19838 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
19839 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
19840 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
19841 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
19842 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
19843 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
19844 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
19845 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
19846 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
19847 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
19848 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
19849 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19850 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19851 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
19852 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19853 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19854 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19855 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
19856 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19857 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19858 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
19859 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
19860 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
19861 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19862 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
19863 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19864 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
19865 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19866 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
19867 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
19868 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19869 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
19870 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
19871 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
19872 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
19873 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
19874 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
19875 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
19876 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
19877 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
19878 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
19879 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
19880 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
19881 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
19882 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
19883 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
19884 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
19885 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
19886 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
19887 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
19888 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
19889 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
19890 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
19891 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
19892 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19893 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
19894 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
19895 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
19896 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
19897 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
19898 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
19899 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
19900 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
19901 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
19902 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
19903 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
19904 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
19905 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
19906 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
19907 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
19908 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
19909 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
19910 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
19911 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
19912 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
19913 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
19914 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
19915 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
19916 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
19917 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
19918 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
19919 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
19920 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19921 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
19922 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
19923 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
19924 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
19925 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
19926 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19927 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19928 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19929 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19930 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19931 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19932 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19933 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19934 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19935 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19936 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19937 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19938 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19939 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19940 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19941 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19942 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19943 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19944 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19945 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19946 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19947 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19948 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19949 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19950 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19951 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19952 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19953 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19954 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19955 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19956 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19957 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19958 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19959 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19960 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19961 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19962 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19963 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19964 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19965 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19966 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19967 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19968 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19969 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19970 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19971 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19972 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19974 // Work around a chicken/egg problem in drawlist.cpp
19975 wxPyDrawList_SetAPIPtr();