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);
933 wxLocale
*new_wxLocale(int language
,int flags
){
936 loc
= new wxLocale();
938 loc
= new wxLocale(language
, flags
);
939 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
940 // for the floating point conversions and such to work right.
941 #if PY_VERSION_HEX < 0x02040000
942 setlocale(LC_NUMERIC
, "C");
946 bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
,wxString
const &szLocale
,bool bLoadDefault
,bool bConvertEncoding
){
947 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
948 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
949 // for the floating point conversions and such to work right.
950 #if PY_VERSION_HEX < 0x02040000
951 setlocale(LC_NUMERIC
, "C");
955 bool wxLocale_Init2(wxLocale
*self
,int language
,int flags
){
956 bool rc
= self
->Init(language
, flags
);
957 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
958 // for the floating point conversions and such to work right.
959 #if PY_VERSION_HEX < 0x02040000
960 setlocale(LC_NUMERIC
, "C");
965 #include "wx/wxPython/pydrawxxx.h"
967 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
969 self
->GetPixel(x
, y
, &col
);
972 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
974 self
->GetPixel(pt
, &col
);
978 // See my_fragments.i
979 SWIGSTATICINLINE(int)
980 SWIG_AsVal_double(PyObject
*obj
, double* val
)
982 if (PyNumber_Check(obj
)) {
983 if (val
) *val
= PyFloat_AsDouble(obj
);
987 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
988 obj
->ob_type
->tp_name
);
989 PyErr_SetObject(PyExc_TypeError
, errmsg
);
996 SWIGSTATICINLINE(double)
997 SWIG_As_double(PyObject
* obj
)
1000 if (!SWIG_AsVal_double(obj
, &v
)) {
1002 this is needed to make valgrind/purify happier. the other
1003 solution is throw an exception, but since this code should work
1006 memset((void*)&v
, 0, sizeof(double));
1012 SWIGSTATICINLINE(int)
1013 SWIG_Check_double(PyObject
* obj
)
1015 return SWIG_AsVal_double(obj
, (double*)0);
1018 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
1020 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
1024 wxRect
wxDC_GetClippingRect(wxDC
*self
){
1026 self
->GetClippingBox(rect
);
1029 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
1031 self
->GetPartialTextExtents(text
, widths
);
1035 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
1036 self
->SetLogicalOrigin(point
.x
, point
.y
);
1038 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
1039 self
->SetDeviceOrigin(point
.x
, point
.y
);
1041 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
1042 self
->CalcBoundingBox(point
.x
, point
.y
);
1044 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1045 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
1047 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1048 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
1050 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1051 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
1053 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1054 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
1056 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1057 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
1059 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
1060 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
1063 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1071 #include <wx/dcbuffer.h>
1074 #include <wx/dcps.h>
1077 #include <wx/metafile.h>
1081 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1082 self
->AddColour(name
, wxColour(red
, green
, blue
));
1085 #include <wx/effects.h>
1090 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
*resultobj
;
1092 wxGDIObject
*result
;
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1099 if (!wxPyCheckForApp()) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 result
= (wxGDIObject
*)new wxGDIObject();
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1113 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
*resultobj
;
1115 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1116 PyObject
* obj0
= 0 ;
1118 (char *) "self", NULL
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",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();
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1131 Py_INCREF(Py_None
); resultobj
= Py_None
;
1138 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
*resultobj
;
1140 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1142 PyObject
* obj0
= 0 ;
1144 (char *) "self", NULL
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 result
= (bool)(arg1
)->GetVisible();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1166 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1170 PyObject
* obj0
= 0 ;
1171 PyObject
* obj1
= 0 ;
1173 (char *) "self",(char *) "visible", NULL
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1179 arg2
= (bool)SWIG_As_bool(obj1
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 (arg1
)->SetVisible(arg2
);
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1188 Py_INCREF(Py_None
); resultobj
= Py_None
;
1195 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1197 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1199 PyObject
* obj0
= 0 ;
1201 (char *) "self", NULL
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1209 result
= (bool)(arg1
)->IsNull();
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1223 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1226 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1228 return Py_BuildValue((char *)"");
1230 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
*resultobj
;
1232 byte arg1
= (byte
) 0 ;
1233 byte arg2
= (byte
) 0 ;
1234 byte arg3
= (byte
) 0 ;
1236 PyObject
* obj0
= 0 ;
1237 PyObject
* obj1
= 0 ;
1238 PyObject
* obj2
= 0 ;
1240 (char *) "red",(char *) "green",(char *) "blue", NULL
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1245 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1249 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1250 if (PyErr_Occurred()) SWIG_fail
;
1253 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) SWIG_fail
;
1263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1270 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxString
*arg1
= 0 ;
1274 bool temp1
= false ;
1275 PyObject
* obj0
= 0 ;
1277 (char *) "colorName", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1282 arg1
= wxString_in_helper(obj0
);
1283 if (arg1
== NULL
) SWIG_fail
;
1287 if (!wxPyCheckForApp()) SWIG_fail
;
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1309 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
*resultobj
;
1311 unsigned long arg1
;
1313 PyObject
* obj0
= 0 ;
1315 (char *) "colRGB", NULL
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1319 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 result
= (wxColour
*)new wxColour(arg1
);
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1335 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
*resultobj
;
1337 wxColour
*arg1
= (wxColour
*) 0 ;
1338 PyObject
* obj0
= 0 ;
1340 (char *) "self", NULL
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",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();
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1353 Py_INCREF(Py_None
); resultobj
= Py_None
;
1360 static PyObject
*_wrap_Colour_Red(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_Red",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
)->Red();
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1379 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1386 static PyObject
*_wrap_Colour_Green(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_Green",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
)->Green();
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1405 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1412 static PyObject
*_wrap_Colour_Blue(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_Blue",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
= (byte
)(arg1
)->Blue();
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1438 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxColour
*arg1
= (wxColour
*) 0 ;
1442 PyObject
* obj0
= 0 ;
1444 (char *) "self", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 result
= (bool)(arg1
)->Ok();
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1466 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 wxColour
*arg1
= (wxColour
*) 0 ;
1472 PyObject
* obj0
= 0 ;
1473 PyObject
* obj1
= 0 ;
1474 PyObject
* obj2
= 0 ;
1475 PyObject
* obj3
= 0 ;
1477 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1483 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1485 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1487 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1488 if (PyErr_Occurred()) SWIG_fail
;
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 (arg1
)->Set(arg2
,arg3
,arg4
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1496 Py_INCREF(Py_None
); resultobj
= Py_None
;
1503 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxColour
*arg1
= (wxColour
*) 0 ;
1506 unsigned long arg2
;
1507 PyObject
* obj0
= 0 ;
1508 PyObject
* obj1
= 0 ;
1510 (char *) "self",(char *) "colRGB", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1516 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1517 if (PyErr_Occurred()) SWIG_fail
;
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1525 Py_INCREF(Py_None
); resultobj
= Py_None
;
1532 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxColour
*arg1
= (wxColour
*) 0 ;
1535 wxString
*arg2
= 0 ;
1536 bool temp2
= false ;
1537 PyObject
* obj0
= 0 ;
1538 PyObject
* obj1
= 0 ;
1540 (char *) "self",(char *) "colourName", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1547 arg2
= wxString_in_helper(obj1
);
1548 if (arg2
== NULL
) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 (arg1
)->InitFromName((wxString
const &)*arg2
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1558 Py_INCREF(Py_None
); resultobj
= Py_None
;
1573 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1575 wxColour
*arg1
= (wxColour
*) 0 ;
1577 PyObject
* obj0
= 0 ;
1579 (char *) "self", NULL
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1592 resultobj
= SWIG_From_long((long)result
);
1599 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxColour
*arg1
= (wxColour
*) 0 ;
1602 wxColour
*arg2
= 0 ;
1605 PyObject
* obj0
= 0 ;
1606 PyObject
* obj1
= 0 ;
1608 (char *) "self",(char *) "colour", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1634 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxColour
*arg1
= (wxColour
*) 0 ;
1637 wxColour
*arg2
= 0 ;
1640 PyObject
* obj0
= 0 ;
1641 PyObject
* obj1
= 0 ;
1643 (char *) "self",(char *) "colour", NULL
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1669 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxColour
*arg1
= (wxColour
*) 0 ;
1673 PyObject
* obj0
= 0 ;
1675 (char *) "self", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",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
= (PyObject
*)wxColour_Get(arg1
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1695 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxColour
*arg1
= (wxColour
*) 0 ;
1698 unsigned long result
;
1699 PyObject
* obj0
= 0 ;
1701 (char *) "self", NULL
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 result
= (unsigned long)wxColour_GetRGB(arg1
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1721 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1724 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1726 return Py_BuildValue((char *)"");
1728 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
*resultobj
;
1731 unsigned char *arg2
= (unsigned char *) 0 ;
1732 unsigned char *arg3
= (unsigned char *) 0 ;
1733 unsigned char *arg4
= (unsigned char *) 0 ;
1735 PyObject
* obj0
= 0 ;
1736 PyObject
* obj1
= 0 ;
1737 PyObject
* obj2
= 0 ;
1738 PyObject
* obj3
= 0 ;
1740 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1744 arg1
= (int)SWIG_As_int(obj0
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1748 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1750 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1753 if (!wxPyCheckForApp()) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1767 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxPalette
*arg1
= (wxPalette
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1772 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxPalette
*arg1
= (wxPalette
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1800 PyObject
* obj1
= 0 ;
1801 PyObject
* obj2
= 0 ;
1802 PyObject
* obj3
= 0 ;
1804 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1812 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1814 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1823 resultobj
= SWIG_From_int((int)result
);
1830 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxPalette
*arg1
= (wxPalette
*) 0 ;
1834 byte
*arg3
= (byte
*) 0 ;
1835 byte
*arg4
= (byte
*) 0 ;
1836 byte
*arg5
= (byte
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1845 PyObject
* obj1
= 0 ;
1847 (char *) "self",(char *) "pixel", NULL
1850 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1851 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1852 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1856 arg2
= (int)SWIG_As_int(obj1
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1868 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1869 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1870 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1871 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1872 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1873 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1880 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
*resultobj
;
1882 wxPalette
*arg1
= (wxPalette
*) 0 ;
1884 PyObject
* obj0
= 0 ;
1886 (char *) "self", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 result
= (bool)(arg1
)->Ok();
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1908 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1911 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1913 return Py_BuildValue((char *)"");
1915 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
*resultobj
;
1917 wxColour
*arg1
= 0 ;
1918 int arg2
= (int) 1 ;
1919 int arg3
= (int) wxSOLID
;
1922 PyObject
* obj0
= 0 ;
1923 PyObject
* obj1
= 0 ;
1924 PyObject
* obj2
= 0 ;
1926 (char *) "colour",(char *) "width",(char *) "style", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1932 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1935 arg2
= (int)SWIG_As_int(obj1
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1939 arg3
= (int)SWIG_As_int(obj2
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1943 if (!wxPyCheckForApp()) SWIG_fail
;
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1957 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxPen
*arg1
= (wxPen
*) 0 ;
1960 PyObject
* obj0
= 0 ;
1962 (char *) "self", NULL
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",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();
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 Py_INCREF(Py_None
); resultobj
= Py_None
;
1982 static PyObject
*_wrap_Pen_GetCap(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_GetCap",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
= (int)(arg1
)->GetCap();
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 resultobj
= SWIG_From_int((int)result
);
2008 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxPen
*arg1
= (wxPen
*) 0 ;
2012 PyObject
* obj0
= 0 ;
2014 (char *) "self", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (arg1
)->GetColour();
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2028 wxColour
* resultptr
;
2029 resultptr
= new wxColour((wxColour
&) result
);
2030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2038 static PyObject
*_wrap_Pen_GetJoin(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_GetJoin",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
)->GetJoin();
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 resultobj
= SWIG_From_int((int)result
);
2064 static PyObject
*_wrap_Pen_GetStyle(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_GetStyle",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
)->GetStyle();
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 resultobj
= SWIG_From_int((int)result
);
2090 static PyObject
*_wrap_Pen_GetWidth(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_GetWidth",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
= (int)(arg1
)->GetWidth();
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 resultobj
= SWIG_From_int((int)result
);
2116 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
*resultobj
;
2118 wxPen
*arg1
= (wxPen
*) 0 ;
2120 PyObject
* obj0
= 0 ;
2122 (char *) "self", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 result
= (bool)(arg1
)->Ok();
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2144 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxPen
*arg1
= (wxPen
*) 0 ;
2148 PyObject
* obj0
= 0 ;
2149 PyObject
* obj1
= 0 ;
2151 (char *) "self",(char *) "cap_style", NULL
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 arg2
= (int)SWIG_As_int(obj1
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 (arg1
)->SetCap(arg2
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2166 Py_INCREF(Py_None
); resultobj
= Py_None
;
2173 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 wxPen
*arg1
= (wxPen
*) 0 ;
2176 wxColour
*arg2
= 0 ;
2178 PyObject
* obj0
= 0 ;
2179 PyObject
* obj1
= 0 ;
2181 (char *) "self",(char *) "colour", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2189 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 (arg1
)->SetColour(*arg2
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 wxPen
*arg1
= (wxPen
*) 0 ;
2209 PyObject
* obj0
= 0 ;
2210 PyObject
* obj1
= 0 ;
2212 (char *) "self",(char *) "join_style", NULL
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2218 arg2
= (int)SWIG_As_int(obj1
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 (arg1
)->SetJoin(arg2
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 Py_INCREF(Py_None
); resultobj
= Py_None
;
2234 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxPen
*arg1
= (wxPen
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2239 PyObject
* obj1
= 0 ;
2241 (char *) "self",(char *) "style", NULL
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 arg2
= (int)SWIG_As_int(obj1
);
2248 if (PyErr_Occurred()) SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 (arg1
)->SetStyle(arg2
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2256 Py_INCREF(Py_None
); resultobj
= Py_None
;
2263 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
*resultobj
;
2265 wxPen
*arg1
= (wxPen
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2268 PyObject
* obj1
= 0 ;
2270 (char *) "self",(char *) "width", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2276 arg2
= (int)SWIG_As_int(obj1
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2280 (arg1
)->SetWidth(arg2
);
2282 wxPyEndAllowThreads(__tstate
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2285 Py_INCREF(Py_None
); resultobj
= Py_None
;
2292 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
*resultobj
;
2294 wxPen
*arg1
= (wxPen
*) 0 ;
2296 wxDash
*arg3
= (wxDash
*) 0 ;
2297 PyObject
* obj0
= 0 ;
2298 PyObject
* obj1
= 0 ;
2300 (char *) "self",(char *) "dashes", NULL
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2307 arg2
= PyList_Size(obj1
);
2308 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2309 if (arg3
== NULL
) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 (arg1
)->SetDashes(arg2
,arg3
);
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2318 Py_INCREF(Py_None
); resultobj
= Py_None
;
2320 if (arg3
) delete [] arg3
;
2325 if (arg3
) delete [] arg3
;
2331 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxPen
*arg1
= (wxPen
*) 0 ;
2335 PyObject
* obj0
= 0 ;
2337 (char *) "self", NULL
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2357 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxPen
*arg1
= (wxPen
*) 0 ;
2360 PyObject
*arg2
= (PyObject
*) 0 ;
2361 PyObject
*arg3
= (PyObject
*) 0 ;
2362 PyObject
* obj0
= 0 ;
2363 PyObject
* obj1
= 0 ;
2364 PyObject
* obj2
= 0 ;
2366 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 wxPen__SetDashes(arg1
,arg2
,arg3
);
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2381 Py_INCREF(Py_None
); resultobj
= Py_None
;
2388 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
*resultobj
;
2390 wxPen
*arg1
= (wxPen
*) 0 ;
2391 wxPen
*arg2
= (wxPen
*) 0 ;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2396 (char *) "self",(char *) "other", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2420 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxPen
*arg1
= (wxPen
*) 0 ;
2423 wxPen
*arg2
= (wxPen
*) 0 ;
2425 PyObject
* obj0
= 0 ;
2426 PyObject
* obj1
= 0 ;
2428 (char *) "self",(char *) "other", NULL
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2452 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2455 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2457 return Py_BuildValue((char *)"");
2459 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2461 wxColour
*arg1
= 0 ;
2462 int arg2
= (int) wxSOLID
;
2465 PyObject
* obj0
= 0 ;
2466 PyObject
* obj1
= 0 ;
2468 (char *) "colour",(char *) "style", NULL
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2474 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2477 arg2
= (int)SWIG_As_int(obj1
);
2478 if (PyErr_Occurred()) SWIG_fail
;
2481 if (!wxPyCheckForApp()) SWIG_fail
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2495 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
*resultobj
;
2497 wxBrush
*arg1
= (wxBrush
*) 0 ;
2498 PyObject
* obj0
= 0 ;
2500 (char *) "self", NULL
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2513 Py_INCREF(Py_None
); resultobj
= Py_None
;
2520 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxBrush
*arg1
= (wxBrush
*) 0 ;
2523 wxColour
*arg2
= 0 ;
2525 PyObject
* obj0
= 0 ;
2526 PyObject
* obj1
= 0 ;
2528 (char *) "self",(char *) "col", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 (arg1
)->SetColour((wxColour
const &)*arg2
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2554 wxBrush
*arg1
= (wxBrush
*) 0 ;
2556 PyObject
* obj0
= 0 ;
2557 PyObject
* obj1
= 0 ;
2559 (char *) "self",(char *) "style", NULL
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2565 arg2
= (int)SWIG_As_int(obj1
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 (arg1
)->SetStyle(arg2
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2574 Py_INCREF(Py_None
); resultobj
= Py_None
;
2581 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
*resultobj
;
2583 wxBrush
*arg1
= (wxBrush
*) 0 ;
2584 wxBitmap
*arg2
= 0 ;
2585 PyObject
* obj0
= 0 ;
2586 PyObject
* obj1
= 0 ;
2588 (char *) "self",(char *) "stipple", NULL
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2598 PyErr_SetString(PyExc_TypeError
,"null reference");
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 Py_INCREF(Py_None
); resultobj
= Py_None
;
2615 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxBrush
*arg1
= (wxBrush
*) 0 ;
2619 PyObject
* obj0
= 0 ;
2621 (char *) "self", NULL
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 result
= ((wxBrush
const *)arg1
)->GetColour();
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2635 wxColour
* resultptr
;
2636 resultptr
= new wxColour((wxColour
&) result
);
2637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2645 static PyObject
*_wrap_Brush_GetStyle(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_GetStyle",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
= (int)((wxBrush
const *)arg1
)->GetStyle();
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2664 resultobj
= SWIG_From_int((int)result
);
2671 static PyObject
*_wrap_Brush_GetStipple(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_GetStipple",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
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2697 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxBrush
*arg1
= (wxBrush
*) 0 ;
2701 PyObject
* obj0
= 0 ;
2703 (char *) "self", NULL
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (bool)(arg1
)->Ok();
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2725 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2727 wxBrush
*arg1
= (wxBrush
*) 0 ;
2729 PyObject
* obj0
= 0 ;
2731 (char *) "self", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 result
= (short)(arg1
)->MacGetTheme();
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 resultobj
= SWIG_From_short((short)result
);
2751 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxBrush
*arg1
= (wxBrush
*) 0 ;
2755 PyObject
* obj0
= 0 ;
2756 PyObject
* obj1
= 0 ;
2758 (char *) "self",(char *) "macThemeBrush", NULL
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2764 arg2
= (short)SWIG_As_short(obj1
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2768 (arg1
)->MacSetTheme(arg2
);
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2773 Py_INCREF(Py_None
); resultobj
= Py_None
;
2780 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2783 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2785 return Py_BuildValue((char *)"");
2787 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
*resultobj
;
2789 wxString
*arg1
= 0 ;
2790 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2792 bool temp1
= false ;
2793 PyObject
* obj0
= 0 ;
2794 PyObject
* obj1
= 0 ;
2796 (char *) "name",(char *) "type", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2801 arg1
= wxString_in_helper(obj0
);
2802 if (arg1
== NULL
) SWIG_fail
;
2806 arg2
= (int)SWIG_As_int(obj1
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2810 if (!wxPyCheckForApp()) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2832 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2835 PyObject
* obj0
= 0 ;
2837 (char *) "self", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2857 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2861 int arg3
= (int) -1 ;
2863 PyObject
* obj0
= 0 ;
2864 PyObject
* obj1
= 0 ;
2865 PyObject
* obj2
= 0 ;
2867 (char *) "width",(char *) "height",(char *) "depth", NULL
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2871 arg1
= (int)SWIG_As_int(obj0
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2873 arg2
= (int)SWIG_As_int(obj1
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 arg3
= (int)SWIG_As_int(obj2
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2880 if (!wxPyCheckForApp()) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2894 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2898 PyObject
* obj0
= 0 ;
2900 (char *) "icon", NULL
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2908 PyErr_SetString(PyExc_TypeError
,"null reference");
2912 if (!wxPyCheckForApp()) SWIG_fail
;
2913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2914 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2916 wxPyEndAllowThreads(__tstate
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2926 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
*resultobj
;
2929 int arg2
= (int) -1 ;
2931 PyObject
* obj0
= 0 ;
2932 PyObject
* obj1
= 0 ;
2934 (char *) "image",(char *) "depth", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2942 PyErr_SetString(PyExc_TypeError
,"null reference");
2946 arg2
= (int)SWIG_As_int(obj1
);
2947 if (PyErr_Occurred()) SWIG_fail
;
2950 if (!wxPyCheckForApp()) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2964 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 PyObject
*arg1
= (PyObject
*) 0 ;
2968 PyObject
* obj0
= 0 ;
2970 (char *) "listOfStrings", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2976 if (!wxPyCheckForApp()) SWIG_fail
;
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2990 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
*resultobj
;
2992 PyObject
*arg1
= (PyObject
*) 0 ;
2995 int arg4
= (int) 1 ;
2997 PyObject
* obj0
= 0 ;
2998 PyObject
* obj1
= 0 ;
2999 PyObject
* obj2
= 0 ;
3000 PyObject
* obj3
= 0 ;
3002 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3007 arg2
= (int)SWIG_As_int(obj1
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3009 arg3
= (int)SWIG_As_int(obj2
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3012 arg4
= (int)SWIG_As_int(obj3
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3016 if (!wxPyCheckForApp()) SWIG_fail
;
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3030 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3034 PyObject
* obj0
= 0 ;
3036 (char *) "self", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3044 result
= (bool)(arg1
)->Ok();
3046 wxPyEndAllowThreads(__tstate
);
3047 if (PyErr_Occurred()) SWIG_fail
;
3050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3058 static PyObject
*_wrap_Bitmap_GetWidth(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_GetWidth",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
)->GetWidth();
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3077 resultobj
= SWIG_From_int((int)result
);
3084 static PyObject
*_wrap_Bitmap_GetHeight(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_GetHeight",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
)->GetHeight();
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3103 resultobj
= SWIG_From_int((int)result
);
3110 static PyObject
*_wrap_Bitmap_GetDepth(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_GetDepth",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
= (int)(arg1
)->GetDepth();
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3129 resultobj
= SWIG_From_int((int)result
);
3136 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3142 (char *) "self", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 result
= wxBitmap_GetSize(arg1
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3157 resultptr
= new wxSize((wxSize
&) result
);
3158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3166 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
*resultobj
;
3168 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3169 SwigValueWrapper
< wxImage
> result
;
3170 PyObject
* obj0
= 0 ;
3172 (char *) "self", NULL
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 wxImage
* resultptr
;
3187 resultptr
= new wxImage((wxImage
&) result
);
3188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3196 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
*resultobj
;
3198 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3200 PyObject
* obj0
= 0 ;
3202 (char *) "self", NULL
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3222 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
*resultobj
;
3224 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3225 wxMask
*arg2
= (wxMask
*) 0 ;
3226 PyObject
* obj0
= 0 ;
3227 PyObject
* obj1
= 0 ;
3229 (char *) "self",(char *) "mask", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 (arg1
)->SetMask(arg2
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 Py_INCREF(Py_None
); resultobj
= Py_None
;
3251 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3254 wxColour
*arg2
= 0 ;
3256 PyObject
* obj0
= 0 ;
3257 PyObject
* obj1
= 0 ;
3259 (char *) "self",(char *) "colour", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 Py_INCREF(Py_None
); resultobj
= Py_None
;
3283 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3287 SwigValueWrapper
< wxBitmap
> result
;
3289 PyObject
* obj0
= 0 ;
3290 PyObject
* obj1
= 0 ;
3292 (char *) "self",(char *) "rect", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3310 wxBitmap
* resultptr
;
3311 resultptr
= new wxBitmap((wxBitmap
&) result
);
3312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3320 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
*resultobj
;
3322 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3323 wxString
*arg2
= 0 ;
3325 wxPalette
*arg4
= (wxPalette
*) NULL
;
3327 bool temp2
= false ;
3328 PyObject
* obj0
= 0 ;
3329 PyObject
* obj1
= 0 ;
3330 PyObject
* obj2
= 0 ;
3331 PyObject
* obj3
= 0 ;
3333 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3340 arg2
= wxString_in_helper(obj1
);
3341 if (arg2
== NULL
) SWIG_fail
;
3344 arg3
= (int)SWIG_As_int(obj2
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3374 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3377 wxString
*arg2
= 0 ;
3380 bool temp2
= false ;
3381 PyObject
* obj0
= 0 ;
3382 PyObject
* obj1
= 0 ;
3383 PyObject
* obj2
= 0 ;
3385 (char *) "self",(char *) "name",(char *) "type", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3392 arg2
= wxString_in_helper(obj1
);
3393 if (arg2
== NULL
) SWIG_fail
;
3396 arg3
= (int)SWIG_As_int(obj2
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3422 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
3448 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3456 (char *) "self",(char *) "icon", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3466 PyErr_SetString(PyExc_TypeError
,"null reference");
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3485 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3489 PyObject
* obj0
= 0 ;
3490 PyObject
* obj1
= 0 ;
3492 (char *) "self",(char *) "height", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 arg2
= (int)SWIG_As_int(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 (arg1
)->SetHeight(arg2
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 Py_INCREF(Py_None
); resultobj
= Py_None
;
3514 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3521 (char *) "self",(char *) "width", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3527 arg2
= (int)SWIG_As_int(obj1
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 (arg1
)->SetWidth(arg2
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 Py_INCREF(Py_None
); resultobj
= Py_None
;
3543 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3547 PyObject
* obj0
= 0 ;
3548 PyObject
* obj1
= 0 ;
3550 (char *) "self",(char *) "depth", NULL
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3556 arg2
= (int)SWIG_As_int(obj1
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 (arg1
)->SetDepth(arg2
);
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3565 Py_INCREF(Py_None
); resultobj
= Py_None
;
3572 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3580 (char *) "self",(char *) "size", NULL
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 Py_INCREF(Py_None
); resultobj
= Py_None
;
3604 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3607 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3609 PyObject
* obj0
= 0 ;
3610 PyObject
* obj1
= 0 ;
3612 (char *) "self",(char *) "other", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3636 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3638 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3639 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3644 (char *) "self",(char *) "other", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3668 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3671 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3673 return Py_BuildValue((char *)"");
3675 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxBitmap
*arg1
= 0 ;
3678 wxColour
const &arg2_defvalue
= wxNullColour
;
3679 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3685 (char *) "bitmap",(char *) "colour", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3693 PyErr_SetString(PyExc_TypeError
,"null reference");
3699 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3703 if (!wxPyCheckForApp()) SWIG_fail
;
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3717 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3720 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3722 return Py_BuildValue((char *)"");
3724 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxString
*arg1
= 0 ;
3728 int arg3
= (int) -1 ;
3729 int arg4
= (int) -1 ;
3731 bool temp1
= false ;
3732 PyObject
* obj0
= 0 ;
3733 PyObject
* obj1
= 0 ;
3734 PyObject
* obj2
= 0 ;
3735 PyObject
* obj3
= 0 ;
3737 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3742 arg1
= wxString_in_helper(obj0
);
3743 if (arg1
== NULL
) SWIG_fail
;
3746 arg2
= (int)SWIG_As_int(obj1
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 arg3
= (int)SWIG_As_int(obj2
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3753 arg4
= (int)SWIG_As_int(obj3
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3757 if (!wxPyCheckForApp()) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3779 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
*resultobj
;
3781 wxIcon
*arg1
= (wxIcon
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3813 if (!wxPyCheckForApp()) SWIG_fail
;
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 result
= (wxIcon
*)new wxIcon();
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3827 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 wxIconLocation
*arg1
= 0 ;
3831 PyObject
* obj0
= 0 ;
3833 (char *) "loc", NULL
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3841 PyErr_SetString(PyExc_TypeError
,"null reference");
3845 if (!wxPyCheckForApp()) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3859 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxBitmap
*arg1
= 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "bmp", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3873 PyErr_SetString(PyExc_TypeError
,"null reference");
3877 if (!wxPyCheckForApp()) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3891 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 PyObject
*arg1
= (PyObject
*) 0 ;
3895 PyObject
* obj0
= 0 ;
3897 (char *) "listOfStrings", NULL
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3903 if (!wxPyCheckForApp()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (wxIcon
*)new_wxIcon(arg1
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) SWIG_fail
;
3910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3917 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxIcon
*arg1
= (wxIcon
*) 0 ;
3921 PyObject
* obj0
= 0 ;
3923 (char *) "self", NULL
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (bool)(arg1
)->Ok();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3945 static PyObject
*_wrap_Icon_GetWidth(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_GetWidth",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
)->GetWidth();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= SWIG_From_int((int)result
);
3971 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxIcon
*arg1
= (wxIcon
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (int)(arg1
)->GetHeight();
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 resultobj
= SWIG_From_int((int)result
);
3997 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxIcon
*arg1
= (wxIcon
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4003 (char *) "self", NULL
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= (int)(arg1
)->GetDepth();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_From_int((int)result
);
4023 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxIcon
*arg1
= (wxIcon
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4028 PyObject
* obj1
= 0 ;
4030 (char *) "self",(char *) "w", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4036 arg2
= (int)SWIG_As_int(obj1
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 (arg1
)->SetWidth(arg2
);
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 Py_INCREF(Py_None
); resultobj
= Py_None
;
4052 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxIcon
*arg1
= (wxIcon
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "h", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= (int)SWIG_As_int(obj1
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 (arg1
)->SetHeight(arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxIcon
*arg1
= (wxIcon
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4088 (char *) "self",(char *) "d", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 arg2
= (int)SWIG_As_int(obj1
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 (arg1
)->SetDepth(arg2
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4110 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxIcon
*arg1
= (wxIcon
*) 0 ;
4113 wxBitmap
*arg2
= 0 ;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4117 (char *) "self",(char *) "bmp", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4127 PyErr_SetString(PyExc_TypeError
,"null reference");
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4144 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4147 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4149 return Py_BuildValue((char *)"");
4151 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
;
4153 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4154 int arg2
= (int) 0 ;
4155 wxIconLocation
*result
;
4156 bool temp1
= false ;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4160 (char *) "filename",(char *) "num", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4166 arg1
= wxString_in_helper(obj0
);
4167 if (arg1
== NULL
) SWIG_fail
;
4172 arg2
= (int)SWIG_As_int(obj1
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4197 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4200 PyObject
* obj0
= 0 ;
4202 (char *) "self", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 Py_INCREF(Py_None
); resultobj
= Py_None
;
4222 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4228 (char *) "self", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4250 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4253 wxString
*arg2
= 0 ;
4254 bool temp2
= false ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4258 (char *) "self",(char *) "filename", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4265 arg2
= wxString_in_helper(obj1
);
4266 if (arg2
== NULL
) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 (arg1
)->SetFileName((wxString
const &)*arg2
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 Py_INCREF(Py_None
); resultobj
= Py_None
;
4291 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4293 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4295 PyObject
* obj0
= 0 ;
4297 (char *) "self", NULL
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4307 result
= (wxString
*) &_result_ref
;
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4317 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4326 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4333 (char *) "self",(char *) "num", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4339 arg2
= (int)SWIG_As_int(obj1
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 wxIconLocation_SetIndex(arg1
,arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 Py_INCREF(Py_None
); resultobj
= Py_None
;
4355 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4359 PyObject
* obj0
= 0 ;
4361 (char *) "self", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (int)wxIconLocation_GetIndex(arg1
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_From_int((int)result
);
4381 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4384 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4386 return Py_BuildValue((char *)"");
4388 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxIconBundle
*result
;
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (wxIconBundle
*)new wxIconBundle();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4410 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxString
*arg1
= 0 ;
4414 wxIconBundle
*result
;
4415 bool temp1
= false ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4419 (char *) "file",(char *) "type", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4424 arg1
= wxString_in_helper(obj0
);
4425 if (arg1
== NULL
) SWIG_fail
;
4428 arg2
= (long)SWIG_As_long(obj1
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4452 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4455 wxIconBundle
*result
;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "icon", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4466 PyErr_SetString(PyExc_TypeError
,"null reference");
4470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4483 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4486 PyObject
* obj0
= 0 ;
4488 (char *) "self", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 Py_INCREF(Py_None
); resultobj
= Py_None
;
4508 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4513 PyObject
* obj1
= 0 ;
4515 (char *) "self",(char *) "icon", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4525 PyErr_SetString(PyExc_TypeError
,"null reference");
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 Py_INCREF(Py_None
); resultobj
= Py_None
;
4542 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4545 wxString
*arg2
= 0 ;
4547 bool temp2
= false ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 PyObject
* obj2
= 0 ;
4552 (char *) "self",(char *) "file",(char *) "type", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4559 arg2
= wxString_in_helper(obj1
);
4560 if (arg2
== NULL
) SWIG_fail
;
4563 arg3
= (long)SWIG_As_long(obj2
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4587 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
;
4589 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4594 PyObject
* obj1
= 0 ;
4596 (char *) "self",(char *) "size", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4604 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4609 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4610 result
= (wxIcon
*) &_result_ref
;
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 wxIcon
* resultptr
= new wxIcon(*result
);
4618 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4626 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4629 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4631 return Py_BuildValue((char *)"");
4633 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxString
*arg1
= (wxString
*) 0 ;
4637 int arg3
= (int) 0 ;
4638 int arg4
= (int) 0 ;
4640 bool temp1
= false ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4643 PyObject
* obj2
= 0 ;
4644 PyObject
* obj3
= 0 ;
4646 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4651 arg1
= wxString_in_helper(obj0
);
4652 if (arg1
== NULL
) SWIG_fail
;
4655 arg2
= (long)SWIG_As_long(obj1
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4658 arg3
= (int)SWIG_As_int(obj2
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4662 arg4
= (int)SWIG_As_int(obj3
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4666 if (!wxPyCheckForApp()) SWIG_fail
;
4667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4668 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4688 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxCursor
*arg1
= (wxCursor
*) 0 ;
4691 PyObject
* obj0
= 0 ;
4693 (char *) "self", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4713 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4717 PyObject
* obj0
= 0 ;
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4723 arg1
= (int)SWIG_As_int(obj0
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 if (!wxPyCheckForApp()) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (wxCursor
*)new wxCursor(arg1
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4740 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4744 PyObject
* obj0
= 0 ;
4746 (char *) "image", NULL
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4754 PyErr_SetString(PyExc_TypeError
,"null reference");
4758 if (!wxPyCheckForApp()) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4772 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxCursor
*arg1
= (wxCursor
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (bool)(arg1
)->Ok();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4803 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4805 return Py_BuildValue((char *)"");
4807 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
;
4809 int arg1
= (int) 0 ;
4810 int arg2
= (int) 0 ;
4811 int arg3
= (int) 0 ;
4812 int arg4
= (int) 0 ;
4814 PyObject
* obj0
= 0 ;
4815 PyObject
* obj1
= 0 ;
4816 PyObject
* obj2
= 0 ;
4817 PyObject
* obj3
= 0 ;
4819 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4824 arg1
= (int)SWIG_As_int(obj0
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4828 arg2
= (int)SWIG_As_int(obj1
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4832 arg3
= (int)SWIG_As_int(obj2
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 arg4
= (int)SWIG_As_int(obj3
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 if (!wxPyCheckForApp()) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4854 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxBitmap
*arg1
= 0 ;
4858 PyObject
* obj0
= 0 ;
4860 (char *) "bmp", NULL
4863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4868 PyErr_SetString(PyExc_TypeError
,"null reference");
4872 if (!wxPyCheckForApp()) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4886 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxBitmap
*arg1
= 0 ;
4889 wxColour
*arg2
= 0 ;
4890 int arg3
= (int) 0 ;
4893 PyObject
* obj0
= 0 ;
4894 PyObject
* obj1
= 0 ;
4895 PyObject
* obj2
= 0 ;
4897 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4905 PyErr_SetString(PyExc_TypeError
,"null reference");
4910 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4913 arg3
= (int)SWIG_As_int(obj2
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 if (!wxPyCheckForApp()) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4931 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
;
4934 wxPoint
*arg2
= (wxPoint
*) 0 ;
4935 int arg3
= (int) wxWINDING_RULE
;
4937 PyObject
* obj0
= 0 ;
4938 PyObject
* obj1
= 0 ;
4940 (char *) "points",(char *) "fillStyle", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4945 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4946 if (arg2
== NULL
) SWIG_fail
;
4949 arg3
= (int)SWIG_As_int(obj1
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4953 if (!wxPyCheckForApp()) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4962 if (arg2
) delete [] arg2
;
4967 if (arg2
) delete [] arg2
;
4973 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxRegion
*arg1
= (wxRegion
*) 0 ;
4976 PyObject
* obj0
= 0 ;
4978 (char *) "self", NULL
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 Py_INCREF(Py_None
); resultobj
= Py_None
;
4998 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxRegion
*arg1
= (wxRegion
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5003 (char *) "self", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 Py_INCREF(Py_None
); resultobj
= Py_None
;
5023 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxRegion
*arg1
= (wxRegion
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5031 PyObject
* obj2
= 0 ;
5033 (char *) "self",(char *) "x",(char *) "y", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5039 arg2
= (int)SWIG_As_int(obj1
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5041 arg3
= (int)SWIG_As_int(obj2
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5059 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxRegion
*arg1
= (wxRegion
*) 0 ;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5067 PyObject
* obj2
= 0 ;
5069 (char *) "self",(char *) "x",(char *) "y", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5075 arg2
= (int)SWIG_As_int(obj1
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5077 arg3
= (int)SWIG_As_int(obj2
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_From_int((int)result
);
5093 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxRegion
*arg1
= (wxRegion
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5102 (char *) "self",(char *) "pt", NULL
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_From_int((int)result
);
5126 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxRegion
*arg1
= (wxRegion
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5135 (char *) "self",(char *) "rect", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5143 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) SWIG_fail
;
5152 resultobj
= SWIG_From_int((int)result
);
5159 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
*resultobj
;
5161 wxRegion
*arg1
= (wxRegion
*) 0 ;
5167 PyObject
* obj0
= 0 ;
5168 PyObject
* obj1
= 0 ;
5169 PyObject
* obj2
= 0 ;
5170 PyObject
* obj3
= 0 ;
5171 PyObject
* obj4
= 0 ;
5173 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5179 arg2
= (int)SWIG_As_int(obj1
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5181 arg3
= (int)SWIG_As_int(obj2
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5183 arg4
= (int)SWIG_As_int(obj3
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5185 arg5
= (int)SWIG_As_int(obj4
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= SWIG_From_int((int)result
);
5201 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
;
5203 wxRegion
*arg1
= (wxRegion
*) 0 ;
5205 PyObject
* obj0
= 0 ;
5207 (char *) "self", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 result
= (arg1
)->GetBox();
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5222 resultptr
= new wxRect((wxRect
&) result
);
5223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5231 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxRegion
*arg1
= (wxRegion
*) 0 ;
5239 PyObject
* obj0
= 0 ;
5240 PyObject
* obj1
= 0 ;
5241 PyObject
* obj2
= 0 ;
5242 PyObject
* obj3
= 0 ;
5243 PyObject
* obj4
= 0 ;
5245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5251 arg2
= (int)SWIG_As_int(obj1
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5253 arg3
= (int)SWIG_As_int(obj2
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5255 arg4
= (int)SWIG_As_int(obj3
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5257 arg5
= (int)SWIG_As_int(obj4
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5275 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxRegion
*arg1
= (wxRegion
*) 0 ;
5281 PyObject
* obj0
= 0 ;
5282 PyObject
* obj1
= 0 ;
5284 (char *) "self",(char *) "rect", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5310 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxRegion
*arg1
= (wxRegion
*) 0 ;
5313 wxRegion
*arg2
= 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "region", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5328 PyErr_SetString(PyExc_TypeError
,"null reference");
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5335 wxPyEndAllowThreads(__tstate
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5347 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxRegion
*arg1
= (wxRegion
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "self", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 result
= (bool)(arg1
)->IsEmpty();
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5375 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxRegion
*arg1
= (wxRegion
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5385 PyObject
* obj2
= 0 ;
5386 PyObject
* obj3
= 0 ;
5387 PyObject
* obj4
= 0 ;
5389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 arg2
= (int)SWIG_As_int(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5397 arg3
= (int)SWIG_As_int(obj2
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5399 arg4
= (int)SWIG_As_int(obj3
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5401 arg5
= (int)SWIG_As_int(obj4
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5419 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxRegion
*arg1
= (wxRegion
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5428 (char *) "self",(char *) "rect", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5454 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxRegion
*arg1
= (wxRegion
*) 0 ;
5457 wxRegion
*arg2
= 0 ;
5459 PyObject
* obj0
= 0 ;
5460 PyObject
* obj1
= 0 ;
5462 (char *) "self",(char *) "region", NULL
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5472 PyErr_SetString(PyExc_TypeError
,"null reference");
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5491 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 wxRegion
*arg1
= (wxRegion
*) 0 ;
5499 PyObject
* obj0
= 0 ;
5500 PyObject
* obj1
= 0 ;
5501 PyObject
* obj2
= 0 ;
5502 PyObject
* obj3
= 0 ;
5503 PyObject
* obj4
= 0 ;
5505 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5511 arg2
= (int)SWIG_As_int(obj1
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5513 arg3
= (int)SWIG_As_int(obj2
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5515 arg4
= (int)SWIG_As_int(obj3
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5517 arg5
= (int)SWIG_As_int(obj4
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5535 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxRegion
*arg1
= (wxRegion
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5542 PyObject
* obj1
= 0 ;
5544 (char *) "self",(char *) "rect", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5570 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxRegion
*arg1
= (wxRegion
*) 0 ;
5573 wxRegion
*arg2
= 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5578 (char *) "self",(char *) "region", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5588 PyErr_SetString(PyExc_TypeError
,"null reference");
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5607 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxRegion
*arg1
= (wxRegion
*) 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5618 PyObject
* obj3
= 0 ;
5619 PyObject
* obj4
= 0 ;
5621 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5627 arg2
= (int)SWIG_As_int(obj1
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5629 arg3
= (int)SWIG_As_int(obj2
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5631 arg4
= (int)SWIG_As_int(obj3
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5633 arg5
= (int)SWIG_As_int(obj4
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5651 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxRegion
*arg1
= (wxRegion
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "rect", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5668 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5686 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxRegion
*arg1
= (wxRegion
*) 0 ;
5689 wxRegion
*arg2
= 0 ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5694 (char *) "self",(char *) "region", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5704 PyErr_SetString(PyExc_TypeError
,"null reference");
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5723 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
*resultobj
;
5725 wxRegion
*arg1
= (wxRegion
*) 0 ;
5726 SwigValueWrapper
< wxBitmap
> result
;
5727 PyObject
* obj0
= 0 ;
5729 (char *) "self", NULL
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= (arg1
)->ConvertToBitmap();
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5743 wxBitmap
* resultptr
;
5744 resultptr
= new wxBitmap((wxBitmap
&) result
);
5745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5753 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxRegion
*arg1
= (wxRegion
*) 0 ;
5756 wxBitmap
*arg2
= 0 ;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5761 (char *) "self",(char *) "bmp", NULL
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5771 PyErr_SetString(PyExc_TypeError
,"null reference");
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5790 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxRegion
*arg1
= (wxRegion
*) 0 ;
5793 wxBitmap
*arg2
= 0 ;
5794 wxColour
*arg3
= 0 ;
5795 int arg4
= (int) 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5800 PyObject
* obj2
= 0 ;
5801 PyObject
* obj3
= 0 ;
5803 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5813 PyErr_SetString(PyExc_TypeError
,"null reference");
5818 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5821 arg4
= (int)SWIG_As_int(obj3
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5840 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5843 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5845 return Py_BuildValue((char *)"");
5847 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 wxRegion
*arg1
= 0 ;
5850 wxRegionIterator
*result
;
5851 PyObject
* obj0
= 0 ;
5853 (char *) "region", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5861 PyErr_SetString(PyExc_TypeError
,"null reference");
5865 if (!wxPyCheckForApp()) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5879 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 Py_INCREF(Py_None
); resultobj
= Py_None
;
5904 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
;
5906 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5908 PyObject
* obj0
= 0 ;
5910 (char *) "self", NULL
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 result
= (int)(arg1
)->GetX();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_From_int((int)result
);
5930 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
;
5932 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5936 (char *) "self", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (int)(arg1
)->GetY();
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= SWIG_From_int((int)result
);
5956 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5960 PyObject
* obj0
= 0 ;
5962 (char *) "self", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (int)(arg1
)->GetW();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_From_int((int)result
);
5982 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5986 PyObject
* obj0
= 0 ;
5988 (char *) "self", NULL
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (int)(arg1
)->GetWidth();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_From_int((int)result
);
6008 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (int)(arg1
)->GetH();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_From_int((int)result
);
6034 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6040 (char *) "self", NULL
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= (int)(arg1
)->GetHeight();
6050 wxPyEndAllowThreads(__tstate
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 resultobj
= SWIG_From_int((int)result
);
6060 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6064 PyObject
* obj0
= 0 ;
6066 (char *) "self", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (arg1
)->GetRect();
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6081 resultptr
= new wxRect((wxRect
&) result
);
6082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6090 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6096 (char *) "self", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (bool)(arg1
)->HaveRects();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6118 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6123 (char *) "self", NULL
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 Py_INCREF(Py_None
); resultobj
= Py_None
;
6143 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
;
6145 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6146 PyObject
* obj0
= 0 ;
6148 (char *) "self", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 wxRegionIterator_Next(arg1
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 Py_INCREF(Py_None
); resultobj
= Py_None
;
6168 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "self", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6196 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6199 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6201 return Py_BuildValue((char *)"");
6203 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxNativeFontInfo
*result
;
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6225 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6228 PyObject
* obj0
= 0 ;
6230 (char *) "self", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6253 PyObject
* obj0
= 0 ;
6255 (char *) "self", NULL
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 Py_INCREF(Py_None
); resultobj
= Py_None
;
6275 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6279 PyObject
* obj0
= 0 ;
6280 PyObject
* obj1
= 0 ;
6282 (char *) "self",(char *) "font", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6292 PyErr_SetString(PyExc_TypeError
,"null reference");
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 Py_INCREF(Py_None
); resultobj
= Py_None
;
6309 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6313 PyObject
* obj0
= 0 ;
6315 (char *) "self", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_From_int((int)result
);
6335 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
;
6337 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6339 PyObject
* obj0
= 0 ;
6341 (char *) "self", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= SWIG_From_int((int)result
);
6361 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_From_int((int)result
);
6387 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6391 PyObject
* obj0
= 0 ;
6393 (char *) "self", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6415 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6421 (char *) "self", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6447 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6451 PyObject
* obj0
= 0 ;
6453 (char *) "self", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_From_int((int)result
);
6473 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6479 (char *) "self", NULL
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_From_int((int)result
);
6499 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6506 (char *) "self",(char *) "pointsize", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6512 arg2
= (int)SWIG_As_int(obj1
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 (arg1
)->SetPointSize(arg2
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 Py_INCREF(Py_None
); resultobj
= Py_None
;
6528 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
;
6530 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6533 PyObject
* obj1
= 0 ;
6535 (char *) "self",(char *) "style", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 arg2
= (int)SWIG_As_int(obj1
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 Py_INCREF(Py_None
); resultobj
= Py_None
;
6557 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6562 PyObject
* obj1
= 0 ;
6564 (char *) "self",(char *) "weight", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 arg2
= (int)SWIG_As_int(obj1
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 Py_INCREF(Py_None
); resultobj
= Py_None
;
6586 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6590 PyObject
* obj0
= 0 ;
6591 PyObject
* obj1
= 0 ;
6593 (char *) "self",(char *) "underlined", NULL
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6599 arg2
= (bool)SWIG_As_bool(obj1
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 (arg1
)->SetUnderlined(arg2
);
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6608 Py_INCREF(Py_None
); resultobj
= Py_None
;
6615 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
;
6617 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6619 PyObject
* obj0
= 0 ;
6620 PyObject
* obj1
= 0 ;
6622 (char *) "self",(char *) "facename", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6629 wxString
* sptr
= wxString_in_helper(obj1
);
6630 if (sptr
== NULL
) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 (arg1
)->SetFaceName(arg2
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 Py_INCREF(Py_None
); resultobj
= Py_None
;
6648 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6655 (char *) "self",(char *) "family", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6661 arg2
= (int)SWIG_As_int(obj1
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 Py_INCREF(Py_None
); resultobj
= Py_None
;
6677 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6684 (char *) "self",(char *) "encoding", NULL
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6690 arg2
= (int)SWIG_As_int(obj1
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 Py_INCREF(Py_None
); resultobj
= Py_None
;
6706 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6709 wxString
*arg2
= 0 ;
6711 bool temp2
= false ;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6715 (char *) "self",(char *) "s", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6722 arg2
= wxString_in_helper(obj1
);
6723 if (arg2
== NULL
) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6750 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6756 (char *) "self", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6782 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6786 PyObject
* obj0
= 0 ;
6788 (char *) "self", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= wxNativeFontInfo___str__(arg1
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6814 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6817 wxString
*arg2
= 0 ;
6819 bool temp2
= false ;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6823 (char *) "self",(char *) "s", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6830 arg2
= wxString_in_helper(obj1
);
6831 if (arg2
== NULL
) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6858 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6890 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6893 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6895 return Py_BuildValue((char *)"");
6897 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6900 wxString
*arg2
= (wxString
*) 0 ;
6901 bool temp2
= false ;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6905 (char *) "self",(char *) "facename", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6912 arg2
= wxString_in_helper(obj1
);
6913 if (arg2
== NULL
) SWIG_fail
;
6916 if (arg1
) (arg1
)->facename
= *arg2
;
6918 Py_INCREF(Py_None
); resultobj
= Py_None
;
6933 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 (char *) "self", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6945 result
= (wxString
*)& ((arg1
)->facename
);
6949 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6951 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6960 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6964 PyObject
* obj0
= 0 ;
6965 PyObject
* obj1
= 0 ;
6967 (char *) "self",(char *) "encoding", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6973 arg2
= (int)SWIG_As_int(obj1
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6975 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6977 Py_INCREF(Py_None
); resultobj
= Py_None
;
6984 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
;
6986 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6990 (char *) "self", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6996 result
= (int) ((arg1
)->encoding
);
6998 resultobj
= SWIG_From_int((int)result
);
7005 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7007 wxNativeEncodingInfo
*result
;
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7027 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7055 wxString
*arg2
= 0 ;
7057 bool temp2
= false ;
7058 PyObject
* obj0
= 0 ;
7059 PyObject
* obj1
= 0 ;
7061 (char *) "self",(char *) "s", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7068 arg2
= wxString_in_helper(obj1
);
7069 if (arg2
== NULL
) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7096 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7128 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7131 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7133 return Py_BuildValue((char *)"");
7135 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7138 wxNativeEncodingInfo
*result
;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "encoding", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7145 arg1
= (int)SWIG_As_int(obj0
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7161 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxNativeEncodingInfo
*arg1
= 0 ;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "info", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7175 PyErr_SetString(PyExc_TypeError
,"null reference");
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7194 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxFontMapper
*result
;
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 result
= (wxFontMapper
*)new wxFontMapper();
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7216 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
;
7218 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7219 PyObject
* obj0
= 0 ;
7221 (char *) "self", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 Py_INCREF(Py_None
); resultobj
= Py_None
;
7241 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxFontMapper
*result
;
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= (wxFontMapper
*)wxFontMapper::Get();
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7263 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7266 wxFontMapper
*result
;
7267 PyObject
* obj0
= 0 ;
7269 (char *) "mapper", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7289 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7292 wxString
*arg2
= 0 ;
7293 bool arg3
= (bool) true ;
7295 bool temp2
= false ;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7298 PyObject
* obj2
= 0 ;
7300 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7307 arg2
= wxString_in_helper(obj1
);
7308 if (arg2
== NULL
) SWIG_fail
;
7312 arg3
= (bool)SWIG_As_bool(obj2
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_From_int((int)result
);
7337 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7359 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7363 PyObject
* obj0
= 0 ;
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7369 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (int)wxFontMapper::GetEncoding(arg1
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int((int)result
);
7385 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7389 PyObject
* obj0
= 0 ;
7391 (char *) "encoding", NULL
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7395 arg1
= (int)SWIG_As_int(obj0
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7417 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7421 PyObject
* obj0
= 0 ;
7423 (char *) "encoding", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7427 arg1
= (int)SWIG_As_int(obj0
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7449 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxString
*arg1
= 0 ;
7453 bool temp1
= false ;
7454 PyObject
* obj0
= 0 ;
7456 (char *) "name", NULL
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7461 arg1
= wxString_in_helper(obj0
);
7462 if (arg1
== NULL
) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_From_int((int)result
);
7487 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
;
7489 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7490 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7494 (char *) "self",(char *) "config", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 (arg1
)->SetConfig(arg2
);
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 Py_INCREF(Py_None
); resultobj
= Py_None
;
7516 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7518 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7519 wxString
*arg2
= 0 ;
7520 bool temp2
= false ;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj1
= 0 ;
7524 (char *) "self",(char *) "prefix", NULL
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7531 arg2
= wxString_in_helper(obj1
);
7532 if (arg2
== NULL
) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7557 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= wxFontMapper::GetDefaultConfigPath();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7585 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7589 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7590 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7591 bool arg4
= (bool) true ;
7593 bool temp3
= false ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7596 PyObject
* obj2
= 0 ;
7597 PyObject
* obj3
= 0 ;
7599 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7605 arg2
= (int)SWIG_As_int(obj1
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7609 arg3
= wxString_in_helper(obj2
);
7610 if (arg3
== NULL
) SWIG_fail
;
7615 arg4
= (bool)SWIG_As_bool(obj3
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7640 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7644 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7645 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7647 bool temp3
= false ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7650 PyObject
* obj2
= 0 ;
7652 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 arg2
= (int)SWIG_As_int(obj1
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 arg3
= wxString_in_helper(obj2
);
7663 if (arg3
== NULL
) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7691 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7694 wxWindow
*arg2
= (wxWindow
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7698 (char *) "self",(char *) "parent", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 (arg1
)->SetDialogParent(arg2
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7723 wxString
*arg2
= 0 ;
7724 bool temp2
= false ;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7728 (char *) "self",(char *) "title", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7735 arg2
= wxString_in_helper(obj1
);
7736 if (arg2
== NULL
) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 Py_INCREF(Py_None
); resultobj
= Py_None
;
7761 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7764 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7766 return Py_BuildValue((char *)"");
7768 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7774 bool arg5
= (bool) false ;
7775 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7776 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7777 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7779 bool temp6
= false ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 PyObject
* obj2
= 0 ;
7783 PyObject
* obj3
= 0 ;
7784 PyObject
* obj4
= 0 ;
7785 PyObject
* obj5
= 0 ;
7786 PyObject
* obj6
= 0 ;
7788 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7792 arg1
= (int)SWIG_As_int(obj0
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7794 arg2
= (int)SWIG_As_int(obj1
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7796 arg3
= (int)SWIG_As_int(obj2
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7798 arg4
= (int)SWIG_As_int(obj3
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 arg5
= (bool)SWIG_As_bool(obj4
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7806 arg6
= wxString_in_helper(obj5
);
7807 if (arg6
== NULL
) SWIG_fail
;
7812 arg7
= (int)SWIG_As_int(obj6
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7816 if (!wxPyCheckForApp()) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7838 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxFont
*arg1
= (wxFont
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7843 (char *) "self", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 Py_INCREF(Py_None
); resultobj
= Py_None
;
7863 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxNativeFontInfo
*arg1
= 0 ;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "info", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7877 PyErr_SetString(PyExc_TypeError
,"null reference");
7881 if (!wxPyCheckForApp()) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7895 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxString
*arg1
= 0 ;
7899 bool temp1
= false ;
7900 PyObject
* obj0
= 0 ;
7902 (char *) "info", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7907 arg1
= wxString_in_helper(obj0
);
7908 if (arg1
== NULL
) SWIG_fail
;
7912 if (!wxPyCheckForApp()) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7934 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7938 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7939 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7940 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7941 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7943 bool temp4
= false ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7946 PyObject
* obj2
= 0 ;
7947 PyObject
* obj3
= 0 ;
7948 PyObject
* obj4
= 0 ;
7950 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7954 arg1
= (int)SWIG_As_int(obj0
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7956 arg2
= (int)SWIG_As_int(obj1
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 arg3
= (int)SWIG_As_int(obj2
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7964 arg4
= wxString_in_helper(obj3
);
7965 if (arg4
== NULL
) SWIG_fail
;
7970 arg5
= (int)SWIG_As_int(obj4
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 if (!wxPyCheckForApp()) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7996 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
8002 bool arg5
= (bool) false ;
8003 wxString
const &arg6_defvalue
= wxEmptyString
;
8004 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8005 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8008 bool temp6
= false ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 PyObject
* obj2
= 0 ;
8012 PyObject
* obj3
= 0 ;
8013 PyObject
* obj4
= 0 ;
8014 PyObject
* obj5
= 0 ;
8015 PyObject
* obj6
= 0 ;
8017 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8023 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8025 arg2
= (int)SWIG_As_int(obj1
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8027 arg3
= (int)SWIG_As_int(obj2
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8029 arg4
= (int)SWIG_As_int(obj3
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 arg5
= (bool)SWIG_As_bool(obj4
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8037 arg6
= wxString_in_helper(obj5
);
8038 if (arg6
== NULL
) SWIG_fail
;
8043 arg7
= (int)SWIG_As_int(obj6
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8047 if (!wxPyCheckForApp()) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8069 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxFont
*arg1
= (wxFont
*) 0 ;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "self", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= (bool)((wxFont
const *)arg1
)->Ok();
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8097 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxFont
*arg1
= (wxFont
*) 0 ;
8100 wxFont
*arg2
= (wxFont
*) 0 ;
8102 PyObject
* obj0
= 0 ;
8103 PyObject
* obj1
= 0 ;
8105 (char *) "self",(char *) "other", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8129 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxFont
*arg1
= (wxFont
*) 0 ;
8132 wxFont
*arg2
= (wxFont
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8135 PyObject
* obj1
= 0 ;
8137 (char *) "self",(char *) "other", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8161 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxFont
*arg1
= (wxFont
*) 0 ;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "self", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= SWIG_From_int((int)result
);
8187 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
;
8189 wxFont
*arg1
= (wxFont
*) 0 ;
8191 PyObject
* obj0
= 0 ;
8193 (char *) "self", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8208 resultptr
= new wxSize((wxSize
&) result
);
8209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8217 static PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxFont
*arg1
= (wxFont
*) 0 ;
8221 PyObject
* obj0
= 0 ;
8223 (char *) "self", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsUsingSizeInPixels",kwnames
,&obj0
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8245 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxFont
*arg1
= (wxFont
*) 0 ;
8249 PyObject
* obj0
= 0 ;
8251 (char *) "self", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 resultobj
= SWIG_From_int((int)result
);
8271 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxFont
*arg1
= (wxFont
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8277 (char *) "self", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_From_int((int)result
);
8297 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxFont
*arg1
= (wxFont
*) 0 ;
8301 PyObject
* obj0
= 0 ;
8303 (char *) "self", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 resultobj
= SWIG_From_int((int)result
);
8323 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxFont
*arg1
= (wxFont
*) 0 ;
8327 PyObject
* obj0
= 0 ;
8329 (char *) "self", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8351 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxFont
*arg1
= (wxFont
*) 0 ;
8355 PyObject
* obj0
= 0 ;
8357 (char *) "self", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= ((wxFont
const *)arg1
)->GetFaceName();
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8383 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxFont
*arg1
= (wxFont
*) 0 ;
8387 PyObject
* obj0
= 0 ;
8389 (char *) "self", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_From_int((int)result
);
8409 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxFont
*arg1
= (wxFont
*) 0 ;
8412 wxNativeFontInfo
*result
;
8413 PyObject
* obj0
= 0 ;
8415 (char *) "self", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8435 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxFont
*arg1
= (wxFont
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "self", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8463 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxFont
*arg1
= (wxFont
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8495 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxFont
*arg1
= (wxFont
*) 0 ;
8499 PyObject
* obj0
= 0 ;
8501 (char *) "self", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8527 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxFont
*arg1
= (wxFont
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8534 (char *) "self",(char *) "pointSize", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8540 arg2
= (int)SWIG_As_int(obj1
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 (arg1
)->SetPointSize(arg2
);
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 Py_INCREF(Py_None
); resultobj
= Py_None
;
8556 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8557 PyObject
*resultobj
;
8558 wxFont
*arg1
= (wxFont
*) 0 ;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8564 (char *) "self",(char *) "pixelSize", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8572 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 Py_INCREF(Py_None
); resultobj
= Py_None
;
8588 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxFont
*arg1
= (wxFont
*) 0 ;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8595 (char *) "self",(char *) "family", NULL
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8601 arg2
= (int)SWIG_As_int(obj1
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 (arg1
)->SetFamily(arg2
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 Py_INCREF(Py_None
); resultobj
= Py_None
;
8617 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxFont
*arg1
= (wxFont
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8624 (char *) "self",(char *) "style", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8630 arg2
= (int)SWIG_As_int(obj1
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 (arg1
)->SetStyle(arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 Py_INCREF(Py_None
); resultobj
= Py_None
;
8646 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxFont
*arg1
= (wxFont
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8653 (char *) "self",(char *) "weight", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8659 arg2
= (int)SWIG_As_int(obj1
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 (arg1
)->SetWeight(arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 Py_INCREF(Py_None
); resultobj
= Py_None
;
8675 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxFont
*arg1
= (wxFont
*) 0 ;
8678 wxString
*arg2
= 0 ;
8679 bool temp2
= false ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8683 (char *) "self",(char *) "faceName", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8690 arg2
= wxString_in_helper(obj1
);
8691 if (arg2
== NULL
) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 Py_INCREF(Py_None
); resultobj
= Py_None
;
8716 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
*resultobj
;
8718 wxFont
*arg1
= (wxFont
*) 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "self",(char *) "underlined", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8729 arg2
= (bool)SWIG_As_bool(obj1
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 (arg1
)->SetUnderlined(arg2
);
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8738 Py_INCREF(Py_None
); resultobj
= Py_None
;
8745 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
;
8747 wxFont
*arg1
= (wxFont
*) 0 ;
8749 PyObject
* obj0
= 0 ;
8750 PyObject
* obj1
= 0 ;
8752 (char *) "self",(char *) "encoding", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 arg2
= (int)SWIG_As_int(obj1
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 Py_INCREF(Py_None
); resultobj
= Py_None
;
8774 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxFont
*arg1
= (wxFont
*) 0 ;
8777 wxNativeFontInfo
*arg2
= 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8781 (char *) "self",(char *) "info", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8791 PyErr_SetString(PyExc_TypeError
,"null reference");
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxFont
*arg1
= (wxFont
*) 0 ;
8811 wxString
*arg2
= 0 ;
8812 bool temp2
= false ;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8816 (char *) "self",(char *) "info", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8823 arg2
= wxString_in_helper(obj1
);
8824 if (arg2
== NULL
) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8849 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxFont
*arg1
= (wxFont
*) 0 ;
8852 wxString
*arg2
= 0 ;
8853 bool temp2
= false ;
8854 PyObject
* obj0
= 0 ;
8855 PyObject
* obj1
= 0 ;
8857 (char *) "self",(char *) "info", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8864 arg2
= wxString_in_helper(obj1
);
8865 if (arg2
== NULL
) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 Py_INCREF(Py_None
); resultobj
= Py_None
;
8890 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxFont
*arg1
= (wxFont
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8922 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxFont
*arg1
= (wxFont
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8928 (char *) "self", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= ((wxFont
const *)arg1
)->GetStyleString();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8954 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
;
8956 wxFont
*arg1
= (wxFont
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "self", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= ((wxFont
const *)arg1
)->GetWeightString();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8986 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxFont
*arg1
= (wxFont
*) 0 ;
8989 bool arg2
= (bool) true ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8993 (char *) "self",(char *) "no", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9000 arg2
= (bool)SWIG_As_bool(obj1
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 (arg1
)->SetNoAntiAliasing(arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxFont
*arg1
= (wxFont
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "self", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9045 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9054 if (!wxPyCheckForApp()) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (int)wxFont::GetDefaultEncoding();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_From_int((int)result
);
9068 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9071 PyObject
* obj0
= 0 ;
9073 (char *) "encoding", NULL
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9077 arg1
= (int)SWIG_As_int(obj0
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 if (!wxPyCheckForApp()) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 Py_INCREF(Py_None
); resultobj
= Py_None
;
9094 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9097 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9099 return Py_BuildValue((char *)"");
9101 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxPyFontEnumerator
*result
;
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9110 if (!wxPyCheckForApp()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9124 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9127 PyObject
* obj0
= 0 ;
9129 (char *) "self", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 Py_INCREF(Py_None
); resultobj
= Py_None
;
9149 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9152 PyObject
*arg2
= (PyObject
*) 0 ;
9153 PyObject
*arg3
= (PyObject
*) 0 ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 PyObject
* obj2
= 0 ;
9158 PyObject
* obj3
= 0 ;
9160 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9168 arg4
= (bool)SWIG_As_bool(obj3
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 Py_INCREF(Py_None
); resultobj
= Py_None
;
9184 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9187 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9188 bool arg3
= (bool) false ;
9190 PyObject
* obj0
= 0 ;
9191 PyObject
* obj1
= 0 ;
9192 PyObject
* obj2
= 0 ;
9194 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9201 arg2
= (int)SWIG_As_int(obj1
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 arg3
= (bool)SWIG_As_bool(obj2
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9224 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
;
9226 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9227 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9228 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9230 bool temp2
= false ;
9231 PyObject
* obj0
= 0 ;
9232 PyObject
* obj1
= 0 ;
9234 (char *) "self",(char *) "facename", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9242 arg2
= wxString_in_helper(obj1
);
9243 if (arg2
== NULL
) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9271 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9277 (char *) "self", NULL
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9297 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
;
9299 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9303 (char *) "self", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9323 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9326 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9328 return Py_BuildValue((char *)"");
9330 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9335 PyObject
* obj1
= 0 ;
9337 (char *) "self",(char *) "Language", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 arg2
= (int)SWIG_As_int(obj1
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9345 if (arg1
) (arg1
)->Language
= arg2
;
9347 Py_INCREF(Py_None
); resultobj
= Py_None
;
9354 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9358 PyObject
* obj0
= 0 ;
9360 (char *) "self", NULL
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 result
= (int) ((arg1
)->Language
);
9368 resultobj
= SWIG_From_int((int)result
);
9375 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9378 wxString
*arg2
= (wxString
*) 0 ;
9379 bool temp2
= false ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9383 (char *) "self",(char *) "CanonicalName", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9390 arg2
= wxString_in_helper(obj1
);
9391 if (arg2
== NULL
) SWIG_fail
;
9394 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9396 Py_INCREF(Py_None
); resultobj
= Py_None
;
9411 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9413 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9417 (char *) "self", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9427 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9429 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9438 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9441 wxString
*arg2
= (wxString
*) 0 ;
9442 bool temp2
= false ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9446 (char *) "self",(char *) "Description", NULL
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9453 arg2
= wxString_in_helper(obj1
);
9454 if (arg2
== NULL
) SWIG_fail
;
9457 if (arg1
) (arg1
)->Description
= *arg2
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9474 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9480 (char *) "self", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 result
= (wxString
*)& ((arg1
)->Description
);
9490 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9492 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9501 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9504 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9506 return Py_BuildValue((char *)"");
9508 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 int arg1
= (int) -1 ;
9511 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9513 PyObject
* obj0
= 0 ;
9514 PyObject
* obj1
= 0 ;
9516 (char *) "language",(char *) "flags", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9521 arg1
= (int)SWIG_As_int(obj0
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9525 arg2
= (int)SWIG_As_int(obj1
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9542 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxLocale
*arg1
= (wxLocale
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9547 (char *) "self", NULL
9550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9560 Py_INCREF(Py_None
); resultobj
= Py_None
;
9567 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxLocale
*arg1
= (wxLocale
*) 0 ;
9570 wxString
*arg2
= 0 ;
9571 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9575 bool arg5
= (bool) true ;
9576 bool arg6
= (bool) false ;
9578 bool temp2
= false ;
9579 bool temp3
= false ;
9580 bool temp4
= false ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 PyObject
* obj2
= 0 ;
9584 PyObject
* obj3
= 0 ;
9585 PyObject
* obj4
= 0 ;
9586 PyObject
* obj5
= 0 ;
9588 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9595 arg2
= wxString_in_helper(obj1
);
9596 if (arg2
== NULL
) SWIG_fail
;
9601 arg3
= wxString_in_helper(obj2
);
9602 if (arg3
== NULL
) SWIG_fail
;
9608 arg4
= wxString_in_helper(obj3
);
9609 if (arg4
== NULL
) SWIG_fail
;
9614 arg5
= (bool)SWIG_As_bool(obj4
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9618 arg6
= (bool)SWIG_As_bool(obj5
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9661 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxLocale
*arg1
= (wxLocale
*) 0 ;
9664 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9665 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9669 PyObject
* obj2
= 0 ;
9671 (char *) "self",(char *) "language",(char *) "flags", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 arg2
= (int)SWIG_As_int(obj1
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9682 arg3
= (int)SWIG_As_int(obj2
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9701 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (int)wxLocale::GetSystemLanguage();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_From_int((int)result
);
9723 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (int)wxLocale::GetSystemEncoding();
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_From_int((int)result
);
9745 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= wxLocale::GetSystemEncodingName();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9773 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxLocale
*arg1
= (wxLocale
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9779 (char *) "self", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9801 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
;
9803 wxLocale
*arg1
= (wxLocale
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9807 (char *) "self", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= ((wxLocale
const *)arg1
)->GetLocale();
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9833 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxLocale
*arg1
= (wxLocale
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9839 (char *) "self", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_From_int((int)result
);
9859 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxLocale
*arg1
= (wxLocale
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= ((wxLocale
const *)arg1
)->GetSysName();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9891 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxLocale
*arg1
= (wxLocale
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "self", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9923 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxString
*arg1
= 0 ;
9926 bool temp1
= false ;
9927 PyObject
* obj0
= 0 ;
9929 (char *) "prefix", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9934 arg1
= wxString_in_helper(obj0
);
9935 if (arg1
== NULL
) SWIG_fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxLocale
*arg1
= (wxLocale
*) 0 ;
9963 wxString
*arg2
= 0 ;
9965 bool temp2
= false ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9969 (char *) "self",(char *) "szDomain", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9976 arg2
= wxString_in_helper(obj1
);
9977 if (arg2
== NULL
) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxLocale
*arg1
= (wxLocale
*) 0 ;
10007 wxString
*arg2
= 0 ;
10009 bool temp2
= false ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self",(char *) "szDomain", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10020 arg2
= wxString_in_helper(obj1
);
10021 if (arg2
== NULL
) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10048 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10051 wxLanguageInfo
*result
;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "lang", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10058 arg1
= (int)SWIG_As_int(obj0
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10074 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10078 PyObject
* obj0
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "lang", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10084 arg1
= (int)SWIG_As_int(obj0
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= wxLocale::GetLanguageName(arg1
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10106 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxString
*arg1
= 0 ;
10109 wxLanguageInfo
*result
;
10110 bool temp1
= false ;
10111 PyObject
* obj0
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "locale", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10118 arg1
= wxString_in_helper(obj0
);
10119 if (arg1
== NULL
) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10144 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxLanguageInfo
*arg1
= 0 ;
10147 PyObject
* obj0
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "info", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10156 if (arg1
== NULL
) {
10157 PyErr_SetString(PyExc_TypeError
,"null reference");
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 Py_INCREF(Py_None
); resultobj
= Py_None
;
10174 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxLocale
*arg1
= (wxLocale
*) 0 ;
10177 wxString
*arg2
= 0 ;
10178 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10179 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10181 bool temp2
= false ;
10182 bool temp3
= false ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 PyObject
* obj2
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10194 arg2
= wxString_in_helper(obj1
);
10195 if (arg2
== NULL
) SWIG_fail
;
10200 arg3
= wxString_in_helper(obj2
);
10201 if (arg3
== NULL
) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10241 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxLocale
*arg1
= (wxLocale
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10257 result
= (wxString
*) &_result_ref
;
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10267 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10276 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10279 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10281 return Py_BuildValue((char *)"");
10283 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10286 char *kwnames
[] = {
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (wxLocale
*)wxGetLocale();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10305 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10306 PyObject
*resultobj
;
10307 wxString
*arg1
= 0 ;
10309 bool temp1
= false ;
10310 PyObject
* obj0
= 0 ;
10312 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10314 arg1
= wxString_in_helper(obj0
);
10315 if (arg1
== NULL
) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= wxGetTranslation((wxString
const &)*arg1
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10346 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10347 PyObject
*resultobj
;
10348 wxString
*arg1
= 0 ;
10349 wxString
*arg2
= 0 ;
10352 bool temp1
= false ;
10353 bool temp2
= false ;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 PyObject
* obj2
= 0 ;
10358 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10360 arg1
= wxString_in_helper(obj0
);
10361 if (arg1
== NULL
) SWIG_fail
;
10365 arg2
= wxString_in_helper(obj1
);
10366 if (arg2
== NULL
) SWIG_fail
;
10369 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10407 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10412 argc
= PyObject_Length(args
);
10413 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10414 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10419 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10422 return _wrap_GetTranslation__SWIG_0(self
,args
);
10428 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10432 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10435 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10437 return _wrap_GetTranslation__SWIG_1(self
,args
);
10443 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10448 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxEncodingConverter
*result
;
10451 char *kwnames
[] = {
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10470 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10473 PyObject
* obj0
= 0 ;
10474 char *kwnames
[] = {
10475 (char *) "self", NULL
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10500 int arg4
= (int) wxCONVERT_STRICT
;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 PyObject
* obj2
= 0 ;
10505 PyObject
* obj3
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 arg2
= (int)SWIG_As_int(obj1
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10515 arg3
= (int)SWIG_As_int(obj2
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 arg4
= (int)SWIG_As_int(obj3
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10537 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10540 wxString
*arg2
= 0 ;
10542 bool temp2
= false ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "input", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10553 arg2
= wxString_in_helper(obj1
);
10554 if (arg2
== NULL
) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10585 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
;
10588 int arg2
= (int) wxPLATFORM_CURRENT
;
10589 wxFontEncodingArray result
;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "enc",(char *) "platform", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10597 arg1
= (int)SWIG_As_int(obj0
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 arg2
= (int)SWIG_As_int(obj1
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= PyList_New(0);
10612 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10613 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10614 PyList_Append(resultobj
, number
);
10624 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10627 wxFontEncodingArray result
;
10628 PyObject
* obj0
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "enc", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10634 arg1
= (int)SWIG_As_int(obj0
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= PyList_New(0);
10645 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10646 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10647 PyList_Append(resultobj
, number
);
10657 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "encIn",(char *) "encOut", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10669 arg1
= (int)SWIG_As_int(obj0
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10671 arg2
= (int)SWIG_As_int(obj1
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10689 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10692 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10694 return Py_BuildValue((char *)"");
10696 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxDC
*arg1
= (wxDC
*) 0 ;
10699 PyObject
* obj0
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 Py_INCREF(Py_None
); resultobj
= Py_None
;
10721 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxDC
*arg1
= (wxDC
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 (arg1
)->BeginDrawing();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10739 Py_INCREF(Py_None
); resultobj
= Py_None
;
10746 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxDC
*arg1
= (wxDC
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 (arg1
)->EndDrawing();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 Py_INCREF(Py_None
); resultobj
= Py_None
;
10771 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxDC
*arg1
= (wxDC
*) 0 ;
10776 wxColour
*arg4
= 0 ;
10777 int arg5
= (int) wxFLOOD_SURFACE
;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 PyObject
* obj3
= 0 ;
10784 PyObject
* obj4
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10792 arg2
= (int)SWIG_As_int(obj1
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10794 arg3
= (int)SWIG_As_int(obj2
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10801 arg5
= (int)SWIG_As_int(obj4
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10820 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxDC
*arg1
= (wxDC
*) 0 ;
10823 wxPoint
*arg2
= 0 ;
10824 wxColour
*arg3
= 0 ;
10825 int arg4
= (int) wxFLOOD_SURFACE
;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 PyObject
* obj2
= 0 ;
10832 PyObject
* obj3
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10842 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10846 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10849 arg4
= (int)SWIG_As_int(obj3
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10868 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxDC
*arg1
= (wxDC
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 PyObject
* obj2
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self",(char *) "x",(char *) "y", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10884 arg2
= (int)SWIG_As_int(obj1
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10886 arg3
= (int)SWIG_As_int(obj2
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10896 wxColour
* resultptr
;
10897 resultptr
= new wxColour((wxColour
&) result
);
10898 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10906 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxDC
*arg1
= (wxDC
*) 0 ;
10909 wxPoint
*arg2
= 0 ;
10912 PyObject
* obj0
= 0 ;
10913 PyObject
* obj1
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "pt", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10923 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10933 wxColour
* resultptr
;
10934 resultptr
= new wxColour((wxColour
&) result
);
10935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10943 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxDC
*arg1
= (wxDC
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 PyObject
* obj1
= 0 ;
10952 PyObject
* obj2
= 0 ;
10953 PyObject
* obj3
= 0 ;
10954 PyObject
* obj4
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 arg2
= (int)SWIG_As_int(obj1
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10964 arg3
= (int)SWIG_As_int(obj2
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10966 arg4
= (int)SWIG_As_int(obj3
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10968 arg5
= (int)SWIG_As_int(obj4
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 Py_INCREF(Py_None
); resultobj
= Py_None
;
10984 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxDC
*arg1
= (wxDC
*) 0 ;
10987 wxPoint
*arg2
= 0 ;
10988 wxPoint
*arg3
= 0 ;
10991 PyObject
* obj0
= 0 ;
10992 PyObject
* obj1
= 0 ;
10993 PyObject
* obj2
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11013 wxPyEndAllowThreads(__tstate
);
11014 if (PyErr_Occurred()) SWIG_fail
;
11016 Py_INCREF(Py_None
); resultobj
= Py_None
;
11023 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxDC
*arg1
= (wxDC
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 PyObject
* obj2
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "self",(char *) "x",(char *) "y", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 arg2
= (int)SWIG_As_int(obj1
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11040 arg3
= (int)SWIG_As_int(obj2
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 (arg1
)->CrossHair(arg2
,arg3
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 Py_INCREF(Py_None
); resultobj
= Py_None
;
11056 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxDC
*arg1
= (wxDC
*) 0 ;
11059 wxPoint
*arg2
= 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "pt", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 Py_INCREF(Py_None
); resultobj
= Py_None
;
11088 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxDC
*arg1
= (wxDC
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 PyObject
* obj1
= 0 ;
11099 PyObject
* obj2
= 0 ;
11100 PyObject
* obj3
= 0 ;
11101 PyObject
* obj4
= 0 ;
11102 PyObject
* obj5
= 0 ;
11103 PyObject
* obj6
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 arg2
= (int)SWIG_As_int(obj1
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11113 arg3
= (int)SWIG_As_int(obj2
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11115 arg4
= (int)SWIG_As_int(obj3
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11117 arg5
= (int)SWIG_As_int(obj4
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11119 arg6
= (int)SWIG_As_int(obj5
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11121 arg7
= (int)SWIG_As_int(obj6
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 Py_INCREF(Py_None
); resultobj
= Py_None
;
11137 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxDC
*arg1
= (wxDC
*) 0 ;
11140 wxPoint
*arg2
= 0 ;
11141 wxPoint
*arg3
= 0 ;
11142 wxPoint
*arg4
= 0 ;
11146 PyObject
* obj0
= 0 ;
11147 PyObject
* obj1
= 0 ;
11148 PyObject
* obj2
= 0 ;
11149 PyObject
* obj3
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11163 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 Py_INCREF(Py_None
); resultobj
= Py_None
;
11183 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxDC
*arg1
= (wxDC
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 PyObject
* obj2
= 0 ;
11193 PyObject
* obj3
= 0 ;
11194 PyObject
* obj4
= 0 ;
11195 char *kwnames
[] = {
11196 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11202 arg2
= (int)SWIG_As_int(obj1
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11204 arg3
= (int)SWIG_As_int(obj2
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11206 arg4
= (int)SWIG_As_int(obj3
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11208 arg5
= (int)SWIG_As_int(obj4
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 Py_INCREF(Py_None
); resultobj
= Py_None
;
11224 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxDC
*arg1
= (wxDC
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self",(char *) "rect", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11240 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11249 Py_INCREF(Py_None
); resultobj
= Py_None
;
11256 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxDC
*arg1
= (wxDC
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 PyObject
* obj2
= 0 ;
11268 PyObject
* obj3
= 0 ;
11269 PyObject
* obj4
= 0 ;
11270 PyObject
* obj5
= 0 ;
11271 PyObject
* obj6
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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
;
11283 arg4
= (int)SWIG_As_int(obj3
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11285 arg5
= (int)SWIG_As_int(obj4
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11287 arg6
= (double)SWIG_As_double(obj5
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11289 arg7
= (double)SWIG_As_double(obj6
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11298 Py_INCREF(Py_None
); resultobj
= Py_None
;
11305 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxDC
*arg1
= (wxDC
*) 0 ;
11308 wxPoint
*arg2
= 0 ;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 PyObject
* obj2
= 0 ;
11317 PyObject
* obj3
= 0 ;
11318 PyObject
* obj4
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11332 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11334 arg4
= (double)SWIG_As_double(obj3
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11336 arg5
= (double)SWIG_As_double(obj4
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 Py_INCREF(Py_None
); resultobj
= Py_None
;
11352 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxDC
*arg1
= (wxDC
*) 0 ;
11357 PyObject
* obj0
= 0 ;
11358 PyObject
* obj1
= 0 ;
11359 PyObject
* obj2
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "x",(char *) "y", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11367 arg2
= (int)SWIG_As_int(obj1
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11369 arg3
= (int)SWIG_As_int(obj2
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 (arg1
)->DrawPoint(arg2
,arg3
);
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 Py_INCREF(Py_None
); resultobj
= Py_None
;
11385 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxDC
*arg1
= (wxDC
*) 0 ;
11388 wxPoint
*arg2
= 0 ;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11392 char *kwnames
[] = {
11393 (char *) "self",(char *) "pt", NULL
11396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 Py_INCREF(Py_None
); resultobj
= Py_None
;
11417 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxDC
*arg1
= (wxDC
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 PyObject
* obj2
= 0 ;
11427 PyObject
* obj3
= 0 ;
11428 PyObject
* obj4
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11436 arg2
= (int)SWIG_As_int(obj1
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11438 arg3
= (int)SWIG_As_int(obj2
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11440 arg4
= (int)SWIG_As_int(obj3
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11442 arg5
= (int)SWIG_As_int(obj4
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 Py_INCREF(Py_None
); resultobj
= Py_None
;
11458 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxDC
*arg1
= (wxDC
*) 0 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "rect", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11474 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 Py_INCREF(Py_None
); resultobj
= Py_None
;
11490 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxDC
*arg1
= (wxDC
*) 0 ;
11493 wxPoint
*arg2
= 0 ;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 PyObject
* obj2
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self",(char *) "pt",(char *) "sz", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11509 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11513 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 Py_INCREF(Py_None
); resultobj
= Py_None
;
11529 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxDC
*arg1
= (wxDC
*) 0 ;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 PyObject
* obj2
= 0 ;
11540 PyObject
* obj3
= 0 ;
11541 PyObject
* obj4
= 0 ;
11542 PyObject
* obj5
= 0 ;
11543 char *kwnames
[] = {
11544 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11550 arg2
= (int)SWIG_As_int(obj1
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11552 arg3
= (int)SWIG_As_int(obj2
);
11553 if (PyErr_Occurred()) SWIG_fail
;
11554 arg4
= (int)SWIG_As_int(obj3
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11556 arg5
= (int)SWIG_As_int(obj4
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11558 arg6
= (double)SWIG_As_double(obj5
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 Py_INCREF(Py_None
); resultobj
= Py_None
;
11574 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxDC
*arg1
= (wxDC
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "r",(char *) "radius", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11592 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11594 arg3
= (double)SWIG_As_double(obj2
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 Py_INCREF(Py_None
); resultobj
= Py_None
;
11610 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxDC
*arg1
= (wxDC
*) 0 ;
11613 wxPoint
*arg2
= 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 PyObject
* obj2
= 0 ;
11621 PyObject
* obj3
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11635 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11637 arg4
= (double)SWIG_As_double(obj3
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 Py_INCREF(Py_None
); resultobj
= Py_None
;
11653 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxDC
*arg1
= (wxDC
*) 0 ;
11659 PyObject
* obj0
= 0 ;
11660 PyObject
* obj1
= 0 ;
11661 PyObject
* obj2
= 0 ;
11662 PyObject
* obj3
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11670 arg2
= (int)SWIG_As_int(obj1
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11672 arg3
= (int)SWIG_As_int(obj2
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11674 arg4
= (int)SWIG_As_int(obj3
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 Py_INCREF(Py_None
); resultobj
= Py_None
;
11690 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxDC
*arg1
= (wxDC
*) 0 ;
11693 wxPoint
*arg2
= 0 ;
11696 PyObject
* obj0
= 0 ;
11697 PyObject
* obj1
= 0 ;
11698 PyObject
* obj2
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self",(char *) "pt",(char *) "radius", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11710 arg3
= (int)SWIG_As_int(obj2
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 Py_INCREF(Py_None
); resultobj
= Py_None
;
11726 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxDC
*arg1
= (wxDC
*) 0 ;
11733 PyObject
* obj0
= 0 ;
11734 PyObject
* obj1
= 0 ;
11735 PyObject
* obj2
= 0 ;
11736 PyObject
* obj3
= 0 ;
11737 PyObject
* obj4
= 0 ;
11738 char *kwnames
[] = {
11739 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11745 arg2
= (int)SWIG_As_int(obj1
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11747 arg3
= (int)SWIG_As_int(obj2
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11749 arg4
= (int)SWIG_As_int(obj3
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11751 arg5
= (int)SWIG_As_int(obj4
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 Py_INCREF(Py_None
); resultobj
= Py_None
;
11767 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxDC
*arg1
= (wxDC
*) 0 ;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self",(char *) "rect", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11783 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11792 Py_INCREF(Py_None
); resultobj
= Py_None
;
11799 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
;
11801 wxDC
*arg1
= (wxDC
*) 0 ;
11802 wxPoint
*arg2
= 0 ;
11806 PyObject
* obj0
= 0 ;
11807 PyObject
* obj1
= 0 ;
11808 PyObject
* obj2
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self",(char *) "pt",(char *) "sz", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11822 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 Py_INCREF(Py_None
); resultobj
= Py_None
;
11838 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
*resultobj
;
11840 wxDC
*arg1
= (wxDC
*) 0 ;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 PyObject
* obj2
= 0 ;
11847 PyObject
* obj3
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11858 if (arg2
== NULL
) {
11859 PyErr_SetString(PyExc_TypeError
,"null reference");
11862 arg3
= (int)SWIG_As_int(obj2
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11864 arg4
= (int)SWIG_As_int(obj3
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 Py_INCREF(Py_None
); resultobj
= Py_None
;
11880 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11881 PyObject
*resultobj
;
11882 wxDC
*arg1
= (wxDC
*) 0 ;
11884 wxPoint
*arg3
= 0 ;
11886 PyObject
* obj0
= 0 ;
11887 PyObject
* obj1
= 0 ;
11888 PyObject
* obj2
= 0 ;
11889 char *kwnames
[] = {
11890 (char *) "self",(char *) "icon",(char *) "pt", NULL
11893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11899 if (arg2
== NULL
) {
11900 PyErr_SetString(PyExc_TypeError
,"null reference");
11905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 Py_INCREF(Py_None
); resultobj
= Py_None
;
11921 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxDC
*arg1
= (wxDC
*) 0 ;
11924 wxBitmap
*arg2
= 0 ;
11927 bool arg5
= (bool) false ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 PyObject
* obj2
= 0 ;
11931 PyObject
* obj3
= 0 ;
11932 PyObject
* obj4
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11943 if (arg2
== NULL
) {
11944 PyErr_SetString(PyExc_TypeError
,"null reference");
11947 arg3
= (int)SWIG_As_int(obj2
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11949 arg4
= (int)SWIG_As_int(obj3
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 arg5
= (bool)SWIG_As_bool(obj4
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 Py_INCREF(Py_None
); resultobj
= Py_None
;
11969 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxDC
*arg1
= (wxDC
*) 0 ;
11972 wxBitmap
*arg2
= 0 ;
11973 wxPoint
*arg3
= 0 ;
11974 bool arg4
= (bool) false ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 PyObject
* obj2
= 0 ;
11979 PyObject
* obj3
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11990 if (arg2
== NULL
) {
11991 PyErr_SetString(PyExc_TypeError
,"null reference");
11996 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11999 arg4
= (bool)SWIG_As_bool(obj3
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 Py_INCREF(Py_None
); resultobj
= Py_None
;
12016 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxDC
*arg1
= (wxDC
*) 0 ;
12019 wxString
*arg2
= 0 ;
12022 bool temp2
= false ;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12025 PyObject
* obj2
= 0 ;
12026 PyObject
* obj3
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12035 arg2
= wxString_in_helper(obj1
);
12036 if (arg2
== NULL
) SWIG_fail
;
12039 arg3
= (int)SWIG_As_int(obj2
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12041 arg4
= (int)SWIG_As_int(obj3
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 Py_INCREF(Py_None
); resultobj
= Py_None
;
12065 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxDC
*arg1
= (wxDC
*) 0 ;
12068 wxString
*arg2
= 0 ;
12069 wxPoint
*arg3
= 0 ;
12070 bool temp2
= false ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 PyObject
* obj2
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self",(char *) "text",(char *) "pt", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 arg2
= wxString_in_helper(obj1
);
12084 if (arg2
== NULL
) SWIG_fail
;
12089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 Py_INCREF(Py_None
); resultobj
= Py_None
;
12113 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxDC
*arg1
= (wxDC
*) 0 ;
12116 wxString
*arg2
= 0 ;
12120 bool temp2
= false ;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 PyObject
* obj2
= 0 ;
12124 PyObject
* obj3
= 0 ;
12125 PyObject
* obj4
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12134 arg2
= wxString_in_helper(obj1
);
12135 if (arg2
== NULL
) SWIG_fail
;
12138 arg3
= (int)SWIG_As_int(obj2
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12140 arg4
= (int)SWIG_As_int(obj3
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12142 arg5
= (double)SWIG_As_double(obj4
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 Py_INCREF(Py_None
); resultobj
= Py_None
;
12166 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxDC
*arg1
= (wxDC
*) 0 ;
12169 wxString
*arg2
= 0 ;
12170 wxPoint
*arg3
= 0 ;
12172 bool temp2
= false ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 PyObject
* obj2
= 0 ;
12177 PyObject
* obj3
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12186 arg2
= wxString_in_helper(obj1
);
12187 if (arg2
== NULL
) SWIG_fail
;
12192 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12194 arg4
= (double)SWIG_As_double(obj3
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12203 Py_INCREF(Py_None
); resultobj
= Py_None
;
12218 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxDC
*arg1
= (wxDC
*) 0 ;
12225 wxDC
*arg6
= (wxDC
*) 0 ;
12228 int arg9
= (int) wxCOPY
;
12229 bool arg10
= (bool) false ;
12230 int arg11
= (int) -1 ;
12231 int arg12
= (int) -1 ;
12233 PyObject
* obj0
= 0 ;
12234 PyObject
* obj1
= 0 ;
12235 PyObject
* obj2
= 0 ;
12236 PyObject
* obj3
= 0 ;
12237 PyObject
* obj4
= 0 ;
12238 PyObject
* obj5
= 0 ;
12239 PyObject
* obj6
= 0 ;
12240 PyObject
* obj7
= 0 ;
12241 PyObject
* obj8
= 0 ;
12242 PyObject
* obj9
= 0 ;
12243 PyObject
* obj10
= 0 ;
12244 PyObject
* obj11
= 0 ;
12245 char *kwnames
[] = {
12246 (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
12249 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
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 arg2
= (int)SWIG_As_int(obj1
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12254 arg3
= (int)SWIG_As_int(obj2
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12256 arg4
= (int)SWIG_As_int(obj3
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12258 arg5
= (int)SWIG_As_int(obj4
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12260 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12262 arg7
= (int)SWIG_As_int(obj6
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12264 arg8
= (int)SWIG_As_int(obj7
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 arg9
= (int)SWIG_As_int(obj8
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 arg10
= (bool)SWIG_As_bool(obj9
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 arg11
= (int)SWIG_As_int(obj10
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 arg12
= (int)SWIG_As_int(obj11
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12298 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxDC
*arg1
= (wxDC
*) 0 ;
12301 wxPoint
*arg2
= 0 ;
12303 wxDC
*arg4
= (wxDC
*) 0 ;
12304 wxPoint
*arg5
= 0 ;
12305 int arg6
= (int) wxCOPY
;
12306 bool arg7
= (bool) false ;
12307 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12308 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 PyObject
* obj2
= 0 ;
12317 PyObject
* obj3
= 0 ;
12318 PyObject
* obj4
= 0 ;
12319 PyObject
* obj5
= 0 ;
12320 PyObject
* obj6
= 0 ;
12321 PyObject
* obj7
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12335 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12337 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12344 arg6
= (int)SWIG_As_int(obj5
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12348 arg7
= (bool)SWIG_As_bool(obj6
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12354 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12373 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
;
12375 wxDC
*arg1
= (wxDC
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 PyObject
* obj1
= 0 ;
12382 PyObject
* obj2
= 0 ;
12383 PyObject
* obj3
= 0 ;
12384 PyObject
* obj4
= 0 ;
12385 char *kwnames
[] = {
12386 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12392 arg2
= (int)SWIG_As_int(obj1
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12394 arg3
= (int)SWIG_As_int(obj2
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12396 arg4
= (int)SWIG_As_int(obj3
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12398 arg5
= (int)SWIG_As_int(obj4
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 Py_INCREF(Py_None
); resultobj
= Py_None
;
12414 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxDC
*arg1
= (wxDC
*) 0 ;
12417 wxPoint
*arg2
= 0 ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 PyObject
* obj2
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self",(char *) "pt",(char *) "sz", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12433 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12437 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 Py_INCREF(Py_None
); resultobj
= Py_None
;
12453 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
;
12455 wxDC
*arg1
= (wxDC
*) 0 ;
12456 wxRegion
*arg2
= 0 ;
12457 PyObject
* obj0
= 0 ;
12458 PyObject
* obj1
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self",(char *) "region", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12469 if (arg2
== NULL
) {
12470 PyErr_SetString(PyExc_TypeError
,"null reference");
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 Py_INCREF(Py_None
); resultobj
= Py_None
;
12487 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxDC
*arg1
= (wxDC
*) 0 ;
12492 PyObject
* obj0
= 0 ;
12493 PyObject
* obj1
= 0 ;
12494 char *kwnames
[] = {
12495 (char *) "self",(char *) "rect", NULL
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12503 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 Py_INCREF(Py_None
); resultobj
= Py_None
;
12519 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 wxDC
*arg1
= (wxDC
*) 0 ;
12523 wxPoint
*arg3
= (wxPoint
*) 0 ;
12524 int arg4
= (int) 0 ;
12525 int arg5
= (int) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 PyObject
* obj1
= 0 ;
12528 PyObject
* obj2
= 0 ;
12529 PyObject
* obj3
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12539 if (arg3
== NULL
) SWIG_fail
;
12542 arg4
= (int)SWIG_As_int(obj2
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 arg5
= (int)SWIG_As_int(obj3
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 if (arg3
) delete [] arg3
;
12563 if (arg3
) delete [] arg3
;
12569 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxDC
*arg1
= (wxDC
*) 0 ;
12573 wxPoint
*arg3
= (wxPoint
*) 0 ;
12574 int arg4
= (int) 0 ;
12575 int arg5
= (int) 0 ;
12576 int arg6
= (int) wxODDEVEN_RULE
;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 PyObject
* obj2
= 0 ;
12580 PyObject
* obj3
= 0 ;
12581 PyObject
* obj4
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12591 if (arg3
== NULL
) SWIG_fail
;
12594 arg4
= (int)SWIG_As_int(obj2
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 arg5
= (int)SWIG_As_int(obj3
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12602 arg6
= (int)SWIG_As_int(obj4
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 Py_INCREF(Py_None
); resultobj
= Py_None
;
12614 if (arg3
) delete [] arg3
;
12619 if (arg3
) delete [] arg3
;
12625 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxDC
*arg1
= (wxDC
*) 0 ;
12628 wxString
*arg2
= 0 ;
12630 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12631 int arg5
= (int) -1 ;
12632 bool temp2
= false ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 PyObject
* obj2
= 0 ;
12637 PyObject
* obj3
= 0 ;
12638 PyObject
* obj4
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12647 arg2
= wxString_in_helper(obj1
);
12648 if (arg2
== NULL
) SWIG_fail
;
12653 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12656 arg4
= (int)SWIG_As_int(obj3
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12660 arg5
= (int)SWIG_As_int(obj4
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 Py_INCREF(Py_None
); resultobj
= Py_None
;
12685 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxDC
*arg1
= (wxDC
*) 0 ;
12688 wxString
*arg2
= 0 ;
12689 wxBitmap
*arg3
= 0 ;
12691 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12692 int arg6
= (int) -1 ;
12694 bool temp2
= false ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 PyObject
* obj2
= 0 ;
12699 PyObject
* obj3
= 0 ;
12700 PyObject
* obj4
= 0 ;
12701 PyObject
* obj5
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12710 arg2
= wxString_in_helper(obj1
);
12711 if (arg2
== NULL
) SWIG_fail
;
12714 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12717 if (arg3
== NULL
) {
12718 PyErr_SetString(PyExc_TypeError
,"null reference");
12723 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12726 arg5
= (int)SWIG_As_int(obj4
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12730 arg6
= (int)SWIG_As_int(obj5
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 wxRect
* resultptr
;
12742 resultptr
= new wxRect((wxRect
&) result
);
12743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12759 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12760 PyObject
*resultobj
;
12761 wxDC
*arg1
= (wxDC
*) 0 ;
12763 wxPoint
*arg3
= (wxPoint
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 char *kwnames
[] = {
12767 (char *) "self",(char *) "points", NULL
12770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12774 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12775 if (arg3
== NULL
) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 (arg1
)->DrawSpline(arg2
,arg3
);
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 Py_INCREF(Py_None
); resultobj
= Py_None
;
12786 if (arg3
) delete [] arg3
;
12791 if (arg3
) delete [] arg3
;
12797 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxDC
*arg1
= (wxDC
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxDC
*arg1
= (wxDC
*) 0 ;
12825 wxString
*arg2
= 0 ;
12827 bool temp2
= false ;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 char *kwnames
[] = {
12831 (char *) "self",(char *) "message", NULL
12834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12838 arg2
= wxString_in_helper(obj1
);
12839 if (arg2
== NULL
) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12866 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxDC
*arg1
= (wxDC
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 char *kwnames
[] = {
12871 (char *) "self", NULL
12874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxDC
*arg1
= (wxDC
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 (arg1
)->StartPage();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 Py_INCREF(Py_None
); resultobj
= Py_None
;
12916 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxDC
*arg1
= (wxDC
*) 0 ;
12919 PyObject
* obj0
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 Py_INCREF(Py_None
); resultobj
= Py_None
;
12941 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxDC
*arg1
= (wxDC
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 char *kwnames
[] = {
12948 (char *) "self",(char *) "font", NULL
12951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12957 if (arg2
== NULL
) {
12958 PyErr_SetString(PyExc_TypeError
,"null reference");
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 (arg1
)->SetFont((wxFont
const &)*arg2
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 Py_INCREF(Py_None
); resultobj
= Py_None
;
12975 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxDC
*arg1
= (wxDC
*) 0 ;
12979 PyObject
* obj0
= 0 ;
12980 PyObject
* obj1
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "self",(char *) "pen", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12991 if (arg2
== NULL
) {
12992 PyErr_SetString(PyExc_TypeError
,"null reference");
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 (arg1
)->SetPen((wxPen
const &)*arg2
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 Py_INCREF(Py_None
); resultobj
= Py_None
;
13009 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxDC
*arg1
= (wxDC
*) 0 ;
13012 wxBrush
*arg2
= 0 ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self",(char *) "brush", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13025 if (arg2
== NULL
) {
13026 PyErr_SetString(PyExc_TypeError
,"null reference");
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 Py_INCREF(Py_None
); resultobj
= Py_None
;
13043 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxDC
*arg1
= (wxDC
*) 0 ;
13046 wxBrush
*arg2
= 0 ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self",(char *) "brush", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13059 if (arg2
== NULL
) {
13060 PyErr_SetString(PyExc_TypeError
,"null reference");
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 Py_INCREF(Py_None
); resultobj
= Py_None
;
13077 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
;
13079 wxDC
*arg1
= (wxDC
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "mode", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 arg2
= (int)SWIG_As_int(obj1
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 (arg1
)->SetBackgroundMode(arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13106 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxDC
*arg1
= (wxDC
*) 0 ;
13109 wxPalette
*arg2
= 0 ;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self",(char *) "palette", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13122 if (arg2
== NULL
) {
13123 PyErr_SetString(PyExc_TypeError
,"null reference");
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 Py_INCREF(Py_None
); resultobj
= Py_None
;
13140 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
;
13142 wxDC
*arg1
= (wxDC
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 (arg1
)->DestroyClippingRegion();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 Py_INCREF(Py_None
); resultobj
= Py_None
;
13165 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxDC
*arg1
= (wxDC
*) 0 ;
13168 int *arg2
= (int *) 0 ;
13169 int *arg3
= (int *) 0 ;
13170 int *arg4
= (int *) 0 ;
13171 int *arg5
= (int *) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self", NULL
13185 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13186 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13187 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13188 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 Py_INCREF(Py_None
); resultobj
= Py_None
;
13200 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13201 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13202 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13203 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13204 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13205 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13206 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13207 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13214 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxDC
*arg1
= (wxDC
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= wxDC_GetClippingRect(arg1
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 wxRect
* resultptr
;
13235 resultptr
= new wxRect((wxRect
&) result
);
13236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13244 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxDC
*arg1
= (wxDC
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 char *kwnames
[] = {
13250 (char *) "self", NULL
13253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_From_int((int)result
);
13270 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
;
13272 wxDC
*arg1
= (wxDC
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13289 resultobj
= SWIG_From_int((int)result
);
13296 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13297 PyObject
*resultobj
;
13298 wxDC
*arg1
= (wxDC
*) 0 ;
13299 wxString
*arg2
= 0 ;
13300 int *arg3
= (int *) 0 ;
13301 int *arg4
= (int *) 0 ;
13302 bool temp2
= false ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char *kwnames
[] = {
13310 (char *) "self",(char *) "string", NULL
13313 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13314 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13319 arg2
= wxString_in_helper(obj1
);
13320 if (arg2
== NULL
) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 Py_INCREF(Py_None
); resultobj
= Py_None
;
13331 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13332 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13333 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13334 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13349 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxDC
*arg1
= (wxDC
*) 0 ;
13352 wxString
*arg2
= 0 ;
13353 int *arg3
= (int *) 0 ;
13354 int *arg4
= (int *) 0 ;
13355 int *arg5
= (int *) 0 ;
13356 int *arg6
= (int *) 0 ;
13357 wxFont
*arg7
= (wxFont
*) NULL
;
13358 bool temp2
= false ;
13367 PyObject
* obj0
= 0 ;
13368 PyObject
* obj1
= 0 ;
13369 PyObject
* obj2
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "string",(char *) "font", NULL
13374 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13375 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13376 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13377 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13382 arg2
= wxString_in_helper(obj1
);
13383 if (arg2
== NULL
) SWIG_fail
;
13387 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13394 wxPyEndAllowThreads(__tstate
);
13395 if (PyErr_Occurred()) SWIG_fail
;
13397 Py_INCREF(Py_None
); resultobj
= Py_None
;
13398 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13399 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13400 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13401 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13402 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13403 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13404 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13405 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13420 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxDC
*arg1
= (wxDC
*) 0 ;
13423 wxString
*arg2
= 0 ;
13424 int *arg3
= (int *) 0 ;
13425 int *arg4
= (int *) 0 ;
13426 int *arg5
= (int *) 0 ;
13427 wxFont
*arg6
= (wxFont
*) NULL
;
13428 bool temp2
= false ;
13435 PyObject
* obj0
= 0 ;
13436 PyObject
* obj1
= 0 ;
13437 PyObject
* obj2
= 0 ;
13438 char *kwnames
[] = {
13439 (char *) "self",(char *) "text",(char *) "font", NULL
13442 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13443 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13444 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13449 arg2
= wxString_in_helper(obj1
);
13450 if (arg2
== NULL
) SWIG_fail
;
13454 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 Py_INCREF(Py_None
); resultobj
= Py_None
;
13465 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13466 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13467 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13468 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13469 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13470 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13485 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
;
13487 wxDC
*arg1
= (wxDC
*) 0 ;
13488 wxString
*arg2
= 0 ;
13490 bool temp2
= false ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 char *kwnames
[] = {
13494 (char *) "self",(char *) "text", NULL
13497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13501 arg2
= wxString_in_helper(obj1
);
13502 if (arg2
== NULL
) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= PyList_New(0);
13515 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13516 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13517 PyList_Append(resultobj
, val
);
13535 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxDC
*arg1
= (wxDC
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (arg1
)->GetSize();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13555 wxSize
* resultptr
;
13556 resultptr
= new wxSize((wxSize
&) result
);
13557 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13565 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxDC
*arg1
= (wxDC
*) 0 ;
13568 int *arg2
= (int *) 0 ;
13569 int *arg3
= (int *) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self", NULL
13579 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13580 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 (arg1
)->GetSize(arg2
,arg3
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 Py_INCREF(Py_None
); resultobj
= Py_None
;
13592 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13593 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13594 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13595 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13602 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxDC
*arg1
= (wxDC
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 wxSize
* resultptr
;
13623 resultptr
= new wxSize((wxSize
&) result
);
13624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13632 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13633 PyObject
*resultobj
;
13634 wxDC
*arg1
= (wxDC
*) 0 ;
13635 int *arg2
= (int *) 0 ;
13636 int *arg3
= (int *) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self", NULL
13646 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13647 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13655 wxPyEndAllowThreads(__tstate
);
13656 if (PyErr_Occurred()) SWIG_fail
;
13658 Py_INCREF(Py_None
); resultobj
= Py_None
;
13659 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13660 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13661 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13662 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13669 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxDC
*arg1
= (wxDC
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 PyObject
* obj1
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self",(char *) "x", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13683 arg2
= (int)SWIG_As_int(obj1
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= SWIG_From_int((int)result
);
13699 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxDC
*arg1
= (wxDC
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self",(char *) "y", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13713 arg2
= (int)SWIG_As_int(obj1
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= SWIG_From_int((int)result
);
13729 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13730 PyObject
*resultobj
;
13731 wxDC
*arg1
= (wxDC
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "x", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13743 arg2
= (int)SWIG_As_int(obj1
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= SWIG_From_int((int)result
);
13759 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxDC
*arg1
= (wxDC
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self",(char *) "y", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 arg2
= (int)SWIG_As_int(obj1
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= SWIG_From_int((int)result
);
13789 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13790 PyObject
*resultobj
;
13791 wxDC
*arg1
= (wxDC
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self",(char *) "x", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13803 arg2
= (int)SWIG_As_int(obj1
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_From_int((int)result
);
13819 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxDC
*arg1
= (wxDC
*) 0 ;
13824 PyObject
* obj0
= 0 ;
13825 PyObject
* obj1
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self",(char *) "y", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13833 arg2
= (int)SWIG_As_int(obj1
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= SWIG_From_int((int)result
);
13849 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxDC
*arg1
= (wxDC
*) 0 ;
13854 PyObject
* obj0
= 0 ;
13855 PyObject
* obj1
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "self",(char *) "x", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13863 arg2
= (int)SWIG_As_int(obj1
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= SWIG_From_int((int)result
);
13879 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxDC
*arg1
= (wxDC
*) 0 ;
13884 PyObject
* obj0
= 0 ;
13885 PyObject
* obj1
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self",(char *) "y", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13893 arg2
= (int)SWIG_As_int(obj1
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_From_int((int)result
);
13909 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
;
13911 wxDC
*arg1
= (wxDC
*) 0 ;
13913 PyObject
* obj0
= 0 ;
13914 char *kwnames
[] = {
13915 (char *) "self", NULL
13918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13937 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
;
13939 wxDC
*arg1
= (wxDC
*) 0 ;
13941 PyObject
* obj0
= 0 ;
13942 char *kwnames
[] = {
13943 (char *) "self", NULL
13946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13965 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxDC
*arg1
= (wxDC
*) 0 ;
13969 PyObject
* obj0
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "self", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= SWIG_From_int((int)result
);
13991 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxDC
*arg1
= (wxDC
*) 0 ;
13995 PyObject
* obj0
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= ((wxDC
const *)arg1
)->GetPPI();
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14011 wxSize
* resultptr
;
14012 resultptr
= new wxSize((wxSize
&) result
);
14013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14021 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxDC
*arg1
= (wxDC
*) 0 ;
14025 PyObject
* obj0
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (bool)((wxDC
const *)arg1
)->Ok();
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14049 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxDC
*arg1
= (wxDC
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= SWIG_From_int((int)result
);
14075 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxDC
*arg1
= (wxDC
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "self", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14091 result
= (wxBrush
*) &_result_ref
;
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14098 wxBrush
* resultptr
= new wxBrush(*result
);
14099 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14107 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxDC
*arg1
= (wxDC
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "self", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14123 result
= (wxBrush
*) &_result_ref
;
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14130 wxBrush
* resultptr
= new wxBrush(*result
);
14131 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14139 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxDC
*arg1
= (wxDC
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14155 result
= (wxFont
*) &_result_ref
;
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14162 wxFont
* resultptr
= new wxFont(*result
);
14163 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14171 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxDC
*arg1
= (wxDC
*) 0 ;
14175 PyObject
* obj0
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14187 result
= (wxPen
*) &_result_ref
;
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14194 wxPen
* resultptr
= new wxPen(*result
);
14195 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14203 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxDC
*arg1
= (wxDC
*) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14218 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14219 result
= (wxColour
*) &_result_ref
;
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14232 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxDC
*arg1
= (wxDC
*) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14248 result
= (wxColour
*) &_result_ref
;
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14261 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
;
14263 wxDC
*arg1
= (wxDC
*) 0 ;
14264 wxColour
*arg2
= 0 ;
14266 PyObject
* obj0
= 0 ;
14267 PyObject
* obj1
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self",(char *) "colour", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14277 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14283 wxPyEndAllowThreads(__tstate
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14286 Py_INCREF(Py_None
); resultobj
= Py_None
;
14293 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxDC
*arg1
= (wxDC
*) 0 ;
14296 wxColour
*arg2
= 0 ;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self",(char *) "colour", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14313 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14318 Py_INCREF(Py_None
); resultobj
= Py_None
;
14325 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxDC
*arg1
= (wxDC
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_From_int((int)result
);
14351 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxDC
*arg1
= (wxDC
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self",(char *) "mode", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14364 arg2
= (int)SWIG_As_int(obj1
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 (arg1
)->SetMapMode(arg2
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 Py_INCREF(Py_None
); resultobj
= Py_None
;
14380 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
;
14382 wxDC
*arg1
= (wxDC
*) 0 ;
14383 double *arg2
= (double *) 0 ;
14384 double *arg3
= (double *) 0 ;
14389 PyObject
* obj0
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "self", NULL
14394 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14395 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14406 Py_INCREF(Py_None
); resultobj
= Py_None
;
14407 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14408 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14409 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14410 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14417 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxDC
*arg1
= (wxDC
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 PyObject
* obj2
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self",(char *) "x",(char *) "y", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14432 arg2
= (double)SWIG_As_double(obj1
);
14433 if (PyErr_Occurred()) SWIG_fail
;
14434 arg3
= (double)SWIG_As_double(obj2
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->SetUserScale(arg2
,arg3
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14450 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxDC
*arg1
= (wxDC
*) 0 ;
14453 double *arg2
= (double *) 0 ;
14454 double *arg3
= (double *) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self", NULL
14464 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14465 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 (arg1
)->GetLogicalScale(arg2
,arg3
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 Py_INCREF(Py_None
); resultobj
= Py_None
;
14477 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14478 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14479 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14480 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14487 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
;
14489 wxDC
*arg1
= (wxDC
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 PyObject
* obj2
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self",(char *) "x",(char *) "y", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14502 arg2
= (double)SWIG_As_double(obj1
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14504 arg3
= (double)SWIG_As_double(obj2
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 (arg1
)->SetLogicalScale(arg2
,arg3
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxDC
*arg1
= (wxDC
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 wxPoint
* resultptr
;
14541 resultptr
= new wxPoint((wxPoint
&) result
);
14542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14550 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxDC
*arg1
= (wxDC
*) 0 ;
14553 int *arg2
= (int *) 0 ;
14554 int *arg3
= (int *) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14565 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 Py_INCREF(Py_None
); resultobj
= Py_None
;
14577 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14578 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14579 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14580 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14587 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxDC
*arg1
= (wxDC
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 PyObject
* obj2
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self",(char *) "x",(char *) "y", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14602 arg2
= (int)SWIG_As_int(obj1
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14604 arg3
= (int)SWIG_As_int(obj2
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 Py_INCREF(Py_None
); resultobj
= Py_None
;
14620 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxDC
*arg1
= (wxDC
*) 0 ;
14623 wxPoint
*arg2
= 0 ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self",(char *) "point", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 Py_INCREF(Py_None
); resultobj
= Py_None
;
14652 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxDC
*arg1
= (wxDC
*) 0 ;
14656 PyObject
* obj0
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "self", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14672 wxPoint
* resultptr
;
14673 resultptr
= new wxPoint((wxPoint
&) result
);
14674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14682 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxDC
*arg1
= (wxDC
*) 0 ;
14685 int *arg2
= (int *) 0 ;
14686 int *arg3
= (int *) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self", NULL
14696 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14697 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 Py_INCREF(Py_None
); resultobj
= Py_None
;
14709 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14710 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14711 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14712 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14719 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxDC
*arg1
= (wxDC
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 PyObject
* obj1
= 0 ;
14726 PyObject
* obj2
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self",(char *) "x",(char *) "y", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 arg2
= (int)SWIG_As_int(obj1
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14736 arg3
= (int)SWIG_As_int(obj2
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 Py_INCREF(Py_None
); resultobj
= Py_None
;
14752 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxDC
*arg1
= (wxDC
*) 0 ;
14755 wxPoint
*arg2
= 0 ;
14757 PyObject
* obj0
= 0 ;
14758 PyObject
* obj1
= 0 ;
14759 char *kwnames
[] = {
14760 (char *) "self",(char *) "point", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxDC
*arg1
= (wxDC
*) 0 ;
14789 PyObject
* obj0
= 0 ;
14790 PyObject
* obj1
= 0 ;
14791 PyObject
* obj2
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14799 arg2
= (bool)SWIG_As_bool(obj1
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14801 arg3
= (bool)SWIG_As_bool(obj2
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxDC
*arg1
= (wxDC
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_From_int((int)result
);
14843 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxDC
*arg1
= (wxDC
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 PyObject
* obj1
= 0 ;
14849 char *kwnames
[] = {
14850 (char *) "self",(char *) "function", NULL
14853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) 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
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 (arg1
)->SetLogicalFunction(arg2
);
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 Py_INCREF(Py_None
); resultobj
= Py_None
;
14872 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxDC
*arg1
= (wxDC
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self",(char *) "optimize", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 arg2
= (bool)SWIG_As_bool(obj1
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 (arg1
)->SetOptimization(arg2
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxDC
*arg1
= (wxDC
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 char *kwnames
[] = {
14907 (char *) "self", NULL
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 result
= (bool)(arg1
)->GetOptimization();
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14929 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxDC
*arg1
= (wxDC
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 char *kwnames
[] = {
14938 (char *) "self",(char *) "x",(char *) "y", NULL
14941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 arg2
= (int)SWIG_As_int(obj1
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14946 arg3
= (int)SWIG_As_int(obj2
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 Py_INCREF(Py_None
); resultobj
= Py_None
;
14962 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxDC
*arg1
= (wxDC
*) 0 ;
14965 wxPoint
*arg2
= 0 ;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 char *kwnames
[] = {
14970 (char *) "self",(char *) "point", NULL
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 Py_INCREF(Py_None
); resultobj
= Py_None
;
14994 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
;
14996 wxDC
*arg1
= (wxDC
*) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 char *kwnames
[] = {
14999 (char *) "self", NULL
15002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 (arg1
)->ResetBoundingBox();
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 Py_INCREF(Py_None
); resultobj
= Py_None
;
15019 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxDC
*arg1
= (wxDC
*) 0 ;
15023 PyObject
* obj0
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= (int)((wxDC
const *)arg1
)->MinX();
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_From_int((int)result
);
15045 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
;
15047 wxDC
*arg1
= (wxDC
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (int)((wxDC
const *)arg1
)->MaxX();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_From_int((int)result
);
15071 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxDC
*arg1
= (wxDC
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (int)((wxDC
const *)arg1
)->MinY();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= SWIG_From_int((int)result
);
15097 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxDC
*arg1
= (wxDC
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 char *kwnames
[] = {
15103 (char *) "self", NULL
15106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= (int)((wxDC
const *)arg1
)->MaxY();
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= SWIG_From_int((int)result
);
15123 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxDC
*arg1
= (wxDC
*) 0 ;
15126 int *arg2
= (int *) 0 ;
15127 int *arg3
= (int *) 0 ;
15128 int *arg4
= (int *) 0 ;
15129 int *arg5
= (int *) 0 ;
15138 PyObject
* obj0
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self", NULL
15143 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15144 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15145 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15146 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15154 wxPyEndAllowThreads(__tstate
);
15155 if (PyErr_Occurred()) SWIG_fail
;
15157 Py_INCREF(Py_None
); resultobj
= Py_None
;
15158 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15159 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15160 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15161 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15162 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15163 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15164 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15165 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15172 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxDC
*arg1
= (wxDC
*) 0 ;
15175 PyObject
*arg2
= (PyObject
*) 0 ;
15176 PyObject
*arg3
= (PyObject
*) 0 ;
15177 PyObject
*arg4
= (PyObject
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 PyObject
* obj2
= 0 ;
15182 PyObject
* obj3
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= result
;
15207 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
;
15209 wxDC
*arg1
= (wxDC
*) 0 ;
15210 PyObject
*arg2
= (PyObject
*) 0 ;
15211 PyObject
*arg3
= (PyObject
*) 0 ;
15212 PyObject
*arg4
= (PyObject
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 PyObject
* obj2
= 0 ;
15217 PyObject
* obj3
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= result
;
15242 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxDC
*arg1
= (wxDC
*) 0 ;
15245 PyObject
*arg2
= (PyObject
*) 0 ;
15246 PyObject
*arg3
= (PyObject
*) 0 ;
15247 PyObject
*arg4
= (PyObject
*) 0 ;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 PyObject
* obj2
= 0 ;
15252 PyObject
* obj3
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
;
15277 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxDC
*arg1
= (wxDC
*) 0 ;
15280 PyObject
*arg2
= (PyObject
*) 0 ;
15281 PyObject
*arg3
= (PyObject
*) 0 ;
15282 PyObject
*arg4
= (PyObject
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 PyObject
* obj2
= 0 ;
15287 PyObject
* obj3
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
;
15312 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxDC
*arg1
= (wxDC
*) 0 ;
15315 PyObject
*arg2
= (PyObject
*) 0 ;
15316 PyObject
*arg3
= (PyObject
*) 0 ;
15317 PyObject
*arg4
= (PyObject
*) 0 ;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 PyObject
* obj2
= 0 ;
15322 PyObject
* obj3
= 0 ;
15323 char *kwnames
[] = {
15324 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= result
;
15347 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxDC
*arg1
= (wxDC
*) 0 ;
15350 PyObject
*arg2
= (PyObject
*) 0 ;
15351 PyObject
*arg3
= (PyObject
*) 0 ;
15352 PyObject
*arg4
= (PyObject
*) 0 ;
15353 PyObject
*arg5
= (PyObject
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 PyObject
* obj1
= 0 ;
15357 PyObject
* obj2
= 0 ;
15358 PyObject
* obj3
= 0 ;
15359 PyObject
* obj4
= 0 ;
15360 char *kwnames
[] = {
15361 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= result
;
15385 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15388 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15390 return Py_BuildValue((char *)"");
15392 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
;
15394 wxMemoryDC
*result
;
15395 char *kwnames
[] = {
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15401 if (!wxPyCheckForApp()) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (wxMemoryDC
*)new wxMemoryDC();
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15415 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxDC
*arg1
= (wxDC
*) 0 ;
15418 wxMemoryDC
*result
;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "oldDC", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15428 if (!wxPyCheckForApp()) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15442 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15445 wxBitmap
*arg2
= 0 ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self",(char *) "bitmap", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15458 if (arg2
== NULL
) {
15459 PyErr_SetString(PyExc_TypeError
,"null reference");
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 Py_INCREF(Py_None
); resultobj
= Py_None
;
15476 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15479 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15481 return Py_BuildValue((char *)"");
15483 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15484 PyObject
*resultobj
;
15485 wxDC
*arg1
= (wxDC
*) 0 ;
15486 wxBitmap
*arg2
= 0 ;
15487 wxBufferedDC
*result
;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15491 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15497 if (arg2
== NULL
) {
15498 PyErr_SetString(PyExc_TypeError
,"null reference");
15502 if (!wxPyCheckForApp()) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15516 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15517 PyObject
*resultobj
;
15518 wxDC
*arg1
= (wxDC
*) 0 ;
15520 wxBufferedDC
*result
;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15525 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15533 if (!wxPyCheckForApp()) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15547 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15552 argc
= PyObject_Length(args
);
15553 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15554 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15560 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15570 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15578 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15586 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15595 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15598 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15603 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15608 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 Py_INCREF(Py_None
); resultobj
= Py_None
;
15658 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15661 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15663 return Py_BuildValue((char *)"");
15665 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxWindow
*arg1
= (wxWindow
*) 0 ;
15668 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15669 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15670 wxBufferedPaintDC
*result
;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "window",(char *) "buffer", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15684 if (arg2
== NULL
) {
15685 PyErr_SetString(PyExc_TypeError
,"null reference");
15690 if (!wxPyCheckForApp()) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15704 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15707 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15709 return Py_BuildValue((char *)"");
15711 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxScreenDC
*result
;
15714 char *kwnames
[] = {
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15720 if (!wxPyCheckForApp()) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (wxScreenDC
*)new wxScreenDC();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15734 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15737 wxWindow
*arg2
= (wxWindow
*) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self",(char *) "window", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15766 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15769 wxRect
*arg2
= (wxRect
*) NULL
;
15771 PyObject
* obj0
= 0 ;
15772 PyObject
* obj1
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self",(char *) "rect", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15800 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15804 PyObject
* obj0
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (bool)(arg1
)->EndDrawingOnTop();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15828 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15831 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15833 return Py_BuildValue((char *)"");
15835 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxWindow
*arg1
= (wxWindow
*) 0 ;
15838 wxClientDC
*result
;
15839 PyObject
* obj0
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "win", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15848 if (!wxPyCheckForApp()) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (wxClientDC
*)new wxClientDC(arg1
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15862 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15865 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15867 return Py_BuildValue((char *)"");
15869 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxWindow
*arg1
= (wxWindow
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 char *kwnames
[] = {
15875 (char *) "win", NULL
15878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15882 if (!wxPyCheckForApp()) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15896 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15899 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15901 return Py_BuildValue((char *)"");
15903 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxWindow
*arg1
= (wxWindow
*) 0 ;
15906 wxWindowDC
*result
;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "win", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15916 if (!wxPyCheckForApp()) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15930 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15933 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15935 return Py_BuildValue((char *)"");
15937 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15941 wxMirrorDC
*result
;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "dc",(char *) "mirror", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15952 if (arg1
== NULL
) {
15953 PyErr_SetString(PyExc_TypeError
,"null reference");
15956 arg2
= (bool)SWIG_As_bool(obj1
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 if (!wxPyCheckForApp()) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15973 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15976 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15978 return Py_BuildValue((char *)"");
15980 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxPrintData
*arg1
= 0 ;
15983 wxPostScriptDC
*result
;
15984 PyObject
* obj0
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "printData", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15993 if (arg1
== NULL
) {
15994 PyErr_SetString(PyExc_TypeError
,"null reference");
15998 if (!wxPyCheckForApp()) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16012 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16015 wxPrintData
*result
;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16028 result
= (wxPrintData
*) &_result_ref
;
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16041 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16044 wxPrintData
*arg2
= 0 ;
16045 PyObject
* obj0
= 0 ;
16046 PyObject
* obj1
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self",(char *) "data", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16057 if (arg2
== NULL
) {
16058 PyErr_SetString(PyExc_TypeError
,"null reference");
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16065 wxPyEndAllowThreads(__tstate
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 Py_INCREF(Py_None
); resultobj
= Py_None
;
16075 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "ppi", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16084 arg1
= (int)SWIG_As_int(obj0
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 wxPostScriptDC::SetResolution(arg1
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 Py_INCREF(Py_None
); resultobj
= Py_None
;
16100 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16103 char *kwnames
[] = {
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (int)wxPostScriptDC::GetResolution();
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_From_int((int)result
);
16122 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16125 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16127 return Py_BuildValue((char *)"");
16129 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16132 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16133 wxMetaFile
*result
;
16134 bool temp1
= false ;
16135 PyObject
* obj0
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "filename", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16143 arg1
= wxString_in_helper(obj0
);
16144 if (arg1
== NULL
) SWIG_fail
;
16149 if (!wxPyCheckForApp()) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16171 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 Py_INCREF(Py_None
); resultobj
= Py_None
;
16196 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (bool)(arg1
)->Ok();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16224 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16227 int arg2
= (int) 0 ;
16228 int arg3
= (int) 0 ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 PyObject
* obj2
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self",(char *) "width",(char *) "height", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16241 arg2
= (int)SWIG_As_int(obj1
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 arg3
= (int)SWIG_As_int(obj2
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16264 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (arg1
)->GetSize();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 wxSize
* resultptr
;
16285 resultptr
= new wxSize((wxSize
&) result
);
16286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16294 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 char *kwnames
[] = {
16300 (char *) "self", NULL
16303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= (int)(arg1
)->GetWidth();
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= SWIG_From_int((int)result
);
16320 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
;
16322 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16324 PyObject
* obj0
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (int)(arg1
)->GetHeight();
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= SWIG_From_int((int)result
);
16346 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16349 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16351 return Py_BuildValue((char *)"");
16353 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16356 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16357 int arg2
= (int) 0 ;
16358 int arg3
= (int) 0 ;
16359 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16360 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16361 wxMetaFileDC
*result
;
16362 bool temp1
= false ;
16363 bool temp4
= false ;
16364 PyObject
* obj0
= 0 ;
16365 PyObject
* obj1
= 0 ;
16366 PyObject
* obj2
= 0 ;
16367 PyObject
* obj3
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16375 arg1
= wxString_in_helper(obj0
);
16376 if (arg1
== NULL
) SWIG_fail
;
16381 arg2
= (int)SWIG_As_int(obj1
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16385 arg3
= (int)SWIG_As_int(obj2
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16390 arg4
= wxString_in_helper(obj3
);
16391 if (arg4
== NULL
) SWIG_fail
;
16396 if (!wxPyCheckForApp()) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16426 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16429 wxMetaFile
*result
;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= (wxMetaFile
*)(arg1
)->Close();
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16452 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16455 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16457 return Py_BuildValue((char *)"");
16459 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxPrintData
*arg1
= 0 ;
16462 wxPrinterDC
*result
;
16463 PyObject
* obj0
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "printData", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16472 if (arg1
== NULL
) {
16473 PyErr_SetString(PyExc_TypeError
,"null reference");
16477 if (!wxPyCheckForApp()) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16491 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16494 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16496 return Py_BuildValue((char *)"");
16498 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16502 int arg3
= (int) true ;
16503 int arg4
= (int) 1 ;
16504 wxImageList
*result
;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 PyObject
* obj2
= 0 ;
16508 PyObject
* obj3
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16514 arg1
= (int)SWIG_As_int(obj0
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16516 arg2
= (int)SWIG_As_int(obj1
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 arg3
= (int)SWIG_As_int(obj2
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16523 arg4
= (int)SWIG_As_int(obj3
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 if (!wxPyCheckForApp()) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= wxPyMake_wxObject(result
, 1);
16543 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxImageList
*arg1
= (wxImageList
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxImageList
*arg1
= (wxImageList
*) 0 ;
16571 wxBitmap
*arg2
= 0 ;
16572 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16573 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 PyObject
* obj2
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16588 if (arg2
== NULL
) {
16589 PyErr_SetString(PyExc_TypeError
,"null reference");
16593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16596 if (arg3
== NULL
) {
16597 PyErr_SetString(PyExc_TypeError
,"null reference");
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= SWIG_From_int((int)result
);
16615 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxImageList
*arg1
= (wxImageList
*) 0 ;
16618 wxBitmap
*arg2
= 0 ;
16619 wxColour
*arg3
= 0 ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 PyObject
* obj2
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16635 if (arg2
== NULL
) {
16636 PyErr_SetString(PyExc_TypeError
,"null reference");
16641 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16650 resultobj
= SWIG_From_int((int)result
);
16657 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxImageList
*arg1
= (wxImageList
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self",(char *) "icon", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16674 if (arg2
== NULL
) {
16675 PyErr_SetString(PyExc_TypeError
,"null reference");
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_From_int((int)result
);
16692 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16694 wxImageList
*arg1
= (wxImageList
*) 0 ;
16696 wxBitmap
*arg3
= 0 ;
16698 PyObject
* obj0
= 0 ;
16699 PyObject
* obj1
= 0 ;
16700 PyObject
* obj2
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16708 arg2
= (int)SWIG_As_int(obj1
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16713 if (arg3
== NULL
) {
16714 PyErr_SetString(PyExc_TypeError
,"null reference");
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16733 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxImageList
*arg1
= (wxImageList
*) 0 ;
16740 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16741 bool arg7
= (bool) (bool)false ;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 PyObject
* obj2
= 0 ;
16746 PyObject
* obj3
= 0 ;
16747 PyObject
* obj4
= 0 ;
16748 PyObject
* obj5
= 0 ;
16749 PyObject
* obj6
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16757 arg2
= (int)SWIG_As_int(obj1
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16759 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16762 if (arg3
== NULL
) {
16763 PyErr_SetString(PyExc_TypeError
,"null reference");
16766 arg4
= (int)SWIG_As_int(obj3
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16768 arg5
= (int)SWIG_As_int(obj4
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 arg6
= (int)SWIG_As_int(obj5
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 arg7
= (bool)SWIG_As_bool(obj6
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16794 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxImageList
*arg1
= (wxImageList
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (int)(arg1
)->GetImageCount();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_From_int((int)result
);
16820 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxImageList
*arg1
= (wxImageList
*) 0 ;
16825 PyObject
* obj0
= 0 ;
16826 PyObject
* obj1
= 0 ;
16827 char *kwnames
[] = {
16828 (char *) "self",(char *) "index", NULL
16831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16834 arg2
= (int)SWIG_As_int(obj1
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (bool)(arg1
)->Remove(arg2
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16852 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxImageList
*arg1
= (wxImageList
*) 0 ;
16856 PyObject
* obj0
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 result
= (bool)(arg1
)->RemoveAll();
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16880 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxImageList
*arg1
= (wxImageList
*) 0 ;
16890 PyObject
* obj0
= 0 ;
16891 PyObject
* obj1
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self",(char *) "index", NULL
16896 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16897 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16901 arg2
= (int)SWIG_As_int(obj1
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 Py_INCREF(Py_None
); resultobj
= Py_None
;
16911 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16912 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16913 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16914 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16921 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16924 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16926 return Py_BuildValue((char *)"");
16928 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16929 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16934 static PyObject
*_wrap_NORMAL_FONT_get() {
16937 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16942 static int _wrap_SMALL_FONT_set(PyObject
*) {
16943 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16948 static PyObject
*_wrap_SMALL_FONT_get() {
16951 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16956 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16957 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16962 static PyObject
*_wrap_ITALIC_FONT_get() {
16965 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16970 static int _wrap_SWISS_FONT_set(PyObject
*) {
16971 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16976 static PyObject
*_wrap_SWISS_FONT_get() {
16979 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16984 static int _wrap_RED_PEN_set(PyObject
*) {
16985 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16990 static PyObject
*_wrap_RED_PEN_get() {
16993 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16998 static int _wrap_CYAN_PEN_set(PyObject
*) {
16999 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17004 static PyObject
*_wrap_CYAN_PEN_get() {
17007 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17012 static int _wrap_GREEN_PEN_set(PyObject
*) {
17013 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17018 static PyObject
*_wrap_GREEN_PEN_get() {
17021 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17026 static int _wrap_BLACK_PEN_set(PyObject
*) {
17027 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17032 static PyObject
*_wrap_BLACK_PEN_get() {
17035 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17040 static int _wrap_WHITE_PEN_set(PyObject
*) {
17041 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17046 static PyObject
*_wrap_WHITE_PEN_get() {
17049 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17054 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
17055 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17060 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17063 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17068 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
17069 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17074 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17077 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17082 static int _wrap_GREY_PEN_set(PyObject
*) {
17083 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17088 static PyObject
*_wrap_GREY_PEN_get() {
17091 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17096 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
17097 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17102 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17105 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17110 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
17111 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17116 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17119 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17124 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
17125 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17130 static PyObject
*_wrap_BLUE_BRUSH_get() {
17133 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17138 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
17139 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17144 static PyObject
*_wrap_GREEN_BRUSH_get() {
17147 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17152 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
17153 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17158 static PyObject
*_wrap_WHITE_BRUSH_get() {
17161 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17166 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
17167 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17172 static PyObject
*_wrap_BLACK_BRUSH_get() {
17175 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17180 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17181 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17186 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17189 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17194 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17195 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17200 static PyObject
*_wrap_CYAN_BRUSH_get() {
17203 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17208 static int _wrap_RED_BRUSH_set(PyObject
*) {
17209 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17214 static PyObject
*_wrap_RED_BRUSH_get() {
17217 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17222 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17223 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17228 static PyObject
*_wrap_GREY_BRUSH_get() {
17231 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17236 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17237 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17242 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17245 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17250 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17251 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17256 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17259 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17264 static int _wrap_BLACK_set(PyObject
*) {
17265 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17270 static PyObject
*_wrap_BLACK_get() {
17273 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17278 static int _wrap_WHITE_set(PyObject
*) {
17279 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17284 static PyObject
*_wrap_WHITE_get() {
17287 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17292 static int _wrap_RED_set(PyObject
*) {
17293 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17298 static PyObject
*_wrap_RED_get() {
17301 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17306 static int _wrap_BLUE_set(PyObject
*) {
17307 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17312 static PyObject
*_wrap_BLUE_get() {
17315 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17320 static int _wrap_GREEN_set(PyObject
*) {
17321 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17326 static PyObject
*_wrap_GREEN_get() {
17329 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17334 static int _wrap_CYAN_set(PyObject
*) {
17335 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17340 static PyObject
*_wrap_CYAN_get() {
17343 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17348 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17349 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17354 static PyObject
*_wrap_LIGHT_GREY_get() {
17357 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17362 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17363 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17368 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17371 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17376 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17377 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17382 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17385 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17390 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17391 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17396 static PyObject
*_wrap_CROSS_CURSOR_get() {
17399 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17404 static int _wrap_NullBitmap_set(PyObject
*) {
17405 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17410 static PyObject
*_wrap_NullBitmap_get() {
17413 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17418 static int _wrap_NullIcon_set(PyObject
*) {
17419 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17424 static PyObject
*_wrap_NullIcon_get() {
17427 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17432 static int _wrap_NullCursor_set(PyObject
*) {
17433 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17438 static PyObject
*_wrap_NullCursor_get() {
17441 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17446 static int _wrap_NullPen_set(PyObject
*) {
17447 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17452 static PyObject
*_wrap_NullPen_get() {
17455 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17460 static int _wrap_NullBrush_set(PyObject
*) {
17461 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17466 static PyObject
*_wrap_NullBrush_get() {
17469 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17474 static int _wrap_NullPalette_set(PyObject
*) {
17475 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17480 static PyObject
*_wrap_NullPalette_get() {
17483 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17488 static int _wrap_NullFont_set(PyObject
*) {
17489 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17494 static PyObject
*_wrap_NullFont_get() {
17497 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17502 static int _wrap_NullColour_set(PyObject
*) {
17503 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17508 static PyObject
*_wrap_NullColour_get() {
17511 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17516 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxPenList
*arg1
= (wxPenList
*) 0 ;
17519 wxPen
*arg2
= (wxPen
*) 0 ;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "self",(char *) "pen", NULL
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->AddPen(arg2
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 Py_INCREF(Py_None
); resultobj
= Py_None
;
17545 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxPenList
*arg1
= (wxPenList
*) 0 ;
17548 wxColour
*arg2
= 0 ;
17553 PyObject
* obj0
= 0 ;
17554 PyObject
* obj1
= 0 ;
17555 PyObject
* obj2
= 0 ;
17556 PyObject
* obj3
= 0 ;
17557 char *kwnames
[] = {
17558 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17566 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17568 arg3
= (int)SWIG_As_int(obj2
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17570 arg4
= (int)SWIG_As_int(obj3
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17574 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17586 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17587 PyObject
*resultobj
;
17588 wxPenList
*arg1
= (wxPenList
*) 0 ;
17589 wxPen
*arg2
= (wxPen
*) 0 ;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self",(char *) "pen", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 (arg1
)->RemovePen(arg2
);
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 Py_INCREF(Py_None
); resultobj
= Py_None
;
17615 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
;
17617 wxPenList
*arg1
= (wxPenList
*) 0 ;
17619 PyObject
* obj0
= 0 ;
17620 char *kwnames
[] = {
17621 (char *) "self", NULL
17624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (int)(arg1
)->GetCount();
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_From_int((int)result
);
17641 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17644 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17646 return Py_BuildValue((char *)"");
17648 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17651 wxBrush
*arg2
= (wxBrush
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 char *kwnames
[] = {
17655 (char *) "self",(char *) "brush", NULL
17658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 (arg1
)->AddBrush(arg2
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 Py_INCREF(Py_None
); resultobj
= Py_None
;
17677 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17680 wxColour
*arg2
= 0 ;
17684 PyObject
* obj0
= 0 ;
17685 PyObject
* obj1
= 0 ;
17686 PyObject
* obj2
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self",(char *) "colour",(char *) "style", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17696 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17698 arg3
= (int)SWIG_As_int(obj2
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17714 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17717 wxBrush
*arg2
= (wxBrush
*) 0 ;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self",(char *) "brush", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 (arg1
)->RemoveBrush(arg2
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 Py_INCREF(Py_None
); resultobj
= Py_None
;
17743 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17747 PyObject
* obj0
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (int)(arg1
)->GetCount();
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= SWIG_From_int((int)result
);
17769 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17772 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17774 return Py_BuildValue((char *)"");
17776 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxColourDatabase
*result
;
17779 char *kwnames
[] = {
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17785 if (!wxPyCheckForApp()) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 result
= (wxColourDatabase
*)new wxColourDatabase();
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17799 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17802 PyObject
* obj0
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17824 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
;
17826 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17827 wxString
*arg2
= 0 ;
17829 bool temp2
= false ;
17830 PyObject
* obj0
= 0 ;
17831 PyObject
* obj1
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self",(char *) "name", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17840 arg2
= wxString_in_helper(obj1
);
17841 if (arg2
== NULL
) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17852 wxColour
* resultptr
;
17853 resultptr
= new wxColour((wxColour
&) result
);
17854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17870 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17873 wxColour
*arg2
= 0 ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "colour", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17887 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17909 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17912 wxString
*arg2
= 0 ;
17913 wxColour
*arg3
= 0 ;
17914 bool temp2
= false ;
17916 PyObject
* obj0
= 0 ;
17917 PyObject
* obj1
= 0 ;
17918 PyObject
* obj2
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self",(char *) "name",(char *) "colour", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 arg2
= wxString_in_helper(obj1
);
17928 if (arg2
== NULL
) SWIG_fail
;
17933 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 Py_INCREF(Py_None
); resultobj
= Py_None
;
17957 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17958 PyObject
*resultobj
;
17959 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17960 wxString
*arg2
= 0 ;
17964 bool temp2
= false ;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17967 PyObject
* obj2
= 0 ;
17968 PyObject
* obj3
= 0 ;
17969 PyObject
* obj4
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 arg2
= wxString_in_helper(obj1
);
17979 if (arg2
== NULL
) SWIG_fail
;
17982 arg3
= (int)SWIG_As_int(obj2
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17984 arg4
= (int)SWIG_As_int(obj3
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17986 arg5
= (int)SWIG_As_int(obj4
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 Py_INCREF(Py_None
); resultobj
= Py_None
;
18010 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
18012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18013 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18015 return Py_BuildValue((char *)"");
18017 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxFontList
*arg1
= (wxFontList
*) 0 ;
18020 wxFont
*arg2
= (wxFont
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 char *kwnames
[] = {
18024 (char *) "self",(char *) "font", NULL
18027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 (arg1
)->AddFont(arg2
);
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 Py_INCREF(Py_None
); resultobj
= Py_None
;
18046 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxFontList
*arg1
= (wxFontList
*) 0 ;
18053 bool arg6
= (bool) false ;
18054 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18055 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18056 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18058 bool temp7
= false ;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 PyObject
* obj3
= 0 ;
18063 PyObject
* obj4
= 0 ;
18064 PyObject
* obj5
= 0 ;
18065 PyObject
* obj6
= 0 ;
18066 PyObject
* obj7
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18074 arg2
= (int)SWIG_As_int(obj1
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18076 arg3
= (int)SWIG_As_int(obj2
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18078 arg4
= (int)SWIG_As_int(obj3
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18080 arg5
= (int)SWIG_As_int(obj4
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 arg6
= (bool)SWIG_As_bool(obj5
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18088 arg7
= wxString_in_helper(obj6
);
18089 if (arg7
== NULL
) SWIG_fail
;
18094 arg8
= (int)SWIG_As_int(obj7
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18119 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxFontList
*arg1
= (wxFontList
*) 0 ;
18122 wxFont
*arg2
= (wxFont
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj1
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self",(char *) "font", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 (arg1
)->RemoveFont(arg2
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxFontList
*arg1
= (wxFontList
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (int)(arg1
)->GetCount();
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_From_int((int)result
);
18174 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
18176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18177 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18179 return Py_BuildValue((char *)"");
18181 static int _wrap_TheFontList_set(PyObject
*) {
18182 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18187 static PyObject
*_wrap_TheFontList_get() {
18190 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18195 static int _wrap_ThePenList_set(PyObject
*) {
18196 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18201 static PyObject
*_wrap_ThePenList_get() {
18204 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18209 static int _wrap_TheBrushList_set(PyObject
*) {
18210 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18215 static PyObject
*_wrap_TheBrushList_get() {
18218 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18223 static int _wrap_TheColourDatabase_set(PyObject
*) {
18224 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18229 static PyObject
*_wrap_TheColourDatabase_get() {
18232 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18237 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18240 char *kwnames
[] = {
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (wxEffects
*)new wxEffects();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18259 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxEffects
*arg1
= (wxEffects
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18279 wxColour
* resultptr
;
18280 resultptr
= new wxColour((wxColour
&) result
);
18281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18289 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxEffects
*arg1
= (wxEffects
*) 0 ;
18293 PyObject
* obj0
= 0 ;
18294 char *kwnames
[] = {
18295 (char *) "self", NULL
18298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 wxColour
* resultptr
;
18310 resultptr
= new wxColour((wxColour
&) result
);
18311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18319 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 wxEffects
*arg1
= (wxEffects
*) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18339 wxColour
* resultptr
;
18340 resultptr
= new wxColour((wxColour
&) result
);
18341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18349 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxEffects
*arg1
= (wxEffects
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 wxColour
* resultptr
;
18370 resultptr
= new wxColour((wxColour
&) result
);
18371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18379 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
;
18381 wxEffects
*arg1
= (wxEffects
*) 0 ;
18383 PyObject
* obj0
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18395 wxPyEndAllowThreads(__tstate
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18399 wxColour
* resultptr
;
18400 resultptr
= new wxColour((wxColour
&) result
);
18401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18409 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18410 PyObject
*resultobj
;
18411 wxEffects
*arg1
= (wxEffects
*) 0 ;
18412 wxColour
*arg2
= 0 ;
18414 PyObject
* obj0
= 0 ;
18415 PyObject
* obj1
= 0 ;
18416 char *kwnames
[] = {
18417 (char *) "self",(char *) "c", NULL
18420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 Py_INCREF(Py_None
); resultobj
= Py_None
;
18441 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxEffects
*arg1
= (wxEffects
*) 0 ;
18444 wxColour
*arg2
= 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self",(char *) "c", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18457 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 Py_INCREF(Py_None
); resultobj
= Py_None
;
18473 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxEffects
*arg1
= (wxEffects
*) 0 ;
18476 wxColour
*arg2
= 0 ;
18478 PyObject
* obj0
= 0 ;
18479 PyObject
* obj1
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self",(char *) "c", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18489 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18498 Py_INCREF(Py_None
); resultobj
= Py_None
;
18505 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxEffects
*arg1
= (wxEffects
*) 0 ;
18508 wxColour
*arg2
= 0 ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "self",(char *) "c", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18521 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 Py_INCREF(Py_None
); resultobj
= Py_None
;
18537 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
;
18539 wxEffects
*arg1
= (wxEffects
*) 0 ;
18540 wxColour
*arg2
= 0 ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "c", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 Py_INCREF(Py_None
); resultobj
= Py_None
;
18569 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxEffects
*arg1
= (wxEffects
*) 0 ;
18572 wxColour
*arg2
= 0 ;
18573 wxColour
*arg3
= 0 ;
18574 wxColour
*arg4
= 0 ;
18575 wxColour
*arg5
= 0 ;
18576 wxColour
*arg6
= 0 ;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj1
= 0 ;
18584 PyObject
* obj2
= 0 ;
18585 PyObject
* obj3
= 0 ;
18586 PyObject
* obj4
= 0 ;
18587 PyObject
* obj5
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18597 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18601 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18605 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18609 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18613 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 Py_INCREF(Py_None
); resultobj
= Py_None
;
18629 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxEffects
*arg1
= (wxEffects
*) 0 ;
18634 int arg4
= (int) 1 ;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 PyObject
* obj2
= 0 ;
18639 PyObject
* obj3
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18650 if (arg2
== NULL
) {
18651 PyErr_SetString(PyExc_TypeError
,"null reference");
18656 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18659 arg4
= (int)SWIG_As_int(obj3
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 Py_INCREF(Py_None
); resultobj
= Py_None
;
18676 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxEffects
*arg1
= (wxEffects
*) 0 ;
18681 wxBitmap
*arg4
= 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 PyObject
* obj2
= 0 ;
18687 PyObject
* obj3
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18697 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18699 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18702 if (arg3
== NULL
) {
18703 PyErr_SetString(PyExc_TypeError
,"null reference");
18706 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18709 if (arg4
== NULL
) {
18710 PyErr_SetString(PyExc_TypeError
,"null reference");
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18729 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18732 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18734 return Py_BuildValue((char *)"");
18736 static PyMethodDef SwigMethods
[] = {
18737 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18743 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18749 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18750 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18753 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18754 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18760 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18766 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18778 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18785 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18797 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18825 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18827 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18842 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18850 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18851 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18858 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18864 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18866 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18893 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18907 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18914 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18918 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18919 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18922 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18923 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18926 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18931 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18933 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18934 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18935 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18936 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18937 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18938 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18939 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18940 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18941 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18943 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18944 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18945 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18947 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18948 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18949 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18950 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18951 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18952 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18953 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18954 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18955 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18956 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18957 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18958 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18960 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18962 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18964 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18965 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18966 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18968 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18969 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18970 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18973 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18974 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18975 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18976 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18978 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18979 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18980 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18982 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18984 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18985 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18986 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18987 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18990 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18991 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18992 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18994 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18997 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18998 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18999 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19000 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
19001 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19002 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19003 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19004 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19005 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19006 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19007 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19008 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
19009 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19010 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19011 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19012 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19013 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19014 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19015 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
19016 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19017 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19018 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19019 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19020 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19021 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19022 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19023 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19024 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19025 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19026 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19027 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19028 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19029 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19030 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19031 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19032 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19033 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19034 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19035 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19036 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19037 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
19038 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19039 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
19040 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19041 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19042 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19043 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19044 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19045 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19046 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19047 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
19048 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19049 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19050 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19051 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19052 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19053 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19054 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19055 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19056 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19057 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19058 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19059 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19060 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19061 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19062 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19063 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19064 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19065 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19066 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19067 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19068 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19069 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19070 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19071 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19072 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19073 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19074 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19075 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19076 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19077 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19078 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19079 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19080 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19081 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19082 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19083 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19084 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19085 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19086 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19087 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19088 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19089 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19090 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19091 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19092 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19093 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19094 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19095 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19096 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19097 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19098 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19099 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19100 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19101 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19102 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19103 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19104 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19105 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19106 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19107 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19108 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19109 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19110 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19111 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19112 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19113 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19114 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19115 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19116 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19117 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19118 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19119 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19120 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19121 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19122 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19123 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19124 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19125 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19126 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19127 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19128 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19129 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19130 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19131 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19132 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19133 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19134 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19135 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19136 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19137 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19138 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19139 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19140 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19141 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19142 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19143 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19144 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19145 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19146 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19147 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19148 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19149 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19150 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19151 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19152 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19153 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19154 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19155 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19156 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19157 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19158 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19159 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19160 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19161 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19162 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19163 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19164 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19165 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19166 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19167 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19168 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19169 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19170 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19171 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19172 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19173 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19174 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19175 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19176 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
19177 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19178 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19179 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19180 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
19181 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
19182 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19183 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19184 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19185 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19186 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19187 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19188 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19189 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19190 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19191 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19192 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19193 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19194 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19195 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19196 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19197 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19198 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19199 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19200 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19201 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19202 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19203 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19204 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19205 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19206 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19207 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19208 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19209 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19210 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19211 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19212 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19213 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19214 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19215 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19216 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19217 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19218 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19219 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19220 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19221 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19222 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19223 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19224 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19225 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19226 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19227 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19228 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19229 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19230 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19231 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19232 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19233 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19234 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19235 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19236 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19237 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19238 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19239 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19240 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19241 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19242 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19243 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19244 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19245 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19246 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19247 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19248 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19249 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19250 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19251 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19252 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19253 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19254 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19255 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19256 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19257 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19258 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19259 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19260 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19261 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19262 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19263 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19264 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19265 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19266 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19267 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19268 { NULL
, NULL
, 0, NULL
}
19272 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19274 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19275 return (void *)((wxWindow
*) ((wxControl
*) x
));
19277 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19278 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19280 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19281 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19283 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19284 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19286 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19287 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19289 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19290 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19292 static void *_p_wxPenTo_p_wxObject(void *x
) {
19293 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19295 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19296 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19298 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19299 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19301 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19302 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19304 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19305 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19307 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19308 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19310 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19311 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19313 static void *_p_wxIconTo_p_wxObject(void *x
) {
19314 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19316 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19317 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19319 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19320 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19322 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19323 return (void *)((wxObject
*) ((wxSizer
*) x
));
19325 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19326 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19328 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19329 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19331 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19332 return (void *)((wxObject
*) ((wxPenList
*) x
));
19334 static void *_p_wxEventTo_p_wxObject(void *x
) {
19335 return (void *)((wxObject
*) ((wxEvent
*) x
));
19337 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19338 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19340 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19341 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19343 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19344 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19346 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19347 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19349 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19350 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19352 static void *_p_wxDCTo_p_wxObject(void *x
) {
19353 return (void *)((wxObject
*) ((wxDC
*) x
));
19355 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19356 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19358 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19359 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19361 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19362 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19364 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19365 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19367 static void *_p_wxControlTo_p_wxObject(void *x
) {
19368 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19370 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19371 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19373 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19374 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19376 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19377 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19379 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19380 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19382 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19383 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19385 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19386 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19388 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19389 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19391 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19392 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19394 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19395 return (void *)((wxObject
*) ((wxEffects
*) x
));
19397 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19398 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19400 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19403 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19404 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19406 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19407 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19409 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19410 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19412 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19413 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19415 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19418 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19419 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19421 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19422 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19424 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19425 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19427 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19428 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19430 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19431 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19433 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19434 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19436 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19439 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19442 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19445 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19448 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19451 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19454 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19455 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19457 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19458 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19460 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19463 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19466 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19467 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19469 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19472 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19473 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19475 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19476 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19478 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19479 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19481 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19482 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19484 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19485 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19487 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19488 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19490 static void *_p_wxImageTo_p_wxObject(void *x
) {
19491 return (void *)((wxObject
*) ((wxImage
*) x
));
19493 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19494 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19496 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19497 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19499 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19500 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19502 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19503 return (void *)((wxObject
*) ((wxImageList
*) x
));
19505 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19506 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19508 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19509 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19511 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19512 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19514 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19517 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19518 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19520 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19521 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19523 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19524 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19526 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19527 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19529 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19532 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19533 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19535 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19536 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19538 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19539 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19541 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19542 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19544 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19545 return (void *)((wxObject
*) ((wxMask
*) x
));
19547 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19550 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19551 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19553 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19554 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19556 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19557 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19559 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19560 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19562 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19563 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19565 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19568 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19569 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19571 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19572 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19574 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19575 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19577 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19578 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19580 static void *_p_wxFontTo_p_wxObject(void *x
) {
19581 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19583 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19584 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19586 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19587 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19589 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19590 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19592 static void *_p_wxColourTo_p_wxObject(void *x
) {
19593 return (void *)((wxObject
*) ((wxColour
*) x
));
19595 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19596 return (void *)((wxObject
*) ((wxFontList
*) x
));
19598 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19601 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19602 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19604 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19605 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19607 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19608 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19610 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19611 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19613 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19614 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19616 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19617 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19619 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19620 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19622 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19623 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19625 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19626 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19628 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19629 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19631 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19632 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19634 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19635 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19637 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19638 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19640 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19641 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19643 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19644 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19646 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19647 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19649 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19650 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19652 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19653 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19655 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19656 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19658 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19659 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19661 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19662 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19664 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}};
19665 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}};
19666 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}};
19667 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}};
19668 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}};
19669 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}};
19670 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}};
19671 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}};
19672 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}};
19673 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}};
19674 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}};
19675 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}};
19676 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}};
19677 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}};
19678 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}};
19679 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}};
19680 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}};
19681 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}};
19682 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}};
19683 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}};
19684 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}};
19685 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}};
19686 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}};
19687 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}};
19688 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}};
19689 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}};
19690 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}};
19691 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}};
19692 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}};
19693 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}};
19694 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}};
19695 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}};
19696 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}};
19697 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}};
19698 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}};
19699 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}};
19700 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}};
19701 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}};
19702 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}};
19703 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}};
19704 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}};
19705 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}};
19706 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}};
19707 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}};
19708 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}};
19709 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}};
19710 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}};
19711 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}};
19712 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}};
19713 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}};
19714 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}};
19715 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}};
19716 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}};
19717 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}};
19718 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}};
19720 static swig_type_info
*swig_types_initial
[] = {
19721 _swigt__p_wxPostScriptDC
,
19723 _swigt__p_wxColour
,
19725 _swigt__p_wxMirrorDC
,
19727 _swigt__p_wxPyFontEnumerator
,
19729 _swigt__p_wxIconLocation
,
19731 _swigt__p_wxMetaFileDC
,
19735 _swigt__p_wxWindow
,
19737 _swigt__p_wxMemoryDC
,
19738 _swigt__p_wxFontMapper
,
19739 _swigt__p_wxEffects
,
19740 _swigt__p_wxNativeEncodingInfo
,
19741 _swigt__p_wxPalette
,
19742 _swigt__p_wxBitmap
,
19743 _swigt__p_wxObject
,
19744 _swigt__p_wxRegionIterator
,
19746 _swigt__p_wxString
,
19747 _swigt__p_wxPrinterDC
,
19748 _swigt__p_wxIconBundle
,
19751 _swigt__p_wxScreenDC
,
19752 _swigt__p_wxCursor
,
19753 _swigt__p_wxClientDC
,
19754 _swigt__p_wxBufferedDC
,
19755 _swigt__p_wxImageList
,
19756 _swigt__p_unsigned_char
,
19757 _swigt__p_wxGDIObject
,
19759 _swigt__p_wxLocale
,
19760 _swigt__p_wxRegion
,
19761 _swigt__p_wxLanguageInfo
,
19762 _swigt__p_wxConfigBase
,
19763 _swigt__p_wxWindowDC
,
19764 _swigt__p_wxPrintData
,
19765 _swigt__p_wxBrushList
,
19766 _swigt__p_wxFontList
,
19768 _swigt__p_wxBufferedPaintDC
,
19769 _swigt__p_wxPaintDC
,
19770 _swigt__p_wxPenList
,
19772 _swigt__p_wxMetaFile
,
19773 _swigt__p_wxNativeFontInfo
,
19774 _swigt__p_wxEncodingConverter
,
19775 _swigt__p_wxColourDatabase
,
19780 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19782 static swig_const_info swig_const_table
[] = {
19783 {0, 0, 0, 0.0, 0, 0}};
19792 SWIGEXPORT(void) SWIG_init(void) {
19793 static PyObject
*SWIG_globals
= 0;
19794 static int typeinit
= 0;
19797 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19798 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19799 d
= PyModule_GetDict(m
);
19802 for (i
= 0; swig_types_initial
[i
]; i
++) {
19803 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19807 SWIG_InstallConstants(d
,swig_const_table
);
19809 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19810 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19811 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19812 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19813 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19814 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19815 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19816 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19817 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19818 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19819 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19820 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19821 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19822 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19823 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19824 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19825 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19826 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19827 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19828 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19829 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19830 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19831 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19832 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19833 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19834 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19835 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19836 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19837 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19838 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19839 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19840 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19841 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19842 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19843 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19844 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19845 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19846 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19847 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19848 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19849 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19850 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19851 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19852 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19853 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19854 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19855 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19856 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19857 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19858 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19859 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19860 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19861 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19862 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19863 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19864 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19865 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19866 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19867 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19868 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19869 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19870 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19871 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19872 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19873 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19874 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19875 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19876 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19877 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19878 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19879 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19880 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19881 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19882 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19883 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19884 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19885 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19886 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19887 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19888 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19889 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19890 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19891 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19892 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19893 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19894 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19895 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19896 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19897 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19898 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19899 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19900 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19901 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19902 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19903 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19904 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19905 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19906 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19907 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19908 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19909 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19910 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19911 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19912 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19913 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19914 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19915 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19916 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19917 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19918 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19919 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19920 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19921 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19922 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19923 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19924 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19925 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19926 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19927 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19928 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19929 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19930 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19931 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19932 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19933 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19934 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19935 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19937 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19939 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19940 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19941 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19942 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19943 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19944 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19945 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19946 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19947 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19948 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19949 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19950 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19951 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19952 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19953 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19954 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19955 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19956 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19957 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19958 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19959 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19960 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19961 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19962 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19963 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19964 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19965 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19966 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19967 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19968 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19969 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19970 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19971 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19972 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19973 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19974 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19975 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19976 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19977 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19978 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19979 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19980 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19981 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19982 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19983 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19984 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19985 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19986 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19987 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19988 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19989 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19990 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19991 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19992 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19993 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19994 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19995 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19996 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19997 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19998 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19999 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
20000 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20001 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
20002 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20003 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
20004 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
20005 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20006 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20007 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20008 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20009 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20010 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20011 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
20012 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
20013 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
20014 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
20015 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
20016 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
20017 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
20018 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
20019 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
20020 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20021 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
20022 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
20023 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
20024 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
20025 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
20026 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
20027 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20028 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
20029 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20030 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20031 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
20032 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
20033 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
20034 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
20035 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
20036 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
20037 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
20038 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
20039 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
20040 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
20041 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
20042 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
20043 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
20044 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
20045 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
20046 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
20047 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
20048 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
20049 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
20050 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
20051 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
20052 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
20053 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
20054 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
20055 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
20056 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
20057 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
20058 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
20059 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
20060 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
20061 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
20062 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
20063 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
20064 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
20065 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
20066 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
20067 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
20068 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
20069 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
20070 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
20071 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20072 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
20073 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
20074 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
20075 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
20076 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
20077 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
20078 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
20079 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
20080 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
20081 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
20082 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20083 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20084 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
20085 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
20086 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
20087 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
20088 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
20089 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
20090 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20091 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
20092 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
20093 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
20094 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
20095 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
20096 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20097 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
20098 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
20099 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
20100 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
20101 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
20102 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20103 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
20104 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
20105 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
20106 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
20107 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
20108 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
20109 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
20110 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
20111 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
20112 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
20113 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
20114 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
20115 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20116 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20117 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
20118 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20119 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20120 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20121 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
20122 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20123 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20124 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
20125 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
20126 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
20127 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20128 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
20129 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20130 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
20131 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20132 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
20133 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
20134 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20135 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
20136 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
20137 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
20138 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
20139 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
20140 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
20141 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
20142 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
20143 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
20144 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
20145 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
20146 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
20147 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
20148 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
20149 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
20150 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
20151 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
20152 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
20153 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
20154 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
20155 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
20156 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
20157 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
20158 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20159 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
20160 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
20161 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
20162 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
20163 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
20164 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
20165 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
20166 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
20167 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
20168 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
20169 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
20170 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
20171 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
20172 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
20173 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
20174 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
20175 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
20176 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
20177 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
20178 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
20179 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
20180 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
20181 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
20182 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
20183 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
20184 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
20185 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
20186 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20187 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
20188 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
20189 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20190 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20191 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20192 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20193 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20194 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20195 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20196 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20197 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20198 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20199 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20200 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20201 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20202 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20203 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20204 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20205 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20206 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20207 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20208 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20209 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20210 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20211 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20212 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20213 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20214 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20215 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20216 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20217 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20218 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20219 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20220 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20221 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20222 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20223 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20224 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20225 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20226 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20227 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20228 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20229 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20230 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20231 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20232 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20233 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20234 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20235 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20236 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20237 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20238 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20240 // Work around a chicken/egg problem in drawlist.cpp
20241 wxPyDrawList_SetAPIPtr();