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 SWIGSTATICINLINE(int)
678 SWIG_AsVal_short(PyObject
*obj
, short *val
)
680 const char* errmsg
= val
? "short" : 0;
682 if (SWIG_AsVal_long(obj
, &v
)) {
683 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
684 if (val
) *val
= swig_numeric_cast(v
, short);
693 PyErr_SetString(PyExc_TypeError
, "a short is expected");
699 SWIGSTATICINLINE(short)
700 SWIG_As_short(PyObject
* obj
)
703 if (!SWIG_AsVal_short(obj
, &v
)) {
705 this is needed to make valgrind/purify happier. the other
706 solution is throw an exception, but since this code should work
709 memset((void*)&v
, 0, sizeof(short));
715 SWIGSTATICINLINE(int)
716 SWIG_Check_short(PyObject
* obj
)
718 return SWIG_AsVal_short(obj
, (short*)0);
722 #include <wx/image.h>
724 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
725 char** cArray
= NULL
;
728 if (!PyList_Check(listOfStrings
)) {
729 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
732 count
= PyList_Size(listOfStrings
);
733 cArray
= new char*[count
];
735 for(int x
=0; x
<count
; x
++) {
736 // TODO: Need some validation and error checking here
737 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
743 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
744 char** cArray
= NULL
;
747 cArray
= ConvertListOfStrings(listOfStrings
);
750 bmp
= new wxBitmap(cArray
);
754 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
757 PyString_AsStringAndSize(bits
, &buf
, &length
);
758 return new wxBitmap(buf
, width
, height
, depth
);
760 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
761 wxSize
size(self
->GetWidth(), self
->GetHeight());
764 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
765 wxMask
*mask
= new wxMask(*self
, colour
);
768 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
769 self
->SetWidth(size
.x
);
770 self
->SetHeight(size
.y
);
772 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
773 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
774 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
776 return new wxMask(bitmap
, *wxBLACK
);
778 return new wxMask(bitmap
, colour
);
781 #include <wx/iconbndl.h>
783 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
784 wxIcon
* icon
= new wxIcon();
785 icon
->CopyFromBitmap(bmp
);
788 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
789 char** cArray
= NULL
;
792 cArray
= ConvertListOfStrings(listOfStrings
);
795 icon
= new wxIcon(cArray
);
799 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
803 return new wxIconLocation(*filename
);
806 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
813 int wxIconLocation_GetIndex(wxIconLocation
*self
){
821 SWIGSTATICINLINE(long)
822 SWIG_As_long(PyObject
* obj
)
825 if (!SWIG_AsVal_long(obj
, &v
)) {
827 this is needed to make valgrind/purify happier. the other
828 solution is throw an exception, but since this code should work
831 memset((void*)&v
, 0, sizeof(long));
837 SWIGSTATICINLINE(int)
838 SWIG_Check_long(PyObject
* obj
)
840 return SWIG_AsVal_long(obj
, (long*)0);
843 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
845 wxCHECK_MSG(false, NULL
,
846 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
848 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
853 void wxRegionIterator_Next(wxRegionIterator
*self
){
856 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
857 return self
->operator bool();
860 #include <wx/fontutil.h>
861 #include <wx/fontmap.h>
862 #include <wx/fontenum.h>
864 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
865 return self
->ToString();
868 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
869 static wxNativeEncodingInfo info
;
870 if ( wxGetNativeFontEncoding(encoding
, &info
) )
876 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
877 wxFontEncoding alt_enc
;
878 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
879 return PyInt_FromLong(alt_enc
);
885 wxFont
*new_wxFont(wxString
const &info
){
886 wxNativeFontInfo nfi
;
887 nfi
.FromString(info
);
888 return new wxFont(nfi
);
890 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
891 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
893 wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
,wxString
const &face
,wxFontEncoding encoding
){
894 return wxFontBase::New(pixelSize
, family
,
895 style
, weight
, underlined
,
898 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
899 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
901 class wxPyFontEnumerator
: public wxFontEnumerator
{
903 wxPyFontEnumerator() {}
904 ~wxPyFontEnumerator() {}
906 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
907 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
912 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
913 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
916 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
917 wxArrayString
* arr
= self
->GetEncodings();
919 return wxArrayString2PyList_helper(*arr
);
921 return PyList_New(0);
923 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
924 wxArrayString
* arr
= self
->GetFacenames();
926 return wxArrayString2PyList_helper(*arr
);
928 return PyList_New(0);
932 wxLocale
*new_wxLocale(int language
,int flags
){
934 return new wxLocale();
936 return new wxLocale(language
, flags
);
939 #include "wx/wxPython/pydrawxxx.h"
941 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
943 self
->GetPixel(x
, y
, &col
);
946 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
948 self
->GetPixel(pt
, &col
);
952 // See my_fragments.i
953 SWIGSTATICINLINE(int)
954 SWIG_AsVal_double(PyObject
*obj
, double* val
)
956 if (PyNumber_Check(obj
)) {
957 if (val
) *val
= PyFloat_AsDouble(obj
);
961 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
962 obj
->ob_type
->tp_name
);
963 PyErr_SetObject(PyExc_TypeError
, errmsg
);
970 SWIGSTATICINLINE(double)
971 SWIG_As_double(PyObject
* obj
)
974 if (!SWIG_AsVal_double(obj
, &v
)) {
976 this is needed to make valgrind/purify happier. the other
977 solution is throw an exception, but since this code should work
980 memset((void*)&v
, 0, sizeof(double));
986 SWIGSTATICINLINE(int)
987 SWIG_Check_double(PyObject
* obj
)
989 return SWIG_AsVal_double(obj
, (double*)0);
992 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
994 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
998 wxRect
wxDC_GetClippingRect(wxDC
*self
){
1000 self
->GetClippingBox(rect
);
1003 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
1005 self
->GetPartialTextExtents(text
, widths
);
1009 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
1010 self
->SetLogicalOrigin(point
.x
, point
.y
);
1012 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
1013 self
->SetDeviceOrigin(point
.x
, point
.y
);
1015 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
1016 self
->CalcBoundingBox(point
.x
, point
.y
);
1018 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1019 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
1021 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1022 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
1024 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1025 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
1027 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1028 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
1030 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1031 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
1033 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
1034 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
1037 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1045 #include <wx/dcbuffer.h>
1048 #include <wx/dcps.h>
1051 #include <wx/metafile.h>
1055 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1056 self
->AddColour(name
, wxColour(red
, green
, blue
));
1059 #include <wx/effects.h>
1064 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
*resultobj
;
1066 wxGDIObject
*result
;
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1073 if (!wxPyCheckForApp()) SWIG_fail
;
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 result
= (wxGDIObject
*)new wxGDIObject();
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) SWIG_fail
;
1080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1087 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
*resultobj
;
1089 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1090 PyObject
* obj0
= 0 ;
1092 (char *) "self", NULL
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1102 wxPyEndAllowThreads(__tstate
);
1103 if (PyErr_Occurred()) SWIG_fail
;
1105 Py_INCREF(Py_None
); resultobj
= Py_None
;
1112 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
*resultobj
;
1114 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1116 PyObject
* obj0
= 0 ;
1118 (char *) "self", NULL
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 result
= (bool)(arg1
)->GetVisible();
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1140 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
*resultobj
;
1142 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1144 PyObject
* obj0
= 0 ;
1145 PyObject
* obj1
= 0 ;
1147 (char *) "self",(char *) "visible", NULL
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1153 arg2
= (bool)SWIG_As_bool(obj1
);
1154 if (PyErr_Occurred()) SWIG_fail
;
1156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1157 (arg1
)->SetVisible(arg2
);
1159 wxPyEndAllowThreads(__tstate
);
1160 if (PyErr_Occurred()) SWIG_fail
;
1162 Py_INCREF(Py_None
); resultobj
= Py_None
;
1169 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1173 PyObject
* obj0
= 0 ;
1175 (char *) "self", NULL
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 result
= (bool)(arg1
)->IsNull();
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1197 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1200 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1202 return Py_BuildValue((char *)"");
1204 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
*resultobj
;
1206 byte arg1
= (byte
) 0 ;
1207 byte arg2
= (byte
) 0 ;
1208 byte arg3
= (byte
) 0 ;
1210 PyObject
* obj0
= 0 ;
1211 PyObject
* obj1
= 0 ;
1212 PyObject
* obj2
= 0 ;
1214 (char *) "red",(char *) "green",(char *) "blue", NULL
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1219 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1220 if (PyErr_Occurred()) SWIG_fail
;
1223 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1224 if (PyErr_Occurred()) SWIG_fail
;
1227 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1232 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1234 wxPyEndAllowThreads(__tstate
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1244 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
*resultobj
;
1246 wxString
*arg1
= 0 ;
1248 bool temp1
= false ;
1249 PyObject
* obj0
= 0 ;
1251 (char *) "colorName", NULL
1254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1256 arg1
= wxString_in_helper(obj0
);
1257 if (arg1
== NULL
) SWIG_fail
;
1261 if (!wxPyCheckForApp()) SWIG_fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1283 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
*resultobj
;
1285 unsigned long arg1
;
1287 PyObject
* obj0
= 0 ;
1289 (char *) "colRGB", NULL
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1293 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1297 result
= (wxColour
*)new wxColour(arg1
);
1299 wxPyEndAllowThreads(__tstate
);
1300 if (PyErr_Occurred()) SWIG_fail
;
1302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1309 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
*resultobj
;
1311 wxColour
*arg1
= (wxColour
*) 0 ;
1312 PyObject
* obj0
= 0 ;
1314 (char *) "self", NULL
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1327 Py_INCREF(Py_None
); resultobj
= Py_None
;
1334 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
*resultobj
;
1336 wxColour
*arg1
= (wxColour
*) 0 ;
1338 PyObject
* obj0
= 0 ;
1340 (char *) "self", NULL
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 result
= (byte
)(arg1
)->Red();
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1353 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1360 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
*resultobj
;
1362 wxColour
*arg1
= (wxColour
*) 0 ;
1364 PyObject
* obj0
= 0 ;
1366 (char *) "self", NULL
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 result
= (byte
)(arg1
)->Green();
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1379 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1386 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxColour
*arg1
= (wxColour
*) 0 ;
1390 PyObject
* obj0
= 0 ;
1392 (char *) "self", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 result
= (byte
)(arg1
)->Blue();
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1405 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1412 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
*resultobj
;
1414 wxColour
*arg1
= (wxColour
*) 0 ;
1416 PyObject
* obj0
= 0 ;
1418 (char *) "self", NULL
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 result
= (bool)(arg1
)->Ok();
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) SWIG_fail
;
1432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1440 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
*resultobj
;
1442 wxColour
*arg1
= (wxColour
*) 0 ;
1446 PyObject
* obj0
= 0 ;
1447 PyObject
* obj1
= 0 ;
1448 PyObject
* obj2
= 0 ;
1449 PyObject
* obj3
= 0 ;
1451 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1457 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1458 if (PyErr_Occurred()) SWIG_fail
;
1459 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1461 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1465 (arg1
)->Set(arg2
,arg3
,arg4
);
1467 wxPyEndAllowThreads(__tstate
);
1468 if (PyErr_Occurred()) SWIG_fail
;
1470 Py_INCREF(Py_None
); resultobj
= Py_None
;
1477 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxColour
*arg1
= (wxColour
*) 0 ;
1480 unsigned long arg2
;
1481 PyObject
* obj0
= 0 ;
1482 PyObject
* obj1
= 0 ;
1484 (char *) "self",(char *) "colRGB", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1490 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1491 if (PyErr_Occurred()) SWIG_fail
;
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) SWIG_fail
;
1499 Py_INCREF(Py_None
); resultobj
= Py_None
;
1506 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxColour
*arg1
= (wxColour
*) 0 ;
1509 wxString
*arg2
= 0 ;
1510 bool temp2
= false ;
1511 PyObject
* obj0
= 0 ;
1512 PyObject
* obj1
= 0 ;
1514 (char *) "self",(char *) "colourName", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1521 arg2
= wxString_in_helper(obj1
);
1522 if (arg2
== NULL
) SWIG_fail
;
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 (arg1
)->InitFromName((wxString
const &)*arg2
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1532 Py_INCREF(Py_None
); resultobj
= Py_None
;
1547 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1549 wxColour
*arg1
= (wxColour
*) 0 ;
1551 PyObject
* obj0
= 0 ;
1553 (char *) "self", NULL
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1566 resultobj
= SWIG_From_long((long)result
);
1573 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1575 wxColour
*arg1
= (wxColour
*) 0 ;
1576 wxColour
*arg2
= 0 ;
1579 PyObject
* obj0
= 0 ;
1580 PyObject
* obj1
= 0 ;
1582 (char *) "self",(char *) "colour", NULL
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1590 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1594 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1596 wxPyEndAllowThreads(__tstate
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1608 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
*resultobj
;
1610 wxColour
*arg1
= (wxColour
*) 0 ;
1611 wxColour
*arg2
= 0 ;
1614 PyObject
* obj0
= 0 ;
1615 PyObject
* obj1
= 0 ;
1617 (char *) "self",(char *) "colour", NULL
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1625 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1643 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxColour
*arg1
= (wxColour
*) 0 ;
1647 PyObject
* obj0
= 0 ;
1649 (char *) "self", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 result
= (PyObject
*)wxColour_Get(arg1
);
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1669 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxColour
*arg1
= (wxColour
*) 0 ;
1672 unsigned long result
;
1673 PyObject
* obj0
= 0 ;
1675 (char *) "self", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (unsigned long)wxColour_GetRGB(arg1
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1688 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1695 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1698 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1700 return Py_BuildValue((char *)"");
1702 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1705 unsigned char *arg2
= (unsigned char *) 0 ;
1706 unsigned char *arg3
= (unsigned char *) 0 ;
1707 unsigned char *arg4
= (unsigned char *) 0 ;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1712 PyObject
* obj3
= 0 ;
1714 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1718 arg1
= (int)SWIG_As_int(obj0
);
1719 if (PyErr_Occurred()) SWIG_fail
;
1720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1722 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1724 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1727 if (!wxPyCheckForApp()) SWIG_fail
;
1728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1729 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1731 wxPyEndAllowThreads(__tstate
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1741 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1743 wxPalette
*arg1
= (wxPalette
*) 0 ;
1744 PyObject
* obj0
= 0 ;
1746 (char *) "self", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 Py_INCREF(Py_None
); resultobj
= Py_None
;
1766 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxPalette
*arg1
= (wxPalette
*) 0 ;
1773 PyObject
* obj0
= 0 ;
1774 PyObject
* obj1
= 0 ;
1775 PyObject
* obj2
= 0 ;
1776 PyObject
* obj3
= 0 ;
1778 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1784 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1786 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1788 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 resultobj
= SWIG_From_int((int)result
);
1804 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxPalette
*arg1
= (wxPalette
*) 0 ;
1808 byte
*arg3
= (byte
*) 0 ;
1809 byte
*arg4
= (byte
*) 0 ;
1810 byte
*arg5
= (byte
*) 0 ;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1821 (char *) "self",(char *) "pixel", NULL
1824 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1825 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1826 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 arg2
= (int)SWIG_As_int(obj1
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1842 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1843 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1844 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1845 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1846 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1847 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1854 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1856 wxPalette
*arg1
= (wxPalette
*) 0 ;
1858 PyObject
* obj0
= 0 ;
1860 (char *) "self", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 result
= (bool)(arg1
)->Ok();
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1882 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1885 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1887 return Py_BuildValue((char *)"");
1889 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxColour
*arg1
= 0 ;
1892 int arg2
= (int) 1 ;
1893 int arg3
= (int) wxSOLID
;
1896 PyObject
* obj0
= 0 ;
1897 PyObject
* obj1
= 0 ;
1898 PyObject
* obj2
= 0 ;
1900 (char *) "colour",(char *) "width",(char *) "style", NULL
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1906 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1909 arg2
= (int)SWIG_As_int(obj1
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1913 arg3
= (int)SWIG_As_int(obj2
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1917 if (!wxPyCheckForApp()) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1931 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxPen
*arg1
= (wxPen
*) 0 ;
1934 PyObject
* obj0
= 0 ;
1936 (char *) "self", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1949 Py_INCREF(Py_None
); resultobj
= Py_None
;
1956 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
*resultobj
;
1958 wxPen
*arg1
= (wxPen
*) 0 ;
1960 PyObject
* obj0
= 0 ;
1962 (char *) "self", NULL
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 result
= (int)(arg1
)->GetCap();
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 resultobj
= SWIG_From_int((int)result
);
1982 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
*resultobj
;
1984 wxPen
*arg1
= (wxPen
*) 0 ;
1986 PyObject
* obj0
= 0 ;
1988 (char *) "self", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 result
= (arg1
)->GetColour();
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2002 wxColour
* resultptr
;
2003 resultptr
= new wxColour((wxColour
&) result
);
2004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2012 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxPen
*arg1
= (wxPen
*) 0 ;
2016 PyObject
* obj0
= 0 ;
2018 (char *) "self", NULL
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
2022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 result
= (int)(arg1
)->GetJoin();
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 resultobj
= SWIG_From_int((int)result
);
2038 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxPen
*arg1
= (wxPen
*) 0 ;
2042 PyObject
* obj0
= 0 ;
2044 (char *) "self", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 result
= (int)(arg1
)->GetStyle();
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 resultobj
= SWIG_From_int((int)result
);
2064 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxPen
*arg1
= (wxPen
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2070 (char *) "self", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 result
= (int)(arg1
)->GetWidth();
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 resultobj
= SWIG_From_int((int)result
);
2090 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxPen
*arg1
= (wxPen
*) 0 ;
2094 PyObject
* obj0
= 0 ;
2096 (char *) "self", NULL
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 result
= (bool)(arg1
)->Ok();
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2118 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2120 wxPen
*arg1
= (wxPen
*) 0 ;
2122 PyObject
* obj0
= 0 ;
2123 PyObject
* obj1
= 0 ;
2125 (char *) "self",(char *) "cap_style", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2131 arg2
= (int)SWIG_As_int(obj1
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 (arg1
)->SetCap(arg2
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2140 Py_INCREF(Py_None
); resultobj
= Py_None
;
2147 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxPen
*arg1
= (wxPen
*) 0 ;
2150 wxColour
*arg2
= 0 ;
2152 PyObject
* obj0
= 0 ;
2153 PyObject
* obj1
= 0 ;
2155 (char *) "self",(char *) "colour", NULL
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2163 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 (arg1
)->SetColour(*arg2
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2172 Py_INCREF(Py_None
); resultobj
= Py_None
;
2179 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2181 wxPen
*arg1
= (wxPen
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2184 PyObject
* obj1
= 0 ;
2186 (char *) "self",(char *) "join_style", NULL
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2192 arg2
= (int)SWIG_As_int(obj1
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 (arg1
)->SetJoin(arg2
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 Py_INCREF(Py_None
); resultobj
= Py_None
;
2208 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2210 wxPen
*arg1
= (wxPen
*) 0 ;
2212 PyObject
* obj0
= 0 ;
2213 PyObject
* obj1
= 0 ;
2215 (char *) "self",(char *) "style", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2221 arg2
= (int)SWIG_As_int(obj1
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 (arg1
)->SetStyle(arg2
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 Py_INCREF(Py_None
); resultobj
= Py_None
;
2237 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxPen
*arg1
= (wxPen
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2242 PyObject
* obj1
= 0 ;
2244 (char *) "self",(char *) "width", NULL
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2250 arg2
= (int)SWIG_As_int(obj1
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 (arg1
)->SetWidth(arg2
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 Py_INCREF(Py_None
); resultobj
= Py_None
;
2266 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2268 wxPen
*arg1
= (wxPen
*) 0 ;
2270 wxDash
*arg3
= (wxDash
*) 0 ;
2271 PyObject
* obj0
= 0 ;
2272 PyObject
* obj1
= 0 ;
2274 (char *) "self",(char *) "dashes", NULL
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 arg2
= PyList_Size(obj1
);
2282 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2283 if (arg3
== NULL
) SWIG_fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 (arg1
)->SetDashes(arg2
,arg3
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 Py_INCREF(Py_None
); resultobj
= Py_None
;
2294 if (arg3
) delete [] arg3
;
2299 if (arg3
) delete [] arg3
;
2305 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxPen
*arg1
= (wxPen
*) 0 ;
2309 PyObject
* obj0
= 0 ;
2311 (char *) "self", NULL
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2331 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxPen
*arg1
= (wxPen
*) 0 ;
2334 PyObject
*arg2
= (PyObject
*) 0 ;
2335 PyObject
*arg3
= (PyObject
*) 0 ;
2336 PyObject
* obj0
= 0 ;
2337 PyObject
* obj1
= 0 ;
2338 PyObject
* obj2
= 0 ;
2340 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 wxPen__SetDashes(arg1
,arg2
,arg3
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) SWIG_fail
;
2355 Py_INCREF(Py_None
); resultobj
= Py_None
;
2362 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
*resultobj
;
2364 wxPen
*arg1
= (wxPen
*) 0 ;
2365 wxPen
*arg2
= (wxPen
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2368 PyObject
* obj1
= 0 ;
2370 (char *) "self",(char *) "other", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2382 wxPyEndAllowThreads(__tstate
);
2383 if (PyErr_Occurred()) SWIG_fail
;
2386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2394 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
*resultobj
;
2396 wxPen
*arg1
= (wxPen
*) 0 ;
2397 wxPen
*arg2
= (wxPen
*) 0 ;
2399 PyObject
* obj0
= 0 ;
2400 PyObject
* obj1
= 0 ;
2402 (char *) "self",(char *) "other", NULL
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2426 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2429 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2431 return Py_BuildValue((char *)"");
2433 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2435 wxColour
*arg1
= 0 ;
2436 int arg2
= (int) wxSOLID
;
2439 PyObject
* obj0
= 0 ;
2440 PyObject
* obj1
= 0 ;
2442 (char *) "colour",(char *) "style", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2448 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2451 arg2
= (int)SWIG_As_int(obj1
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2455 if (!wxPyCheckForApp()) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2469 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxBrush
*arg1
= (wxBrush
*) 0 ;
2472 PyObject
* obj0
= 0 ;
2474 (char *) "self", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 Py_INCREF(Py_None
); resultobj
= Py_None
;
2494 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2496 wxBrush
*arg1
= (wxBrush
*) 0 ;
2497 wxColour
*arg2
= 0 ;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2502 (char *) "self",(char *) "col", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 (arg1
)->SetColour((wxColour
const &)*arg2
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 Py_INCREF(Py_None
); resultobj
= Py_None
;
2526 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxBrush
*arg1
= (wxBrush
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2531 PyObject
* obj1
= 0 ;
2533 (char *) "self",(char *) "style", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 arg2
= (int)SWIG_As_int(obj1
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->SetStyle(arg2
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxBrush
*arg1
= (wxBrush
*) 0 ;
2558 wxBitmap
*arg2
= 0 ;
2559 PyObject
* obj0
= 0 ;
2560 PyObject
* obj1
= 0 ;
2562 (char *) "self",(char *) "stipple", NULL
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2572 PyErr_SetString(PyExc_TypeError
,"null reference");
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2582 Py_INCREF(Py_None
); resultobj
= Py_None
;
2589 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
*resultobj
;
2591 wxBrush
*arg1
= (wxBrush
*) 0 ;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "self", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 result
= ((wxBrush
const *)arg1
)->GetColour();
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2609 wxColour
* resultptr
;
2610 resultptr
= new wxColour((wxColour
&) result
);
2611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2619 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxBrush
*arg1
= (wxBrush
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2625 (char *) "self", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2638 resultobj
= SWIG_From_int((int)result
);
2645 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
*resultobj
;
2647 wxBrush
*arg1
= (wxBrush
*) 0 ;
2649 PyObject
* obj0
= 0 ;
2651 (char *) "self", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2671 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2673 wxBrush
*arg1
= (wxBrush
*) 0 ;
2675 PyObject
* obj0
= 0 ;
2677 (char *) "self", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= (bool)(arg1
)->Ok();
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2699 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxBrush
*arg1
= (wxBrush
*) 0 ;
2703 PyObject
* obj0
= 0 ;
2705 (char *) "self", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 result
= (short)(arg1
)->MacGetTheme();
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2718 resultobj
= SWIG_From_short((short)result
);
2725 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxBrush
*arg1
= (wxBrush
*) 0 ;
2729 PyObject
* obj0
= 0 ;
2730 PyObject
* obj1
= 0 ;
2732 (char *) "self",(char *) "macThemeBrush", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2738 arg2
= (short)SWIG_As_short(obj1
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 (arg1
)->MacSetTheme(arg2
);
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 Py_INCREF(Py_None
); resultobj
= Py_None
;
2754 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2757 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2759 return Py_BuildValue((char *)"");
2761 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxString
*arg1
= 0 ;
2764 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2766 bool temp1
= false ;
2767 PyObject
* obj0
= 0 ;
2768 PyObject
* obj1
= 0 ;
2770 (char *) "name",(char *) "type", NULL
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2775 arg1
= wxString_in_helper(obj0
);
2776 if (arg1
== NULL
) SWIG_fail
;
2780 arg2
= (int)SWIG_As_int(obj1
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2784 if (!wxPyCheckForApp()) SWIG_fail
;
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2806 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2809 PyObject
* obj0
= 0 ;
2811 (char *) "self", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 Py_INCREF(Py_None
); resultobj
= Py_None
;
2831 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2835 int arg3
= (int) -1 ;
2837 PyObject
* obj0
= 0 ;
2838 PyObject
* obj1
= 0 ;
2839 PyObject
* obj2
= 0 ;
2841 (char *) "width",(char *) "height",(char *) "depth", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2845 arg1
= (int)SWIG_As_int(obj0
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2847 arg2
= (int)SWIG_As_int(obj1
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 arg3
= (int)SWIG_As_int(obj2
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2854 if (!wxPyCheckForApp()) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2868 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
*resultobj
;
2872 PyObject
* obj0
= 0 ;
2874 (char *) "icon", NULL
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2882 PyErr_SetString(PyExc_TypeError
,"null reference");
2886 if (!wxPyCheckForApp()) SWIG_fail
;
2887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2888 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2890 wxPyEndAllowThreads(__tstate
);
2891 if (PyErr_Occurred()) SWIG_fail
;
2893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2900 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
*resultobj
;
2903 int arg2
= (int) -1 ;
2905 PyObject
* obj0
= 0 ;
2906 PyObject
* obj1
= 0 ;
2908 (char *) "image",(char *) "depth", NULL
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2916 PyErr_SetString(PyExc_TypeError
,"null reference");
2920 arg2
= (int)SWIG_As_int(obj1
);
2921 if (PyErr_Occurred()) SWIG_fail
;
2924 if (!wxPyCheckForApp()) SWIG_fail
;
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) SWIG_fail
;
2931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2938 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 PyObject
*arg1
= (PyObject
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "listOfStrings", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2950 if (!wxPyCheckForApp()) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2964 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 PyObject
*arg1
= (PyObject
*) 0 ;
2969 int arg4
= (int) 1 ;
2971 PyObject
* obj0
= 0 ;
2972 PyObject
* obj1
= 0 ;
2973 PyObject
* obj2
= 0 ;
2974 PyObject
* obj3
= 0 ;
2976 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2981 arg2
= (int)SWIG_As_int(obj1
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2983 arg3
= (int)SWIG_As_int(obj2
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 arg4
= (int)SWIG_As_int(obj3
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2990 if (!wxPyCheckForApp()) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3004 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3008 PyObject
* obj0
= 0 ;
3010 (char *) "self", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 result
= (bool)(arg1
)->Ok();
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3032 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3036 PyObject
* obj0
= 0 ;
3038 (char *) "self", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 result
= (int)(arg1
)->GetWidth();
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3051 resultobj
= SWIG_From_int((int)result
);
3058 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
;
3060 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3062 PyObject
* obj0
= 0 ;
3064 (char *) "self", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= (int)(arg1
)->GetHeight();
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3077 resultobj
= SWIG_From_int((int)result
);
3084 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3088 PyObject
* obj0
= 0 ;
3090 (char *) "self", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 result
= (int)(arg1
)->GetDepth();
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3103 resultobj
= SWIG_From_int((int)result
);
3110 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3112 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3114 PyObject
* obj0
= 0 ;
3116 (char *) "self", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 result
= wxBitmap_GetSize(arg1
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3131 resultptr
= new wxSize((wxSize
&) result
);
3132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3140 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
;
3142 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3143 SwigValueWrapper
< wxImage
> result
;
3144 PyObject
* obj0
= 0 ;
3146 (char *) "self", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 wxImage
* resultptr
;
3161 resultptr
= new wxImage((wxImage
&) result
);
3162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3170 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3174 PyObject
* obj0
= 0 ;
3176 (char *) "self", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3196 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3199 wxMask
*arg2
= (wxMask
*) 0 ;
3200 PyObject
* obj0
= 0 ;
3201 PyObject
* obj1
= 0 ;
3203 (char *) "self",(char *) "mask", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 (arg1
)->SetMask(arg2
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) SWIG_fail
;
3218 Py_INCREF(Py_None
); resultobj
= Py_None
;
3225 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3228 wxColour
*arg2
= 0 ;
3230 PyObject
* obj0
= 0 ;
3231 PyObject
* obj1
= 0 ;
3233 (char *) "self",(char *) "colour", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3241 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 Py_INCREF(Py_None
); resultobj
= Py_None
;
3257 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3261 SwigValueWrapper
< wxBitmap
> result
;
3263 PyObject
* obj0
= 0 ;
3264 PyObject
* obj1
= 0 ;
3266 (char *) "self",(char *) "rect", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3274 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) SWIG_fail
;
3284 wxBitmap
* resultptr
;
3285 resultptr
= new wxBitmap((wxBitmap
&) result
);
3286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3294 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
*resultobj
;
3296 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3297 wxString
*arg2
= 0 ;
3299 wxPalette
*arg4
= (wxPalette
*) NULL
;
3301 bool temp2
= false ;
3302 PyObject
* obj0
= 0 ;
3303 PyObject
* obj1
= 0 ;
3304 PyObject
* obj2
= 0 ;
3305 PyObject
* obj3
= 0 ;
3307 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3314 arg2
= wxString_in_helper(obj1
);
3315 if (arg2
== NULL
) SWIG_fail
;
3318 arg3
= (int)SWIG_As_int(obj2
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3321 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3348 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3350 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3351 wxString
*arg2
= 0 ;
3354 bool temp2
= false ;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3357 PyObject
* obj2
= 0 ;
3359 (char *) "self",(char *) "name",(char *) "type", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3366 arg2
= wxString_in_helper(obj1
);
3367 if (arg2
== NULL
) SWIG_fail
;
3370 arg3
= (int)SWIG_As_int(obj2
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3396 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3401 PyObject
* obj0
= 0 ;
3402 PyObject
* obj1
= 0 ;
3404 (char *) "self",(char *) "icon", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3414 PyErr_SetString(PyExc_TypeError
,"null reference");
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3433 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
*resultobj
;
3435 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3438 PyObject
* obj1
= 0 ;
3440 (char *) "self",(char *) "height", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 arg2
= (int)SWIG_As_int(obj1
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 (arg1
)->SetHeight(arg2
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 Py_INCREF(Py_None
); resultobj
= Py_None
;
3462 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3466 PyObject
* obj0
= 0 ;
3467 PyObject
* obj1
= 0 ;
3469 (char *) "self",(char *) "width", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3475 arg2
= (int)SWIG_As_int(obj1
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 (arg1
)->SetWidth(arg2
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3484 Py_INCREF(Py_None
); resultobj
= Py_None
;
3491 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3498 (char *) "self",(char *) "depth", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3504 arg2
= (int)SWIG_As_int(obj1
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 (arg1
)->SetDepth(arg2
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 Py_INCREF(Py_None
); resultobj
= Py_None
;
3520 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "size", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3536 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 Py_INCREF(Py_None
); resultobj
= Py_None
;
3552 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3555 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3557 PyObject
* obj0
= 0 ;
3558 PyObject
* obj1
= 0 ;
3560 (char *) "self",(char *) "other", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3584 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3587 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "other", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3616 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3619 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3621 return Py_BuildValue((char *)"");
3623 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxBitmap
*arg1
= 0 ;
3626 wxColour
const &arg2_defvalue
= wxNullColour
;
3627 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3630 PyObject
* obj0
= 0 ;
3631 PyObject
* obj1
= 0 ;
3633 (char *) "bitmap",(char *) "colour", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3641 PyErr_SetString(PyExc_TypeError
,"null reference");
3647 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3651 if (!wxPyCheckForApp()) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3665 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3668 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3670 return Py_BuildValue((char *)"");
3672 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxString
*arg1
= 0 ;
3676 int arg3
= (int) -1 ;
3677 int arg4
= (int) -1 ;
3679 bool temp1
= false ;
3680 PyObject
* obj0
= 0 ;
3681 PyObject
* obj1
= 0 ;
3682 PyObject
* obj2
= 0 ;
3683 PyObject
* obj3
= 0 ;
3685 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3690 arg1
= wxString_in_helper(obj0
);
3691 if (arg1
== NULL
) SWIG_fail
;
3694 arg2
= (int)SWIG_As_int(obj1
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 arg3
= (int)SWIG_As_int(obj2
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 arg4
= (int)SWIG_As_int(obj3
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3705 if (!wxPyCheckForApp()) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3727 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxIcon
*arg1
= (wxIcon
*) 0 ;
3730 PyObject
* obj0
= 0 ;
3732 (char *) "self", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3761 if (!wxPyCheckForApp()) SWIG_fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 result
= (wxIcon
*)new wxIcon();
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3775 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxIconLocation
*arg1
= 0 ;
3779 PyObject
* obj0
= 0 ;
3781 (char *) "loc", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3789 PyErr_SetString(PyExc_TypeError
,"null reference");
3793 if (!wxPyCheckForApp()) SWIG_fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3807 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxBitmap
*arg1
= 0 ;
3811 PyObject
* obj0
= 0 ;
3813 (char *) "bmp", NULL
3816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3821 PyErr_SetString(PyExc_TypeError
,"null reference");
3825 if (!wxPyCheckForApp()) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3839 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 PyObject
*arg1
= (PyObject
*) 0 ;
3843 PyObject
* obj0
= 0 ;
3845 (char *) "listOfStrings", NULL
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3851 if (!wxPyCheckForApp()) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 result
= (wxIcon
*)new_wxIcon(arg1
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3865 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxIcon
*arg1
= (wxIcon
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3871 (char *) "self", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (bool)(arg1
)->Ok();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3893 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxIcon
*arg1
= (wxIcon
*) 0 ;
3897 PyObject
* obj0
= 0 ;
3899 (char *) "self", NULL
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 result
= (int)(arg1
)->GetWidth();
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= SWIG_From_int((int)result
);
3919 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3921 wxIcon
*arg1
= (wxIcon
*) 0 ;
3923 PyObject
* obj0
= 0 ;
3925 (char *) "self", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (int)(arg1
)->GetHeight();
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_From_int((int)result
);
3945 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxIcon
*arg1
= (wxIcon
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3951 (char *) "self", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (int)(arg1
)->GetDepth();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= SWIG_From_int((int)result
);
3971 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxIcon
*arg1
= (wxIcon
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3978 (char *) "self",(char *) "w", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 arg2
= (int)SWIG_As_int(obj1
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 (arg1
)->SetWidth(arg2
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 Py_INCREF(Py_None
); resultobj
= Py_None
;
4000 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxIcon
*arg1
= (wxIcon
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4005 PyObject
* obj1
= 0 ;
4007 (char *) "self",(char *) "h", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4013 arg2
= (int)SWIG_As_int(obj1
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 (arg1
)->SetHeight(arg2
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxIcon
*arg1
= (wxIcon
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4034 PyObject
* obj1
= 0 ;
4036 (char *) "self",(char *) "d", NULL
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4042 arg2
= (int)SWIG_As_int(obj1
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 (arg1
)->SetDepth(arg2
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 Py_INCREF(Py_None
); resultobj
= Py_None
;
4058 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxIcon
*arg1
= (wxIcon
*) 0 ;
4061 wxBitmap
*arg2
= 0 ;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4065 (char *) "self",(char *) "bmp", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4072 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4075 PyErr_SetString(PyExc_TypeError
,"null reference");
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 Py_INCREF(Py_None
); resultobj
= Py_None
;
4092 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4095 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4097 return Py_BuildValue((char *)"");
4099 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4102 int arg2
= (int) 0 ;
4103 wxIconLocation
*result
;
4104 bool temp1
= false ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4108 (char *) "filename",(char *) "num", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4114 arg1
= wxString_in_helper(obj0
);
4115 if (arg1
== NULL
) SWIG_fail
;
4120 arg2
= (int)SWIG_As_int(obj1
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4145 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4148 PyObject
* obj0
= 0 ;
4150 (char *) "self", NULL
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 Py_INCREF(Py_None
); resultobj
= Py_None
;
4170 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4174 PyObject
* obj0
= 0 ;
4176 (char *) "self", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4198 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4201 wxString
*arg2
= 0 ;
4202 bool temp2
= false ;
4203 PyObject
* obj0
= 0 ;
4204 PyObject
* obj1
= 0 ;
4206 (char *) "self",(char *) "filename", NULL
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4213 arg2
= wxString_in_helper(obj1
);
4214 if (arg2
== NULL
) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 (arg1
)->SetFileName((wxString
const &)*arg2
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 Py_INCREF(Py_None
); resultobj
= Py_None
;
4239 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4241 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4245 (char *) "self", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4255 result
= (wxString
*) &_result_ref
;
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4265 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4274 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4281 (char *) "self",(char *) "num", NULL
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4287 arg2
= (int)SWIG_As_int(obj1
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 wxIconLocation_SetIndex(arg1
,arg2
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 Py_INCREF(Py_None
); resultobj
= Py_None
;
4303 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4307 PyObject
* obj0
= 0 ;
4309 (char *) "self", NULL
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 result
= (int)wxIconLocation_GetIndex(arg1
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_From_int((int)result
);
4329 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4332 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4334 return Py_BuildValue((char *)"");
4336 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxIconBundle
*result
;
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (wxIconBundle
*)new wxIconBundle();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4358 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxString
*arg1
= 0 ;
4362 wxIconBundle
*result
;
4363 bool temp1
= false ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "file",(char *) "type", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4372 arg1
= wxString_in_helper(obj0
);
4373 if (arg1
== NULL
) SWIG_fail
;
4376 arg2
= (long)SWIG_As_long(obj1
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4400 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4403 wxIconBundle
*result
;
4404 PyObject
* obj0
= 0 ;
4406 (char *) "icon", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4414 PyErr_SetString(PyExc_TypeError
,"null reference");
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4431 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 Py_INCREF(Py_None
); resultobj
= Py_None
;
4456 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4463 (char *) "self",(char *) "icon", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4473 PyErr_SetString(PyExc_TypeError
,"null reference");
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 Py_INCREF(Py_None
); resultobj
= Py_None
;
4490 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4493 wxString
*arg2
= 0 ;
4495 bool temp2
= false ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4498 PyObject
* obj2
= 0 ;
4500 (char *) "self",(char *) "file",(char *) "type", NULL
4503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4507 arg2
= wxString_in_helper(obj1
);
4508 if (arg2
== NULL
) SWIG_fail
;
4511 arg3
= (long)SWIG_As_long(obj2
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4535 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4544 (char *) "self",(char *) "size", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4552 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4558 result
= (wxIcon
*) &_result_ref
;
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 wxIcon
* resultptr
= new wxIcon(*result
);
4566 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4574 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4577 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4579 return Py_BuildValue((char *)"");
4581 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
;
4583 wxString
*arg1
= (wxString
*) 0 ;
4585 int arg3
= (int) 0 ;
4586 int arg4
= (int) 0 ;
4588 bool temp1
= false ;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4591 PyObject
* obj2
= 0 ;
4592 PyObject
* obj3
= 0 ;
4594 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4599 arg1
= wxString_in_helper(obj0
);
4600 if (arg1
== NULL
) SWIG_fail
;
4603 arg2
= (long)SWIG_As_long(obj1
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 arg3
= (int)SWIG_As_int(obj2
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4610 arg4
= (int)SWIG_As_int(obj3
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 if (!wxPyCheckForApp()) SWIG_fail
;
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4636 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxCursor
*arg1
= (wxCursor
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4641 (char *) "self", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 Py_INCREF(Py_None
); resultobj
= Py_None
;
4661 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4665 PyObject
* obj0
= 0 ;
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4671 arg1
= (int)SWIG_As_int(obj0
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 if (!wxPyCheckForApp()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (wxCursor
*)new wxCursor(arg1
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4688 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4692 PyObject
* obj0
= 0 ;
4694 (char *) "image", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4702 PyErr_SetString(PyExc_TypeError
,"null reference");
4706 if (!wxPyCheckForApp()) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4710 wxPyEndAllowThreads(__tstate
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4720 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 wxCursor
*arg1
= (wxCursor
*) 0 ;
4724 PyObject
* obj0
= 0 ;
4726 (char *) "self", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (bool)(arg1
)->Ok();
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4748 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4751 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4753 return Py_BuildValue((char *)"");
4755 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 int arg1
= (int) 0 ;
4758 int arg2
= (int) 0 ;
4759 int arg3
= (int) 0 ;
4760 int arg4
= (int) 0 ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 PyObject
* obj2
= 0 ;
4765 PyObject
* obj3
= 0 ;
4767 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4772 arg1
= (int)SWIG_As_int(obj0
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4776 arg2
= (int)SWIG_As_int(obj1
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 arg3
= (int)SWIG_As_int(obj2
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4784 arg4
= (int)SWIG_As_int(obj3
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4788 if (!wxPyCheckForApp()) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4802 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4804 wxBitmap
*arg1
= 0 ;
4806 PyObject
* obj0
= 0 ;
4808 (char *) "bmp", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4816 PyErr_SetString(PyExc_TypeError
,"null reference");
4820 if (!wxPyCheckForApp()) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4834 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxBitmap
*arg1
= 0 ;
4837 wxColour
*arg2
= 0 ;
4838 int arg3
= (int) 0 ;
4841 PyObject
* obj0
= 0 ;
4842 PyObject
* obj1
= 0 ;
4843 PyObject
* obj2
= 0 ;
4845 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4853 PyErr_SetString(PyExc_TypeError
,"null reference");
4858 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4861 arg3
= (int)SWIG_As_int(obj2
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4865 if (!wxPyCheckForApp()) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4879 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4882 wxPoint
*arg2
= (wxPoint
*) 0 ;
4883 int arg3
= (int) wxWINDING_RULE
;
4885 PyObject
* obj0
= 0 ;
4886 PyObject
* obj1
= 0 ;
4888 (char *) "points",(char *) "fillStyle", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4893 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4894 if (arg2
== NULL
) SWIG_fail
;
4897 arg3
= (int)SWIG_As_int(obj1
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4901 if (!wxPyCheckForApp()) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4910 if (arg2
) delete [] arg2
;
4915 if (arg2
) delete [] arg2
;
4921 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxRegion
*arg1
= (wxRegion
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "self", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 Py_INCREF(Py_None
); resultobj
= Py_None
;
4946 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxRegion
*arg1
= (wxRegion
*) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 Py_INCREF(Py_None
); resultobj
= Py_None
;
4971 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxRegion
*arg1
= (wxRegion
*) 0 ;
4977 PyObject
* obj0
= 0 ;
4978 PyObject
* obj1
= 0 ;
4979 PyObject
* obj2
= 0 ;
4981 (char *) "self",(char *) "x",(char *) "y", NULL
4984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4987 arg2
= (int)SWIG_As_int(obj1
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4989 arg3
= (int)SWIG_As_int(obj2
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= SWIG_From_int((int)result
);
5005 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5006 PyObject
*resultobj
;
5007 wxRegion
*arg1
= (wxRegion
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5014 (char *) "self",(char *) "pt", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5022 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_From_int((int)result
);
5038 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxRegion
*arg1
= (wxRegion
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5047 (char *) "self",(char *) "rect", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5055 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= SWIG_From_int((int)result
);
5071 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxRegion
*arg1
= (wxRegion
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 PyObject
* obj2
= 0 ;
5082 PyObject
* obj3
= 0 ;
5083 PyObject
* obj4
= 0 ;
5085 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 arg2
= (int)SWIG_As_int(obj1
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5093 arg3
= (int)SWIG_As_int(obj2
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5095 arg4
= (int)SWIG_As_int(obj3
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5097 arg5
= (int)SWIG_As_int(obj4
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_From_int((int)result
);
5113 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxRegion
*arg1
= (wxRegion
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (arg1
)->GetBox();
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5134 resultptr
= new wxRect((wxRect
&) result
);
5135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5143 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxRegion
*arg1
= (wxRegion
*) 0 ;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 PyObject
* obj2
= 0 ;
5154 PyObject
* obj3
= 0 ;
5155 PyObject
* obj4
= 0 ;
5157 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5163 arg2
= (int)SWIG_As_int(obj1
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5165 arg3
= (int)SWIG_As_int(obj2
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5167 arg4
= (int)SWIG_As_int(obj3
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5169 arg5
= (int)SWIG_As_int(obj4
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5187 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
;
5189 wxRegion
*arg1
= (wxRegion
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "rect", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5204 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5222 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
;
5224 wxRegion
*arg1
= (wxRegion
*) 0 ;
5225 wxRegion
*arg2
= 0 ;
5227 PyObject
* obj0
= 0 ;
5228 PyObject
* obj1
= 0 ;
5230 (char *) "self",(char *) "region", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5240 PyErr_SetString(PyExc_TypeError
,"null reference");
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5259 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxRegion
*arg1
= (wxRegion
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "self", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (bool)(arg1
)->IsEmpty();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5287 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxRegion
*arg1
= (wxRegion
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 PyObject
* obj2
= 0 ;
5298 PyObject
* obj3
= 0 ;
5299 PyObject
* obj4
= 0 ;
5301 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 arg2
= (int)SWIG_As_int(obj1
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5309 arg3
= (int)SWIG_As_int(obj2
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5311 arg4
= (int)SWIG_As_int(obj3
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5313 arg5
= (int)SWIG_As_int(obj4
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5331 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxRegion
*arg1
= (wxRegion
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5340 (char *) "self",(char *) "rect", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5366 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxRegion
*arg1
= (wxRegion
*) 0 ;
5369 wxRegion
*arg2
= 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5374 (char *) "self",(char *) "region", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5384 PyErr_SetString(PyExc_TypeError
,"null reference");
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5403 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxRegion
*arg1
= (wxRegion
*) 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5413 PyObject
* obj2
= 0 ;
5414 PyObject
* obj3
= 0 ;
5415 PyObject
* obj4
= 0 ;
5417 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5423 arg2
= (int)SWIG_As_int(obj1
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5425 arg3
= (int)SWIG_As_int(obj2
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5427 arg4
= (int)SWIG_As_int(obj3
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5429 arg5
= (int)SWIG_As_int(obj4
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5447 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxRegion
*arg1
= (wxRegion
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5456 (char *) "self",(char *) "rect", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5482 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
;
5484 wxRegion
*arg1
= (wxRegion
*) 0 ;
5485 wxRegion
*arg2
= 0 ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5490 (char *) "self",(char *) "region", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5500 PyErr_SetString(PyExc_TypeError
,"null reference");
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5519 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxRegion
*arg1
= (wxRegion
*) 0 ;
5527 PyObject
* obj0
= 0 ;
5528 PyObject
* obj1
= 0 ;
5529 PyObject
* obj2
= 0 ;
5530 PyObject
* obj3
= 0 ;
5531 PyObject
* obj4
= 0 ;
5533 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5539 arg2
= (int)SWIG_As_int(obj1
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5541 arg3
= (int)SWIG_As_int(obj2
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5543 arg4
= (int)SWIG_As_int(obj3
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5545 arg5
= (int)SWIG_As_int(obj4
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5563 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxRegion
*arg1
= (wxRegion
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5572 (char *) "self",(char *) "rect", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5580 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5598 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxRegion
*arg1
= (wxRegion
*) 0 ;
5601 wxRegion
*arg2
= 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "region", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5616 PyErr_SetString(PyExc_TypeError
,"null reference");
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5635 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxRegion
*arg1
= (wxRegion
*) 0 ;
5638 SwigValueWrapper
< wxBitmap
> result
;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (arg1
)->ConvertToBitmap();
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5655 wxBitmap
* resultptr
;
5656 resultptr
= new wxBitmap((wxBitmap
&) result
);
5657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5665 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxRegion
*arg1
= (wxRegion
*) 0 ;
5668 wxBitmap
*arg2
= 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5673 (char *) "self",(char *) "bmp", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5683 PyErr_SetString(PyExc_TypeError
,"null reference");
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5702 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxRegion
*arg1
= (wxRegion
*) 0 ;
5705 wxBitmap
*arg2
= 0 ;
5706 wxColour
*arg3
= 0 ;
5707 int arg4
= (int) 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5712 PyObject
* obj2
= 0 ;
5713 PyObject
* obj3
= 0 ;
5715 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5725 PyErr_SetString(PyExc_TypeError
,"null reference");
5730 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5733 arg4
= (int)SWIG_As_int(obj3
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5752 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5755 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5757 return Py_BuildValue((char *)"");
5759 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxRegion
*arg1
= 0 ;
5762 wxRegionIterator
*result
;
5763 PyObject
* obj0
= 0 ;
5765 (char *) "region", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5773 PyErr_SetString(PyExc_TypeError
,"null reference");
5777 if (!wxPyCheckForApp()) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5791 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "self", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 Py_INCREF(Py_None
); resultobj
= Py_None
;
5816 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (int)(arg1
)->GetX();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_From_int((int)result
);
5842 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "self", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 result
= (int)(arg1
)->GetY();
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= SWIG_From_int((int)result
);
5868 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5874 (char *) "self", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (int)(arg1
)->GetW();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= SWIG_From_int((int)result
);
5894 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5900 (char *) "self", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (int)(arg1
)->GetWidth();
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= SWIG_From_int((int)result
);
5920 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "self", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (int)(arg1
)->GetH();
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_From_int((int)result
);
5946 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5950 PyObject
* obj0
= 0 ;
5952 (char *) "self", NULL
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (int)(arg1
)->GetHeight();
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= SWIG_From_int((int)result
);
5972 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5978 (char *) "self", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (arg1
)->GetRect();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5993 resultptr
= new wxRect((wxRect
&) result
);
5994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6002 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
*resultobj
;
6004 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6006 PyObject
* obj0
= 0 ;
6008 (char *) "self", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (bool)(arg1
)->HaveRects();
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6030 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
;
6032 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6033 PyObject
* obj0
= 0 ;
6035 (char *) "self", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 Py_INCREF(Py_None
); resultobj
= Py_None
;
6055 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
;
6057 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6058 PyObject
* obj0
= 0 ;
6060 (char *) "self", NULL
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 wxRegionIterator_Next(arg1
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 Py_INCREF(Py_None
); resultobj
= Py_None
;
6080 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6084 PyObject
* obj0
= 0 ;
6086 (char *) "self", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6108 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6111 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6113 return Py_BuildValue((char *)"");
6115 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxNativeFontInfo
*result
;
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6137 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6140 PyObject
* obj0
= 0 ;
6142 (char *) "self", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 Py_INCREF(Py_None
); resultobj
= Py_None
;
6162 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 Py_INCREF(Py_None
); resultobj
= Py_None
;
6187 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6192 PyObject
* obj1
= 0 ;
6194 (char *) "self",(char *) "font", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6204 PyErr_SetString(PyExc_TypeError
,"null reference");
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 Py_INCREF(Py_None
); resultobj
= Py_None
;
6221 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6227 (char *) "self", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= SWIG_From_int((int)result
);
6247 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
;
6249 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6251 PyObject
* obj0
= 0 ;
6253 (char *) "self", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_From_int((int)result
);
6273 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_From_int((int)result
);
6299 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "self", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6327 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6331 PyObject
* obj0
= 0 ;
6333 (char *) "self", NULL
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6359 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_From_int((int)result
);
6385 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6391 (char *) "self", NULL
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= SWIG_From_int((int)result
);
6411 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6415 PyObject
* obj0
= 0 ;
6416 PyObject
* obj1
= 0 ;
6418 (char *) "self",(char *) "pointsize", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6424 arg2
= (int)SWIG_As_int(obj1
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 (arg1
)->SetPointSize(arg2
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6447 (char *) "self",(char *) "style", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6453 arg2
= (int)SWIG_As_int(obj1
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6476 (char *) "self",(char *) "weight", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 arg2
= (int)SWIG_As_int(obj1
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 Py_INCREF(Py_None
); resultobj
= Py_None
;
6498 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 (char *) "self",(char *) "underlined", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 arg2
= (bool)SWIG_As_bool(obj1
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 (arg1
)->SetUnderlined(arg2
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 Py_INCREF(Py_None
); resultobj
= Py_None
;
6527 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6534 (char *) "self",(char *) "facename", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 wxString
* sptr
= wxString_in_helper(obj1
);
6542 if (sptr
== NULL
) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 (arg1
)->SetFaceName(arg2
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 Py_INCREF(Py_None
); resultobj
= Py_None
;
6560 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6567 (char *) "self",(char *) "family", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6573 arg2
= (int)SWIG_As_int(obj1
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 Py_INCREF(Py_None
); resultobj
= Py_None
;
6589 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
;
6591 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6596 (char *) "self",(char *) "encoding", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6602 arg2
= (int)SWIG_As_int(obj1
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 Py_INCREF(Py_None
); resultobj
= Py_None
;
6618 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6621 wxString
*arg2
= 0 ;
6623 bool temp2
= false ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6627 (char *) "self",(char *) "s", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6634 arg2
= wxString_in_helper(obj1
);
6635 if (arg2
== NULL
) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6662 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6663 PyObject
*resultobj
;
6664 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6666 PyObject
* obj0
= 0 ;
6668 (char *) "self", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6676 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6678 wxPyEndAllowThreads(__tstate
);
6679 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6694 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
;
6696 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6698 PyObject
* obj0
= 0 ;
6700 (char *) "self", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= wxNativeFontInfo___str__(arg1
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6726 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6729 wxString
*arg2
= 0 ;
6731 bool temp2
= false ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6735 (char *) "self",(char *) "s", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6742 arg2
= wxString_in_helper(obj1
);
6743 if (arg2
== NULL
) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6770 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6776 (char *) "self", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6802 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6805 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6807 return Py_BuildValue((char *)"");
6809 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6812 wxString
*arg2
= (wxString
*) 0 ;
6813 bool temp2
= false ;
6814 PyObject
* obj0
= 0 ;
6815 PyObject
* obj1
= 0 ;
6817 (char *) "self",(char *) "facename", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6824 arg2
= wxString_in_helper(obj1
);
6825 if (arg2
== NULL
) SWIG_fail
;
6828 if (arg1
) (arg1
)->facename
= *arg2
;
6830 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6849 PyObject
* obj0
= 0 ;
6851 (char *) "self", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6857 result
= (wxString
*)& ((arg1
)->facename
);
6861 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6863 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6872 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6879 (char *) "self",(char *) "encoding", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6885 arg2
= (int)SWIG_As_int(obj1
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6887 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6889 Py_INCREF(Py_None
); resultobj
= Py_None
;
6896 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6900 PyObject
* obj0
= 0 ;
6902 (char *) "self", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6908 result
= (int) ((arg1
)->encoding
);
6910 resultobj
= SWIG_From_int((int)result
);
6917 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxNativeEncodingInfo
*result
;
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6939 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 Py_INCREF(Py_None
); resultobj
= Py_None
;
6964 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
;
6966 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6967 wxString
*arg2
= 0 ;
6969 bool temp2
= false ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6973 (char *) "self",(char *) "s", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6980 arg2
= wxString_in_helper(obj1
);
6981 if (arg2
== NULL
) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7008 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
*resultobj
;
7010 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7012 PyObject
* obj0
= 0 ;
7014 (char *) "self", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7040 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7043 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7045 return Py_BuildValue((char *)"");
7047 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7050 wxNativeEncodingInfo
*result
;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "encoding", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7057 arg1
= (int)SWIG_As_int(obj0
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7073 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
;
7075 wxNativeEncodingInfo
*arg1
= 0 ;
7077 PyObject
* obj0
= 0 ;
7079 (char *) "info", NULL
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7087 PyErr_SetString(PyExc_TypeError
,"null reference");
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7106 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxFontMapper
*result
;
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (wxFontMapper
*)new wxFontMapper();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7128 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "self", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 Py_INCREF(Py_None
); resultobj
= Py_None
;
7153 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxFontMapper
*result
;
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (wxFontMapper
*)wxFontMapper::Get();
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7175 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7178 wxFontMapper
*result
;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "mapper", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7201 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
;
7203 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7204 wxString
*arg2
= 0 ;
7205 bool arg3
= (bool) true ;
7207 bool temp2
= false ;
7208 PyObject
* obj0
= 0 ;
7209 PyObject
* obj1
= 0 ;
7210 PyObject
* obj2
= 0 ;
7212 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7219 arg2
= wxString_in_helper(obj1
);
7220 if (arg2
== NULL
) SWIG_fail
;
7224 arg3
= (bool)SWIG_As_bool(obj2
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_From_int((int)result
);
7249 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7271 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7275 PyObject
* obj0
= 0 ;
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7281 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (int)wxFontMapper::GetEncoding(arg1
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_From_int((int)result
);
7297 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7301 PyObject
* obj0
= 0 ;
7303 (char *) "encoding", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7307 arg1
= (int)SWIG_As_int(obj0
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7329 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7333 PyObject
* obj0
= 0 ;
7335 (char *) "encoding", NULL
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7339 arg1
= (int)SWIG_As_int(obj0
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7361 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 wxString
*arg1
= 0 ;
7365 bool temp1
= false ;
7366 PyObject
* obj0
= 0 ;
7368 (char *) "name", NULL
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7373 arg1
= wxString_in_helper(obj0
);
7374 if (arg1
== NULL
) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= SWIG_From_int((int)result
);
7399 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7402 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7404 PyObject
* obj1
= 0 ;
7406 (char *) "self",(char *) "config", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 (arg1
)->SetConfig(arg2
);
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7431 wxString
*arg2
= 0 ;
7432 bool temp2
= false ;
7433 PyObject
* obj0
= 0 ;
7434 PyObject
* obj1
= 0 ;
7436 (char *) "self",(char *) "prefix", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 arg2
= wxString_in_helper(obj1
);
7444 if (arg2
== NULL
) SWIG_fail
;
7448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 result
= wxFontMapper::GetDefaultConfigPath();
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7497 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7503 bool arg4
= (bool) true ;
7505 bool temp3
= false ;
7506 PyObject
* obj0
= 0 ;
7507 PyObject
* obj1
= 0 ;
7508 PyObject
* obj2
= 0 ;
7509 PyObject
* obj3
= 0 ;
7511 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7517 arg2
= (int)SWIG_As_int(obj1
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 arg3
= wxString_in_helper(obj2
);
7522 if (arg3
== NULL
) SWIG_fail
;
7527 arg4
= (bool)SWIG_As_bool(obj3
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7552 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7559 bool temp3
= false ;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7562 PyObject
* obj2
= 0 ;
7564 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 arg2
= (int)SWIG_As_int(obj1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7574 arg3
= wxString_in_helper(obj2
);
7575 if (arg3
== NULL
) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7603 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7606 wxWindow
*arg2
= (wxWindow
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7610 (char *) "self",(char *) "parent", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 (arg1
)->SetDialogParent(arg2
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7635 wxString
*arg2
= 0 ;
7636 bool temp2
= false ;
7637 PyObject
* obj0
= 0 ;
7638 PyObject
* obj1
= 0 ;
7640 (char *) "self",(char *) "title", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7647 arg2
= wxString_in_helper(obj1
);
7648 if (arg2
== NULL
) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7658 Py_INCREF(Py_None
); resultobj
= Py_None
;
7673 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7676 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7678 return Py_BuildValue((char *)"");
7680 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7686 bool arg5
= (bool) false ;
7687 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7688 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7689 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7691 bool temp6
= false ;
7692 PyObject
* obj0
= 0 ;
7693 PyObject
* obj1
= 0 ;
7694 PyObject
* obj2
= 0 ;
7695 PyObject
* obj3
= 0 ;
7696 PyObject
* obj4
= 0 ;
7697 PyObject
* obj5
= 0 ;
7698 PyObject
* obj6
= 0 ;
7700 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7704 arg1
= (int)SWIG_As_int(obj0
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7706 arg2
= (int)SWIG_As_int(obj1
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7708 arg3
= (int)SWIG_As_int(obj2
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7710 arg4
= (int)SWIG_As_int(obj3
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 arg5
= (bool)SWIG_As_bool(obj4
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7718 arg6
= wxString_in_helper(obj5
);
7719 if (arg6
== NULL
) SWIG_fail
;
7724 arg7
= (int)SWIG_As_int(obj6
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7728 if (!wxPyCheckForApp()) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7750 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxFont
*arg1
= (wxFont
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 Py_INCREF(Py_None
); resultobj
= Py_None
;
7775 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
*resultobj
;
7777 wxNativeFontInfo
*arg1
= 0 ;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "info", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7789 PyErr_SetString(PyExc_TypeError
,"null reference");
7793 if (!wxPyCheckForApp()) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7807 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxString
*arg1
= 0 ;
7811 bool temp1
= false ;
7812 PyObject
* obj0
= 0 ;
7814 (char *) "info", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7819 arg1
= wxString_in_helper(obj0
);
7820 if (arg1
== NULL
) SWIG_fail
;
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7846 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7850 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7851 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7852 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7853 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7855 bool temp4
= false ;
7856 PyObject
* obj0
= 0 ;
7857 PyObject
* obj1
= 0 ;
7858 PyObject
* obj2
= 0 ;
7859 PyObject
* obj3
= 0 ;
7860 PyObject
* obj4
= 0 ;
7862 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7866 arg1
= (int)SWIG_As_int(obj0
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7868 arg2
= (int)SWIG_As_int(obj1
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 arg3
= (int)SWIG_As_int(obj2
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7876 arg4
= wxString_in_helper(obj3
);
7877 if (arg4
== NULL
) SWIG_fail
;
7882 arg5
= (int)SWIG_As_int(obj4
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 if (!wxPyCheckForApp()) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7908 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7914 bool arg5
= (bool) false ;
7915 wxString
const &arg6_defvalue
= wxEmptyString
;
7916 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7917 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7920 bool temp6
= false ;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7923 PyObject
* obj2
= 0 ;
7924 PyObject
* obj3
= 0 ;
7925 PyObject
* obj4
= 0 ;
7926 PyObject
* obj5
= 0 ;
7927 PyObject
* obj6
= 0 ;
7929 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7935 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
7937 arg2
= (int)SWIG_As_int(obj1
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7939 arg3
= (int)SWIG_As_int(obj2
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7941 arg4
= (int)SWIG_As_int(obj3
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 arg5
= (bool)SWIG_As_bool(obj4
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7949 arg6
= wxString_in_helper(obj5
);
7950 if (arg6
== NULL
) SWIG_fail
;
7955 arg7
= (int)SWIG_As_int(obj6
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7959 if (!wxPyCheckForApp()) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7981 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
;
7983 wxFont
*arg1
= (wxFont
*) 0 ;
7985 PyObject
* obj0
= 0 ;
7987 (char *) "self", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (bool)((wxFont
const *)arg1
)->Ok();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8009 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxFont
*arg1
= (wxFont
*) 0 ;
8012 wxFont
*arg2
= (wxFont
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8017 (char *) "self",(char *) "other", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8041 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
;
8043 wxFont
*arg1
= (wxFont
*) 0 ;
8044 wxFont
*arg2
= (wxFont
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8047 PyObject
* obj1
= 0 ;
8049 (char *) "self",(char *) "other", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8073 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxFont
*arg1
= (wxFont
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "self", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_From_int((int)result
);
8099 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxFont
*arg1
= (wxFont
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8120 resultptr
= new wxSize((wxSize
&) result
);
8121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8129 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxFont
*arg1
= (wxFont
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8157 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxFont
*arg1
= (wxFont
*) 0 ;
8161 PyObject
* obj0
= 0 ;
8163 (char *) "self", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= SWIG_From_int((int)result
);
8183 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxFont
*arg1
= (wxFont
*) 0 ;
8187 PyObject
* obj0
= 0 ;
8189 (char *) "self", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= SWIG_From_int((int)result
);
8209 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
;
8211 wxFont
*arg1
= (wxFont
*) 0 ;
8213 PyObject
* obj0
= 0 ;
8215 (char *) "self", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8223 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8225 wxPyEndAllowThreads(__tstate
);
8226 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= SWIG_From_int((int)result
);
8235 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxFont
*arg1
= (wxFont
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "self", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8263 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxFont
*arg1
= (wxFont
*) 0 ;
8267 PyObject
* obj0
= 0 ;
8269 (char *) "self", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 result
= ((wxFont
const *)arg1
)->GetFaceName();
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8295 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxFont
*arg1
= (wxFont
*) 0 ;
8299 PyObject
* obj0
= 0 ;
8301 (char *) "self", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= SWIG_From_int((int)result
);
8321 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxFont
*arg1
= (wxFont
*) 0 ;
8324 wxNativeFontInfo
*result
;
8325 PyObject
* obj0
= 0 ;
8327 (char *) "self", NULL
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8347 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxFont
*arg1
= (wxFont
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8353 (char *) "self", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8375 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxFont
*arg1
= (wxFont
*) 0 ;
8379 PyObject
* obj0
= 0 ;
8381 (char *) "self", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8407 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
;
8409 wxFont
*arg1
= (wxFont
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8413 (char *) "self", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8439 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxFont
*arg1
= (wxFont
*) 0 ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8446 (char *) "self",(char *) "pointSize", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8452 arg2
= (int)SWIG_As_int(obj1
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 (arg1
)->SetPointSize(arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 Py_INCREF(Py_None
); resultobj
= Py_None
;
8468 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
*resultobj
;
8470 wxFont
*arg1
= (wxFont
*) 0 ;
8473 PyObject
* obj0
= 0 ;
8474 PyObject
* obj1
= 0 ;
8476 (char *) "self",(char *) "pixelSize", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8493 Py_INCREF(Py_None
); resultobj
= Py_None
;
8500 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
*resultobj
;
8502 wxFont
*arg1
= (wxFont
*) 0 ;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8507 (char *) "self",(char *) "family", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8513 arg2
= (int)SWIG_As_int(obj1
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 (arg1
)->SetFamily(arg2
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8529 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxFont
*arg1
= (wxFont
*) 0 ;
8533 PyObject
* obj0
= 0 ;
8534 PyObject
* obj1
= 0 ;
8536 (char *) "self",(char *) "style", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8542 arg2
= (int)SWIG_As_int(obj1
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 (arg1
)->SetStyle(arg2
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 Py_INCREF(Py_None
); resultobj
= Py_None
;
8558 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxFont
*arg1
= (wxFont
*) 0 ;
8562 PyObject
* obj0
= 0 ;
8563 PyObject
* obj1
= 0 ;
8565 (char *) "self",(char *) "weight", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8571 arg2
= (int)SWIG_As_int(obj1
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 (arg1
)->SetWeight(arg2
);
8577 wxPyEndAllowThreads(__tstate
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 Py_INCREF(Py_None
); resultobj
= Py_None
;
8587 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxFont
*arg1
= (wxFont
*) 0 ;
8590 wxString
*arg2
= 0 ;
8591 bool temp2
= false ;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8595 (char *) "self",(char *) "faceName", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8602 arg2
= wxString_in_helper(obj1
);
8603 if (arg2
== NULL
) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 Py_INCREF(Py_None
); resultobj
= Py_None
;
8628 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxFont
*arg1
= (wxFont
*) 0 ;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8635 (char *) "self",(char *) "underlined", NULL
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8641 arg2
= (bool)SWIG_As_bool(obj1
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 (arg1
)->SetUnderlined(arg2
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8650 Py_INCREF(Py_None
); resultobj
= Py_None
;
8657 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
;
8659 wxFont
*arg1
= (wxFont
*) 0 ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8664 (char *) "self",(char *) "encoding", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8670 arg2
= (int)SWIG_As_int(obj1
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxFont
*arg1
= (wxFont
*) 0 ;
8689 wxNativeFontInfo
*arg2
= 0 ;
8690 PyObject
* obj0
= 0 ;
8691 PyObject
* obj1
= 0 ;
8693 (char *) "self",(char *) "info", NULL
8696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8703 PyErr_SetString(PyExc_TypeError
,"null reference");
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 Py_INCREF(Py_None
); resultobj
= Py_None
;
8720 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxFont
*arg1
= (wxFont
*) 0 ;
8723 wxString
*arg2
= 0 ;
8724 bool temp2
= false ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8728 (char *) "self",(char *) "info", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8735 arg2
= wxString_in_helper(obj1
);
8736 if (arg2
== NULL
) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxFont
*arg1
= (wxFont
*) 0 ;
8764 wxString
*arg2
= 0 ;
8765 bool temp2
= false ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8769 (char *) "self",(char *) "info", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8776 arg2
= wxString_in_helper(obj1
);
8777 if (arg2
== NULL
) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8802 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxFont
*arg1
= (wxFont
*) 0 ;
8806 PyObject
* obj0
= 0 ;
8808 (char *) "self", NULL
8811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8834 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
;
8836 wxFont
*arg1
= (wxFont
*) 0 ;
8838 PyObject
* obj0
= 0 ;
8840 (char *) "self", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= ((wxFont
const *)arg1
)->GetStyleString();
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8866 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxFont
*arg1
= (wxFont
*) 0 ;
8870 PyObject
* obj0
= 0 ;
8872 (char *) "self", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= ((wxFont
const *)arg1
)->GetWeightString();
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8898 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxFont
*arg1
= (wxFont
*) 0 ;
8901 bool arg2
= (bool) true ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8905 (char *) "self",(char *) "no", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8912 arg2
= (bool)SWIG_As_bool(obj1
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 (arg1
)->SetNoAntiAliasing(arg2
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 Py_INCREF(Py_None
); resultobj
= Py_None
;
8929 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxFont
*arg1
= (wxFont
*) 0 ;
8933 PyObject
* obj0
= 0 ;
8935 (char *) "self", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8957 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8966 if (!wxPyCheckForApp()) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (int)wxFont::GetDefaultEncoding();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_From_int((int)result
);
8980 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8983 PyObject
* obj0
= 0 ;
8985 (char *) "encoding", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8989 arg1
= (int)SWIG_As_int(obj0
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 if (!wxPyCheckForApp()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 Py_INCREF(Py_None
); resultobj
= Py_None
;
9006 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9009 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9011 return Py_BuildValue((char *)"");
9013 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxPyFontEnumerator
*result
;
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9022 if (!wxPyCheckForApp()) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9036 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9039 PyObject
* obj0
= 0 ;
9041 (char *) "self", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 Py_INCREF(Py_None
); resultobj
= Py_None
;
9061 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9064 PyObject
*arg2
= (PyObject
*) 0 ;
9065 PyObject
*arg3
= (PyObject
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj1
= 0 ;
9069 PyObject
* obj2
= 0 ;
9070 PyObject
* obj3
= 0 ;
9072 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9080 arg4
= (bool)SWIG_As_bool(obj3
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9099 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9100 bool arg3
= (bool) false ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9104 PyObject
* obj2
= 0 ;
9106 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9113 arg2
= (int)SWIG_As_int(obj1
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9117 arg3
= (bool)SWIG_As_bool(obj2
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9136 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9139 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9140 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9142 bool temp2
= false ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9146 (char *) "self",(char *) "facename", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9154 arg2
= wxString_in_helper(obj1
);
9155 if (arg2
== NULL
) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9183 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9189 (char *) "self", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9209 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9235 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9238 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9240 return Py_BuildValue((char *)"");
9242 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9249 (char *) "self",(char *) "Language", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9255 arg2
= (int)SWIG_As_int(obj1
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9257 if (arg1
) (arg1
)->Language
= arg2
;
9259 Py_INCREF(Py_None
); resultobj
= Py_None
;
9266 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9272 (char *) "self", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9278 result
= (int) ((arg1
)->Language
);
9280 resultobj
= SWIG_From_int((int)result
);
9287 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9290 wxString
*arg2
= (wxString
*) 0 ;
9291 bool temp2
= false ;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9295 (char *) "self",(char *) "CanonicalName", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9302 arg2
= wxString_in_helper(obj1
);
9303 if (arg2
== NULL
) SWIG_fail
;
9306 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9308 Py_INCREF(Py_None
); resultobj
= Py_None
;
9323 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9325 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9329 (char *) "self", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9339 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9341 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9350 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9353 wxString
*arg2
= (wxString
*) 0 ;
9354 bool temp2
= false ;
9355 PyObject
* obj0
= 0 ;
9356 PyObject
* obj1
= 0 ;
9358 (char *) "self",(char *) "Description", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 arg2
= wxString_in_helper(obj1
);
9366 if (arg2
== NULL
) SWIG_fail
;
9369 if (arg1
) (arg1
)->Description
= *arg2
;
9371 Py_INCREF(Py_None
); resultobj
= Py_None
;
9386 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9398 result
= (wxString
*)& ((arg1
)->Description
);
9402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9413 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9416 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9418 return Py_BuildValue((char *)"");
9420 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 int arg1
= (int) -1 ;
9423 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9428 (char *) "language",(char *) "flags", NULL
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9433 arg1
= (int)SWIG_As_int(obj0
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 arg2
= (int)SWIG_As_int(obj1
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9454 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
*resultobj
;
9456 wxLocale
*arg1
= (wxLocale
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9459 (char *) "self", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 Py_INCREF(Py_None
); resultobj
= Py_None
;
9479 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxLocale
*arg1
= (wxLocale
*) 0 ;
9482 wxString
*arg2
= 0 ;
9483 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9484 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9485 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9486 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9487 bool arg5
= (bool) true ;
9488 bool arg6
= (bool) false ;
9490 bool temp2
= false ;
9491 bool temp3
= false ;
9492 bool temp4
= false ;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 PyObject
* obj2
= 0 ;
9496 PyObject
* obj3
= 0 ;
9497 PyObject
* obj4
= 0 ;
9498 PyObject
* obj5
= 0 ;
9500 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9507 arg2
= wxString_in_helper(obj1
);
9508 if (arg2
== NULL
) SWIG_fail
;
9513 arg3
= wxString_in_helper(obj2
);
9514 if (arg3
== NULL
) SWIG_fail
;
9520 arg4
= wxString_in_helper(obj3
);
9521 if (arg4
== NULL
) SWIG_fail
;
9526 arg5
= (bool)SWIG_As_bool(obj4
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9530 arg6
= (bool)SWIG_As_bool(obj5
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9573 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxLocale
*arg1
= (wxLocale
*) 0 ;
9576 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9577 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9579 PyObject
* obj0
= 0 ;
9580 PyObject
* obj1
= 0 ;
9581 PyObject
* obj2
= 0 ;
9583 (char *) "self",(char *) "language",(char *) "flags", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 arg2
= (int)SWIG_As_int(obj1
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9594 arg3
= (int)SWIG_As_int(obj2
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9613 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (int)wxLocale::GetSystemLanguage();
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 resultobj
= SWIG_From_int((int)result
);
9635 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (int)wxLocale::GetSystemEncoding();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_From_int((int)result
);
9657 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= wxLocale::GetSystemEncodingName();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9685 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxLocale
*arg1
= (wxLocale
*) 0 ;
9689 PyObject
* obj0
= 0 ;
9691 (char *) "self", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9713 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 wxLocale
*arg1
= (wxLocale
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9719 (char *) "self", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= ((wxLocale
const *)arg1
)->GetLocale();
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9745 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxLocale
*arg1
= (wxLocale
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "self", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_From_int((int)result
);
9771 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxLocale
*arg1
= (wxLocale
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= ((wxLocale
const *)arg1
)->GetSysName();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9803 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxLocale
*arg1
= (wxLocale
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9826 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9835 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxString
*arg1
= 0 ;
9838 bool temp1
= false ;
9839 PyObject
* obj0
= 0 ;
9841 (char *) "prefix", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9846 arg1
= wxString_in_helper(obj0
);
9847 if (arg1
== NULL
) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9872 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
;
9874 wxLocale
*arg1
= (wxLocale
*) 0 ;
9875 wxString
*arg2
= 0 ;
9877 bool temp2
= false ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9881 (char *) "self",(char *) "szDomain", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 arg2
= wxString_in_helper(obj1
);
9889 if (arg2
== NULL
) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9916 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxLocale
*arg1
= (wxLocale
*) 0 ;
9919 wxString
*arg2
= 0 ;
9921 bool temp2
= false ;
9922 PyObject
* obj0
= 0 ;
9923 PyObject
* obj1
= 0 ;
9925 (char *) "self",(char *) "szDomain", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9932 arg2
= wxString_in_helper(obj1
);
9933 if (arg2
== NULL
) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9960 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9963 wxLanguageInfo
*result
;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "lang", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9970 arg1
= (int)SWIG_As_int(obj0
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9986 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "lang", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9996 arg1
= (int)SWIG_As_int(obj0
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= wxLocale::GetLanguageName(arg1
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10018 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxString
*arg1
= 0 ;
10021 wxLanguageInfo
*result
;
10022 bool temp1
= false ;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "locale", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10030 arg1
= wxString_in_helper(obj0
);
10031 if (arg1
== NULL
) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10056 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxLanguageInfo
*arg1
= 0 ;
10059 PyObject
* obj0
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "info", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10068 if (arg1
== NULL
) {
10069 PyErr_SetString(PyExc_TypeError
,"null reference");
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10079 Py_INCREF(Py_None
); resultobj
= Py_None
;
10086 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxLocale
*arg1
= (wxLocale
*) 0 ;
10089 wxString
*arg2
= 0 ;
10090 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10093 bool temp2
= false ;
10094 bool temp3
= false ;
10095 PyObject
* obj0
= 0 ;
10096 PyObject
* obj1
= 0 ;
10097 PyObject
* obj2
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10106 arg2
= wxString_in_helper(obj1
);
10107 if (arg2
== NULL
) SWIG_fail
;
10112 arg3
= wxString_in_helper(obj2
);
10113 if (arg3
== NULL
) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10153 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxLocale
*arg1
= (wxLocale
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 char *kwnames
[] = {
10159 (char *) "self", NULL
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10169 result
= (wxString
*) &_result_ref
;
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10188 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10191 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10193 return Py_BuildValue((char *)"");
10195 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
;
10198 char *kwnames
[] = {
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (wxLocale
*)wxGetLocale();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10217 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10218 PyObject
*resultobj
;
10219 wxString
*arg1
= 0 ;
10221 bool temp1
= false ;
10222 PyObject
* obj0
= 0 ;
10224 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10226 arg1
= wxString_in_helper(obj0
);
10227 if (arg1
== NULL
) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= wxGetTranslation((wxString
const &)*arg1
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10258 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10259 PyObject
*resultobj
;
10260 wxString
*arg1
= 0 ;
10261 wxString
*arg2
= 0 ;
10264 bool temp1
= false ;
10265 bool temp2
= false ;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 PyObject
* obj2
= 0 ;
10270 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10272 arg1
= wxString_in_helper(obj0
);
10273 if (arg1
== NULL
) SWIG_fail
;
10277 arg2
= wxString_in_helper(obj1
);
10278 if (arg2
== NULL
) SWIG_fail
;
10281 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10319 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10324 argc
= PyObject_Length(args
);
10325 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10326 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10331 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10334 return _wrap_GetTranslation__SWIG_0(self
,args
);
10340 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10344 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10347 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10349 return _wrap_GetTranslation__SWIG_1(self
,args
);
10355 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10360 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxEncodingConverter
*result
;
10363 char *kwnames
[] = {
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10382 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10385 PyObject
* obj0
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 Py_INCREF(Py_None
); resultobj
= Py_None
;
10407 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10412 int arg4
= (int) wxCONVERT_STRICT
;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 PyObject
* obj2
= 0 ;
10417 PyObject
* obj3
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 arg2
= (int)SWIG_As_int(obj1
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10427 arg3
= (int)SWIG_As_int(obj2
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 arg4
= (int)SWIG_As_int(obj3
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10449 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10452 wxString
*arg2
= 0 ;
10454 bool temp2
= false ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "input", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10465 arg2
= wxString_in_helper(obj1
);
10466 if (arg2
== NULL
) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10497 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
;
10500 int arg2
= (int) wxPLATFORM_CURRENT
;
10501 wxFontEncodingArray result
;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "enc",(char *) "platform", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10509 arg1
= (int)SWIG_As_int(obj0
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 arg2
= (int)SWIG_As_int(obj1
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= PyList_New(0);
10524 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10525 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10526 PyList_Append(resultobj
, number
);
10536 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10539 wxFontEncodingArray result
;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "enc", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10546 arg1
= (int)SWIG_As_int(obj0
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= PyList_New(0);
10557 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10558 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10559 PyList_Append(resultobj
, number
);
10569 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "encIn",(char *) "encOut", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10581 arg1
= (int)SWIG_As_int(obj0
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10583 arg2
= (int)SWIG_As_int(obj1
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10601 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10604 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10606 return Py_BuildValue((char *)"");
10608 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxDC
*arg1
= (wxDC
*) 0 ;
10611 PyObject
* obj0
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10626 Py_INCREF(Py_None
); resultobj
= Py_None
;
10633 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxDC
*arg1
= (wxDC
*) 0 ;
10636 PyObject
* obj0
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 (arg1
)->BeginDrawing();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 Py_INCREF(Py_None
); resultobj
= Py_None
;
10658 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxDC
*arg1
= (wxDC
*) 0 ;
10661 PyObject
* obj0
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "self", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 (arg1
)->EndDrawing();
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10676 Py_INCREF(Py_None
); resultobj
= Py_None
;
10683 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxDC
*arg1
= (wxDC
*) 0 ;
10688 wxColour
*arg4
= 0 ;
10689 int arg5
= (int) wxFLOOD_SURFACE
;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 PyObject
* obj2
= 0 ;
10695 PyObject
* obj3
= 0 ;
10696 PyObject
* obj4
= 0 ;
10697 char *kwnames
[] = {
10698 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 arg2
= (int)SWIG_As_int(obj1
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10706 arg3
= (int)SWIG_As_int(obj2
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10710 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10713 arg5
= (int)SWIG_As_int(obj4
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10732 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxDC
*arg1
= (wxDC
*) 0 ;
10735 wxPoint
*arg2
= 0 ;
10736 wxColour
*arg3
= 0 ;
10737 int arg4
= (int) wxFLOOD_SURFACE
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 PyObject
* obj3
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10758 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10761 arg4
= (int)SWIG_As_int(obj3
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10780 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxDC
*arg1
= (wxDC
*) 0 ;
10786 PyObject
* obj0
= 0 ;
10787 PyObject
* obj1
= 0 ;
10788 PyObject
* obj2
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "self",(char *) "x",(char *) "y", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10796 arg2
= (int)SWIG_As_int(obj1
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10798 arg3
= (int)SWIG_As_int(obj2
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 wxColour
* resultptr
;
10809 resultptr
= new wxColour((wxColour
&) result
);
10810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10818 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxDC
*arg1
= (wxDC
*) 0 ;
10821 wxPoint
*arg2
= 0 ;
10824 PyObject
* obj0
= 0 ;
10825 PyObject
* obj1
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self",(char *) "pt", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10845 wxColour
* resultptr
;
10846 resultptr
= new wxColour((wxColour
&) result
);
10847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10855 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxDC
*arg1
= (wxDC
*) 0 ;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 PyObject
* obj2
= 0 ;
10865 PyObject
* obj3
= 0 ;
10866 PyObject
* obj4
= 0 ;
10867 char *kwnames
[] = {
10868 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10874 arg2
= (int)SWIG_As_int(obj1
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10876 arg3
= (int)SWIG_As_int(obj2
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10878 arg4
= (int)SWIG_As_int(obj3
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10880 arg5
= (int)SWIG_As_int(obj4
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 Py_INCREF(Py_None
); resultobj
= Py_None
;
10896 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxDC
*arg1
= (wxDC
*) 0 ;
10899 wxPoint
*arg2
= 0 ;
10900 wxPoint
*arg3
= 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 PyObject
* obj2
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10919 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10928 Py_INCREF(Py_None
); resultobj
= Py_None
;
10935 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxDC
*arg1
= (wxDC
*) 0 ;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 PyObject
* obj2
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "x",(char *) "y", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10950 arg2
= (int)SWIG_As_int(obj1
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10952 arg3
= (int)SWIG_As_int(obj2
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 (arg1
)->CrossHair(arg2
,arg3
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 Py_INCREF(Py_None
); resultobj
= Py_None
;
10968 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxDC
*arg1
= (wxDC
*) 0 ;
10971 wxPoint
*arg2
= 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self",(char *) "pt", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 Py_INCREF(Py_None
); resultobj
= Py_None
;
11000 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxDC
*arg1
= (wxDC
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 PyObject
* obj2
= 0 ;
11012 PyObject
* obj3
= 0 ;
11013 PyObject
* obj4
= 0 ;
11014 PyObject
* obj5
= 0 ;
11015 PyObject
* obj6
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (int)SWIG_As_int(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11025 arg3
= (int)SWIG_As_int(obj2
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11027 arg4
= (int)SWIG_As_int(obj3
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11029 arg5
= (int)SWIG_As_int(obj4
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11031 arg6
= (int)SWIG_As_int(obj5
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11033 arg7
= (int)SWIG_As_int(obj6
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 Py_INCREF(Py_None
); resultobj
= Py_None
;
11049 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxDC
*arg1
= (wxDC
*) 0 ;
11052 wxPoint
*arg2
= 0 ;
11053 wxPoint
*arg3
= 0 ;
11054 wxPoint
*arg4
= 0 ;
11058 PyObject
* obj0
= 0 ;
11059 PyObject
* obj1
= 0 ;
11060 PyObject
* obj2
= 0 ;
11061 PyObject
* obj3
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11075 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxDC
*arg1
= (wxDC
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 PyObject
* obj1
= 0 ;
11104 PyObject
* obj2
= 0 ;
11105 PyObject
* obj3
= 0 ;
11106 PyObject
* obj4
= 0 ;
11107 char *kwnames
[] = {
11108 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11114 arg2
= (int)SWIG_As_int(obj1
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11116 arg3
= (int)SWIG_As_int(obj2
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11118 arg4
= (int)SWIG_As_int(obj3
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11120 arg5
= (int)SWIG_As_int(obj4
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11129 Py_INCREF(Py_None
); resultobj
= Py_None
;
11136 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxDC
*arg1
= (wxDC
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self",(char *) "rect", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 Py_INCREF(Py_None
); resultobj
= Py_None
;
11168 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxDC
*arg1
= (wxDC
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 PyObject
* obj2
= 0 ;
11180 PyObject
* obj3
= 0 ;
11181 PyObject
* obj4
= 0 ;
11182 PyObject
* obj5
= 0 ;
11183 PyObject
* obj6
= 0 ;
11184 char *kwnames
[] = {
11185 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11191 arg2
= (int)SWIG_As_int(obj1
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11193 arg3
= (int)SWIG_As_int(obj2
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11195 arg4
= (int)SWIG_As_int(obj3
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11197 arg5
= (int)SWIG_As_int(obj4
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11199 arg6
= (double)SWIG_As_double(obj5
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11201 arg7
= (double)SWIG_As_double(obj6
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 Py_INCREF(Py_None
); resultobj
= Py_None
;
11217 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
*resultobj
;
11219 wxDC
*arg1
= (wxDC
*) 0 ;
11220 wxPoint
*arg2
= 0 ;
11226 PyObject
* obj0
= 0 ;
11227 PyObject
* obj1
= 0 ;
11228 PyObject
* obj2
= 0 ;
11229 PyObject
* obj3
= 0 ;
11230 PyObject
* obj4
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11240 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11244 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11246 arg4
= (double)SWIG_As_double(obj3
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11248 arg5
= (double)SWIG_As_double(obj4
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11257 Py_INCREF(Py_None
); resultobj
= Py_None
;
11264 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
;
11266 wxDC
*arg1
= (wxDC
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 PyObject
* obj1
= 0 ;
11271 PyObject
* obj2
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self",(char *) "x",(char *) "y", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11279 arg2
= (int)SWIG_As_int(obj1
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11281 arg3
= (int)SWIG_As_int(obj2
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->DrawPoint(arg2
,arg3
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 Py_INCREF(Py_None
); resultobj
= Py_None
;
11297 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxDC
*arg1
= (wxDC
*) 0 ;
11300 wxPoint
*arg2
= 0 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "pt", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11322 Py_INCREF(Py_None
); resultobj
= Py_None
;
11329 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxDC
*arg1
= (wxDC
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 PyObject
* obj1
= 0 ;
11338 PyObject
* obj2
= 0 ;
11339 PyObject
* obj3
= 0 ;
11340 PyObject
* obj4
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11348 arg2
= (int)SWIG_As_int(obj1
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11350 arg3
= (int)SWIG_As_int(obj2
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11352 arg4
= (int)SWIG_As_int(obj3
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11354 arg5
= (int)SWIG_As_int(obj4
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 Py_INCREF(Py_None
); resultobj
= Py_None
;
11370 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxDC
*arg1
= (wxDC
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self",(char *) "rect", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11386 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 Py_INCREF(Py_None
); resultobj
= Py_None
;
11402 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxDC
*arg1
= (wxDC
*) 0 ;
11405 wxPoint
*arg2
= 0 ;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj1
= 0 ;
11411 PyObject
* obj2
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self",(char *) "pt",(char *) "sz", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11425 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 Py_INCREF(Py_None
); resultobj
= Py_None
;
11441 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxDC
*arg1
= (wxDC
*) 0 ;
11449 PyObject
* obj0
= 0 ;
11450 PyObject
* obj1
= 0 ;
11451 PyObject
* obj2
= 0 ;
11452 PyObject
* obj3
= 0 ;
11453 PyObject
* obj4
= 0 ;
11454 PyObject
* obj5
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11462 arg2
= (int)SWIG_As_int(obj1
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11464 arg3
= (int)SWIG_As_int(obj2
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11466 arg4
= (int)SWIG_As_int(obj3
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11468 arg5
= (int)SWIG_As_int(obj4
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11470 arg6
= (double)SWIG_As_double(obj5
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 Py_INCREF(Py_None
); resultobj
= Py_None
;
11486 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
;
11488 wxDC
*arg1
= (wxDC
*) 0 ;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 PyObject
* obj2
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self",(char *) "r",(char *) "radius", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11504 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11506 arg3
= (double)SWIG_As_double(obj2
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 Py_INCREF(Py_None
); resultobj
= Py_None
;
11522 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxDC
*arg1
= (wxDC
*) 0 ;
11525 wxPoint
*arg2
= 0 ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 PyObject
* obj2
= 0 ;
11533 PyObject
* obj3
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11547 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11549 arg4
= (double)SWIG_As_double(obj3
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 Py_INCREF(Py_None
); resultobj
= Py_None
;
11565 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxDC
*arg1
= (wxDC
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 PyObject
* obj3
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 arg2
= (int)SWIG_As_int(obj1
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11584 arg3
= (int)SWIG_As_int(obj2
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11586 arg4
= (int)SWIG_As_int(obj3
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 Py_INCREF(Py_None
); resultobj
= Py_None
;
11602 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxDC
*arg1
= (wxDC
*) 0 ;
11605 wxPoint
*arg2
= 0 ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 PyObject
* obj2
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "self",(char *) "pt",(char *) "radius", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11622 arg3
= (int)SWIG_As_int(obj2
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 Py_INCREF(Py_None
); resultobj
= Py_None
;
11638 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 wxDC
*arg1
= (wxDC
*) 0 ;
11645 PyObject
* obj0
= 0 ;
11646 PyObject
* obj1
= 0 ;
11647 PyObject
* obj2
= 0 ;
11648 PyObject
* obj3
= 0 ;
11649 PyObject
* obj4
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11657 arg2
= (int)SWIG_As_int(obj1
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11659 arg3
= (int)SWIG_As_int(obj2
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11661 arg4
= (int)SWIG_As_int(obj3
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11663 arg5
= (int)SWIG_As_int(obj4
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 Py_INCREF(Py_None
); resultobj
= Py_None
;
11679 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxDC
*arg1
= (wxDC
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self",(char *) "rect", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11695 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 Py_INCREF(Py_None
); resultobj
= Py_None
;
11711 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
;
11713 wxDC
*arg1
= (wxDC
*) 0 ;
11714 wxPoint
*arg2
= 0 ;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 PyObject
* obj2
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self",(char *) "pt",(char *) "sz", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11730 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11734 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 Py_INCREF(Py_None
); resultobj
= Py_None
;
11750 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxDC
*arg1
= (wxDC
*) 0 ;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 PyObject
* obj2
= 0 ;
11759 PyObject
* obj3
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11770 if (arg2
== NULL
) {
11771 PyErr_SetString(PyExc_TypeError
,"null reference");
11774 arg3
= (int)SWIG_As_int(obj2
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11776 arg4
= (int)SWIG_As_int(obj3
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 Py_INCREF(Py_None
); resultobj
= Py_None
;
11792 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxDC
*arg1
= (wxDC
*) 0 ;
11796 wxPoint
*arg3
= 0 ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 PyObject
* obj2
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "icon",(char *) "pt", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11811 if (arg2
== NULL
) {
11812 PyErr_SetString(PyExc_TypeError
,"null reference");
11817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 Py_INCREF(Py_None
); resultobj
= Py_None
;
11833 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxDC
*arg1
= (wxDC
*) 0 ;
11836 wxBitmap
*arg2
= 0 ;
11839 bool arg5
= (bool) false ;
11840 PyObject
* obj0
= 0 ;
11841 PyObject
* obj1
= 0 ;
11842 PyObject
* obj2
= 0 ;
11843 PyObject
* obj3
= 0 ;
11844 PyObject
* obj4
= 0 ;
11845 char *kwnames
[] = {
11846 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11855 if (arg2
== NULL
) {
11856 PyErr_SetString(PyExc_TypeError
,"null reference");
11859 arg3
= (int)SWIG_As_int(obj2
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11861 arg4
= (int)SWIG_As_int(obj3
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 arg5
= (bool)SWIG_As_bool(obj4
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 Py_INCREF(Py_None
); resultobj
= Py_None
;
11881 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
;
11883 wxDC
*arg1
= (wxDC
*) 0 ;
11884 wxBitmap
*arg2
= 0 ;
11885 wxPoint
*arg3
= 0 ;
11886 bool arg4
= (bool) false ;
11888 PyObject
* obj0
= 0 ;
11889 PyObject
* obj1
= 0 ;
11890 PyObject
* obj2
= 0 ;
11891 PyObject
* obj3
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11900 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11902 if (arg2
== NULL
) {
11903 PyErr_SetString(PyExc_TypeError
,"null reference");
11908 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11911 arg4
= (bool)SWIG_As_bool(obj3
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 Py_INCREF(Py_None
); resultobj
= Py_None
;
11928 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxDC
*arg1
= (wxDC
*) 0 ;
11931 wxString
*arg2
= 0 ;
11934 bool temp2
= false ;
11935 PyObject
* obj0
= 0 ;
11936 PyObject
* obj1
= 0 ;
11937 PyObject
* obj2
= 0 ;
11938 PyObject
* obj3
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11947 arg2
= wxString_in_helper(obj1
);
11948 if (arg2
== NULL
) SWIG_fail
;
11951 arg3
= (int)SWIG_As_int(obj2
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11953 arg4
= (int)SWIG_As_int(obj3
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 Py_INCREF(Py_None
); resultobj
= Py_None
;
11977 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxDC
*arg1
= (wxDC
*) 0 ;
11980 wxString
*arg2
= 0 ;
11981 wxPoint
*arg3
= 0 ;
11982 bool temp2
= false ;
11984 PyObject
* obj0
= 0 ;
11985 PyObject
* obj1
= 0 ;
11986 PyObject
* obj2
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self",(char *) "text",(char *) "pt", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11995 arg2
= wxString_in_helper(obj1
);
11996 if (arg2
== NULL
) SWIG_fail
;
12001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 Py_INCREF(Py_None
); resultobj
= Py_None
;
12025 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxDC
*arg1
= (wxDC
*) 0 ;
12028 wxString
*arg2
= 0 ;
12032 bool temp2
= false ;
12033 PyObject
* obj0
= 0 ;
12034 PyObject
* obj1
= 0 ;
12035 PyObject
* obj2
= 0 ;
12036 PyObject
* obj3
= 0 ;
12037 PyObject
* obj4
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 arg2
= wxString_in_helper(obj1
);
12047 if (arg2
== NULL
) SWIG_fail
;
12050 arg3
= (int)SWIG_As_int(obj2
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12052 arg4
= (int)SWIG_As_int(obj3
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12054 arg5
= (double)SWIG_As_double(obj4
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 Py_INCREF(Py_None
); resultobj
= Py_None
;
12078 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxDC
*arg1
= (wxDC
*) 0 ;
12081 wxString
*arg2
= 0 ;
12082 wxPoint
*arg3
= 0 ;
12084 bool temp2
= false ;
12086 PyObject
* obj0
= 0 ;
12087 PyObject
* obj1
= 0 ;
12088 PyObject
* obj2
= 0 ;
12089 PyObject
* obj3
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 arg2
= wxString_in_helper(obj1
);
12099 if (arg2
== NULL
) SWIG_fail
;
12104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12106 arg4
= (double)SWIG_As_double(obj3
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 Py_INCREF(Py_None
); resultobj
= Py_None
;
12130 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxDC
*arg1
= (wxDC
*) 0 ;
12137 wxDC
*arg6
= (wxDC
*) 0 ;
12140 int arg9
= (int) wxCOPY
;
12141 bool arg10
= (bool) false ;
12142 int arg11
= (int) -1 ;
12143 int arg12
= (int) -1 ;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 PyObject
* obj2
= 0 ;
12148 PyObject
* obj3
= 0 ;
12149 PyObject
* obj4
= 0 ;
12150 PyObject
* obj5
= 0 ;
12151 PyObject
* obj6
= 0 ;
12152 PyObject
* obj7
= 0 ;
12153 PyObject
* obj8
= 0 ;
12154 PyObject
* obj9
= 0 ;
12155 PyObject
* obj10
= 0 ;
12156 PyObject
* obj11
= 0 ;
12157 char *kwnames
[] = {
12158 (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
12161 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
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 arg2
= (int)SWIG_As_int(obj1
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12166 arg3
= (int)SWIG_As_int(obj2
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12168 arg4
= (int)SWIG_As_int(obj3
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12170 arg5
= (int)SWIG_As_int(obj4
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12172 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12174 arg7
= (int)SWIG_As_int(obj6
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12176 arg8
= (int)SWIG_As_int(obj7
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 arg9
= (int)SWIG_As_int(obj8
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12183 arg10
= (bool)SWIG_As_bool(obj9
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12187 arg11
= (int)SWIG_As_int(obj10
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 arg12
= (int)SWIG_As_int(obj11
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12210 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxDC
*arg1
= (wxDC
*) 0 ;
12213 wxPoint
*arg2
= 0 ;
12215 wxDC
*arg4
= (wxDC
*) 0 ;
12216 wxPoint
*arg5
= 0 ;
12217 int arg6
= (int) wxCOPY
;
12218 bool arg7
= (bool) false ;
12219 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12220 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12226 PyObject
* obj0
= 0 ;
12227 PyObject
* obj1
= 0 ;
12228 PyObject
* obj2
= 0 ;
12229 PyObject
* obj3
= 0 ;
12230 PyObject
* obj4
= 0 ;
12231 PyObject
* obj5
= 0 ;
12232 PyObject
* obj6
= 0 ;
12233 PyObject
* obj7
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12247 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12249 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12253 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12256 arg6
= (int)SWIG_As_int(obj5
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12260 arg7
= (bool)SWIG_As_bool(obj6
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12266 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12285 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxDC
*arg1
= (wxDC
*) 0 ;
12292 PyObject
* obj0
= 0 ;
12293 PyObject
* obj1
= 0 ;
12294 PyObject
* obj2
= 0 ;
12295 PyObject
* obj3
= 0 ;
12296 PyObject
* obj4
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12304 arg2
= (int)SWIG_As_int(obj1
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12306 arg3
= (int)SWIG_As_int(obj2
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12308 arg4
= (int)SWIG_As_int(obj3
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12310 arg5
= (int)SWIG_As_int(obj4
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 Py_INCREF(Py_None
); resultobj
= Py_None
;
12326 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxDC
*arg1
= (wxDC
*) 0 ;
12329 wxPoint
*arg2
= 0 ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self",(char *) "pt",(char *) "sz", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12349 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12358 Py_INCREF(Py_None
); resultobj
= Py_None
;
12365 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxDC
*arg1
= (wxDC
*) 0 ;
12368 wxRegion
*arg2
= 0 ;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "region", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12381 if (arg2
== NULL
) {
12382 PyErr_SetString(PyExc_TypeError
,"null reference");
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12392 Py_INCREF(Py_None
); resultobj
= Py_None
;
12399 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxDC
*arg1
= (wxDC
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self",(char *) "rect", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 Py_INCREF(Py_None
); resultobj
= Py_None
;
12431 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxDC
*arg1
= (wxDC
*) 0 ;
12435 wxPoint
*arg3
= (wxPoint
*) 0 ;
12436 int arg4
= (int) 0 ;
12437 int arg5
= (int) 0 ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 PyObject
* obj3
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12450 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12451 if (arg3
== NULL
) SWIG_fail
;
12454 arg4
= (int)SWIG_As_int(obj2
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12458 arg5
= (int)SWIG_As_int(obj3
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 if (arg3
) delete [] arg3
;
12475 if (arg3
) delete [] arg3
;
12481 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxDC
*arg1
= (wxDC
*) 0 ;
12485 wxPoint
*arg3
= (wxPoint
*) 0 ;
12486 int arg4
= (int) 0 ;
12487 int arg5
= (int) 0 ;
12488 int arg6
= (int) wxODDEVEN_RULE
;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12492 PyObject
* obj3
= 0 ;
12493 PyObject
* obj4
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12502 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12503 if (arg3
== NULL
) SWIG_fail
;
12506 arg4
= (int)SWIG_As_int(obj2
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12510 arg5
= (int)SWIG_As_int(obj3
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12514 arg6
= (int)SWIG_As_int(obj4
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 Py_INCREF(Py_None
); resultobj
= Py_None
;
12526 if (arg3
) delete [] arg3
;
12531 if (arg3
) delete [] arg3
;
12537 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxDC
*arg1
= (wxDC
*) 0 ;
12540 wxString
*arg2
= 0 ;
12542 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12543 int arg5
= (int) -1 ;
12544 bool temp2
= false ;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 PyObject
* obj2
= 0 ;
12549 PyObject
* obj3
= 0 ;
12550 PyObject
* obj4
= 0 ;
12551 char *kwnames
[] = {
12552 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12559 arg2
= wxString_in_helper(obj1
);
12560 if (arg2
== NULL
) SWIG_fail
;
12565 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12568 arg4
= (int)SWIG_As_int(obj3
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12572 arg5
= (int)SWIG_As_int(obj4
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 Py_INCREF(Py_None
); resultobj
= Py_None
;
12597 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12598 PyObject
*resultobj
;
12599 wxDC
*arg1
= (wxDC
*) 0 ;
12600 wxString
*arg2
= 0 ;
12601 wxBitmap
*arg3
= 0 ;
12603 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12604 int arg6
= (int) -1 ;
12606 bool temp2
= false ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 PyObject
* obj3
= 0 ;
12612 PyObject
* obj4
= 0 ;
12613 PyObject
* obj5
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12622 arg2
= wxString_in_helper(obj1
);
12623 if (arg2
== NULL
) SWIG_fail
;
12626 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12629 if (arg3
== NULL
) {
12630 PyErr_SetString(PyExc_TypeError
,"null reference");
12635 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12638 arg5
= (int)SWIG_As_int(obj4
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 arg6
= (int)SWIG_As_int(obj5
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 wxRect
* resultptr
;
12654 resultptr
= new wxRect((wxRect
&) result
);
12655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12671 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxDC
*arg1
= (wxDC
*) 0 ;
12675 wxPoint
*arg3
= (wxPoint
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 PyObject
* obj1
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self",(char *) "points", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12686 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12687 if (arg3
== NULL
) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 (arg1
)->DrawSpline(arg2
,arg3
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 Py_INCREF(Py_None
); resultobj
= Py_None
;
12698 if (arg3
) delete [] arg3
;
12703 if (arg3
) delete [] arg3
;
12709 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
;
12711 wxDC
*arg1
= (wxDC
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 Py_INCREF(Py_None
); resultobj
= Py_None
;
12734 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxDC
*arg1
= (wxDC
*) 0 ;
12737 wxString
*arg2
= 0 ;
12739 bool temp2
= false ;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 char *kwnames
[] = {
12743 (char *) "self",(char *) "message", NULL
12746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12750 arg2
= wxString_in_helper(obj1
);
12751 if (arg2
== NULL
) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12778 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxDC
*arg1
= (wxDC
*) 0 ;
12781 PyObject
* obj0
= 0 ;
12782 char *kwnames
[] = {
12783 (char *) "self", NULL
12786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 wxPyEndAllowThreads(__tstate
);
12794 if (PyErr_Occurred()) SWIG_fail
;
12796 Py_INCREF(Py_None
); resultobj
= Py_None
;
12803 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxDC
*arg1
= (wxDC
*) 0 ;
12806 PyObject
* obj0
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->StartPage();
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxDC
*arg1
= (wxDC
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxDC
*arg1
= (wxDC
*) 0 ;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "self",(char *) "font", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12869 if (arg2
== NULL
) {
12870 PyErr_SetString(PyExc_TypeError
,"null reference");
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 (arg1
)->SetFont((wxFont
const &)*arg2
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 Py_INCREF(Py_None
); resultobj
= Py_None
;
12887 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12888 PyObject
*resultobj
;
12889 wxDC
*arg1
= (wxDC
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 PyObject
* obj1
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self",(char *) "pen", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12903 if (arg2
== NULL
) {
12904 PyErr_SetString(PyExc_TypeError
,"null reference");
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 (arg1
)->SetPen((wxPen
const &)*arg2
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 Py_INCREF(Py_None
); resultobj
= Py_None
;
12921 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12923 wxDC
*arg1
= (wxDC
*) 0 ;
12924 wxBrush
*arg2
= 0 ;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 char *kwnames
[] = {
12928 (char *) "self",(char *) "brush", NULL
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12937 if (arg2
== NULL
) {
12938 PyErr_SetString(PyExc_TypeError
,"null reference");
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 Py_INCREF(Py_None
); resultobj
= Py_None
;
12955 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12956 PyObject
*resultobj
;
12957 wxDC
*arg1
= (wxDC
*) 0 ;
12958 wxBrush
*arg2
= 0 ;
12959 PyObject
* obj0
= 0 ;
12960 PyObject
* obj1
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self",(char *) "brush", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12971 if (arg2
== NULL
) {
12972 PyErr_SetString(PyExc_TypeError
,"null reference");
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 Py_INCREF(Py_None
); resultobj
= Py_None
;
12989 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
;
12991 wxDC
*arg1
= (wxDC
*) 0 ;
12993 PyObject
* obj0
= 0 ;
12994 PyObject
* obj1
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self",(char *) "mode", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13002 arg2
= (int)SWIG_As_int(obj1
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 (arg1
)->SetBackgroundMode(arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 Py_INCREF(Py_None
); resultobj
= Py_None
;
13018 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxDC
*arg1
= (wxDC
*) 0 ;
13021 wxPalette
*arg2
= 0 ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self",(char *) "palette", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13034 if (arg2
== NULL
) {
13035 PyErr_SetString(PyExc_TypeError
,"null reference");
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxDC
*arg1
= (wxDC
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->DestroyClippingRegion();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 Py_INCREF(Py_None
); resultobj
= Py_None
;
13077 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxDC
*arg1
= (wxDC
*) 0 ;
13080 int *arg2
= (int *) 0 ;
13081 int *arg3
= (int *) 0 ;
13082 int *arg4
= (int *) 0 ;
13083 int *arg5
= (int *) 0 ;
13092 PyObject
* obj0
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self", NULL
13097 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13098 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13099 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13100 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 Py_INCREF(Py_None
); resultobj
= Py_None
;
13112 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13113 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13114 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13115 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13116 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13117 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13118 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13119 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13126 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxDC
*arg1
= (wxDC
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= wxDC_GetClippingRect(arg1
);
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13146 wxRect
* resultptr
;
13147 resultptr
= new wxRect((wxRect
&) result
);
13148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13156 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxDC
*arg1
= (wxDC
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_From_int((int)result
);
13182 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxDC
*arg1
= (wxDC
*) 0 ;
13186 PyObject
* obj0
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_From_int((int)result
);
13208 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxDC
*arg1
= (wxDC
*) 0 ;
13211 wxString
*arg2
= 0 ;
13212 int *arg3
= (int *) 0 ;
13213 int *arg4
= (int *) 0 ;
13214 bool temp2
= false ;
13219 PyObject
* obj0
= 0 ;
13220 PyObject
* obj1
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "string", NULL
13225 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13226 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13231 arg2
= wxString_in_helper(obj1
);
13232 if (arg2
== NULL
) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13243 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13244 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13245 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13246 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13261 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxDC
*arg1
= (wxDC
*) 0 ;
13264 wxString
*arg2
= 0 ;
13265 int *arg3
= (int *) 0 ;
13266 int *arg4
= (int *) 0 ;
13267 int *arg5
= (int *) 0 ;
13268 int *arg6
= (int *) 0 ;
13269 wxFont
*arg7
= (wxFont
*) NULL
;
13270 bool temp2
= false ;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 PyObject
* obj2
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self",(char *) "string",(char *) "font", NULL
13286 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13287 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13288 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13289 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 arg2
= wxString_in_helper(obj1
);
13295 if (arg2
== NULL
) SWIG_fail
;
13299 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13311 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13312 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13313 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13314 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13315 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13316 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13317 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13332 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
;
13334 wxDC
*arg1
= (wxDC
*) 0 ;
13335 wxString
*arg2
= 0 ;
13336 int *arg3
= (int *) 0 ;
13337 int *arg4
= (int *) 0 ;
13338 int *arg5
= (int *) 0 ;
13339 wxFont
*arg6
= (wxFont
*) NULL
;
13340 bool temp2
= false ;
13347 PyObject
* obj0
= 0 ;
13348 PyObject
* obj1
= 0 ;
13349 PyObject
* obj2
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "self",(char *) "text",(char *) "font", NULL
13354 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13355 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13356 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 arg2
= wxString_in_helper(obj1
);
13362 if (arg2
== NULL
) SWIG_fail
;
13366 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 Py_INCREF(Py_None
); resultobj
= Py_None
;
13377 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13378 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13379 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13380 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13381 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13382 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13397 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
;
13399 wxDC
*arg1
= (wxDC
*) 0 ;
13400 wxString
*arg2
= 0 ;
13402 bool temp2
= false ;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "text", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13413 arg2
= wxString_in_helper(obj1
);
13414 if (arg2
== NULL
) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= PyList_New(0);
13427 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13428 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13429 PyList_Append(resultobj
, val
);
13447 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxDC
*arg1
= (wxDC
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (arg1
)->GetSize();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 wxSize
* resultptr
;
13468 resultptr
= new wxSize((wxSize
&) result
);
13469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13477 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxDC
*arg1
= (wxDC
*) 0 ;
13480 int *arg2
= (int *) 0 ;
13481 int *arg3
= (int *) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self", NULL
13491 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13492 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 (arg1
)->GetSize(arg2
,arg3
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13503 Py_INCREF(Py_None
); resultobj
= Py_None
;
13504 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13505 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13506 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13507 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13514 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxDC
*arg1
= (wxDC
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13534 wxSize
* resultptr
;
13535 resultptr
= new wxSize((wxSize
&) result
);
13536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13544 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxDC
*arg1
= (wxDC
*) 0 ;
13547 int *arg2
= (int *) 0 ;
13548 int *arg3
= (int *) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13559 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13567 wxPyEndAllowThreads(__tstate
);
13568 if (PyErr_Occurred()) SWIG_fail
;
13570 Py_INCREF(Py_None
); resultobj
= Py_None
;
13571 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13572 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13573 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13574 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13581 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
;
13583 wxDC
*arg1
= (wxDC
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 PyObject
* obj1
= 0 ;
13588 char *kwnames
[] = {
13589 (char *) "self",(char *) "x", NULL
13592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 arg2
= (int)SWIG_As_int(obj1
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_From_int((int)result
);
13611 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxDC
*arg1
= (wxDC
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "self",(char *) "y", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13625 arg2
= (int)SWIG_As_int(obj1
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= SWIG_From_int((int)result
);
13641 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxDC
*arg1
= (wxDC
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 PyObject
* obj1
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self",(char *) "x", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 arg2
= (int)SWIG_As_int(obj1
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= SWIG_From_int((int)result
);
13671 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxDC
*arg1
= (wxDC
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 char *kwnames
[] = {
13679 (char *) "self",(char *) "y", NULL
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13685 arg2
= (int)SWIG_As_int(obj1
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_From_int((int)result
);
13701 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxDC
*arg1
= (wxDC
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "x", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13715 arg2
= (int)SWIG_As_int(obj1
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_From_int((int)result
);
13731 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13732 PyObject
*resultobj
;
13733 wxDC
*arg1
= (wxDC
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 PyObject
* obj1
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self",(char *) "y", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 arg2
= (int)SWIG_As_int(obj1
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_From_int((int)result
);
13761 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
;
13763 wxDC
*arg1
= (wxDC
*) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 PyObject
* obj1
= 0 ;
13768 char *kwnames
[] = {
13769 (char *) "self",(char *) "x", NULL
13772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13775 arg2
= (int)SWIG_As_int(obj1
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 resultobj
= SWIG_From_int((int)result
);
13791 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxDC
*arg1
= (wxDC
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "y", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 arg2
= (int)SWIG_As_int(obj1
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13814 resultobj
= SWIG_From_int((int)result
);
13821 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxDC
*arg1
= (wxDC
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13849 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxDC
*arg1
= (wxDC
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13877 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxDC
*arg1
= (wxDC
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_From_int((int)result
);
13903 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxDC
*arg1
= (wxDC
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= ((wxDC
const *)arg1
)->GetPPI();
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13923 wxSize
* resultptr
;
13924 resultptr
= new wxSize((wxSize
&) result
);
13925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13933 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxDC
*arg1
= (wxDC
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 result
= (bool)((wxDC
const *)arg1
)->Ok();
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13961 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxDC
*arg1
= (wxDC
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= SWIG_From_int((int)result
);
13987 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxDC
*arg1
= (wxDC
*) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14003 result
= (wxBrush
*) &_result_ref
;
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14010 wxBrush
* resultptr
= new wxBrush(*result
);
14011 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14019 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
;
14021 wxDC
*arg1
= (wxDC
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14035 result
= (wxBrush
*) &_result_ref
;
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 wxBrush
* resultptr
= new wxBrush(*result
);
14043 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14051 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxDC
*arg1
= (wxDC
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 char *kwnames
[] = {
14057 (char *) "self", NULL
14060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14067 result
= (wxFont
*) &_result_ref
;
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 wxFont
* resultptr
= new wxFont(*result
);
14075 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14083 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14084 PyObject
*resultobj
;
14085 wxDC
*arg1
= (wxDC
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14099 result
= (wxPen
*) &_result_ref
;
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14106 wxPen
* resultptr
= new wxPen(*result
);
14107 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14115 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxDC
*arg1
= (wxDC
*) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14131 result
= (wxColour
*) &_result_ref
;
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14144 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxDC
*arg1
= (wxDC
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14160 result
= (wxColour
*) &_result_ref
;
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14173 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxDC
*arg1
= (wxDC
*) 0 ;
14176 wxColour
*arg2
= 0 ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self",(char *) "colour", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14189 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 Py_INCREF(Py_None
); resultobj
= Py_None
;
14205 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxDC
*arg1
= (wxDC
*) 0 ;
14208 wxColour
*arg2
= 0 ;
14210 PyObject
* obj0
= 0 ;
14211 PyObject
* obj1
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self",(char *) "colour", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 Py_INCREF(Py_None
); resultobj
= Py_None
;
14237 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxDC
*arg1
= (wxDC
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= SWIG_From_int((int)result
);
14263 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxDC
*arg1
= (wxDC
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self",(char *) "mode", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 arg2
= (int)SWIG_As_int(obj1
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 (arg1
)->SetMapMode(arg2
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 Py_INCREF(Py_None
); resultobj
= Py_None
;
14292 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxDC
*arg1
= (wxDC
*) 0 ;
14295 double *arg2
= (double *) 0 ;
14296 double *arg3
= (double *) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self", NULL
14306 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14307 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14320 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14321 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14322 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14329 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxDC
*arg1
= (wxDC
*) 0 ;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 PyObject
* obj2
= 0 ;
14337 char *kwnames
[] = {
14338 (char *) "self",(char *) "x",(char *) "y", NULL
14341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 arg2
= (double)SWIG_As_double(obj1
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14346 arg3
= (double)SWIG_As_double(obj2
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 (arg1
)->SetUserScale(arg2
,arg3
);
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 Py_INCREF(Py_None
); resultobj
= Py_None
;
14362 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxDC
*arg1
= (wxDC
*) 0 ;
14365 double *arg2
= (double *) 0 ;
14366 double *arg3
= (double *) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14377 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 (arg1
)->GetLogicalScale(arg2
,arg3
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 Py_INCREF(Py_None
); resultobj
= Py_None
;
14389 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14390 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14391 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14392 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14399 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxDC
*arg1
= (wxDC
*) 0 ;
14404 PyObject
* obj0
= 0 ;
14405 PyObject
* obj1
= 0 ;
14406 PyObject
* obj2
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self",(char *) "x",(char *) "y", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14414 arg2
= (double)SWIG_As_double(obj1
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14416 arg3
= (double)SWIG_As_double(obj2
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 (arg1
)->SetLogicalScale(arg2
,arg3
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 Py_INCREF(Py_None
); resultobj
= Py_None
;
14432 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxDC
*arg1
= (wxDC
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 wxPoint
* resultptr
;
14453 resultptr
= new wxPoint((wxPoint
&) result
);
14454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14462 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxDC
*arg1
= (wxDC
*) 0 ;
14465 int *arg2
= (int *) 0 ;
14466 int *arg3
= (int *) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14477 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 Py_INCREF(Py_None
); resultobj
= Py_None
;
14489 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14490 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14491 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14492 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14499 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14500 PyObject
*resultobj
;
14501 wxDC
*arg1
= (wxDC
*) 0 ;
14504 PyObject
* obj0
= 0 ;
14505 PyObject
* obj1
= 0 ;
14506 PyObject
* obj2
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self",(char *) "x",(char *) "y", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14514 arg2
= (int)SWIG_As_int(obj1
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14516 arg3
= (int)SWIG_As_int(obj2
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 Py_INCREF(Py_None
); resultobj
= Py_None
;
14532 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxDC
*arg1
= (wxDC
*) 0 ;
14535 wxPoint
*arg2
= 0 ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 char *kwnames
[] = {
14540 (char *) "self",(char *) "point", NULL
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 Py_INCREF(Py_None
); resultobj
= Py_None
;
14564 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxDC
*arg1
= (wxDC
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 wxPoint
* resultptr
;
14585 resultptr
= new wxPoint((wxPoint
&) result
);
14586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14594 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxDC
*arg1
= (wxDC
*) 0 ;
14597 int *arg2
= (int *) 0 ;
14598 int *arg3
= (int *) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14609 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 Py_INCREF(Py_None
); resultobj
= Py_None
;
14621 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14622 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14623 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14624 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14631 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxDC
*arg1
= (wxDC
*) 0 ;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 PyObject
* obj2
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self",(char *) "x",(char *) "y", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14646 arg2
= (int)SWIG_As_int(obj1
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14648 arg3
= (int)SWIG_As_int(obj2
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 Py_INCREF(Py_None
); resultobj
= Py_None
;
14664 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxDC
*arg1
= (wxDC
*) 0 ;
14667 wxPoint
*arg2
= 0 ;
14669 PyObject
* obj0
= 0 ;
14670 PyObject
* obj1
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self",(char *) "point", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 Py_INCREF(Py_None
); resultobj
= Py_None
;
14696 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxDC
*arg1
= (wxDC
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 PyObject
* obj2
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 arg2
= (bool)SWIG_As_bool(obj1
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14713 arg3
= (bool)SWIG_As_bool(obj2
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxDC
*arg1
= (wxDC
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_From_int((int)result
);
14755 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 wxDC
*arg1
= (wxDC
*) 0 ;
14759 PyObject
* obj0
= 0 ;
14760 PyObject
* obj1
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self",(char *) "function", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14768 arg2
= (int)SWIG_As_int(obj1
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 (arg1
)->SetLogicalFunction(arg2
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxDC
*arg1
= (wxDC
*) 0 ;
14788 PyObject
* obj0
= 0 ;
14789 PyObject
* obj1
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "self",(char *) "optimize", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14797 arg2
= (bool)SWIG_As_bool(obj1
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 (arg1
)->SetOptimization(arg2
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 Py_INCREF(Py_None
); resultobj
= Py_None
;
14813 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxDC
*arg1
= (wxDC
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (bool)(arg1
)->GetOptimization();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14841 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxDC
*arg1
= (wxDC
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 PyObject
* obj2
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self",(char *) "x",(char *) "y", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 arg2
= (int)SWIG_As_int(obj1
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14858 arg3
= (int)SWIG_As_int(obj2
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 Py_INCREF(Py_None
); resultobj
= Py_None
;
14874 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxDC
*arg1
= (wxDC
*) 0 ;
14877 wxPoint
*arg2
= 0 ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self",(char *) "point", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 Py_INCREF(Py_None
); resultobj
= Py_None
;
14906 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxDC
*arg1
= (wxDC
*) 0 ;
14909 PyObject
* obj0
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 (arg1
)->ResetBoundingBox();
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14924 Py_INCREF(Py_None
); resultobj
= Py_None
;
14931 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxDC
*arg1
= (wxDC
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (int)((wxDC
const *)arg1
)->MinX();
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_From_int((int)result
);
14957 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxDC
*arg1
= (wxDC
*) 0 ;
14961 PyObject
* obj0
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (int)((wxDC
const *)arg1
)->MaxX();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_From_int((int)result
);
14983 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxDC
*arg1
= (wxDC
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (int)((wxDC
const *)arg1
)->MinY();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= SWIG_From_int((int)result
);
15009 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15010 PyObject
*resultobj
;
15011 wxDC
*arg1
= (wxDC
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (int)((wxDC
const *)arg1
)->MaxY();
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= SWIG_From_int((int)result
);
15035 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxDC
*arg1
= (wxDC
*) 0 ;
15038 int *arg2
= (int *) 0 ;
15039 int *arg3
= (int *) 0 ;
15040 int *arg4
= (int *) 0 ;
15041 int *arg5
= (int *) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15056 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15057 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15058 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 Py_INCREF(Py_None
); resultobj
= Py_None
;
15070 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15071 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15072 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15073 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15074 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15075 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15076 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15077 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15084 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxDC
*arg1
= (wxDC
*) 0 ;
15087 PyObject
*arg2
= (PyObject
*) 0 ;
15088 PyObject
*arg3
= (PyObject
*) 0 ;
15089 PyObject
*arg4
= (PyObject
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 PyObject
* obj2
= 0 ;
15094 PyObject
* obj3
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= result
;
15119 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxDC
*arg1
= (wxDC
*) 0 ;
15122 PyObject
*arg2
= (PyObject
*) 0 ;
15123 PyObject
*arg3
= (PyObject
*) 0 ;
15124 PyObject
*arg4
= (PyObject
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 PyObject
* obj2
= 0 ;
15129 PyObject
* obj3
= 0 ;
15130 char *kwnames
[] = {
15131 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= result
;
15154 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxDC
*arg1
= (wxDC
*) 0 ;
15157 PyObject
*arg2
= (PyObject
*) 0 ;
15158 PyObject
*arg3
= (PyObject
*) 0 ;
15159 PyObject
*arg4
= (PyObject
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 PyObject
* obj1
= 0 ;
15163 PyObject
* obj2
= 0 ;
15164 PyObject
* obj3
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= result
;
15189 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxDC
*arg1
= (wxDC
*) 0 ;
15192 PyObject
*arg2
= (PyObject
*) 0 ;
15193 PyObject
*arg3
= (PyObject
*) 0 ;
15194 PyObject
*arg4
= (PyObject
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 PyObject
* obj1
= 0 ;
15198 PyObject
* obj2
= 0 ;
15199 PyObject
* obj3
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= result
;
15224 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
;
15226 wxDC
*arg1
= (wxDC
*) 0 ;
15227 PyObject
*arg2
= (PyObject
*) 0 ;
15228 PyObject
*arg3
= (PyObject
*) 0 ;
15229 PyObject
*arg4
= (PyObject
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 PyObject
* obj2
= 0 ;
15234 PyObject
* obj3
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= result
;
15259 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxDC
*arg1
= (wxDC
*) 0 ;
15262 PyObject
*arg2
= (PyObject
*) 0 ;
15263 PyObject
*arg3
= (PyObject
*) 0 ;
15264 PyObject
*arg4
= (PyObject
*) 0 ;
15265 PyObject
*arg5
= (PyObject
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 PyObject
* obj2
= 0 ;
15270 PyObject
* obj3
= 0 ;
15271 PyObject
* obj4
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= result
;
15297 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15300 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15302 return Py_BuildValue((char *)"");
15304 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxMemoryDC
*result
;
15307 char *kwnames
[] = {
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15313 if (!wxPyCheckForApp()) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (wxMemoryDC
*)new wxMemoryDC();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15327 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxDC
*arg1
= (wxDC
*) 0 ;
15330 wxMemoryDC
*result
;
15331 PyObject
* obj0
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "oldDC", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15340 if (!wxPyCheckForApp()) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15354 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15357 wxBitmap
*arg2
= 0 ;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self",(char *) "bitmap", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15370 if (arg2
== NULL
) {
15371 PyErr_SetString(PyExc_TypeError
,"null reference");
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 Py_INCREF(Py_None
); resultobj
= Py_None
;
15388 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15391 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15393 return Py_BuildValue((char *)"");
15395 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15396 PyObject
*resultobj
;
15397 wxDC
*arg1
= (wxDC
*) 0 ;
15398 wxBitmap
*arg2
= 0 ;
15399 wxBufferedDC
*result
;
15400 PyObject
* obj0
= 0 ;
15401 PyObject
* obj1
= 0 ;
15403 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15409 if (arg2
== NULL
) {
15410 PyErr_SetString(PyExc_TypeError
,"null reference");
15414 if (!wxPyCheckForApp()) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15428 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15429 PyObject
*resultobj
;
15430 wxDC
*arg1
= (wxDC
*) 0 ;
15432 wxBufferedDC
*result
;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15437 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15445 if (!wxPyCheckForApp()) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
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(PyObject
*self
, PyObject
*args
) {
15464 argc
= PyObject_Length(args
);
15465 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15466 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15472 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15482 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15490 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15498 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15507 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15510 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15515 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15520 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
;
15522 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 Py_INCREF(Py_None
); resultobj
= Py_None
;
15545 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15563 Py_INCREF(Py_None
); resultobj
= Py_None
;
15570 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15573 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15575 return Py_BuildValue((char *)"");
15577 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxWindow
*arg1
= (wxWindow
*) 0 ;
15580 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15581 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15582 wxBufferedPaintDC
*result
;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "window",(char *) "buffer", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15596 if (arg2
== NULL
) {
15597 PyErr_SetString(PyExc_TypeError
,"null reference");
15602 if (!wxPyCheckForApp()) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15616 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15619 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15621 return Py_BuildValue((char *)"");
15623 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
;
15625 wxScreenDC
*result
;
15626 char *kwnames
[] = {
15630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15632 if (!wxPyCheckForApp()) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxScreenDC
*)new wxScreenDC();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15646 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15649 wxWindow
*arg2
= (wxWindow
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 PyObject
* obj1
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self",(char *) "window", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15678 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15681 wxRect
*arg2
= (wxRect
*) NULL
;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "rect", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15712 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15714 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (bool)(arg1
)->EndDrawingOnTop();
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15740 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15743 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15745 return Py_BuildValue((char *)"");
15747 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxWindow
*arg1
= (wxWindow
*) 0 ;
15750 wxClientDC
*result
;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "win", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 if (!wxPyCheckForApp()) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (wxClientDC
*)new wxClientDC(arg1
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15774 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15777 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15779 return Py_BuildValue((char *)"");
15781 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxWindow
*arg1
= (wxWindow
*) 0 ;
15785 PyObject
* obj0
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "win", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 if (!wxPyCheckForApp()) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15808 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15811 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15813 return Py_BuildValue((char *)"");
15815 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxWindow
*arg1
= (wxWindow
*) 0 ;
15818 wxWindowDC
*result
;
15819 PyObject
* obj0
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "win", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15828 if (!wxPyCheckForApp()) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15842 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15845 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15847 return Py_BuildValue((char *)"");
15849 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15853 wxMirrorDC
*result
;
15854 PyObject
* obj0
= 0 ;
15855 PyObject
* obj1
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "dc",(char *) "mirror", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15864 if (arg1
== NULL
) {
15865 PyErr_SetString(PyExc_TypeError
,"null reference");
15868 arg2
= (bool)SWIG_As_bool(obj1
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 if (!wxPyCheckForApp()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15885 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15888 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15890 return Py_BuildValue((char *)"");
15892 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxPrintData
*arg1
= 0 ;
15895 wxPostScriptDC
*result
;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "printData", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15905 if (arg1
== NULL
) {
15906 PyErr_SetString(PyExc_TypeError
,"null reference");
15910 if (!wxPyCheckForApp()) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15924 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15927 wxPrintData
*result
;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15940 result
= (wxPrintData
*) &_result_ref
;
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15953 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15956 wxPrintData
*arg2
= 0 ;
15957 PyObject
* obj0
= 0 ;
15958 PyObject
* obj1
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self",(char *) "data", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15969 if (arg2
== NULL
) {
15970 PyErr_SetString(PyExc_TypeError
,"null reference");
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 Py_INCREF(Py_None
); resultobj
= Py_None
;
15987 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "ppi", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15996 arg1
= (int)SWIG_As_int(obj0
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 wxPostScriptDC::SetResolution(arg1
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 Py_INCREF(Py_None
); resultobj
= Py_None
;
16012 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16015 char *kwnames
[] = {
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (int)wxPostScriptDC::GetResolution();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_From_int((int)result
);
16034 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16037 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16039 return Py_BuildValue((char *)"");
16041 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16044 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16045 wxMetaFile
*result
;
16046 bool temp1
= false ;
16047 PyObject
* obj0
= 0 ;
16048 char *kwnames
[] = {
16049 (char *) "filename", NULL
16052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16055 arg1
= wxString_in_helper(obj0
);
16056 if (arg1
== NULL
) SWIG_fail
;
16061 if (!wxPyCheckForApp()) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16083 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 Py_INCREF(Py_None
); resultobj
= Py_None
;
16108 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16112 PyObject
* obj0
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (bool)(arg1
)->Ok();
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16136 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16139 int arg2
= (int) 0 ;
16140 int arg3
= (int) 0 ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 PyObject
* obj2
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "width",(char *) "height", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16153 arg2
= (int)SWIG_As_int(obj1
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 arg3
= (int)SWIG_As_int(obj2
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16176 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16180 PyObject
* obj0
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 result
= (arg1
)->GetSize();
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16196 wxSize
* resultptr
;
16197 resultptr
= new wxSize((wxSize
&) result
);
16198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16206 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (int)(arg1
)->GetWidth();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= SWIG_From_int((int)result
);
16232 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16236 PyObject
* obj0
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (int)(arg1
)->GetHeight();
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= SWIG_From_int((int)result
);
16258 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16261 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16263 return Py_BuildValue((char *)"");
16265 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16268 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16269 int arg2
= (int) 0 ;
16270 int arg3
= (int) 0 ;
16271 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16273 wxMetaFileDC
*result
;
16274 bool temp1
= false ;
16275 bool temp4
= false ;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 PyObject
* obj2
= 0 ;
16279 PyObject
* obj3
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16287 arg1
= wxString_in_helper(obj0
);
16288 if (arg1
== NULL
) SWIG_fail
;
16293 arg2
= (int)SWIG_As_int(obj1
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 arg3
= (int)SWIG_As_int(obj2
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16302 arg4
= wxString_in_helper(obj3
);
16303 if (arg4
== NULL
) SWIG_fail
;
16308 if (!wxPyCheckForApp()) SWIG_fail
;
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16338 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16341 wxMetaFile
*result
;
16342 PyObject
* obj0
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (wxMetaFile
*)(arg1
)->Close();
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16364 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16367 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16369 return Py_BuildValue((char *)"");
16371 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxPrintData
*arg1
= 0 ;
16374 wxPrinterDC
*result
;
16375 PyObject
* obj0
= 0 ;
16376 char *kwnames
[] = {
16377 (char *) "printData", NULL
16380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16384 if (arg1
== NULL
) {
16385 PyErr_SetString(PyExc_TypeError
,"null reference");
16389 if (!wxPyCheckForApp()) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16403 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16406 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16408 return Py_BuildValue((char *)"");
16410 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16411 PyObject
*resultobj
;
16414 int arg3
= (int) true ;
16415 int arg4
= (int) 1 ;
16416 wxImageList
*result
;
16417 PyObject
* obj0
= 0 ;
16418 PyObject
* obj1
= 0 ;
16419 PyObject
* obj2
= 0 ;
16420 PyObject
* obj3
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16426 arg1
= (int)SWIG_As_int(obj0
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16428 arg2
= (int)SWIG_As_int(obj1
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 arg3
= (int)SWIG_As_int(obj2
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 arg4
= (int)SWIG_As_int(obj3
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16439 if (!wxPyCheckForApp()) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= wxPyMake_wxObject(result
, 1);
16455 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxImageList
*arg1
= (wxImageList
*) 0 ;
16458 PyObject
* obj0
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 Py_INCREF(Py_None
); resultobj
= Py_None
;
16480 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxImageList
*arg1
= (wxImageList
*) 0 ;
16483 wxBitmap
*arg2
= 0 ;
16484 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16485 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 PyObject
* obj2
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16500 if (arg2
== NULL
) {
16501 PyErr_SetString(PyExc_TypeError
,"null reference");
16505 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16508 if (arg3
== NULL
) {
16509 PyErr_SetString(PyExc_TypeError
,"null reference");
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= SWIG_From_int((int)result
);
16527 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxImageList
*arg1
= (wxImageList
*) 0 ;
16530 wxBitmap
*arg2
= 0 ;
16531 wxColour
*arg3
= 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 PyObject
* obj2
= 0 ;
16537 char *kwnames
[] = {
16538 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16547 if (arg2
== NULL
) {
16548 PyErr_SetString(PyExc_TypeError
,"null reference");
16553 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= SWIG_From_int((int)result
);
16569 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxImageList
*arg1
= (wxImageList
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self",(char *) "icon", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16586 if (arg2
== NULL
) {
16587 PyErr_SetString(PyExc_TypeError
,"null reference");
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 resultobj
= SWIG_From_int((int)result
);
16604 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxImageList
*arg1
= (wxImageList
*) 0 ;
16608 wxBitmap
*arg3
= 0 ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16620 arg2
= (int)SWIG_As_int(obj1
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16622 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16625 if (arg3
== NULL
) {
16626 PyErr_SetString(PyExc_TypeError
,"null reference");
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16645 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxImageList
*arg1
= (wxImageList
*) 0 ;
16652 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16653 bool arg7
= (bool) (bool)false ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 PyObject
* obj3
= 0 ;
16659 PyObject
* obj4
= 0 ;
16660 PyObject
* obj5
= 0 ;
16661 PyObject
* obj6
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 arg2
= (int)SWIG_As_int(obj1
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16671 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16674 if (arg3
== NULL
) {
16675 PyErr_SetString(PyExc_TypeError
,"null reference");
16678 arg4
= (int)SWIG_As_int(obj3
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16680 arg5
= (int)SWIG_As_int(obj4
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 arg6
= (int)SWIG_As_int(obj5
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16687 arg7
= (bool)SWIG_As_bool(obj6
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16706 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxImageList
*arg1
= (wxImageList
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (int)(arg1
)->GetImageCount();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_From_int((int)result
);
16732 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxImageList
*arg1
= (wxImageList
*) 0 ;
16737 PyObject
* obj0
= 0 ;
16738 PyObject
* obj1
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self",(char *) "index", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16746 arg2
= (int)SWIG_As_int(obj1
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= (bool)(arg1
)->Remove(arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16764 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxImageList
*arg1
= (wxImageList
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 result
= (bool)(arg1
)->RemoveAll();
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16792 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxImageList
*arg1
= (wxImageList
*) 0 ;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self",(char *) "index", NULL
16808 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16809 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16813 arg2
= (int)SWIG_As_int(obj1
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16817 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 Py_INCREF(Py_None
); resultobj
= Py_None
;
16823 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16824 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16825 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16826 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16833 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16836 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16838 return Py_BuildValue((char *)"");
16840 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16841 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16846 static PyObject
*_wrap_NORMAL_FONT_get() {
16849 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16854 static int _wrap_SMALL_FONT_set(PyObject
*) {
16855 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16860 static PyObject
*_wrap_SMALL_FONT_get() {
16863 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16868 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16869 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16874 static PyObject
*_wrap_ITALIC_FONT_get() {
16877 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16882 static int _wrap_SWISS_FONT_set(PyObject
*) {
16883 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16888 static PyObject
*_wrap_SWISS_FONT_get() {
16891 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16896 static int _wrap_RED_PEN_set(PyObject
*) {
16897 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16902 static PyObject
*_wrap_RED_PEN_get() {
16905 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16910 static int _wrap_CYAN_PEN_set(PyObject
*) {
16911 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16916 static PyObject
*_wrap_CYAN_PEN_get() {
16919 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16924 static int _wrap_GREEN_PEN_set(PyObject
*) {
16925 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16930 static PyObject
*_wrap_GREEN_PEN_get() {
16933 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16938 static int _wrap_BLACK_PEN_set(PyObject
*) {
16939 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16944 static PyObject
*_wrap_BLACK_PEN_get() {
16947 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16952 static int _wrap_WHITE_PEN_set(PyObject
*) {
16953 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16958 static PyObject
*_wrap_WHITE_PEN_get() {
16961 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16966 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16967 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16972 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16975 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16980 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16981 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16986 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16989 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16994 static int _wrap_GREY_PEN_set(PyObject
*) {
16995 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17000 static PyObject
*_wrap_GREY_PEN_get() {
17003 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17008 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
17009 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17014 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17017 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17022 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
17023 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17028 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17031 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17036 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
17037 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17042 static PyObject
*_wrap_BLUE_BRUSH_get() {
17045 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17050 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
17051 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17056 static PyObject
*_wrap_GREEN_BRUSH_get() {
17059 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17064 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
17065 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17070 static PyObject
*_wrap_WHITE_BRUSH_get() {
17073 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17078 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
17079 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17084 static PyObject
*_wrap_BLACK_BRUSH_get() {
17087 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17092 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17093 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17098 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17101 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17106 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17107 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17112 static PyObject
*_wrap_CYAN_BRUSH_get() {
17115 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17120 static int _wrap_RED_BRUSH_set(PyObject
*) {
17121 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17126 static PyObject
*_wrap_RED_BRUSH_get() {
17129 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17134 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17135 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17140 static PyObject
*_wrap_GREY_BRUSH_get() {
17143 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17148 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17149 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17154 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17157 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17162 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17163 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17168 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17171 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17176 static int _wrap_BLACK_set(PyObject
*) {
17177 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17182 static PyObject
*_wrap_BLACK_get() {
17185 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17190 static int _wrap_WHITE_set(PyObject
*) {
17191 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17196 static PyObject
*_wrap_WHITE_get() {
17199 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17204 static int _wrap_RED_set(PyObject
*) {
17205 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17210 static PyObject
*_wrap_RED_get() {
17213 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17218 static int _wrap_BLUE_set(PyObject
*) {
17219 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17224 static PyObject
*_wrap_BLUE_get() {
17227 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17232 static int _wrap_GREEN_set(PyObject
*) {
17233 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17238 static PyObject
*_wrap_GREEN_get() {
17241 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17246 static int _wrap_CYAN_set(PyObject
*) {
17247 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17252 static PyObject
*_wrap_CYAN_get() {
17255 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17260 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17261 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17266 static PyObject
*_wrap_LIGHT_GREY_get() {
17269 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17274 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17275 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17280 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17283 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17288 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17289 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17294 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17297 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17302 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17303 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17308 static PyObject
*_wrap_CROSS_CURSOR_get() {
17311 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17316 static int _wrap_NullBitmap_set(PyObject
*) {
17317 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17322 static PyObject
*_wrap_NullBitmap_get() {
17325 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17330 static int _wrap_NullIcon_set(PyObject
*) {
17331 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17336 static PyObject
*_wrap_NullIcon_get() {
17339 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17344 static int _wrap_NullCursor_set(PyObject
*) {
17345 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17350 static PyObject
*_wrap_NullCursor_get() {
17353 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17358 static int _wrap_NullPen_set(PyObject
*) {
17359 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17364 static PyObject
*_wrap_NullPen_get() {
17367 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17372 static int _wrap_NullBrush_set(PyObject
*) {
17373 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17378 static PyObject
*_wrap_NullBrush_get() {
17381 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17386 static int _wrap_NullPalette_set(PyObject
*) {
17387 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17392 static PyObject
*_wrap_NullPalette_get() {
17395 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17400 static int _wrap_NullFont_set(PyObject
*) {
17401 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17406 static PyObject
*_wrap_NullFont_get() {
17409 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17414 static int _wrap_NullColour_set(PyObject
*) {
17415 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17420 static PyObject
*_wrap_NullColour_get() {
17423 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17428 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxPenList
*arg1
= (wxPenList
*) 0 ;
17431 wxPen
*arg2
= (wxPen
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self",(char *) "pen", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 (arg1
)->AddPen(arg2
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 Py_INCREF(Py_None
); resultobj
= Py_None
;
17457 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxPenList
*arg1
= (wxPenList
*) 0 ;
17460 wxColour
*arg2
= 0 ;
17465 PyObject
* obj0
= 0 ;
17466 PyObject
* obj1
= 0 ;
17467 PyObject
* obj2
= 0 ;
17468 PyObject
* obj3
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17480 arg3
= (int)SWIG_As_int(obj2
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17482 arg4
= (int)SWIG_As_int(obj3
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17498 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17499 PyObject
*resultobj
;
17500 wxPenList
*arg1
= (wxPenList
*) 0 ;
17501 wxPen
*arg2
= (wxPen
*) 0 ;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self",(char *) "pen", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 (arg1
)->RemovePen(arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 Py_INCREF(Py_None
); resultobj
= Py_None
;
17527 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxPenList
*arg1
= (wxPenList
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (int)(arg1
)->GetCount();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_From_int((int)result
);
17553 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17556 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17558 return Py_BuildValue((char *)"");
17560 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17563 wxBrush
*arg2
= (wxBrush
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char *kwnames
[] = {
17567 (char *) "self",(char *) "brush", NULL
17570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 (arg1
)->AddBrush(arg2
);
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 Py_INCREF(Py_None
); resultobj
= Py_None
;
17589 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17592 wxColour
*arg2
= 0 ;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 PyObject
* obj2
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self",(char *) "colour",(char *) "style", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17610 arg3
= (int)SWIG_As_int(obj2
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17626 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17629 wxBrush
*arg2
= (wxBrush
*) 0 ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "brush", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 (arg1
)->RemoveBrush(arg2
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 Py_INCREF(Py_None
); resultobj
= Py_None
;
17655 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (int)(arg1
)->GetCount();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= SWIG_From_int((int)result
);
17681 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17684 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17686 return Py_BuildValue((char *)"");
17688 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxColourDatabase
*result
;
17691 char *kwnames
[] = {
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17697 if (!wxPyCheckForApp()) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= (wxColourDatabase
*)new wxColourDatabase();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17711 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17712 PyObject
*resultobj
;
17713 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 Py_INCREF(Py_None
); resultobj
= Py_None
;
17736 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17739 wxString
*arg2
= 0 ;
17741 bool temp2
= false ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "name", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17752 arg2
= wxString_in_helper(obj1
);
17753 if (arg2
== NULL
) SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17764 wxColour
* resultptr
;
17765 resultptr
= new wxColour((wxColour
&) result
);
17766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17782 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17784 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17785 wxColour
*arg2
= 0 ;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self",(char *) "colour", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17821 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17824 wxString
*arg2
= 0 ;
17825 wxColour
*arg3
= 0 ;
17826 bool temp2
= false ;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 PyObject
* obj2
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self",(char *) "name",(char *) "colour", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17839 arg2
= wxString_in_helper(obj1
);
17840 if (arg2
== NULL
) SWIG_fail
;
17845 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17869 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17872 wxString
*arg2
= 0 ;
17876 bool temp2
= false ;
17877 PyObject
* obj0
= 0 ;
17878 PyObject
* obj1
= 0 ;
17879 PyObject
* obj2
= 0 ;
17880 PyObject
* obj3
= 0 ;
17881 PyObject
* obj4
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17890 arg2
= wxString_in_helper(obj1
);
17891 if (arg2
== NULL
) SWIG_fail
;
17894 arg3
= (int)SWIG_As_int(obj2
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17896 arg4
= (int)SWIG_As_int(obj3
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17898 arg5
= (int)SWIG_As_int(obj4
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 Py_INCREF(Py_None
); resultobj
= Py_None
;
17922 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17925 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17927 return Py_BuildValue((char *)"");
17929 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxFontList
*arg1
= (wxFontList
*) 0 ;
17932 wxFont
*arg2
= (wxFont
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self",(char *) "font", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 (arg1
)->AddFont(arg2
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 Py_INCREF(Py_None
); resultobj
= Py_None
;
17958 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17960 wxFontList
*arg1
= (wxFontList
*) 0 ;
17965 bool arg6
= (bool) false ;
17966 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17967 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17968 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17970 bool temp7
= false ;
17971 PyObject
* obj0
= 0 ;
17972 PyObject
* obj1
= 0 ;
17973 PyObject
* obj2
= 0 ;
17974 PyObject
* obj3
= 0 ;
17975 PyObject
* obj4
= 0 ;
17976 PyObject
* obj5
= 0 ;
17977 PyObject
* obj6
= 0 ;
17978 PyObject
* obj7
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 arg2
= (int)SWIG_As_int(obj1
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17988 arg3
= (int)SWIG_As_int(obj2
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17990 arg4
= (int)SWIG_As_int(obj3
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17992 arg5
= (int)SWIG_As_int(obj4
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 arg6
= (bool)SWIG_As_bool(obj5
);
17996 if (PyErr_Occurred()) SWIG_fail
;
18000 arg7
= wxString_in_helper(obj6
);
18001 if (arg7
== NULL
) SWIG_fail
;
18006 arg8
= (int)SWIG_As_int(obj7
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18011 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18013 wxPyEndAllowThreads(__tstate
);
18014 if (PyErr_Occurred()) SWIG_fail
;
18016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18031 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxFontList
*arg1
= (wxFontList
*) 0 ;
18034 wxFont
*arg2
= (wxFont
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "font", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->RemoveFont(arg2
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxFontList
*arg1
= (wxFontList
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 result
= (int)(arg1
)->GetCount();
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_From_int((int)result
);
18086 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
18088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18089 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18091 return Py_BuildValue((char *)"");
18093 static int _wrap_TheFontList_set(PyObject
*) {
18094 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18099 static PyObject
*_wrap_TheFontList_get() {
18102 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18107 static int _wrap_ThePenList_set(PyObject
*) {
18108 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18113 static PyObject
*_wrap_ThePenList_get() {
18116 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18121 static int _wrap_TheBrushList_set(PyObject
*) {
18122 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18127 static PyObject
*_wrap_TheBrushList_get() {
18130 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18135 static int _wrap_TheColourDatabase_set(PyObject
*) {
18136 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18141 static PyObject
*_wrap_TheColourDatabase_get() {
18144 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18149 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18152 char *kwnames
[] = {
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (wxEffects
*)new wxEffects();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18171 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxEffects
*arg1
= (wxEffects
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 wxColour
* resultptr
;
18192 resultptr
= new wxColour((wxColour
&) result
);
18193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18201 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxEffects
*arg1
= (wxEffects
*) 0 ;
18205 PyObject
* obj0
= 0 ;
18206 char *kwnames
[] = {
18207 (char *) "self", NULL
18210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18221 wxColour
* resultptr
;
18222 resultptr
= new wxColour((wxColour
&) result
);
18223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18231 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxEffects
*arg1
= (wxEffects
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 wxColour
* resultptr
;
18252 resultptr
= new wxColour((wxColour
&) result
);
18253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18261 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxEffects
*arg1
= (wxEffects
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 wxColour
* resultptr
;
18282 resultptr
= new wxColour((wxColour
&) result
);
18283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18291 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxEffects
*arg1
= (wxEffects
*) 0 ;
18295 PyObject
* obj0
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18311 wxColour
* resultptr
;
18312 resultptr
= new wxColour((wxColour
&) result
);
18313 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18321 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxEffects
*arg1
= (wxEffects
*) 0 ;
18324 wxColour
*arg2
= 0 ;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 char *kwnames
[] = {
18329 (char *) "self",(char *) "c", NULL
18332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxEffects
*arg1
= (wxEffects
*) 0 ;
18356 wxColour
*arg2
= 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "c", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 Py_INCREF(Py_None
); resultobj
= Py_None
;
18385 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxEffects
*arg1
= (wxEffects
*) 0 ;
18388 wxColour
*arg2
= 0 ;
18390 PyObject
* obj0
= 0 ;
18391 PyObject
* obj1
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self",(char *) "c", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18401 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 Py_INCREF(Py_None
); resultobj
= Py_None
;
18417 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 wxEffects
*arg1
= (wxEffects
*) 0 ;
18420 wxColour
*arg2
= 0 ;
18422 PyObject
* obj0
= 0 ;
18423 PyObject
* obj1
= 0 ;
18424 char *kwnames
[] = {
18425 (char *) "self",(char *) "c", NULL
18428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18433 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 Py_INCREF(Py_None
); resultobj
= Py_None
;
18449 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
;
18451 wxEffects
*arg1
= (wxEffects
*) 0 ;
18452 wxColour
*arg2
= 0 ;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self",(char *) "c", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxEffects
*arg1
= (wxEffects
*) 0 ;
18484 wxColour
*arg2
= 0 ;
18485 wxColour
*arg3
= 0 ;
18486 wxColour
*arg4
= 0 ;
18487 wxColour
*arg5
= 0 ;
18488 wxColour
*arg6
= 0 ;
18494 PyObject
* obj0
= 0 ;
18495 PyObject
* obj1
= 0 ;
18496 PyObject
* obj2
= 0 ;
18497 PyObject
* obj3
= 0 ;
18498 PyObject
* obj4
= 0 ;
18499 PyObject
* obj5
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18513 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18517 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18521 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18525 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18534 Py_INCREF(Py_None
); resultobj
= Py_None
;
18541 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18542 PyObject
*resultobj
;
18543 wxEffects
*arg1
= (wxEffects
*) 0 ;
18546 int arg4
= (int) 1 ;
18548 PyObject
* obj0
= 0 ;
18549 PyObject
* obj1
= 0 ;
18550 PyObject
* obj2
= 0 ;
18551 PyObject
* obj3
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18562 if (arg2
== NULL
) {
18563 PyErr_SetString(PyExc_TypeError
,"null reference");
18568 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18571 arg4
= (int)SWIG_As_int(obj3
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 Py_INCREF(Py_None
); resultobj
= Py_None
;
18588 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxEffects
*arg1
= (wxEffects
*) 0 ;
18593 wxBitmap
*arg4
= 0 ;
18596 PyObject
* obj0
= 0 ;
18597 PyObject
* obj1
= 0 ;
18598 PyObject
* obj2
= 0 ;
18599 PyObject
* obj3
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18611 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18614 if (arg3
== NULL
) {
18615 PyErr_SetString(PyExc_TypeError
,"null reference");
18618 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18619 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18621 if (arg4
== NULL
) {
18622 PyErr_SetString(PyExc_TypeError
,"null reference");
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18641 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18644 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18646 return Py_BuildValue((char *)"");
18648 static PyMethodDef SwigMethods
[] = {
18649 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18655 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18668 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18672 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18678 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18681 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18682 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18697 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18709 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18716 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18736 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18738 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18749 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18750 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18753 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18754 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18761 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18769 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18775 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18778 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18803 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18817 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18841 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18842 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18850 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18851 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18858 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18864 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18866 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18870 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18907 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18911 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18914 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18918 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18919 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18922 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18923 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18926 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18931 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18933 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18934 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18935 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18936 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18937 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18938 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18939 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18940 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18941 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18943 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18944 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18945 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18947 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18948 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18949 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18950 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18951 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18952 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18953 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18954 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18955 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18956 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18957 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18958 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18960 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18962 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18964 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18965 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18966 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18968 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18969 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18970 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18973 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18974 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18975 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18976 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18978 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18979 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18980 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18982 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18984 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18985 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18986 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18987 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18990 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18991 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18992 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18994 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18997 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18998 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18999 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19000 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19001 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19002 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19003 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19004 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19005 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19006 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19007 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19008 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19009 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19010 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19011 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19012 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19013 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19014 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19015 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19016 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19017 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19018 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19019 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19020 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19021 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19022 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19023 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19024 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19025 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19026 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19027 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19028 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19029 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19030 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19031 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19032 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19033 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19034 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19035 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19036 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19037 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19038 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19039 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19040 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19041 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19042 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19043 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19044 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19045 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19046 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19047 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19048 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19049 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19050 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19051 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19052 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19053 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19054 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19055 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19056 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19057 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19058 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19059 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19060 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19061 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19062 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19063 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19064 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19065 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19066 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19067 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19068 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19069 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19070 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19071 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19072 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19073 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19074 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19075 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19076 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19077 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19078 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19079 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19080 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19081 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19082 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19083 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19084 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19085 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19086 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
19087 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19088 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19089 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19090 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
19091 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
19092 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19093 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19094 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19095 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19096 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19097 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19098 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19099 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19100 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19101 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19102 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19103 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19104 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19105 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19106 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19107 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19108 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19109 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19110 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19111 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19112 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19113 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19114 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19115 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19116 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19117 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19118 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19119 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19120 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19121 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19122 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19123 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19124 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19125 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19126 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19127 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19128 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19129 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19130 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19131 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19132 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19133 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19134 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19135 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19136 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19137 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19138 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19139 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19140 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19141 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19142 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19143 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19144 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19145 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19146 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19147 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19148 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19149 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19150 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19151 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19152 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19153 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19154 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19155 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19156 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19157 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19158 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19159 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19160 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19161 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19162 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19163 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19164 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19165 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19166 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19167 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19168 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19169 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19170 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19171 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19172 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19173 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19174 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19175 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19176 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19177 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19178 { NULL
, NULL
, 0, NULL
}
19182 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19184 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19185 return (void *)((wxWindow
*) ((wxControl
*) x
));
19187 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19188 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19190 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19191 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19193 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19194 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19196 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19197 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19199 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19200 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19202 static void *_p_wxPenTo_p_wxObject(void *x
) {
19203 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19205 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19206 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19208 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19209 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19211 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19212 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19214 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19215 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19217 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19218 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19220 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19221 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19223 static void *_p_wxIconTo_p_wxObject(void *x
) {
19224 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19226 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19227 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19229 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19230 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19232 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19233 return (void *)((wxObject
*) ((wxSizer
*) x
));
19235 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19236 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19238 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19241 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19242 return (void *)((wxObject
*) ((wxPenList
*) x
));
19244 static void *_p_wxEventTo_p_wxObject(void *x
) {
19245 return (void *)((wxObject
*) ((wxEvent
*) x
));
19247 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19248 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19250 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19251 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19253 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19254 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19256 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19257 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19259 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19260 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19262 static void *_p_wxDCTo_p_wxObject(void *x
) {
19263 return (void *)((wxObject
*) ((wxDC
*) x
));
19265 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19266 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19268 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19269 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19271 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19272 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19274 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19275 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19277 static void *_p_wxControlTo_p_wxObject(void *x
) {
19278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19281 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19283 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19284 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19286 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19287 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19289 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19290 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19292 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19293 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19295 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19296 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19298 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19299 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19301 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19302 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19304 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19305 return (void *)((wxObject
*) ((wxEffects
*) x
));
19307 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19308 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19310 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19313 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19314 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19316 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19317 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19319 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19320 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19322 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19323 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19325 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19328 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19329 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19331 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19332 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19334 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19335 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19337 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19338 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19340 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19341 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19343 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19344 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19346 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19347 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19349 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19350 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19352 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19353 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19355 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19358 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19361 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19364 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19365 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19367 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19368 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19370 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19371 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19373 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19374 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19376 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19377 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19379 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19382 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19383 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19385 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19386 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19388 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19389 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19391 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19392 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19394 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19395 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19397 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19398 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19400 static void *_p_wxImageTo_p_wxObject(void *x
) {
19401 return (void *)((wxObject
*) ((wxImage
*) x
));
19403 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19404 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19406 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19407 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19409 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19410 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19412 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19413 return (void *)((wxObject
*) ((wxImageList
*) x
));
19415 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19416 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19418 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19419 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19421 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19422 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19424 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19425 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19427 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19428 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19430 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19431 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19433 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19434 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19436 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19437 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19439 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19440 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19442 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19443 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19445 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19446 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19448 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19449 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19451 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19452 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19454 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19455 return (void *)((wxObject
*) ((wxMask
*) x
));
19457 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19460 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19461 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19463 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19464 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19466 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19467 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19469 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19470 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19472 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19473 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19475 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19476 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19478 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19479 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19481 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19482 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19484 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19485 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19487 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19488 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19490 static void *_p_wxFontTo_p_wxObject(void *x
) {
19491 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19493 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19494 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19496 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19497 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19499 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19502 static void *_p_wxColourTo_p_wxObject(void *x
) {
19503 return (void *)((wxObject
*) ((wxColour
*) x
));
19505 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19506 return (void *)((wxObject
*) ((wxFontList
*) x
));
19508 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19511 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19512 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19514 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19515 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19517 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19518 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19520 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19521 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19523 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19524 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19526 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19527 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19529 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19530 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19532 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19533 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19535 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19536 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19538 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19539 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19541 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19542 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19544 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19545 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19547 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19548 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19550 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19551 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19553 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19554 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19556 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19557 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19559 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19560 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19562 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19563 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19565 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19566 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19568 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19569 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19571 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19572 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19574 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}};
19575 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}};
19576 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}};
19577 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}};
19578 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}};
19579 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}};
19580 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}};
19581 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}};
19582 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}};
19583 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}};
19584 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}};
19585 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}};
19586 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}};
19587 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}};
19588 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}};
19589 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}};
19590 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}};
19591 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}};
19592 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}};
19593 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}};
19594 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}};
19595 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}};
19596 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}};
19597 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}};
19598 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}};
19599 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}};
19600 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}};
19601 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}};
19602 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}};
19603 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}};
19604 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}};
19605 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}};
19606 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}};
19607 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}};
19608 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}};
19609 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}};
19610 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}};
19611 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}};
19612 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}};
19613 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}};
19614 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}};
19615 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}};
19616 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}};
19617 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}};
19618 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}};
19619 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}};
19620 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}};
19621 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}};
19622 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}};
19623 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}};
19624 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}};
19625 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}};
19626 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}};
19627 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}};
19628 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}};
19630 static swig_type_info
*swig_types_initial
[] = {
19631 _swigt__p_wxPostScriptDC
,
19633 _swigt__p_wxColour
,
19635 _swigt__p_wxMirrorDC
,
19637 _swigt__p_wxPyFontEnumerator
,
19639 _swigt__p_wxIconLocation
,
19641 _swigt__p_wxMetaFileDC
,
19645 _swigt__p_wxWindow
,
19647 _swigt__p_wxMemoryDC
,
19648 _swigt__p_wxFontMapper
,
19649 _swigt__p_wxEffects
,
19650 _swigt__p_wxNativeEncodingInfo
,
19651 _swigt__p_wxPalette
,
19652 _swigt__p_wxBitmap
,
19653 _swigt__p_wxObject
,
19654 _swigt__p_wxRegionIterator
,
19656 _swigt__p_wxString
,
19657 _swigt__p_wxPrinterDC
,
19658 _swigt__p_wxIconBundle
,
19661 _swigt__p_wxScreenDC
,
19662 _swigt__p_wxCursor
,
19663 _swigt__p_wxClientDC
,
19664 _swigt__p_wxBufferedDC
,
19665 _swigt__p_wxImageList
,
19666 _swigt__p_unsigned_char
,
19667 _swigt__p_wxGDIObject
,
19669 _swigt__p_wxLocale
,
19670 _swigt__p_wxRegion
,
19671 _swigt__p_wxLanguageInfo
,
19672 _swigt__p_wxConfigBase
,
19673 _swigt__p_wxWindowDC
,
19674 _swigt__p_wxPrintData
,
19675 _swigt__p_wxBrushList
,
19676 _swigt__p_wxFontList
,
19678 _swigt__p_wxBufferedPaintDC
,
19679 _swigt__p_wxPaintDC
,
19680 _swigt__p_wxPenList
,
19682 _swigt__p_wxMetaFile
,
19683 _swigt__p_wxNativeFontInfo
,
19684 _swigt__p_wxEncodingConverter
,
19685 _swigt__p_wxColourDatabase
,
19690 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19692 static swig_const_info swig_const_table
[] = {
19693 {0, 0, 0, 0.0, 0, 0}};
19702 SWIGEXPORT(void) SWIG_init(void) {
19703 static PyObject
*SWIG_globals
= 0;
19704 static int typeinit
= 0;
19707 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19708 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19709 d
= PyModule_GetDict(m
);
19712 for (i
= 0; swig_types_initial
[i
]; i
++) {
19713 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19717 SWIG_InstallConstants(d
,swig_const_table
);
19719 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19720 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19721 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19722 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19723 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19724 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19725 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19726 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19727 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19728 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19729 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19730 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19731 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19732 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19733 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19734 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19735 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19736 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19737 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19738 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19739 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19740 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19741 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19742 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19743 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19744 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19745 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19746 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19747 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19748 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19749 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19750 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19751 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19752 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19753 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19754 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19755 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19756 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19757 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19758 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19759 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19760 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19761 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19762 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19763 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19764 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19765 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19766 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19767 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19768 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19769 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19770 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19771 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19772 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19773 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19774 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19775 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19776 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19777 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19778 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19779 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19780 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19781 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19782 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19783 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19784 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19785 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19786 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19787 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19788 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19789 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19790 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19791 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19792 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19793 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19794 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19795 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19796 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19797 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19798 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19799 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19800 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19801 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19802 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19803 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19804 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19805 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19806 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19807 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19808 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19809 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19810 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19811 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19812 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19813 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19814 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19815 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19816 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19817 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19818 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19819 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19820 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19821 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19822 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19823 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19824 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19825 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19826 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19827 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19828 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19829 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19830 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19831 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19832 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19833 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19834 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19835 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19836 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19837 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19838 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19839 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19840 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19841 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19842 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19843 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19844 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19845 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19847 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19849 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19850 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19851 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19852 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19853 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19854 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19855 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19856 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19857 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19858 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19859 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19860 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19861 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19862 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19863 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19864 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19865 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19866 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19867 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19868 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19869 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19870 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19871 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19872 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19873 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19874 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19875 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19876 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19877 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19878 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19879 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19880 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19881 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19882 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19883 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19884 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19885 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19886 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19887 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19888 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19889 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19890 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19891 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19892 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19893 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19894 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19895 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19896 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19897 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19898 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19899 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19900 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19901 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19902 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19903 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19904 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19905 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19906 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19907 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19908 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19909 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
19910 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19911 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
19912 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19913 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
19914 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
19915 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19916 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19917 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19918 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19919 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19920 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19921 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
19922 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
19923 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
19924 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
19925 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
19926 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
19927 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
19928 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
19929 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
19930 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19931 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
19932 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
19933 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
19934 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
19935 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
19936 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
19937 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19938 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
19939 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19940 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19941 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
19942 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
19943 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
19944 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
19945 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
19946 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
19947 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
19948 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
19949 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
19950 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
19951 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
19952 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
19953 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
19954 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
19955 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
19956 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
19957 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
19958 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
19959 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
19960 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
19961 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
19962 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
19963 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
19964 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
19965 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
19966 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
19967 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
19968 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
19969 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
19970 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
19971 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
19972 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
19973 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
19974 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
19975 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
19976 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
19977 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
19978 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
19979 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
19980 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
19981 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19982 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
19983 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
19984 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
19985 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
19986 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
19987 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
19988 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
19989 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
19990 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
19991 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
19992 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19993 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19994 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
19995 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
19996 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
19997 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
19998 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
19999 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
20000 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20001 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
20002 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
20003 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
20004 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
20005 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
20006 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20007 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
20008 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
20009 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
20010 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
20011 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
20012 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20013 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
20014 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
20015 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
20016 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
20017 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
20018 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
20019 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
20020 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
20021 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
20022 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
20023 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
20024 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
20025 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20026 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20027 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
20028 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20029 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20030 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20031 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
20032 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20033 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20034 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
20035 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
20036 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
20037 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20038 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
20039 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20040 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
20041 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20042 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
20043 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
20044 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20045 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
20046 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
20047 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
20048 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
20049 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
20050 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
20051 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
20052 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
20053 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
20054 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
20055 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
20056 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
20057 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
20058 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
20059 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
20060 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
20061 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
20062 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
20063 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
20064 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
20065 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
20066 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
20067 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
20068 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20069 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
20070 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
20071 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
20072 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
20073 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
20074 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
20075 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
20076 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
20077 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
20078 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
20079 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
20080 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
20081 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
20082 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
20083 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
20084 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
20085 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
20086 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
20087 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
20088 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
20089 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
20090 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
20091 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
20092 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
20093 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
20094 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
20095 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
20096 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20097 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
20098 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
20099 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20100 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20101 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20102 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20103 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20104 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20105 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20106 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20107 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20108 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20109 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20110 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20111 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20112 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20113 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20114 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20115 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20116 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20117 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20118 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20119 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20120 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20121 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20122 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20123 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20124 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20125 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20126 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20127 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20128 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20129 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20130 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20131 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20132 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20133 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20134 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20135 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20136 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20137 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20138 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20139 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20140 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20141 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20142 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20143 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20144 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20145 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20146 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20147 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20148 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20150 // Work around a chicken/egg problem in drawlist.cpp
20151 wxPyDrawList_SetAPIPtr();