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
) {
626 target
= PyTuple_New(1);
627 PyTuple_SetItem(target
, 0, o2
);
630 PyTuple_SetItem(o3
, 0, o
);
633 target
= PySequence_Concat(o2
, o3
);
641 PyObject
*wxPen_GetDashes(wxPen
*self
){
643 int count
= self
->GetDashes(&dashes
);
644 bool blocked
= wxPyBeginBlockThreads();
645 PyObject
* retval
= PyList_New(0);
646 for (int x
=0; x
<count
; x
++) {
647 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
648 PyList_Append(retval
, pyint
);
651 wxPyEndBlockThreads(blocked
);
654 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
655 bool blocked
= wxPyBeginBlockThreads();
656 int size
= PyList_Size(pyDashes
);
657 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
659 // black magic warning! The array of wxDashes needs to exist as
660 // long as the pen does because wxPen does not copy the array. So
661 // stick a copy in a Python string object and attach it to _self,
662 // and then call SetDashes with a pointer to that array. Then
663 // when the Python pen object is destroyed the array will be
665 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
666 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
668 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
670 Py_DECREF(strDashes
);
671 wxPyEndBlockThreads(blocked
);
673 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : False
; }
674 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : True
; }
676 SWIGSTATICINLINE(int)
677 SWIG_AsVal_short(PyObject
*obj
, short *val
)
679 const char* errmsg
= val
? "short" : 0;
681 if (SWIG_AsVal_long(obj
, &v
)) {
682 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
683 if (val
) *val
= swig_numeric_cast(v
, short);
692 PyErr_SetString(PyExc_TypeError
, "a short is expected");
698 SWIGSTATICINLINE(short)
699 SWIG_As_short(PyObject
* obj
)
702 if (!SWIG_AsVal_short(obj
, &v
)) {
704 this is needed to make valgrind/purify happier. the other
705 solution is throw an exception, but since this code should work
708 memset((void*)&v
, 0, sizeof(short));
714 SWIGSTATICINLINE(int)
715 SWIG_Check_short(PyObject
* obj
)
717 return SWIG_AsVal_short(obj
, (short*)0);
721 #include <wx/image.h>
723 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
724 char** cArray
= NULL
;
727 if (!PyList_Check(listOfStrings
)) {
728 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
731 count
= PyList_Size(listOfStrings
);
732 cArray
= new char*[count
];
734 for(int x
=0; x
<count
; x
++) {
735 // TODO: Need some validation and error checking here
736 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
742 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
743 char** cArray
= NULL
;
746 cArray
= ConvertListOfStrings(listOfStrings
);
749 bmp
= new wxBitmap(cArray
);
753 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
756 PyString_AsStringAndSize(bits
, &buf
, &length
);
757 return new wxBitmap(buf
, width
, height
, depth
);
759 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
760 wxSize
size(self
->GetWidth(), self
->GetHeight());
763 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
764 wxMask
*mask
= new wxMask(*self
, colour
);
767 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
768 self
->SetWidth(size
.x
);
769 self
->SetHeight(size
.y
);
771 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : False
; }
772 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : True
; }
773 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
775 return new wxMask(bitmap
, *wxBLACK
);
777 return new wxMask(bitmap
, colour
);
780 #include <wx/iconbndl.h>
782 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
783 wxIcon
* icon
= new wxIcon();
784 icon
->CopyFromBitmap(bmp
);
787 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
788 char** cArray
= NULL
;
791 cArray
= ConvertListOfStrings(listOfStrings
);
794 icon
= new wxIcon(cArray
);
798 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
802 return new wxIconLocation(*filename
);
805 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
812 int wxIconLocation_GetIndex(wxIconLocation
*self
){
820 SWIGSTATICINLINE(long)
821 SWIG_As_long(PyObject
* obj
)
824 if (!SWIG_AsVal_long(obj
, &v
)) {
826 this is needed to make valgrind/purify happier. the other
827 solution is throw an exception, but since this code should work
830 memset((void*)&v
, 0, sizeof(long));
836 SWIGSTATICINLINE(int)
837 SWIG_Check_long(PyObject
* obj
)
839 return SWIG_AsVal_long(obj
, (long*)0);
842 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
844 wxCHECK_MSG(False
, NULL
,
845 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
847 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
852 void wxRegionIterator_Next(wxRegionIterator
*self
){
855 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
856 return self
->operator bool();
859 #include <wx/fontutil.h>
860 #include <wx/fontmap.h>
861 #include <wx/fontenum.h>
863 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
864 return self
->ToString();
867 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
868 static wxNativeEncodingInfo info
;
869 if ( wxGetNativeFontEncoding(encoding
, &info
) )
875 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
876 wxFontEncoding alt_enc
;
877 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
878 return PyInt_FromLong(alt_enc
);
884 wxFont
*new_wxFont(wxString
const &info
){
885 wxNativeFontInfo nfi
;
886 nfi
.FromString(info
);
887 return new wxFont(nfi
);
889 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
890 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
892 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : False
; }
893 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : True
; }
895 class wxPyFontEnumerator
: public wxFontEnumerator
{
897 wxPyFontEnumerator() {}
898 ~wxPyFontEnumerator() {}
900 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
901 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
906 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
907 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
910 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
911 wxArrayString
* arr
= self
->GetEncodings();
913 return wxArrayString2PyList_helper(*arr
);
915 return PyList_New(0);
917 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
918 wxArrayString
* arr
= self
->GetFacenames();
920 return wxArrayString2PyList_helper(*arr
);
922 return PyList_New(0);
926 wxLocale
*new_wxLocale(int language
,int flags
){
928 return new wxLocale();
930 return new wxLocale(language
, flags
);
933 #include "wx/wxPython/pydrawxxx.h"
935 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
937 self
->GetPixel(x
, y
, &col
);
940 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
942 self
->GetPixel(pt
, &col
);
946 // See my_fragments.i
947 SWIGSTATICINLINE(int)
948 SWIG_AsVal_double(PyObject
*obj
, double* val
)
950 if (PyNumber_Check(obj
)) {
951 if (val
) *val
= PyFloat_AsDouble(obj
);
955 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
956 obj
->ob_type
->tp_name
);
957 PyErr_SetObject(PyExc_TypeError
, errmsg
);
964 SWIGSTATICINLINE(double)
965 SWIG_As_double(PyObject
* obj
)
968 if (!SWIG_AsVal_double(obj
, &v
)) {
970 this is needed to make valgrind/purify happier. the other
971 solution is throw an exception, but since this code should work
974 memset((void*)&v
, 0, sizeof(double));
980 SWIGSTATICINLINE(int)
981 SWIG_Check_double(PyObject
* obj
)
983 return SWIG_AsVal_double(obj
, (double*)0);
986 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
988 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
992 wxRect
wxDC_GetClippingRect(wxDC
*self
){
994 self
->GetClippingBox(rect
);
997 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
999 self
->GetPartialTextExtents(text
, widths
);
1003 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
1004 self
->SetLogicalOrigin(point
.x
, point
.y
);
1006 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
1007 self
->SetDeviceOrigin(point
.x
, point
.y
);
1009 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
1010 self
->CalcBoundingBox(point
.x
, point
.y
);
1012 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1013 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
1015 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1016 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
1018 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1019 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
1021 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1022 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
1024 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1025 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
1027 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
1028 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
1031 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1039 #include <wx/dcbuffer.h>
1042 #include <wx/dcps.h>
1045 #include <wx/metafile.h>
1049 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1050 self
->AddColour(name
, wxColour(red
, green
, blue
));
1053 #include <wx/effects.h>
1058 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
*resultobj
;
1060 wxGDIObject
*result
;
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1067 if (!wxPyCheckForApp()) SWIG_fail
;
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 result
= (wxGDIObject
*)new wxGDIObject();
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) SWIG_fail
;
1074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1081 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
*resultobj
;
1083 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1084 PyObject
* obj0
= 0 ;
1086 (char *) "self", NULL
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 wxPyEndAllowThreads(__tstate
);
1097 if (PyErr_Occurred()) SWIG_fail
;
1099 Py_INCREF(Py_None
); resultobj
= Py_None
;
1106 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
*resultobj
;
1108 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1110 PyObject
* obj0
= 0 ;
1112 (char *) "self", NULL
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1120 result
= (bool)(arg1
)->GetVisible();
1122 wxPyEndAllowThreads(__tstate
);
1123 if (PyErr_Occurred()) SWIG_fail
;
1126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1134 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
*resultobj
;
1136 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1138 PyObject
* obj0
= 0 ;
1139 PyObject
* obj1
= 0 ;
1141 (char *) "self",(char *) "visible", NULL
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1147 arg2
= (bool)SWIG_As_bool(obj1
);
1148 if (PyErr_Occurred()) SWIG_fail
;
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 (arg1
)->SetVisible(arg2
);
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) SWIG_fail
;
1156 Py_INCREF(Py_None
); resultobj
= Py_None
;
1163 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
*resultobj
;
1165 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1167 PyObject
* obj0
= 0 ;
1169 (char *) "self", NULL
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 result
= (bool)(arg1
)->IsNull();
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1191 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1194 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1196 return Py_BuildValue((char *)"");
1198 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
*resultobj
;
1200 byte arg1
= (byte
) 0 ;
1201 byte arg2
= (byte
) 0 ;
1202 byte arg3
= (byte
) 0 ;
1204 PyObject
* obj0
= 0 ;
1205 PyObject
* obj1
= 0 ;
1206 PyObject
* obj2
= 0 ;
1208 (char *) "red",(char *) "green",(char *) "blue", NULL
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1213 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1214 if (PyErr_Occurred()) SWIG_fail
;
1217 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1221 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1222 if (PyErr_Occurred()) SWIG_fail
;
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1238 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
*resultobj
;
1240 wxString
*arg1
= 0 ;
1242 bool temp1
= False
;
1243 PyObject
* obj0
= 0 ;
1245 (char *) "colorName", NULL
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1250 arg1
= wxString_in_helper(obj0
);
1251 if (arg1
== NULL
) SWIG_fail
;
1255 if (!wxPyCheckForApp()) SWIG_fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1277 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
*resultobj
;
1279 unsigned long arg1
;
1281 PyObject
* obj0
= 0 ;
1283 (char *) "colRGB", NULL
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1287 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 result
= (wxColour
*)new wxColour(arg1
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1303 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1305 wxColour
*arg1
= (wxColour
*) 0 ;
1306 PyObject
* obj0
= 0 ;
1308 (char *) "self", NULL
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1321 Py_INCREF(Py_None
); resultobj
= Py_None
;
1328 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
*resultobj
;
1330 wxColour
*arg1
= (wxColour
*) 0 ;
1332 PyObject
* obj0
= 0 ;
1334 (char *) "self", NULL
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 result
= (byte
)(arg1
)->Red();
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) SWIG_fail
;
1347 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1354 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
*resultobj
;
1356 wxColour
*arg1
= (wxColour
*) 0 ;
1358 PyObject
* obj0
= 0 ;
1360 (char *) "self", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 result
= (byte
)(arg1
)->Green();
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1380 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
*resultobj
;
1382 wxColour
*arg1
= (wxColour
*) 0 ;
1384 PyObject
* obj0
= 0 ;
1386 (char *) "self", NULL
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (byte
)(arg1
)->Blue();
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1399 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1406 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxColour
*arg1
= (wxColour
*) 0 ;
1410 PyObject
* obj0
= 0 ;
1412 (char *) "self", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= (bool)(arg1
)->Ok();
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1434 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1435 PyObject
*resultobj
;
1436 wxColour
*arg1
= (wxColour
*) 0 ;
1440 PyObject
* obj0
= 0 ;
1441 PyObject
* obj1
= 0 ;
1442 PyObject
* obj2
= 0 ;
1443 PyObject
* obj3
= 0 ;
1445 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1451 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1452 if (PyErr_Occurred()) SWIG_fail
;
1453 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1454 if (PyErr_Occurred()) SWIG_fail
;
1455 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1456 if (PyErr_Occurred()) SWIG_fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 (arg1
)->Set(arg2
,arg3
,arg4
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1464 Py_INCREF(Py_None
); resultobj
= Py_None
;
1471 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
*resultobj
;
1473 wxColour
*arg1
= (wxColour
*) 0 ;
1474 unsigned long arg2
;
1475 PyObject
* obj0
= 0 ;
1476 PyObject
* obj1
= 0 ;
1478 (char *) "self",(char *) "colRGB", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1484 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) SWIG_fail
;
1493 Py_INCREF(Py_None
); resultobj
= Py_None
;
1500 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
*resultobj
;
1502 wxColour
*arg1
= (wxColour
*) 0 ;
1503 wxString
*arg2
= 0 ;
1504 bool temp2
= False
;
1505 PyObject
* obj0
= 0 ;
1506 PyObject
* obj1
= 0 ;
1508 (char *) "self",(char *) "colourName", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1515 arg2
= wxString_in_helper(obj1
);
1516 if (arg2
== NULL
) SWIG_fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 (arg1
)->InitFromName((wxString
const &)*arg2
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1526 Py_INCREF(Py_None
); resultobj
= Py_None
;
1541 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1543 wxColour
*arg1
= (wxColour
*) 0 ;
1545 PyObject
* obj0
= 0 ;
1547 (char *) "self", NULL
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) SWIG_fail
;
1560 resultobj
= SWIG_From_long((long)result
);
1567 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1569 wxColour
*arg1
= (wxColour
*) 0 ;
1570 wxColour
*arg2
= 0 ;
1573 PyObject
* obj0
= 0 ;
1574 PyObject
* obj1
= 0 ;
1576 (char *) "self",(char *) "colour", NULL
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1584 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1588 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1590 wxPyEndAllowThreads(__tstate
);
1591 if (PyErr_Occurred()) SWIG_fail
;
1594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1602 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
*resultobj
;
1604 wxColour
*arg1
= (wxColour
*) 0 ;
1605 wxColour
*arg2
= 0 ;
1608 PyObject
* obj0
= 0 ;
1609 PyObject
* obj1
= 0 ;
1611 (char *) "self",(char *) "colour", NULL
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1619 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) SWIG_fail
;
1629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1637 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxColour
*arg1
= (wxColour
*) 0 ;
1641 PyObject
* obj0
= 0 ;
1643 (char *) "self", NULL
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 result
= (PyObject
*)wxColour_Get(arg1
);
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1663 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
*resultobj
;
1665 wxColour
*arg1
= (wxColour
*) 0 ;
1666 unsigned long result
;
1667 PyObject
* obj0
= 0 ;
1669 (char *) "self", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 result
= (unsigned long)wxColour_GetRGB(arg1
);
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1682 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1689 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1692 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1694 return Py_BuildValue((char *)"");
1696 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
*resultobj
;
1699 unsigned char *arg2
= (unsigned char *) 0 ;
1700 unsigned char *arg3
= (unsigned char *) 0 ;
1701 unsigned char *arg4
= (unsigned char *) 0 ;
1703 PyObject
* obj0
= 0 ;
1704 PyObject
* obj1
= 0 ;
1705 PyObject
* obj2
= 0 ;
1706 PyObject
* obj3
= 0 ;
1708 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1712 arg1
= (int)SWIG_As_int(obj0
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1716 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1718 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1721 if (!wxPyCheckForApp()) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1735 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
*resultobj
;
1737 wxPalette
*arg1
= (wxPalette
*) 0 ;
1738 PyObject
* obj0
= 0 ;
1740 (char *) "self", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) SWIG_fail
;
1753 Py_INCREF(Py_None
); resultobj
= Py_None
;
1760 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1762 wxPalette
*arg1
= (wxPalette
*) 0 ;
1767 PyObject
* obj0
= 0 ;
1768 PyObject
* obj1
= 0 ;
1769 PyObject
* obj2
= 0 ;
1770 PyObject
* obj3
= 0 ;
1772 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1778 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1780 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1782 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 resultobj
= SWIG_From_int((int)result
);
1798 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxPalette
*arg1
= (wxPalette
*) 0 ;
1802 byte
*arg3
= (byte
*) 0 ;
1803 byte
*arg4
= (byte
*) 0 ;
1804 byte
*arg5
= (byte
*) 0 ;
1812 PyObject
* obj0
= 0 ;
1813 PyObject
* obj1
= 0 ;
1815 (char *) "self",(char *) "pixel", NULL
1818 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1819 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1820 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1824 arg2
= (int)SWIG_As_int(obj1
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1836 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1837 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1838 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1839 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1840 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1841 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1848 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxPalette
*arg1
= (wxPalette
*) 0 ;
1852 PyObject
* obj0
= 0 ;
1854 (char *) "self", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 result
= (bool)(arg1
)->Ok();
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1876 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1879 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1881 return Py_BuildValue((char *)"");
1883 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxColour
*arg1
= 0 ;
1886 int arg2
= (int) 1 ;
1887 int arg3
= (int) wxSOLID
;
1890 PyObject
* obj0
= 0 ;
1891 PyObject
* obj1
= 0 ;
1892 PyObject
* obj2
= 0 ;
1894 (char *) "colour",(char *) "width",(char *) "style", NULL
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1900 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1903 arg2
= (int)SWIG_As_int(obj1
);
1904 if (PyErr_Occurred()) SWIG_fail
;
1907 arg3
= (int)SWIG_As_int(obj2
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1911 if (!wxPyCheckForApp()) SWIG_fail
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1925 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxPen
*arg1
= (wxPen
*) 0 ;
1928 PyObject
* obj0
= 0 ;
1930 (char *) "self", NULL
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 Py_INCREF(Py_None
); resultobj
= Py_None
;
1950 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 wxPen
*arg1
= (wxPen
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1956 (char *) "self", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 result
= (int)(arg1
)->GetCap();
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 resultobj
= SWIG_From_int((int)result
);
1976 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1978 wxPen
*arg1
= (wxPen
*) 0 ;
1980 PyObject
* obj0
= 0 ;
1982 (char *) "self", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 result
= (arg1
)->GetColour();
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1996 wxColour
* resultptr
;
1997 resultptr
= new wxColour((wxColour
&) result
);
1998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2006 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxPen
*arg1
= (wxPen
*) 0 ;
2010 PyObject
* obj0
= 0 ;
2012 (char *) "self", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 result
= (int)(arg1
)->GetJoin();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 resultobj
= SWIG_From_int((int)result
);
2032 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxPen
*arg1
= (wxPen
*) 0 ;
2036 PyObject
* obj0
= 0 ;
2038 (char *) "self", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 result
= (int)(arg1
)->GetStyle();
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2051 resultobj
= SWIG_From_int((int)result
);
2058 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
*resultobj
;
2060 wxPen
*arg1
= (wxPen
*) 0 ;
2062 PyObject
* obj0
= 0 ;
2064 (char *) "self", NULL
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 result
= (int)(arg1
)->GetWidth();
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2077 resultobj
= SWIG_From_int((int)result
);
2084 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
*resultobj
;
2086 wxPen
*arg1
= (wxPen
*) 0 ;
2088 PyObject
* obj0
= 0 ;
2090 (char *) "self", NULL
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 result
= (bool)(arg1
)->Ok();
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) SWIG_fail
;
2104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2112 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxPen
*arg1
= (wxPen
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2119 (char *) "self",(char *) "cap_style", NULL
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2125 arg2
= (int)SWIG_As_int(obj1
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 (arg1
)->SetCap(arg2
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 Py_INCREF(Py_None
); resultobj
= Py_None
;
2141 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxPen
*arg1
= (wxPen
*) 0 ;
2144 wxColour
*arg2
= 0 ;
2146 PyObject
* obj0
= 0 ;
2147 PyObject
* obj1
= 0 ;
2149 (char *) "self",(char *) "colour", NULL
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 (arg1
)->SetColour(*arg2
);
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2166 Py_INCREF(Py_None
); resultobj
= Py_None
;
2173 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2175 wxPen
*arg1
= (wxPen
*) 0 ;
2177 PyObject
* obj0
= 0 ;
2178 PyObject
* obj1
= 0 ;
2180 (char *) "self",(char *) "join_style", NULL
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2186 arg2
= (int)SWIG_As_int(obj1
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 (arg1
)->SetJoin(arg2
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 Py_INCREF(Py_None
); resultobj
= Py_None
;
2202 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxPen
*arg1
= (wxPen
*) 0 ;
2206 PyObject
* obj0
= 0 ;
2207 PyObject
* obj1
= 0 ;
2209 (char *) "self",(char *) "style", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 arg2
= (int)SWIG_As_int(obj1
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 (arg1
)->SetStyle(arg2
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2231 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxPen
*arg1
= (wxPen
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2236 PyObject
* obj1
= 0 ;
2238 (char *) "self",(char *) "width", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 arg2
= (int)SWIG_As_int(obj1
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 (arg1
)->SetWidth(arg2
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxPen
*arg1
= (wxPen
*) 0 ;
2264 wxDash
*arg3
= (wxDash
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2268 (char *) "self",(char *) "dashes", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 arg2
= PyList_Size(obj1
);
2276 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2277 if (arg3
== NULL
) SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 (arg1
)->SetDashes(arg2
,arg3
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 Py_INCREF(Py_None
); resultobj
= Py_None
;
2288 if (arg3
) delete [] arg3
;
2293 if (arg3
) delete [] arg3
;
2299 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxPen
*arg1
= (wxPen
*) 0 ;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "self", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2325 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2327 wxPen
*arg1
= (wxPen
*) 0 ;
2328 PyObject
*arg2
= (PyObject
*) 0 ;
2329 PyObject
*arg3
= (PyObject
*) 0 ;
2330 PyObject
* obj0
= 0 ;
2331 PyObject
* obj1
= 0 ;
2332 PyObject
* obj2
= 0 ;
2334 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 wxPen__SetDashes(arg1
,arg2
,arg3
);
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 Py_INCREF(Py_None
); resultobj
= Py_None
;
2356 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
*resultobj
;
2358 wxPen
*arg1
= (wxPen
*) 0 ;
2359 wxPen
*arg2
= (wxPen
*) 0 ;
2361 PyObject
* obj0
= 0 ;
2362 PyObject
* obj1
= 0 ;
2364 (char *) "self",(char *) "other", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2388 static PyObject
*_wrap_Pen___ne__(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___ne__",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___ne__(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
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2423 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2425 return Py_BuildValue((char *)"");
2427 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
*resultobj
;
2429 wxColour
*arg1
= 0 ;
2430 int arg2
= (int) wxSOLID
;
2433 PyObject
* obj0
= 0 ;
2434 PyObject
* obj1
= 0 ;
2436 (char *) "colour",(char *) "style", NULL
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2442 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2445 arg2
= (int)SWIG_As_int(obj1
);
2446 if (PyErr_Occurred()) SWIG_fail
;
2449 if (!wxPyCheckForApp()) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2463 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 wxBrush
*arg1
= (wxBrush
*) 0 ;
2466 PyObject
* obj0
= 0 ;
2468 (char *) "self", NULL
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) SWIG_fail
;
2481 Py_INCREF(Py_None
); resultobj
= Py_None
;
2488 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
*resultobj
;
2490 wxBrush
*arg1
= (wxBrush
*) 0 ;
2491 wxColour
*arg2
= 0 ;
2493 PyObject
* obj0
= 0 ;
2494 PyObject
* obj1
= 0 ;
2496 (char *) "self",(char *) "col", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2504 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 (arg1
)->SetColour((wxColour
const &)*arg2
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2513 Py_INCREF(Py_None
); resultobj
= Py_None
;
2520 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
*resultobj
;
2522 wxBrush
*arg1
= (wxBrush
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2525 PyObject
* obj1
= 0 ;
2527 (char *) "self",(char *) "style", NULL
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2533 arg2
= (int)SWIG_As_int(obj1
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 (arg1
)->SetStyle(arg2
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 Py_INCREF(Py_None
); resultobj
= Py_None
;
2549 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxBrush
*arg1
= (wxBrush
*) 0 ;
2552 wxBitmap
*arg2
= 0 ;
2553 PyObject
* obj0
= 0 ;
2554 PyObject
* obj1
= 0 ;
2556 (char *) "self",(char *) "stipple", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2566 PyErr_SetString(PyExc_TypeError
,"null reference");
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2585 wxBrush
*arg1
= (wxBrush
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2589 (char *) "self", NULL
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2597 result
= ((wxBrush
const *)arg1
)->GetColour();
2599 wxPyEndAllowThreads(__tstate
);
2600 if (PyErr_Occurred()) SWIG_fail
;
2603 wxColour
* resultptr
;
2604 resultptr
= new wxColour((wxColour
&) result
);
2605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2613 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
*resultobj
;
2615 wxBrush
*arg1
= (wxBrush
*) 0 ;
2617 PyObject
* obj0
= 0 ;
2619 (char *) "self", NULL
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= SWIG_From_int((int)result
);
2639 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2641 wxBrush
*arg1
= (wxBrush
*) 0 ;
2643 PyObject
* obj0
= 0 ;
2645 (char *) "self", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2665 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 wxBrush
*arg1
= (wxBrush
*) 0 ;
2669 PyObject
* obj0
= 0 ;
2671 (char *) "self", NULL
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 result
= (bool)(arg1
)->Ok();
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2693 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxBrush
*arg1
= (wxBrush
*) 0 ;
2697 PyObject
* obj0
= 0 ;
2699 (char *) "self", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 result
= (short)(arg1
)->MacGetTheme();
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) SWIG_fail
;
2712 resultobj
= SWIG_From_short((short)result
);
2719 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
*resultobj
;
2721 wxBrush
*arg1
= (wxBrush
*) 0 ;
2723 PyObject
* obj0
= 0 ;
2724 PyObject
* obj1
= 0 ;
2726 (char *) "self",(char *) "macThemeBrush", NULL
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2732 arg2
= (short)SWIG_As_short(obj1
);
2733 if (PyErr_Occurred()) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2736 (arg1
)->MacSetTheme(arg2
);
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2751 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2753 return Py_BuildValue((char *)"");
2755 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
*resultobj
;
2757 wxString
*arg1
= 0 ;
2758 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2760 bool temp1
= False
;
2761 PyObject
* obj0
= 0 ;
2762 PyObject
* obj1
= 0 ;
2764 (char *) "name",(char *) "type", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2769 arg1
= wxString_in_helper(obj0
);
2770 if (arg1
== NULL
) SWIG_fail
;
2774 arg2
= (int)SWIG_As_int(obj1
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2778 if (!wxPyCheckForApp()) SWIG_fail
;
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2800 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
*resultobj
;
2802 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2803 PyObject
* obj0
= 0 ;
2805 (char *) "self", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2818 Py_INCREF(Py_None
); resultobj
= Py_None
;
2825 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
*resultobj
;
2829 int arg3
= (int) -1 ;
2831 PyObject
* obj0
= 0 ;
2832 PyObject
* obj1
= 0 ;
2833 PyObject
* obj2
= 0 ;
2835 (char *) "width",(char *) "height",(char *) "depth", NULL
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2839 arg1
= (int)SWIG_As_int(obj0
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2841 arg2
= (int)SWIG_As_int(obj1
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2844 arg3
= (int)SWIG_As_int(obj2
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2848 if (!wxPyCheckForApp()) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2862 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "icon", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2876 PyErr_SetString(PyExc_TypeError
,"null reference");
2880 if (!wxPyCheckForApp()) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2894 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2897 int arg2
= (int) -1 ;
2899 PyObject
* obj0
= 0 ;
2900 PyObject
* obj1
= 0 ;
2902 (char *) "image",(char *) "depth", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2910 PyErr_SetString(PyExc_TypeError
,"null reference");
2914 arg2
= (int)SWIG_As_int(obj1
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2918 if (!wxPyCheckForApp()) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2932 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
;
2934 PyObject
*arg1
= (PyObject
*) 0 ;
2936 PyObject
* obj0
= 0 ;
2938 (char *) "listOfStrings", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2944 if (!wxPyCheckForApp()) SWIG_fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2958 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
*resultobj
;
2960 PyObject
*arg1
= (PyObject
*) 0 ;
2963 int arg4
= (int) 1 ;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2968 PyObject
* obj3
= 0 ;
2970 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2975 arg2
= (int)SWIG_As_int(obj1
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2977 arg3
= (int)SWIG_As_int(obj2
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 arg4
= (int)SWIG_As_int(obj3
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2984 if (!wxPyCheckForApp()) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2998 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3004 (char *) "self", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 result
= (bool)(arg1
)->Ok();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3026 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3032 (char *) "self", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 result
= (int)(arg1
)->GetWidth();
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3045 resultobj
= SWIG_From_int((int)result
);
3052 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
*resultobj
;
3054 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3056 PyObject
* obj0
= 0 ;
3058 (char *) "self", NULL
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 result
= (int)(arg1
)->GetHeight();
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3071 resultobj
= SWIG_From_int((int)result
);
3078 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
*resultobj
;
3080 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3082 PyObject
* obj0
= 0 ;
3084 (char *) "self", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 result
= (int)(arg1
)->GetDepth();
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 resultobj
= SWIG_From_int((int)result
);
3104 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3110 (char *) "self", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 result
= wxBitmap_GetSize(arg1
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3125 resultptr
= new wxSize((wxSize
&) result
);
3126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3134 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
;
3136 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3137 SwigValueWrapper
< wxImage
> result
;
3138 PyObject
* obj0
= 0 ;
3140 (char *) "self", NULL
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3154 wxImage
* resultptr
;
3155 resultptr
= new wxImage((wxImage
&) result
);
3156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3164 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "self", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3190 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3193 wxMask
*arg2
= (wxMask
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3195 PyObject
* obj1
= 0 ;
3197 (char *) "self",(char *) "mask", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 (arg1
)->SetMask(arg2
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 Py_INCREF(Py_None
); resultobj
= Py_None
;
3219 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3222 wxColour
*arg2
= 0 ;
3224 PyObject
* obj0
= 0 ;
3225 PyObject
* obj1
= 0 ;
3227 (char *) "self",(char *) "colour", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 Py_INCREF(Py_None
); resultobj
= Py_None
;
3251 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3255 SwigValueWrapper
< wxBitmap
> result
;
3257 PyObject
* obj0
= 0 ;
3258 PyObject
* obj1
= 0 ;
3260 (char *) "self",(char *) "rect", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3268 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3278 wxBitmap
* resultptr
;
3279 resultptr
= new wxBitmap((wxBitmap
&) result
);
3280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3288 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3291 wxString
*arg2
= 0 ;
3293 wxPalette
*arg4
= (wxPalette
*) NULL
;
3295 bool temp2
= False
;
3296 PyObject
* obj0
= 0 ;
3297 PyObject
* obj1
= 0 ;
3298 PyObject
* obj2
= 0 ;
3299 PyObject
* obj3
= 0 ;
3301 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3308 arg2
= wxString_in_helper(obj1
);
3309 if (arg2
== NULL
) SWIG_fail
;
3312 arg3
= (int)SWIG_As_int(obj2
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3342 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3345 wxString
*arg2
= 0 ;
3348 bool temp2
= False
;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3351 PyObject
* obj2
= 0 ;
3353 (char *) "self",(char *) "name",(char *) "type", NULL
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3360 arg2
= wxString_in_helper(obj1
);
3361 if (arg2
== NULL
) SWIG_fail
;
3364 arg3
= (int)SWIG_As_int(obj2
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3390 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
;
3392 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3395 PyObject
* obj0
= 0 ;
3396 PyObject
* obj1
= 0 ;
3398 (char *) "self",(char *) "icon", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3408 PyErr_SetString(PyExc_TypeError
,"null reference");
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3427 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3431 PyObject
* obj0
= 0 ;
3432 PyObject
* obj1
= 0 ;
3434 (char *) "self",(char *) "height", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3440 arg2
= (int)SWIG_As_int(obj1
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 (arg1
)->SetHeight(arg2
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) SWIG_fail
;
3449 Py_INCREF(Py_None
); resultobj
= Py_None
;
3456 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
*resultobj
;
3458 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3461 PyObject
* obj1
= 0 ;
3463 (char *) "self",(char *) "width", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 arg2
= (int)SWIG_As_int(obj1
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 (arg1
)->SetWidth(arg2
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 Py_INCREF(Py_None
); resultobj
= Py_None
;
3485 static PyObject
*_wrap_Bitmap_SetDepth(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 *) "depth", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",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
)->SetDepth(arg2
);
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 Py_INCREF(Py_None
); resultobj
= Py_None
;
3514 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3519 PyObject
* obj0
= 0 ;
3520 PyObject
* obj1
= 0 ;
3522 (char *) "self",(char *) "size", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3534 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 Py_INCREF(Py_None
); resultobj
= Py_None
;
3546 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
*resultobj
;
3548 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3549 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3551 PyObject
* obj0
= 0 ;
3552 PyObject
* obj1
= 0 ;
3554 (char *) "self",(char *) "other", NULL
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3578 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3581 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3583 PyObject
* obj0
= 0 ;
3584 PyObject
* obj1
= 0 ;
3586 (char *) "self",(char *) "other", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3610 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3613 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3615 return Py_BuildValue((char *)"");
3617 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxBitmap
*arg1
= 0 ;
3620 wxColour
const &arg2_defvalue
= wxNullColour
;
3621 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3624 PyObject
* obj0
= 0 ;
3625 PyObject
* obj1
= 0 ;
3627 (char *) "bitmap",(char *) "colour", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3635 PyErr_SetString(PyExc_TypeError
,"null reference");
3641 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3645 if (!wxPyCheckForApp()) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3659 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3662 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3664 return Py_BuildValue((char *)"");
3666 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxString
*arg1
= 0 ;
3670 int arg3
= (int) -1 ;
3671 int arg4
= (int) -1 ;
3673 bool temp1
= False
;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3676 PyObject
* obj2
= 0 ;
3677 PyObject
* obj3
= 0 ;
3679 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3684 arg1
= wxString_in_helper(obj0
);
3685 if (arg1
== NULL
) SWIG_fail
;
3688 arg2
= (int)SWIG_As_int(obj1
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3691 arg3
= (int)SWIG_As_int(obj2
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3695 arg4
= (int)SWIG_As_int(obj3
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 if (!wxPyCheckForApp()) SWIG_fail
;
3700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3721 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxIcon
*arg1
= (wxIcon
*) 0 ;
3724 PyObject
* obj0
= 0 ;
3726 (char *) "self", NULL
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 Py_INCREF(Py_None
); resultobj
= Py_None
;
3746 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3755 if (!wxPyCheckForApp()) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (wxIcon
*)new wxIcon();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3769 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxIconLocation
*arg1
= 0 ;
3773 PyObject
* obj0
= 0 ;
3775 (char *) "loc", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3783 PyErr_SetString(PyExc_TypeError
,"null reference");
3787 if (!wxPyCheckForApp()) SWIG_fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3801 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3803 wxBitmap
*arg1
= 0 ;
3805 PyObject
* obj0
= 0 ;
3807 (char *) "bmp", NULL
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3815 PyErr_SetString(PyExc_TypeError
,"null reference");
3819 if (!wxPyCheckForApp()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3833 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 PyObject
*arg1
= (PyObject
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3839 (char *) "listOfStrings", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3845 if (!wxPyCheckForApp()) SWIG_fail
;
3846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3847 result
= (wxIcon
*)new_wxIcon(arg1
);
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3859 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxIcon
*arg1
= (wxIcon
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3865 (char *) "self", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= (bool)(arg1
)->Ok();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3887 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxIcon
*arg1
= (wxIcon
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (int)(arg1
)->GetWidth();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_From_int((int)result
);
3913 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxIcon
*arg1
= (wxIcon
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (int)(arg1
)->GetHeight();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_From_int((int)result
);
3939 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxIcon
*arg1
= (wxIcon
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (int)(arg1
)->GetDepth();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 resultobj
= SWIG_From_int((int)result
);
3965 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxIcon
*arg1
= (wxIcon
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3970 PyObject
* obj1
= 0 ;
3972 (char *) "self",(char *) "w", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (int)SWIG_As_int(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 (arg1
)->SetWidth(arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxIcon
*arg1
= (wxIcon
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "h", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 arg2
= (int)SWIG_As_int(obj1
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 (arg1
)->SetHeight(arg2
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_Icon_SetDepth(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 *) "d", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",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
)->SetDepth(arg2
);
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 Py_INCREF(Py_None
); resultobj
= Py_None
;
4052 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxIcon
*arg1
= (wxIcon
*) 0 ;
4055 wxBitmap
*arg2
= 0 ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "bmp", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4069 PyErr_SetString(PyExc_TypeError
,"null reference");
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 Py_INCREF(Py_None
); resultobj
= Py_None
;
4086 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4089 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4091 return Py_BuildValue((char *)"");
4093 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4096 int arg2
= (int) 0 ;
4097 wxIconLocation
*result
;
4098 bool temp1
= False
;
4099 PyObject
* obj0
= 0 ;
4100 PyObject
* obj1
= 0 ;
4102 (char *) "filename",(char *) "num", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4108 arg1
= wxString_in_helper(obj0
);
4109 if (arg1
== NULL
) SWIG_fail
;
4114 arg2
= (int)SWIG_As_int(obj1
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4139 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4142 PyObject
* obj0
= 0 ;
4144 (char *) "self", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 Py_INCREF(Py_None
); resultobj
= Py_None
;
4164 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4168 PyObject
* obj0
= 0 ;
4170 (char *) "self", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4192 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4195 wxString
*arg2
= 0 ;
4196 bool temp2
= False
;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj1
= 0 ;
4200 (char *) "self",(char *) "filename", NULL
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4207 arg2
= wxString_in_helper(obj1
);
4208 if (arg2
== NULL
) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 (arg1
)->SetFileName((wxString
const &)*arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 Py_INCREF(Py_None
); resultobj
= Py_None
;
4233 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
;
4235 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4237 PyObject
* obj0
= 0 ;
4239 (char *) "self", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4249 result
= (wxString
*) &_result_ref
;
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4268 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4272 PyObject
* obj0
= 0 ;
4273 PyObject
* obj1
= 0 ;
4275 (char *) "self",(char *) "num", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4281 arg2
= (int)SWIG_As_int(obj1
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4285 wxIconLocation_SetIndex(arg1
,arg2
);
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 Py_INCREF(Py_None
); resultobj
= Py_None
;
4297 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
*resultobj
;
4299 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4301 PyObject
* obj0
= 0 ;
4303 (char *) "self", NULL
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (int)wxIconLocation_GetIndex(arg1
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 resultobj
= SWIG_From_int((int)result
);
4323 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4326 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4328 return Py_BuildValue((char *)"");
4330 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
;
4332 wxIconBundle
*result
;
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 result
= (wxIconBundle
*)new wxIconBundle();
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4352 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
*resultobj
;
4354 wxString
*arg1
= 0 ;
4356 wxIconBundle
*result
;
4357 bool temp1
= False
;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4361 (char *) "file",(char *) "type", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4366 arg1
= wxString_in_helper(obj0
);
4367 if (arg1
== NULL
) SWIG_fail
;
4370 arg2
= (long)SWIG_As_long(obj1
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4394 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4397 wxIconBundle
*result
;
4398 PyObject
* obj0
= 0 ;
4400 (char *) "icon", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4408 PyErr_SetString(PyExc_TypeError
,"null reference");
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4425 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4428 PyObject
* obj0
= 0 ;
4430 (char *) "self", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 Py_INCREF(Py_None
); resultobj
= Py_None
;
4450 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4454 PyObject
* obj0
= 0 ;
4455 PyObject
* obj1
= 0 ;
4457 (char *) "self",(char *) "icon", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4467 PyErr_SetString(PyExc_TypeError
,"null reference");
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 Py_INCREF(Py_None
); resultobj
= Py_None
;
4484 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4487 wxString
*arg2
= 0 ;
4489 bool temp2
= False
;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4492 PyObject
* obj2
= 0 ;
4494 (char *) "self",(char *) "file",(char *) "type", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4501 arg2
= wxString_in_helper(obj1
);
4502 if (arg2
== NULL
) SWIG_fail
;
4505 arg3
= (long)SWIG_As_long(obj2
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) SWIG_fail
;
4514 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4538 (char *) "self",(char *) "size", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4552 result
= (wxIcon
*) &_result_ref
;
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4559 wxIcon
* resultptr
= new wxIcon(*result
);
4560 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4568 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4571 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4573 return Py_BuildValue((char *)"");
4575 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxString
*arg1
= (wxString
*) 0 ;
4579 int arg3
= (int) 0 ;
4580 int arg4
= (int) 0 ;
4582 bool temp1
= False
;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4585 PyObject
* obj2
= 0 ;
4586 PyObject
* obj3
= 0 ;
4588 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4593 arg1
= wxString_in_helper(obj0
);
4594 if (arg1
== NULL
) SWIG_fail
;
4597 arg2
= (long)SWIG_As_long(obj1
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 arg3
= (int)SWIG_As_int(obj2
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4604 arg4
= (int)SWIG_As_int(obj3
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4608 if (!wxPyCheckForApp()) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4630 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxCursor
*arg1
= (wxCursor
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "self", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 Py_INCREF(Py_None
); resultobj
= Py_None
;
4655 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4659 PyObject
* obj0
= 0 ;
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4665 arg1
= (int)SWIG_As_int(obj0
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 if (!wxPyCheckForApp()) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (wxCursor
*)new wxCursor(arg1
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4682 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4686 PyObject
* obj0
= 0 ;
4688 (char *) "image", NULL
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4696 PyErr_SetString(PyExc_TypeError
,"null reference");
4700 if (!wxPyCheckForApp()) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4714 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxCursor
*arg1
= (wxCursor
*) 0 ;
4718 PyObject
* obj0
= 0 ;
4720 (char *) "self", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (bool)(arg1
)->Ok();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4742 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4745 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4747 return Py_BuildValue((char *)"");
4749 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 int arg1
= (int) 0 ;
4752 int arg2
= (int) 0 ;
4753 int arg3
= (int) 0 ;
4754 int arg4
= (int) 0 ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 PyObject
* obj2
= 0 ;
4759 PyObject
* obj3
= 0 ;
4761 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4766 arg1
= (int)SWIG_As_int(obj0
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 arg2
= (int)SWIG_As_int(obj1
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4774 arg3
= (int)SWIG_As_int(obj2
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4778 arg4
= (int)SWIG_As_int(obj3
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4782 if (!wxPyCheckForApp()) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4796 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxBitmap
*arg1
= 0 ;
4800 PyObject
* obj0
= 0 ;
4802 (char *) "bmp", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4810 PyErr_SetString(PyExc_TypeError
,"null reference");
4814 if (!wxPyCheckForApp()) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4828 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
*resultobj
;
4830 wxBitmap
*arg1
= 0 ;
4831 wxColour
*arg2
= 0 ;
4832 int arg3
= (int) 0 ;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 PyObject
* obj2
= 0 ;
4839 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4847 PyErr_SetString(PyExc_TypeError
,"null reference");
4852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4855 arg3
= (int)SWIG_As_int(obj2
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4859 if (!wxPyCheckForApp()) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4873 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4876 wxPoint
*arg2
= (wxPoint
*) 0 ;
4877 int arg3
= (int) wxWINDING_RULE
;
4879 PyObject
* obj0
= 0 ;
4880 PyObject
* obj1
= 0 ;
4882 (char *) "points",(char *) "fillStyle", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4887 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4888 if (arg2
== NULL
) SWIG_fail
;
4891 arg3
= (int)SWIG_As_int(obj1
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4895 if (!wxPyCheckForApp()) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4904 if (arg2
) delete [] arg2
;
4909 if (arg2
) delete [] arg2
;
4915 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxRegion
*arg1
= (wxRegion
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 Py_INCREF(Py_None
); resultobj
= Py_None
;
4940 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxRegion
*arg1
= (wxRegion
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4945 (char *) "self", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4958 Py_INCREF(Py_None
); resultobj
= Py_None
;
4965 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxRegion
*arg1
= (wxRegion
*) 0 ;
4971 PyObject
* obj0
= 0 ;
4972 PyObject
* obj1
= 0 ;
4973 PyObject
* obj2
= 0 ;
4975 (char *) "self",(char *) "x",(char *) "y", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4981 arg2
= (int)SWIG_As_int(obj1
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4983 arg3
= (int)SWIG_As_int(obj2
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_From_int((int)result
);
4999 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxRegion
*arg1
= (wxRegion
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5006 PyObject
* obj1
= 0 ;
5008 (char *) "self",(char *) "pt", NULL
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= SWIG_From_int((int)result
);
5032 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxRegion
*arg1
= (wxRegion
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5041 (char *) "self",(char *) "rect", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5049 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_From_int((int)result
);
5065 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxRegion
*arg1
= (wxRegion
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 PyObject
* obj2
= 0 ;
5076 PyObject
* obj3
= 0 ;
5077 PyObject
* obj4
= 0 ;
5079 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5085 arg2
= (int)SWIG_As_int(obj1
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5087 arg3
= (int)SWIG_As_int(obj2
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5089 arg4
= (int)SWIG_As_int(obj3
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5091 arg5
= (int)SWIG_As_int(obj4
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= SWIG_From_int((int)result
);
5107 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
*resultobj
;
5109 wxRegion
*arg1
= (wxRegion
*) 0 ;
5111 PyObject
* obj0
= 0 ;
5113 (char *) "self", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (arg1
)->GetBox();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5128 resultptr
= new wxRect((wxRect
&) result
);
5129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5137 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
*resultobj
;
5139 wxRegion
*arg1
= (wxRegion
*) 0 ;
5145 PyObject
* obj0
= 0 ;
5146 PyObject
* obj1
= 0 ;
5147 PyObject
* obj2
= 0 ;
5148 PyObject
* obj3
= 0 ;
5149 PyObject
* obj4
= 0 ;
5151 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5157 arg2
= (int)SWIG_As_int(obj1
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5159 arg3
= (int)SWIG_As_int(obj2
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5161 arg4
= (int)SWIG_As_int(obj3
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5163 arg5
= (int)SWIG_As_int(obj4
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5181 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxRegion
*arg1
= (wxRegion
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5190 (char *) "self",(char *) "rect", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5198 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5216 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxRegion
*arg1
= (wxRegion
*) 0 ;
5219 wxRegion
*arg2
= 0 ;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5224 (char *) "self",(char *) "region", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5231 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5234 PyErr_SetString(PyExc_TypeError
,"null reference");
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5253 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
*resultobj
;
5255 wxRegion
*arg1
= (wxRegion
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (bool)(arg1
)->IsEmpty();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5281 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 wxRegion
*arg1
= (wxRegion
*) 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5291 PyObject
* obj2
= 0 ;
5292 PyObject
* obj3
= 0 ;
5293 PyObject
* obj4
= 0 ;
5295 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 arg2
= (int)SWIG_As_int(obj1
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5303 arg3
= (int)SWIG_As_int(obj2
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5305 arg4
= (int)SWIG_As_int(obj3
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5307 arg5
= (int)SWIG_As_int(obj4
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5325 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxRegion
*arg1
= (wxRegion
*) 0 ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5334 (char *) "self",(char *) "rect", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5342 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5360 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxRegion
*arg1
= (wxRegion
*) 0 ;
5363 wxRegion
*arg2
= 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "region", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5378 PyErr_SetString(PyExc_TypeError
,"null reference");
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5397 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxRegion
*arg1
= (wxRegion
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5407 PyObject
* obj2
= 0 ;
5408 PyObject
* obj3
= 0 ;
5409 PyObject
* obj4
= 0 ;
5411 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5417 arg2
= (int)SWIG_As_int(obj1
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5419 arg3
= (int)SWIG_As_int(obj2
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5421 arg4
= (int)SWIG_As_int(obj3
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5423 arg5
= (int)SWIG_As_int(obj4
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5441 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxRegion
*arg1
= (wxRegion
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5450 (char *) "self",(char *) "rect", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5458 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5476 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxRegion
*arg1
= (wxRegion
*) 0 ;
5479 wxRegion
*arg2
= 0 ;
5481 PyObject
* obj0
= 0 ;
5482 PyObject
* obj1
= 0 ;
5484 (char *) "self",(char *) "region", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5494 PyErr_SetString(PyExc_TypeError
,"null reference");
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5513 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
;
5515 wxRegion
*arg1
= (wxRegion
*) 0 ;
5521 PyObject
* obj0
= 0 ;
5522 PyObject
* obj1
= 0 ;
5523 PyObject
* obj2
= 0 ;
5524 PyObject
* obj3
= 0 ;
5525 PyObject
* obj4
= 0 ;
5527 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 arg2
= (int)SWIG_As_int(obj1
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5535 arg3
= (int)SWIG_As_int(obj2
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5537 arg4
= (int)SWIG_As_int(obj3
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5539 arg5
= (int)SWIG_As_int(obj4
);
5540 if (PyErr_Occurred()) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5557 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
*resultobj
;
5559 wxRegion
*arg1
= (wxRegion
*) 0 ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5566 (char *) "self",(char *) "rect", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5592 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxRegion
*arg1
= (wxRegion
*) 0 ;
5595 wxRegion
*arg2
= 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "region", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5610 PyErr_SetString(PyExc_TypeError
,"null reference");
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5629 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxRegion
*arg1
= (wxRegion
*) 0 ;
5632 SwigValueWrapper
< wxBitmap
> result
;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "self", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (arg1
)->ConvertToBitmap();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 wxBitmap
* resultptr
;
5650 resultptr
= new wxBitmap((wxBitmap
&) result
);
5651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5659 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxRegion
*arg1
= (wxRegion
*) 0 ;
5662 wxBitmap
*arg2
= 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5667 (char *) "self",(char *) "bmp", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5677 PyErr_SetString(PyExc_TypeError
,"null reference");
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5696 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
*resultobj
;
5698 wxRegion
*arg1
= (wxRegion
*) 0 ;
5699 wxBitmap
*arg2
= 0 ;
5700 wxColour
*arg3
= 0 ;
5701 int arg4
= (int) 0 ;
5704 PyObject
* obj0
= 0 ;
5705 PyObject
* obj1
= 0 ;
5706 PyObject
* obj2
= 0 ;
5707 PyObject
* obj3
= 0 ;
5709 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5719 PyErr_SetString(PyExc_TypeError
,"null reference");
5724 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5727 arg4
= (int)SWIG_As_int(obj3
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5746 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5749 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5751 return Py_BuildValue((char *)"");
5753 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxRegion
*arg1
= 0 ;
5756 wxRegionIterator
*result
;
5757 PyObject
* obj0
= 0 ;
5759 (char *) "region", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5767 PyErr_SetString(PyExc_TypeError
,"null reference");
5771 if (!wxPyCheckForApp()) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5785 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
;
5787 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5788 PyObject
* obj0
= 0 ;
5790 (char *) "self", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 Py_INCREF(Py_None
); resultobj
= Py_None
;
5810 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5812 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5816 (char *) "self", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (int)(arg1
)->GetX();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_From_int((int)result
);
5836 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
;
5838 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5840 PyObject
* obj0
= 0 ;
5842 (char *) "self", NULL
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (int)(arg1
)->GetY();
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= SWIG_From_int((int)result
);
5862 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
;
5864 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5868 (char *) "self", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (int)(arg1
)->GetW();
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_From_int((int)result
);
5888 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5894 (char *) "self", NULL
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= (int)(arg1
)->GetWidth();
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= SWIG_From_int((int)result
);
5914 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5920 (char *) "self", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (int)(arg1
)->GetH();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_From_int((int)result
);
5940 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5944 PyObject
* obj0
= 0 ;
5946 (char *) "self", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (int)(arg1
)->GetHeight();
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_From_int((int)result
);
5966 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5972 (char *) "self", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (arg1
)->GetRect();
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5987 resultptr
= new wxRect((wxRect
&) result
);
5988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5996 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6002 (char *) "self", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (bool)(arg1
)->HaveRects();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
;
6026 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6029 (char *) "self", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 Py_INCREF(Py_None
); resultobj
= Py_None
;
6049 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6054 (char *) "self", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 wxRegionIterator_Next(arg1
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 Py_INCREF(Py_None
); resultobj
= Py_None
;
6074 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6080 (char *) "self", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6102 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6105 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6107 return Py_BuildValue((char *)"");
6109 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxNativeFontInfo
*result
;
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6131 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6132 PyObject
*resultobj
;
6133 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6136 (char *) "self", NULL
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "self", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 Py_INCREF(Py_None
); resultobj
= Py_None
;
6181 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6188 (char *) "self",(char *) "font", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6198 PyErr_SetString(PyExc_TypeError
,"null reference");
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 Py_INCREF(Py_None
); resultobj
= Py_None
;
6215 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
*resultobj
;
6217 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6219 PyObject
* obj0
= 0 ;
6221 (char *) "self", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6234 resultobj
= SWIG_From_int((int)result
);
6241 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6247 (char *) "self", NULL
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_From_int((int)result
);
6267 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6273 (char *) "self", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= SWIG_From_int((int)result
);
6293 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6321 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6325 PyObject
* obj0
= 0 ;
6327 (char *) "self", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6353 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
;
6355 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6357 PyObject
* obj0
= 0 ;
6359 (char *) "self", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_From_int((int)result
);
6379 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
;
6381 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6383 PyObject
* obj0
= 0 ;
6385 (char *) "self", NULL
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= SWIG_From_int((int)result
);
6405 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6412 (char *) "self",(char *) "pointsize", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 arg2
= (int)SWIG_As_int(obj1
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 (arg1
)->SetPointSize(arg2
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 Py_INCREF(Py_None
); resultobj
= Py_None
;
6434 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6441 (char *) "self",(char *) "style", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 arg2
= (int)SWIG_As_int(obj1
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6468 PyObject
* obj1
= 0 ;
6470 (char *) "self",(char *) "weight", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 arg2
= (int)SWIG_As_int(obj1
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 Py_INCREF(Py_None
); resultobj
= Py_None
;
6492 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6499 (char *) "self",(char *) "underlined", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 arg2
= (bool)SWIG_As_bool(obj1
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 (arg1
)->SetUnderlined(arg2
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 Py_INCREF(Py_None
); resultobj
= Py_None
;
6521 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6528 (char *) "self",(char *) "facename", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 wxString
* sptr
= wxString_in_helper(obj1
);
6536 if (sptr
== NULL
) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 (arg1
)->SetFaceName(arg2
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6554 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
;
6556 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6559 PyObject
* obj1
= 0 ;
6561 (char *) "self",(char *) "family", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6567 arg2
= (int)SWIG_As_int(obj1
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6590 (char *) "self",(char *) "encoding", NULL
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 arg2
= (int)SWIG_As_int(obj1
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 Py_INCREF(Py_None
); resultobj
= Py_None
;
6612 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6615 wxString
*arg2
= 0 ;
6617 bool temp2
= False
;
6618 PyObject
* obj0
= 0 ;
6619 PyObject
* obj1
= 0 ;
6621 (char *) "self",(char *) "s", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6628 arg2
= wxString_in_helper(obj1
);
6629 if (arg2
== NULL
) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6656 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6688 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
;
6690 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6692 PyObject
* obj0
= 0 ;
6694 (char *) "self", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= wxNativeFontInfo___str__(arg1
);
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6720 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6723 wxString
*arg2
= 0 ;
6725 bool temp2
= False
;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6729 (char *) "self",(char *) "s", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 arg2
= wxString_in_helper(obj1
);
6737 if (arg2
== NULL
) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6764 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6770 (char *) "self", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6796 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6799 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6801 return Py_BuildValue((char *)"");
6803 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6806 wxString
*arg2
= (wxString
*) 0 ;
6807 bool temp2
= False
;
6808 PyObject
* obj0
= 0 ;
6809 PyObject
* obj1
= 0 ;
6811 (char *) "self",(char *) "facename", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6818 arg2
= wxString_in_helper(obj1
);
6819 if (arg2
== NULL
) SWIG_fail
;
6822 if (arg1
) (arg1
)->facename
= *arg2
;
6824 Py_INCREF(Py_None
); resultobj
= Py_None
;
6839 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6845 (char *) "self", NULL
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6851 result
= (wxString
*)& ((arg1
)->facename
);
6855 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6857 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6866 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6868 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6870 PyObject
* obj0
= 0 ;
6871 PyObject
* obj1
= 0 ;
6873 (char *) "self",(char *) "encoding", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6879 arg2
= (int)SWIG_As_int(obj1
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6881 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6883 Py_INCREF(Py_None
); resultobj
= Py_None
;
6890 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6894 PyObject
* obj0
= 0 ;
6896 (char *) "self", NULL
6899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 result
= (int) ((arg1
)->encoding
);
6904 resultobj
= SWIG_From_int((int)result
);
6911 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxNativeEncodingInfo
*result
;
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6933 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6936 PyObject
* obj0
= 0 ;
6938 (char *) "self", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 Py_INCREF(Py_None
); resultobj
= Py_None
;
6958 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6960 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6961 wxString
*arg2
= 0 ;
6963 bool temp2
= False
;
6964 PyObject
* obj0
= 0 ;
6965 PyObject
* obj1
= 0 ;
6967 (char *) "self",(char *) "s", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6974 arg2
= wxString_in_helper(obj1
);
6975 if (arg2
== NULL
) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7002 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7008 (char *) "self", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7034 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7037 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7039 return Py_BuildValue((char *)"");
7041 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7044 wxNativeEncodingInfo
*result
;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "encoding", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7051 arg1
= (int)SWIG_As_int(obj0
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7067 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxNativeEncodingInfo
*arg1
= 0 ;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "info", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7081 PyErr_SetString(PyExc_TypeError
,"null reference");
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7100 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
;
7102 wxFontMapper
*result
;
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (wxFontMapper
*)new wxFontMapper();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7122 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxFontMapper
*result
;
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 result
= (wxFontMapper
*)wxFontMapper::Get();
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7169 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7172 wxFontMapper
*result
;
7173 PyObject
* obj0
= 0 ;
7175 (char *) "mapper", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7195 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7198 wxString
*arg2
= 0 ;
7199 bool arg3
= (bool) True
;
7201 bool temp2
= False
;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7204 PyObject
* obj2
= 0 ;
7206 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7213 arg2
= wxString_in_helper(obj1
);
7214 if (arg2
== NULL
) SWIG_fail
;
7218 arg3
= (bool)SWIG_As_bool(obj2
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= SWIG_From_int((int)result
);
7243 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7265 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7269 PyObject
* obj0
= 0 ;
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7275 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (int)wxFontMapper::GetEncoding(arg1
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_From_int((int)result
);
7291 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7295 PyObject
* obj0
= 0 ;
7297 (char *) "encoding", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7301 arg1
= (int)SWIG_As_int(obj0
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7323 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7327 PyObject
* obj0
= 0 ;
7329 (char *) "encoding", NULL
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7333 arg1
= (int)SWIG_As_int(obj0
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7355 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxString
*arg1
= 0 ;
7359 bool temp1
= False
;
7360 PyObject
* obj0
= 0 ;
7362 (char *) "name", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7367 arg1
= wxString_in_helper(obj0
);
7368 if (arg1
== NULL
) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int((int)result
);
7393 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
*resultobj
;
7395 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7396 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7400 (char *) "self",(char *) "config", NULL
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 (arg1
)->SetConfig(arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 Py_INCREF(Py_None
); resultobj
= Py_None
;
7422 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7425 wxString
*arg2
= 0 ;
7426 bool temp2
= False
;
7427 PyObject
* obj0
= 0 ;
7428 PyObject
* obj1
= 0 ;
7430 (char *) "self",(char *) "prefix", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7437 arg2
= wxString_in_helper(obj1
);
7438 if (arg2
== NULL
) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 Py_INCREF(Py_None
); resultobj
= Py_None
;
7463 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= wxFontMapper::GetDefaultConfigPath();
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7491 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7495 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7496 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7497 bool arg4
= (bool) True
;
7499 bool temp3
= False
;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7502 PyObject
* obj2
= 0 ;
7503 PyObject
* obj3
= 0 ;
7505 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 arg2
= (int)SWIG_As_int(obj1
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 arg3
= wxString_in_helper(obj2
);
7516 if (arg3
== NULL
) SWIG_fail
;
7521 arg4
= (bool)SWIG_As_bool(obj3
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7546 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
*resultobj
;
7548 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7550 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7551 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7553 bool temp3
= False
;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7556 PyObject
* obj2
= 0 ;
7558 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7564 arg2
= (int)SWIG_As_int(obj1
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7568 arg3
= wxString_in_helper(obj2
);
7569 if (arg3
== NULL
) SWIG_fail
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7597 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7600 wxWindow
*arg2
= (wxWindow
*) 0 ;
7601 PyObject
* obj0
= 0 ;
7602 PyObject
* obj1
= 0 ;
7604 (char *) "self",(char *) "parent", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 (arg1
)->SetDialogParent(arg2
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 Py_INCREF(Py_None
); resultobj
= Py_None
;
7626 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7629 wxString
*arg2
= 0 ;
7630 bool temp2
= False
;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7634 (char *) "self",(char *) "title", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7641 arg2
= wxString_in_helper(obj1
);
7642 if (arg2
== NULL
) SWIG_fail
;
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7670 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7672 return Py_BuildValue((char *)"");
7674 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7680 bool arg5
= (bool) False
;
7681 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7682 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7683 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7685 bool temp6
= False
;
7686 PyObject
* obj0
= 0 ;
7687 PyObject
* obj1
= 0 ;
7688 PyObject
* obj2
= 0 ;
7689 PyObject
* obj3
= 0 ;
7690 PyObject
* obj4
= 0 ;
7691 PyObject
* obj5
= 0 ;
7692 PyObject
* obj6
= 0 ;
7694 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7698 arg1
= (int)SWIG_As_int(obj0
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7700 arg2
= (int)SWIG_As_int(obj1
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7702 arg3
= (int)SWIG_As_int(obj2
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7704 arg4
= (int)SWIG_As_int(obj3
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 arg5
= (bool)SWIG_As_bool(obj4
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7712 arg6
= wxString_in_helper(obj5
);
7713 if (arg6
== NULL
) SWIG_fail
;
7718 arg7
= (int)SWIG_As_int(obj6
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7722 if (!wxPyCheckForApp()) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7744 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxFont
*arg1
= (wxFont
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7749 (char *) "self", NULL
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 Py_INCREF(Py_None
); resultobj
= Py_None
;
7769 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxNativeFontInfo
*arg1
= 0 ;
7773 PyObject
* obj0
= 0 ;
7775 (char *) "info", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7780 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7783 PyErr_SetString(PyExc_TypeError
,"null reference");
7787 if (!wxPyCheckForApp()) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7801 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxString
*arg1
= 0 ;
7805 bool temp1
= False
;
7806 PyObject
* obj0
= 0 ;
7808 (char *) "info", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7813 arg1
= wxString_in_helper(obj0
);
7814 if (arg1
== NULL
) SWIG_fail
;
7818 if (!wxPyCheckForApp()) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7840 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7844 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7845 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7846 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7847 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7849 bool temp4
= False
;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7852 PyObject
* obj2
= 0 ;
7853 PyObject
* obj3
= 0 ;
7854 PyObject
* obj4
= 0 ;
7856 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7860 arg1
= (int)SWIG_As_int(obj0
);
7861 if (PyErr_Occurred()) SWIG_fail
;
7862 arg2
= (int)SWIG_As_int(obj1
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 arg3
= (int)SWIG_As_int(obj2
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7870 arg4
= wxString_in_helper(obj3
);
7871 if (arg4
== NULL
) SWIG_fail
;
7876 arg5
= (int)SWIG_As_int(obj4
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7880 if (!wxPyCheckForApp()) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7902 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxFont
*arg1
= (wxFont
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)((wxFont
const *)arg1
)->Ok();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7930 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 wxFont
*arg1
= (wxFont
*) 0 ;
7933 wxFont
*arg2
= (wxFont
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7936 PyObject
* obj1
= 0 ;
7938 (char *) "self",(char *) "other", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7962 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7964 wxFont
*arg1
= (wxFont
*) 0 ;
7965 wxFont
*arg2
= (wxFont
*) 0 ;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7970 (char *) "self",(char *) "other", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7994 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxFont
*arg1
= (wxFont
*) 0 ;
7998 PyObject
* obj0
= 0 ;
8000 (char *) "self", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_From_int((int)result
);
8020 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxFont
*arg1
= (wxFont
*) 0 ;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "self", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_From_int((int)result
);
8046 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxFont
*arg1
= (wxFont
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8052 (char *) "self", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_From_int((int)result
);
8072 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxFont
*arg1
= (wxFont
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8078 (char *) "self", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_From_int((int)result
);
8098 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
;
8100 wxFont
*arg1
= (wxFont
*) 0 ;
8102 PyObject
* obj0
= 0 ;
8104 (char *) "self", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8126 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxFont
*arg1
= (wxFont
*) 0 ;
8130 PyObject
* obj0
= 0 ;
8132 (char *) "self", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 result
= ((wxFont
const *)arg1
)->GetFaceName();
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8158 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxFont
*arg1
= (wxFont
*) 0 ;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "self", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_From_int((int)result
);
8184 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxFont
*arg1
= (wxFont
*) 0 ;
8187 wxNativeFontInfo
*result
;
8188 PyObject
* obj0
= 0 ;
8190 (char *) "self", NULL
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8210 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxFont
*arg1
= (wxFont
*) 0 ;
8214 PyObject
* obj0
= 0 ;
8216 (char *) "self", NULL
8219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8238 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxFont
*arg1
= (wxFont
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8244 (char *) "self", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8270 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxFont
*arg1
= (wxFont
*) 0 ;
8274 PyObject
* obj0
= 0 ;
8276 (char *) "self", NULL
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8284 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8302 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
*resultobj
;
8304 wxFont
*arg1
= (wxFont
*) 0 ;
8306 PyObject
* obj0
= 0 ;
8307 PyObject
* obj1
= 0 ;
8309 (char *) "self",(char *) "pointSize", NULL
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8315 arg2
= (int)SWIG_As_int(obj1
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 (arg1
)->SetPointSize(arg2
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 Py_INCREF(Py_None
); resultobj
= Py_None
;
8331 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
;
8333 wxFont
*arg1
= (wxFont
*) 0 ;
8335 PyObject
* obj0
= 0 ;
8336 PyObject
* obj1
= 0 ;
8338 (char *) "self",(char *) "family", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8344 arg2
= (int)SWIG_As_int(obj1
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 (arg1
)->SetFamily(arg2
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxFont
*arg1
= (wxFont
*) 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8367 (char *) "self",(char *) "style", NULL
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8373 arg2
= (int)SWIG_As_int(obj1
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 (arg1
)->SetStyle(arg2
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxFont
*arg1
= (wxFont
*) 0 ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8396 (char *) "self",(char *) "weight", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8402 arg2
= (int)SWIG_As_int(obj1
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 (arg1
)->SetWeight(arg2
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 Py_INCREF(Py_None
); resultobj
= Py_None
;
8418 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxFont
*arg1
= (wxFont
*) 0 ;
8421 wxString
*arg2
= 0 ;
8422 bool temp2
= False
;
8423 PyObject
* obj0
= 0 ;
8424 PyObject
* obj1
= 0 ;
8426 (char *) "self",(char *) "faceName", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8433 arg2
= wxString_in_helper(obj1
);
8434 if (arg2
== NULL
) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 Py_INCREF(Py_None
); resultobj
= Py_None
;
8459 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxFont
*arg1
= (wxFont
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "underlined", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 arg2
= (bool)SWIG_As_bool(obj1
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 (arg1
)->SetUnderlined(arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 Py_INCREF(Py_None
); resultobj
= Py_None
;
8488 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxFont
*arg1
= (wxFont
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj1
= 0 ;
8495 (char *) "self",(char *) "encoding", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 arg2
= (int)SWIG_As_int(obj1
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 Py_INCREF(Py_None
); resultobj
= Py_None
;
8517 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxFont
*arg1
= (wxFont
*) 0 ;
8520 wxNativeFontInfo
*arg2
= 0 ;
8521 PyObject
* obj0
= 0 ;
8522 PyObject
* obj1
= 0 ;
8524 (char *) "self",(char *) "info", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8534 PyErr_SetString(PyExc_TypeError
,"null reference");
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 Py_INCREF(Py_None
); resultobj
= Py_None
;
8551 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxFont
*arg1
= (wxFont
*) 0 ;
8554 wxString
*arg2
= 0 ;
8555 bool temp2
= False
;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8559 (char *) "self",(char *) "info", NULL
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8566 arg2
= wxString_in_helper(obj1
);
8567 if (arg2
== NULL
) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 Py_INCREF(Py_None
); resultobj
= Py_None
;
8592 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxFont
*arg1
= (wxFont
*) 0 ;
8595 wxString
*arg2
= 0 ;
8596 bool temp2
= False
;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8600 (char *) "self",(char *) "info", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 arg2
= wxString_in_helper(obj1
);
8608 if (arg2
== NULL
) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 Py_INCREF(Py_None
); resultobj
= Py_None
;
8633 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 wxFont
*arg1
= (wxFont
*) 0 ;
8637 PyObject
* obj0
= 0 ;
8639 (char *) "self", NULL
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8665 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
*resultobj
;
8667 wxFont
*arg1
= (wxFont
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8671 (char *) "self", NULL
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= ((wxFont
const *)arg1
)->GetStyleString();
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8697 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8699 wxFont
*arg1
= (wxFont
*) 0 ;
8701 PyObject
* obj0
= 0 ;
8703 (char *) "self", NULL
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= ((wxFont
const *)arg1
)->GetWeightString();
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8729 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxFont
*arg1
= (wxFont
*) 0 ;
8732 bool arg2
= (bool) True
;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8736 (char *) "self",(char *) "no", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8743 arg2
= (bool)SWIG_As_bool(obj1
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 (arg1
)->SetNoAntiAliasing(arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 Py_INCREF(Py_None
); resultobj
= Py_None
;
8760 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxFont
*arg1
= (wxFont
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8788 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
;
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8797 if (!wxPyCheckForApp()) SWIG_fail
;
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 result
= (int)wxFont::GetDefaultEncoding();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_From_int((int)result
);
8811 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8814 PyObject
* obj0
= 0 ;
8816 (char *) "encoding", NULL
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8820 arg1
= (int)SWIG_As_int(obj0
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 if (!wxPyCheckForApp()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
8839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8840 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8842 return Py_BuildValue((char *)"");
8844 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxPyFontEnumerator
*result
;
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8853 if (!wxPyCheckForApp()) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8867 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8870 PyObject
* obj0
= 0 ;
8872 (char *) "self", NULL
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8885 Py_INCREF(Py_None
); resultobj
= Py_None
;
8892 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
*resultobj
;
8894 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8895 PyObject
*arg2
= (PyObject
*) 0 ;
8896 PyObject
*arg3
= (PyObject
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8899 PyObject
* obj1
= 0 ;
8900 PyObject
* obj2
= 0 ;
8901 PyObject
* obj3
= 0 ;
8903 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 arg4
= (bool)SWIG_As_bool(obj3
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 Py_INCREF(Py_None
); resultobj
= Py_None
;
8927 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8930 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8931 bool arg3
= (bool) False
;
8933 PyObject
* obj0
= 0 ;
8934 PyObject
* obj1
= 0 ;
8935 PyObject
* obj2
= 0 ;
8937 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8944 arg2
= (int)SWIG_As_int(obj1
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8948 arg3
= (bool)SWIG_As_bool(obj2
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8967 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8970 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8971 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8973 bool temp2
= False
;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8977 (char *) "self",(char *) "facename", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 arg2
= wxString_in_helper(obj1
);
8986 if (arg2
== NULL
) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9014 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9040 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9044 PyObject
* obj0
= 0 ;
9046 (char *) "self", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9066 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9069 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9071 return Py_BuildValue((char *)"");
9073 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9080 (char *) "self",(char *) "Language", NULL
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9086 arg2
= (int)SWIG_As_int(obj1
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9088 if (arg1
) (arg1
)->Language
= arg2
;
9090 Py_INCREF(Py_None
); resultobj
= Py_None
;
9097 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9101 PyObject
* obj0
= 0 ;
9103 (char *) "self", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 result
= (int) ((arg1
)->Language
);
9111 resultobj
= SWIG_From_int((int)result
);
9118 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9121 wxString
*arg2
= (wxString
*) 0 ;
9122 bool temp2
= False
;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9126 (char *) "self",(char *) "CanonicalName", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9133 arg2
= wxString_in_helper(obj1
);
9134 if (arg2
== NULL
) SWIG_fail
;
9137 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9139 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9158 PyObject
* obj0
= 0 ;
9160 (char *) "self", NULL
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9166 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9170 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9172 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9181 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9184 wxString
*arg2
= (wxString
*) 0 ;
9185 bool temp2
= False
;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9189 (char *) "self",(char *) "Description", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9196 arg2
= wxString_in_helper(obj1
);
9197 if (arg2
== NULL
) SWIG_fail
;
9200 if (arg1
) (arg1
)->Description
= *arg2
;
9202 Py_INCREF(Py_None
); resultobj
= Py_None
;
9217 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9223 (char *) "self", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9229 result
= (wxString
*)& ((arg1
)->Description
);
9233 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9235 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9244 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9247 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9249 return Py_BuildValue((char *)"");
9251 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 int arg1
= (int) -1 ;
9254 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9256 PyObject
* obj0
= 0 ;
9257 PyObject
* obj1
= 0 ;
9259 (char *) "language",(char *) "flags", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9264 arg1
= (int)SWIG_As_int(obj0
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9268 arg2
= (int)SWIG_As_int(obj1
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9285 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxLocale
*arg1
= (wxLocale
*) 0 ;
9288 PyObject
* obj0
= 0 ;
9290 (char *) "self", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 Py_INCREF(Py_None
); resultobj
= Py_None
;
9310 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxLocale
*arg1
= (wxLocale
*) 0 ;
9313 wxString
*arg2
= 0 ;
9314 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9316 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9317 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9318 bool arg5
= (bool) True
;
9319 bool arg6
= (bool) False
;
9321 bool temp2
= False
;
9322 bool temp3
= False
;
9323 bool temp4
= False
;
9324 PyObject
* obj0
= 0 ;
9325 PyObject
* obj1
= 0 ;
9326 PyObject
* obj2
= 0 ;
9327 PyObject
* obj3
= 0 ;
9328 PyObject
* obj4
= 0 ;
9329 PyObject
* obj5
= 0 ;
9331 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9338 arg2
= wxString_in_helper(obj1
);
9339 if (arg2
== NULL
) SWIG_fail
;
9344 arg3
= wxString_in_helper(obj2
);
9345 if (arg3
== NULL
) SWIG_fail
;
9351 arg4
= wxString_in_helper(obj3
);
9352 if (arg4
== NULL
) SWIG_fail
;
9357 arg5
= (bool)SWIG_As_bool(obj4
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 arg6
= (bool)SWIG_As_bool(obj5
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9404 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxLocale
*arg1
= (wxLocale
*) 0 ;
9407 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9408 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9410 PyObject
* obj0
= 0 ;
9411 PyObject
* obj1
= 0 ;
9412 PyObject
* obj2
= 0 ;
9414 (char *) "self",(char *) "language",(char *) "flags", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9421 arg2
= (int)SWIG_As_int(obj1
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 arg3
= (int)SWIG_As_int(obj2
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9444 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
*resultobj
;
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (int)wxLocale::GetSystemLanguage();
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_From_int((int)result
);
9466 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (int)wxLocale::GetSystemEncoding();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= SWIG_From_int((int)result
);
9488 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= wxLocale::GetSystemEncodingName();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9516 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxLocale
*arg1
= (wxLocale
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9544 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxLocale
*arg1
= (wxLocale
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9550 (char *) "self", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= ((wxLocale
const *)arg1
)->GetLocale();
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9576 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxLocale
*arg1
= (wxLocale
*) 0 ;
9580 PyObject
* obj0
= 0 ;
9582 (char *) "self", NULL
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_From_int((int)result
);
9602 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxLocale
*arg1
= (wxLocale
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9608 (char *) "self", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= ((wxLocale
const *)arg1
)->GetSysName();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9634 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxLocale
*arg1
= (wxLocale
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9666 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxString
*arg1
= 0 ;
9669 bool temp1
= False
;
9670 PyObject
* obj0
= 0 ;
9672 (char *) "prefix", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9677 arg1
= wxString_in_helper(obj0
);
9678 if (arg1
== NULL
) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 Py_INCREF(Py_None
); resultobj
= Py_None
;
9703 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxLocale
*arg1
= (wxLocale
*) 0 ;
9706 wxString
*arg2
= 0 ;
9708 bool temp2
= False
;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9712 (char *) "self",(char *) "szDomain", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9719 arg2
= wxString_in_helper(obj1
);
9720 if (arg2
== NULL
) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9747 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxLocale
*arg1
= (wxLocale
*) 0 ;
9750 wxString
*arg2
= 0 ;
9752 bool temp2
= False
;
9753 PyObject
* obj0
= 0 ;
9754 PyObject
* obj1
= 0 ;
9756 (char *) "self",(char *) "szDomain", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 arg2
= wxString_in_helper(obj1
);
9764 if (arg2
== NULL
) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9791 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9794 wxLanguageInfo
*result
;
9795 PyObject
* obj0
= 0 ;
9797 (char *) "lang", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9801 arg1
= (int)SWIG_As_int(obj0
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9817 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "lang", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9827 arg1
= (int)SWIG_As_int(obj0
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 result
= wxLocale::GetLanguageName(arg1
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9849 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxString
*arg1
= 0 ;
9852 wxLanguageInfo
*result
;
9853 bool temp1
= False
;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "locale", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9861 arg1
= wxString_in_helper(obj0
);
9862 if (arg1
== NULL
) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9887 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxLanguageInfo
*arg1
= 0 ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "info", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9900 PyErr_SetString(PyExc_TypeError
,"null reference");
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 Py_INCREF(Py_None
); resultobj
= Py_None
;
9917 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxLocale
*arg1
= (wxLocale
*) 0 ;
9920 wxString
*arg2
= 0 ;
9921 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9922 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9924 bool temp2
= False
;
9925 bool temp3
= False
;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9928 PyObject
* obj2
= 0 ;
9930 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9937 arg2
= wxString_in_helper(obj1
);
9938 if (arg2
== NULL
) SWIG_fail
;
9943 arg3
= wxString_in_helper(obj2
);
9944 if (arg3
== NULL
) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9984 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxLocale
*arg1
= (wxLocale
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9990 (char *) "self", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10000 result
= (wxString
*) &_result_ref
;
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10010 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10019 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10022 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10024 return Py_BuildValue((char *)"");
10026 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
;
10029 char *kwnames
[] = {
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (wxLocale
*)wxGetLocale();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10048 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10049 PyObject
*resultobj
;
10050 wxString
*arg1
= 0 ;
10052 bool temp1
= False
;
10053 PyObject
* obj0
= 0 ;
10055 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10057 arg1
= wxString_in_helper(obj0
);
10058 if (arg1
== NULL
) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= wxGetTranslation((wxString
const &)*arg1
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10089 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10090 PyObject
*resultobj
;
10091 wxString
*arg1
= 0 ;
10092 wxString
*arg2
= 0 ;
10095 bool temp1
= False
;
10096 bool temp2
= False
;
10097 PyObject
* obj0
= 0 ;
10098 PyObject
* obj1
= 0 ;
10099 PyObject
* obj2
= 0 ;
10101 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10103 arg1
= wxString_in_helper(obj0
);
10104 if (arg1
== NULL
) SWIG_fail
;
10108 arg2
= wxString_in_helper(obj1
);
10109 if (arg2
== NULL
) SWIG_fail
;
10112 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10150 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10155 argc
= PyObject_Length(args
);
10156 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10157 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10162 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10165 return _wrap_GetTranslation__SWIG_0(self
,args
);
10171 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10175 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10178 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10180 return _wrap_GetTranslation__SWIG_1(self
,args
);
10186 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10191 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxEncodingConverter
*result
;
10194 char *kwnames
[] = {
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10213 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 Py_INCREF(Py_None
); resultobj
= Py_None
;
10238 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10243 int arg4
= (int) wxCONVERT_STRICT
;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 PyObject
* obj2
= 0 ;
10248 PyObject
* obj3
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 arg2
= (int)SWIG_As_int(obj1
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10258 arg3
= (int)SWIG_As_int(obj2
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 arg4
= (int)SWIG_As_int(obj3
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10280 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10283 wxString
*arg2
= 0 ;
10285 bool temp2
= False
;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "self",(char *) "input", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10296 arg2
= wxString_in_helper(obj1
);
10297 if (arg2
== NULL
) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10328 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10331 int arg2
= (int) wxPLATFORM_CURRENT
;
10332 wxFontEncodingArray result
;
10333 PyObject
* obj0
= 0 ;
10334 PyObject
* obj1
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "enc",(char *) "platform", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10340 arg1
= (int)SWIG_As_int(obj0
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 arg2
= (int)SWIG_As_int(obj1
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= PyList_New(0);
10355 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10356 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10357 PyList_Append(resultobj
, number
);
10367 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
;
10370 wxFontEncodingArray result
;
10371 PyObject
* obj0
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "enc", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10377 arg1
= (int)SWIG_As_int(obj0
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= PyList_New(0);
10388 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10389 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10390 PyList_Append(resultobj
, number
);
10400 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10405 PyObject
* obj0
= 0 ;
10406 PyObject
* obj1
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "encIn",(char *) "encOut", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10412 arg1
= (int)SWIG_As_int(obj0
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10414 arg2
= (int)SWIG_As_int(obj1
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10432 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10435 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10437 return Py_BuildValue((char *)"");
10439 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxDC
*arg1
= (wxDC
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 Py_INCREF(Py_None
); resultobj
= Py_None
;
10464 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxDC
*arg1
= (wxDC
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->BeginDrawing();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 Py_INCREF(Py_None
); resultobj
= Py_None
;
10489 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxDC
*arg1
= (wxDC
*) 0 ;
10492 PyObject
* obj0
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "self", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 (arg1
)->EndDrawing();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 Py_INCREF(Py_None
); resultobj
= Py_None
;
10514 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxDC
*arg1
= (wxDC
*) 0 ;
10519 wxColour
*arg4
= 0 ;
10520 int arg5
= (int) wxFLOOD_SURFACE
;
10523 PyObject
* obj0
= 0 ;
10524 PyObject
* obj1
= 0 ;
10525 PyObject
* obj2
= 0 ;
10526 PyObject
* obj3
= 0 ;
10527 PyObject
* obj4
= 0 ;
10528 char *kwnames
[] = {
10529 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10535 arg2
= (int)SWIG_As_int(obj1
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10537 arg3
= (int)SWIG_As_int(obj2
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10541 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10544 arg5
= (int)SWIG_As_int(obj4
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10563 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxDC
*arg1
= (wxDC
*) 0 ;
10566 wxPoint
*arg2
= 0 ;
10567 wxColour
*arg3
= 0 ;
10568 int arg4
= (int) wxFLOOD_SURFACE
;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 PyObject
* obj2
= 0 ;
10575 PyObject
* obj3
= 0 ;
10576 char *kwnames
[] = {
10577 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10589 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10592 arg4
= (int)SWIG_As_int(obj3
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10611 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
*resultobj
;
10613 wxDC
*arg1
= (wxDC
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 PyObject
* obj2
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "self",(char *) "x",(char *) "y", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10627 arg2
= (int)SWIG_As_int(obj1
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10629 arg3
= (int)SWIG_As_int(obj2
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 wxColour
* resultptr
;
10640 resultptr
= new wxColour((wxColour
&) result
);
10641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10649 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxDC
*arg1
= (wxDC
*) 0 ;
10652 wxPoint
*arg2
= 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self",(char *) "pt", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 wxColour
* resultptr
;
10677 resultptr
= new wxColour((wxColour
&) result
);
10678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10686 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxDC
*arg1
= (wxDC
*) 0 ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 PyObject
* obj2
= 0 ;
10696 PyObject
* obj3
= 0 ;
10697 PyObject
* obj4
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10705 arg2
= (int)SWIG_As_int(obj1
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10707 arg3
= (int)SWIG_As_int(obj2
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10709 arg4
= (int)SWIG_As_int(obj3
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10711 arg5
= (int)SWIG_As_int(obj4
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxDC
*arg1
= (wxDC
*) 0 ;
10730 wxPoint
*arg2
= 0 ;
10731 wxPoint
*arg3
= 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 Py_INCREF(Py_None
); resultobj
= Py_None
;
10766 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
;
10768 wxDC
*arg1
= (wxDC
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 PyObject
* obj2
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "x",(char *) "y", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= (int)SWIG_As_int(obj1
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10783 arg3
= (int)SWIG_As_int(obj2
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 (arg1
)->CrossHair(arg2
,arg3
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10792 Py_INCREF(Py_None
); resultobj
= Py_None
;
10799 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxDC
*arg1
= (wxDC
*) 0 ;
10802 wxPoint
*arg2
= 0 ;
10804 PyObject
* obj0
= 0 ;
10805 PyObject
* obj1
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self",(char *) "pt", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10824 Py_INCREF(Py_None
); resultobj
= Py_None
;
10831 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10832 PyObject
*resultobj
;
10833 wxDC
*arg1
= (wxDC
*) 0 ;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 PyObject
* obj2
= 0 ;
10843 PyObject
* obj3
= 0 ;
10844 PyObject
* obj4
= 0 ;
10845 PyObject
* obj5
= 0 ;
10846 PyObject
* obj6
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10854 arg2
= (int)SWIG_As_int(obj1
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10856 arg3
= (int)SWIG_As_int(obj2
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10858 arg4
= (int)SWIG_As_int(obj3
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10860 arg5
= (int)SWIG_As_int(obj4
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10862 arg6
= (int)SWIG_As_int(obj5
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10864 arg7
= (int)SWIG_As_int(obj6
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 Py_INCREF(Py_None
); resultobj
= Py_None
;
10880 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxDC
*arg1
= (wxDC
*) 0 ;
10883 wxPoint
*arg2
= 0 ;
10884 wxPoint
*arg3
= 0 ;
10885 wxPoint
*arg4
= 0 ;
10889 PyObject
* obj0
= 0 ;
10890 PyObject
* obj1
= 0 ;
10891 PyObject
* obj2
= 0 ;
10892 PyObject
* obj3
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10910 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 Py_INCREF(Py_None
); resultobj
= Py_None
;
10926 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxDC
*arg1
= (wxDC
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 PyObject
* obj2
= 0 ;
10936 PyObject
* obj3
= 0 ;
10937 PyObject
* obj4
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 arg2
= (int)SWIG_As_int(obj1
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10947 arg3
= (int)SWIG_As_int(obj2
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10949 arg4
= (int)SWIG_As_int(obj3
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10951 arg5
= (int)SWIG_As_int(obj4
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 Py_INCREF(Py_None
); resultobj
= Py_None
;
10967 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxDC
*arg1
= (wxDC
*) 0 ;
10972 PyObject
* obj0
= 0 ;
10973 PyObject
* obj1
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "self",(char *) "rect", NULL
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10983 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10992 Py_INCREF(Py_None
); resultobj
= Py_None
;
10999 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxDC
*arg1
= (wxDC
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 PyObject
* obj1
= 0 ;
11010 PyObject
* obj2
= 0 ;
11011 PyObject
* obj3
= 0 ;
11012 PyObject
* obj4
= 0 ;
11013 PyObject
* obj5
= 0 ;
11014 PyObject
* obj6
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11022 arg2
= (int)SWIG_As_int(obj1
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11024 arg3
= (int)SWIG_As_int(obj2
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11026 arg4
= (int)SWIG_As_int(obj3
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11028 arg5
= (int)SWIG_As_int(obj4
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11030 arg6
= (double)SWIG_As_double(obj5
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11032 arg7
= (double)SWIG_As_double(obj6
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 Py_INCREF(Py_None
); resultobj
= Py_None
;
11048 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11050 wxDC
*arg1
= (wxDC
*) 0 ;
11051 wxPoint
*arg2
= 0 ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 PyObject
* obj2
= 0 ;
11060 PyObject
* obj3
= 0 ;
11061 PyObject
* obj4
= 0 ;
11062 char *kwnames
[] = {
11063 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11075 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11077 arg4
= (double)SWIG_As_double(obj3
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11079 arg5
= (double)SWIG_As_double(obj4
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxDC
*arg1
= (wxDC
*) 0 ;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 PyObject
* obj2
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self",(char *) "x",(char *) "y", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 arg2
= (int)SWIG_As_int(obj1
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11112 arg3
= (int)SWIG_As_int(obj2
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 (arg1
)->DrawPoint(arg2
,arg3
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 Py_INCREF(Py_None
); resultobj
= Py_None
;
11128 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxDC
*arg1
= (wxDC
*) 0 ;
11131 wxPoint
*arg2
= 0 ;
11133 PyObject
* obj0
= 0 ;
11134 PyObject
* obj1
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self",(char *) "pt", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11144 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxDC
*arg1
= (wxDC
*) 0 ;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 PyObject
* obj2
= 0 ;
11170 PyObject
* obj3
= 0 ;
11171 PyObject
* obj4
= 0 ;
11172 char *kwnames
[] = {
11173 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11179 arg2
= (int)SWIG_As_int(obj1
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11181 arg3
= (int)SWIG_As_int(obj2
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11183 arg4
= (int)SWIG_As_int(obj3
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11185 arg5
= (int)SWIG_As_int(obj4
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxDC
*arg1
= (wxDC
*) 0 ;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "rect", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxDC
*arg1
= (wxDC
*) 0 ;
11236 wxPoint
*arg2
= 0 ;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 PyObject
* obj2
= 0 ;
11243 char *kwnames
[] = {
11244 (char *) "self",(char *) "pt",(char *) "sz", NULL
11247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11256 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 Py_INCREF(Py_None
); resultobj
= Py_None
;
11272 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxDC
*arg1
= (wxDC
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 PyObject
* obj2
= 0 ;
11283 PyObject
* obj3
= 0 ;
11284 PyObject
* obj4
= 0 ;
11285 PyObject
* obj5
= 0 ;
11286 char *kwnames
[] = {
11287 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11293 arg2
= (int)SWIG_As_int(obj1
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11295 arg3
= (int)SWIG_As_int(obj2
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11297 arg4
= (int)SWIG_As_int(obj3
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11299 arg5
= (int)SWIG_As_int(obj4
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11301 arg6
= (double)SWIG_As_double(obj5
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 Py_INCREF(Py_None
); resultobj
= Py_None
;
11317 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxDC
*arg1
= (wxDC
*) 0 ;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 PyObject
* obj2
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "r",(char *) "radius", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11335 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11337 arg3
= (double)SWIG_As_double(obj2
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 Py_INCREF(Py_None
); resultobj
= Py_None
;
11353 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxDC
*arg1
= (wxDC
*) 0 ;
11356 wxPoint
*arg2
= 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 PyObject
* obj2
= 0 ;
11364 PyObject
* obj3
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11374 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11378 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11380 arg4
= (double)SWIG_As_double(obj3
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 Py_INCREF(Py_None
); resultobj
= Py_None
;
11396 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
*resultobj
;
11398 wxDC
*arg1
= (wxDC
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 PyObject
* obj2
= 0 ;
11405 PyObject
* obj3
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11413 arg2
= (int)SWIG_As_int(obj1
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11415 arg3
= (int)SWIG_As_int(obj2
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11417 arg4
= (int)SWIG_As_int(obj3
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 Py_INCREF(Py_None
); resultobj
= Py_None
;
11433 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxDC
*arg1
= (wxDC
*) 0 ;
11436 wxPoint
*arg2
= 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11441 PyObject
* obj2
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "pt",(char *) "radius", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11451 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11453 arg3
= (int)SWIG_As_int(obj2
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 Py_INCREF(Py_None
); resultobj
= Py_None
;
11469 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxDC
*arg1
= (wxDC
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 PyObject
* obj2
= 0 ;
11479 PyObject
* obj3
= 0 ;
11480 PyObject
* obj4
= 0 ;
11481 char *kwnames
[] = {
11482 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11488 arg2
= (int)SWIG_As_int(obj1
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11490 arg3
= (int)SWIG_As_int(obj2
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11492 arg4
= (int)SWIG_As_int(obj3
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11494 arg5
= (int)SWIG_As_int(obj4
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 Py_INCREF(Py_None
); resultobj
= Py_None
;
11510 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxDC
*arg1
= (wxDC
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "self",(char *) "rect", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11526 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 Py_INCREF(Py_None
); resultobj
= Py_None
;
11542 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxDC
*arg1
= (wxDC
*) 0 ;
11545 wxPoint
*arg2
= 0 ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 PyObject
* obj2
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self",(char *) "pt",(char *) "sz", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11565 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 Py_INCREF(Py_None
); resultobj
= Py_None
;
11581 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxDC
*arg1
= (wxDC
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 PyObject
* obj2
= 0 ;
11590 PyObject
* obj3
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11601 if (arg2
== NULL
) {
11602 PyErr_SetString(PyExc_TypeError
,"null reference");
11605 arg3
= (int)SWIG_As_int(obj2
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11607 arg4
= (int)SWIG_As_int(obj3
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 Py_INCREF(Py_None
); resultobj
= Py_None
;
11623 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxDC
*arg1
= (wxDC
*) 0 ;
11627 wxPoint
*arg3
= 0 ;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj1
= 0 ;
11631 PyObject
* obj2
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self",(char *) "icon",(char *) "pt", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11642 if (arg2
== NULL
) {
11643 PyErr_SetString(PyExc_TypeError
,"null reference");
11648 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 Py_INCREF(Py_None
); resultobj
= Py_None
;
11664 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxDC
*arg1
= (wxDC
*) 0 ;
11667 wxBitmap
*arg2
= 0 ;
11670 bool arg5
= (bool) False
;
11671 PyObject
* obj0
= 0 ;
11672 PyObject
* obj1
= 0 ;
11673 PyObject
* obj2
= 0 ;
11674 PyObject
* obj3
= 0 ;
11675 PyObject
* obj4
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11686 if (arg2
== NULL
) {
11687 PyErr_SetString(PyExc_TypeError
,"null reference");
11690 arg3
= (int)SWIG_As_int(obj2
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11692 arg4
= (int)SWIG_As_int(obj3
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 arg5
= (bool)SWIG_As_bool(obj4
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 Py_INCREF(Py_None
); resultobj
= Py_None
;
11712 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxDC
*arg1
= (wxDC
*) 0 ;
11715 wxBitmap
*arg2
= 0 ;
11716 wxPoint
*arg3
= 0 ;
11717 bool arg4
= (bool) False
;
11719 PyObject
* obj0
= 0 ;
11720 PyObject
* obj1
= 0 ;
11721 PyObject
* obj2
= 0 ;
11722 PyObject
* obj3
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11733 if (arg2
== NULL
) {
11734 PyErr_SetString(PyExc_TypeError
,"null reference");
11739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11742 arg4
= (bool)SWIG_As_bool(obj3
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 Py_INCREF(Py_None
); resultobj
= Py_None
;
11759 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxDC
*arg1
= (wxDC
*) 0 ;
11762 wxString
*arg2
= 0 ;
11765 bool temp2
= False
;
11766 PyObject
* obj0
= 0 ;
11767 PyObject
* obj1
= 0 ;
11768 PyObject
* obj2
= 0 ;
11769 PyObject
* obj3
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11778 arg2
= wxString_in_helper(obj1
);
11779 if (arg2
== NULL
) SWIG_fail
;
11782 arg3
= (int)SWIG_As_int(obj2
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11784 arg4
= (int)SWIG_As_int(obj3
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 Py_INCREF(Py_None
); resultobj
= Py_None
;
11808 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxDC
*arg1
= (wxDC
*) 0 ;
11811 wxString
*arg2
= 0 ;
11812 wxPoint
*arg3
= 0 ;
11813 bool temp2
= False
;
11815 PyObject
* obj0
= 0 ;
11816 PyObject
* obj1
= 0 ;
11817 PyObject
* obj2
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self",(char *) "text",(char *) "pt", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 arg2
= wxString_in_helper(obj1
);
11827 if (arg2
== NULL
) SWIG_fail
;
11832 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 Py_INCREF(Py_None
); resultobj
= Py_None
;
11856 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxDC
*arg1
= (wxDC
*) 0 ;
11859 wxString
*arg2
= 0 ;
11863 bool temp2
= False
;
11864 PyObject
* obj0
= 0 ;
11865 PyObject
* obj1
= 0 ;
11866 PyObject
* obj2
= 0 ;
11867 PyObject
* obj3
= 0 ;
11868 PyObject
* obj4
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11877 arg2
= wxString_in_helper(obj1
);
11878 if (arg2
== NULL
) SWIG_fail
;
11881 arg3
= (int)SWIG_As_int(obj2
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11883 arg4
= (int)SWIG_As_int(obj3
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11885 arg5
= (double)SWIG_As_double(obj4
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 Py_INCREF(Py_None
); resultobj
= Py_None
;
11909 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxDC
*arg1
= (wxDC
*) 0 ;
11912 wxString
*arg2
= 0 ;
11913 wxPoint
*arg3
= 0 ;
11915 bool temp2
= False
;
11917 PyObject
* obj0
= 0 ;
11918 PyObject
* obj1
= 0 ;
11919 PyObject
* obj2
= 0 ;
11920 PyObject
* obj3
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11929 arg2
= wxString_in_helper(obj1
);
11930 if (arg2
== NULL
) SWIG_fail
;
11935 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11937 arg4
= (double)SWIG_As_double(obj3
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 Py_INCREF(Py_None
); resultobj
= Py_None
;
11961 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxDC
*arg1
= (wxDC
*) 0 ;
11968 wxDC
*arg6
= (wxDC
*) 0 ;
11971 int arg9
= (int) wxCOPY
;
11972 bool arg10
= (bool) False
;
11973 int arg11
= (int) -1 ;
11974 int arg12
= (int) -1 ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 PyObject
* obj2
= 0 ;
11979 PyObject
* obj3
= 0 ;
11980 PyObject
* obj4
= 0 ;
11981 PyObject
* obj5
= 0 ;
11982 PyObject
* obj6
= 0 ;
11983 PyObject
* obj7
= 0 ;
11984 PyObject
* obj8
= 0 ;
11985 PyObject
* obj9
= 0 ;
11986 PyObject
* obj10
= 0 ;
11987 PyObject
* obj11
= 0 ;
11988 char *kwnames
[] = {
11989 (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
11992 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
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11995 arg2
= (int)SWIG_As_int(obj1
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11997 arg3
= (int)SWIG_As_int(obj2
);
11998 if (PyErr_Occurred()) SWIG_fail
;
11999 arg4
= (int)SWIG_As_int(obj3
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12001 arg5
= (int)SWIG_As_int(obj4
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12003 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12005 arg7
= (int)SWIG_As_int(obj6
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12007 arg8
= (int)SWIG_As_int(obj7
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 arg9
= (int)SWIG_As_int(obj8
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12014 arg10
= (bool)SWIG_As_bool(obj9
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12018 arg11
= (int)SWIG_As_int(obj10
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12022 arg12
= (int)SWIG_As_int(obj11
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12041 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxDC
*arg1
= (wxDC
*) 0 ;
12044 wxPoint
*arg2
= 0 ;
12046 wxDC
*arg4
= (wxDC
*) 0 ;
12047 wxPoint
*arg5
= 0 ;
12048 int arg6
= (int) wxCOPY
;
12049 bool arg7
= (bool) False
;
12050 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12051 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 PyObject
* obj2
= 0 ;
12060 PyObject
* obj3
= 0 ;
12061 PyObject
* obj4
= 0 ;
12062 PyObject
* obj5
= 0 ;
12063 PyObject
* obj6
= 0 ;
12064 PyObject
* obj7
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12078 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12080 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12084 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12087 arg6
= (int)SWIG_As_int(obj5
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 arg7
= (bool)SWIG_As_bool(obj6
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12097 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12116 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxDC
*arg1
= (wxDC
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 PyObject
* obj2
= 0 ;
12126 PyObject
* obj3
= 0 ;
12127 PyObject
* obj4
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12135 arg2
= (int)SWIG_As_int(obj1
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12137 arg3
= (int)SWIG_As_int(obj2
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12139 arg4
= (int)SWIG_As_int(obj3
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12141 arg5
= (int)SWIG_As_int(obj4
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 Py_INCREF(Py_None
); resultobj
= Py_None
;
12157 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxDC
*arg1
= (wxDC
*) 0 ;
12160 wxPoint
*arg2
= 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 PyObject
* obj2
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "pt",(char *) "sz", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12180 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 Py_INCREF(Py_None
); resultobj
= Py_None
;
12196 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxDC
*arg1
= (wxDC
*) 0 ;
12199 wxRegion
*arg2
= 0 ;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self",(char *) "region", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12212 if (arg2
== NULL
) {
12213 PyErr_SetString(PyExc_TypeError
,"null reference");
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 Py_INCREF(Py_None
); resultobj
= Py_None
;
12230 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxDC
*arg1
= (wxDC
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self",(char *) "rect", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 Py_INCREF(Py_None
); resultobj
= Py_None
;
12262 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxDC
*arg1
= (wxDC
*) 0 ;
12266 wxPoint
*arg3
= (wxPoint
*) 0 ;
12267 int arg4
= (int) 0 ;
12268 int arg5
= (int) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 PyObject
* obj1
= 0 ;
12271 PyObject
* obj2
= 0 ;
12272 PyObject
* obj3
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12282 if (arg3
== NULL
) SWIG_fail
;
12285 arg4
= (int)SWIG_As_int(obj2
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12289 arg5
= (int)SWIG_As_int(obj3
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 Py_INCREF(Py_None
); resultobj
= Py_None
;
12301 if (arg3
) delete [] arg3
;
12306 if (arg3
) delete [] arg3
;
12312 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxDC
*arg1
= (wxDC
*) 0 ;
12316 wxPoint
*arg3
= (wxPoint
*) 0 ;
12317 int arg4
= (int) 0 ;
12318 int arg5
= (int) 0 ;
12319 int arg6
= (int) wxODDEVEN_RULE
;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 PyObject
* obj2
= 0 ;
12323 PyObject
* obj3
= 0 ;
12324 PyObject
* obj4
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12333 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12334 if (arg3
== NULL
) SWIG_fail
;
12337 arg4
= (int)SWIG_As_int(obj2
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 arg5
= (int)SWIG_As_int(obj3
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12345 arg6
= (int)SWIG_As_int(obj4
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 if (arg3
) delete [] arg3
;
12362 if (arg3
) delete [] arg3
;
12368 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxDC
*arg1
= (wxDC
*) 0 ;
12371 wxString
*arg2
= 0 ;
12373 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12374 int arg5
= (int) -1 ;
12375 bool temp2
= False
;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 PyObject
* obj2
= 0 ;
12380 PyObject
* obj3
= 0 ;
12381 PyObject
* obj4
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12390 arg2
= wxString_in_helper(obj1
);
12391 if (arg2
== NULL
) SWIG_fail
;
12396 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12399 arg4
= (int)SWIG_As_int(obj3
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12403 arg5
= (int)SWIG_As_int(obj4
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 Py_INCREF(Py_None
); resultobj
= Py_None
;
12428 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
;
12430 wxDC
*arg1
= (wxDC
*) 0 ;
12431 wxString
*arg2
= 0 ;
12432 wxBitmap
*arg3
= 0 ;
12434 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12435 int arg6
= (int) -1 ;
12437 bool temp2
= False
;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 PyObject
* obj2
= 0 ;
12442 PyObject
* obj3
= 0 ;
12443 PyObject
* obj4
= 0 ;
12444 PyObject
* obj5
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12453 arg2
= wxString_in_helper(obj1
);
12454 if (arg2
== NULL
) SWIG_fail
;
12457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12460 if (arg3
== NULL
) {
12461 PyErr_SetString(PyExc_TypeError
,"null reference");
12466 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12469 arg5
= (int)SWIG_As_int(obj4
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12473 arg6
= (int)SWIG_As_int(obj5
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12484 wxRect
* resultptr
;
12485 resultptr
= new wxRect((wxRect
&) result
);
12486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12502 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12503 PyObject
*resultobj
;
12504 wxDC
*arg1
= (wxDC
*) 0 ;
12506 wxPoint
*arg3
= (wxPoint
*) 0 ;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self",(char *) "points", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12517 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12518 if (arg3
== NULL
) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 (arg1
)->DrawSpline(arg2
,arg3
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 Py_INCREF(Py_None
); resultobj
= Py_None
;
12529 if (arg3
) delete [] arg3
;
12534 if (arg3
) delete [] arg3
;
12540 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12541 PyObject
*resultobj
;
12542 wxDC
*arg1
= (wxDC
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 Py_INCREF(Py_None
); resultobj
= Py_None
;
12565 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxDC
*arg1
= (wxDC
*) 0 ;
12568 wxString
*arg2
= 0 ;
12570 bool temp2
= False
;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "message", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 arg2
= wxString_in_helper(obj1
);
12582 if (arg2
== NULL
) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12609 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxDC
*arg1
= (wxDC
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 Py_INCREF(Py_None
); resultobj
= Py_None
;
12634 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxDC
*arg1
= (wxDC
*) 0 ;
12637 PyObject
* obj0
= 0 ;
12638 char *kwnames
[] = {
12639 (char *) "self", NULL
12642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 (arg1
)->StartPage();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 Py_INCREF(Py_None
); resultobj
= Py_None
;
12659 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxDC
*arg1
= (wxDC
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 Py_INCREF(Py_None
); resultobj
= Py_None
;
12684 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
;
12686 wxDC
*arg1
= (wxDC
*) 0 ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "font", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12700 if (arg2
== NULL
) {
12701 PyErr_SetString(PyExc_TypeError
,"null reference");
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetFont((wxFont
const &)*arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxDC
*arg1
= (wxDC
*) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 PyObject
* obj1
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self",(char *) "pen", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12734 if (arg2
== NULL
) {
12735 PyErr_SetString(PyExc_TypeError
,"null reference");
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 (arg1
)->SetPen((wxPen
const &)*arg2
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 Py_INCREF(Py_None
); resultobj
= Py_None
;
12752 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxDC
*arg1
= (wxDC
*) 0 ;
12755 wxBrush
*arg2
= 0 ;
12756 PyObject
* obj0
= 0 ;
12757 PyObject
* obj1
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self",(char *) "brush", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12768 if (arg2
== NULL
) {
12769 PyErr_SetString(PyExc_TypeError
,"null reference");
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 Py_INCREF(Py_None
); resultobj
= Py_None
;
12786 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
;
12788 wxDC
*arg1
= (wxDC
*) 0 ;
12789 wxBrush
*arg2
= 0 ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self",(char *) "brush", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12802 if (arg2
== NULL
) {
12803 PyErr_SetString(PyExc_TypeError
,"null reference");
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 Py_INCREF(Py_None
); resultobj
= Py_None
;
12820 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
;
12822 wxDC
*arg1
= (wxDC
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self",(char *) "mode", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12833 arg2
= (int)SWIG_As_int(obj1
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 (arg1
)->SetBackgroundMode(arg2
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 Py_INCREF(Py_None
); resultobj
= Py_None
;
12849 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxDC
*arg1
= (wxDC
*) 0 ;
12852 wxPalette
*arg2
= 0 ;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self",(char *) "palette", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12865 if (arg2
== NULL
) {
12866 PyErr_SetString(PyExc_TypeError
,"null reference");
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 Py_INCREF(Py_None
); resultobj
= Py_None
;
12883 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxDC
*arg1
= (wxDC
*) 0 ;
12886 PyObject
* obj0
= 0 ;
12887 char *kwnames
[] = {
12888 (char *) "self", NULL
12891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 (arg1
)->DestroyClippingRegion();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 Py_INCREF(Py_None
); resultobj
= Py_None
;
12908 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12909 PyObject
*resultobj
;
12910 wxDC
*arg1
= (wxDC
*) 0 ;
12911 int *arg2
= (int *) 0 ;
12912 int *arg3
= (int *) 0 ;
12913 int *arg4
= (int *) 0 ;
12914 int *arg5
= (int *) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self", NULL
12928 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12929 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12930 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12931 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12942 Py_INCREF(Py_None
); resultobj
= Py_None
;
12943 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12944 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12945 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12946 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12947 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12948 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
12949 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
12950 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
12957 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxDC
*arg1
= (wxDC
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= wxDC_GetClippingRect(arg1
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12977 wxRect
* resultptr
;
12978 resultptr
= new wxRect((wxRect
&) result
);
12979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12987 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxDC
*arg1
= (wxDC
*) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_From_int((int)result
);
13013 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxDC
*arg1
= (wxDC
*) 0 ;
13017 PyObject
* obj0
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= SWIG_From_int((int)result
);
13039 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxDC
*arg1
= (wxDC
*) 0 ;
13042 wxString
*arg2
= 0 ;
13043 int *arg3
= (int *) 0 ;
13044 int *arg4
= (int *) 0 ;
13045 bool temp2
= False
;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self",(char *) "string", NULL
13056 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13057 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13062 arg2
= wxString_in_helper(obj1
);
13063 if (arg2
== NULL
) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13075 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13076 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13077 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13092 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13093 PyObject
*resultobj
;
13094 wxDC
*arg1
= (wxDC
*) 0 ;
13095 wxString
*arg2
= 0 ;
13096 int *arg3
= (int *) 0 ;
13097 int *arg4
= (int *) 0 ;
13098 int *arg5
= (int *) 0 ;
13099 int *arg6
= (int *) 0 ;
13100 wxFont
*arg7
= (wxFont
*) NULL
;
13101 bool temp2
= False
;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 PyObject
* obj2
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "string",(char *) "font", NULL
13117 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13118 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13119 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13120 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 arg2
= wxString_in_helper(obj1
);
13126 if (arg2
== NULL
) SWIG_fail
;
13130 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13142 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13143 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13144 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13145 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13146 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13147 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13148 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13163 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxDC
*arg1
= (wxDC
*) 0 ;
13166 wxString
*arg2
= 0 ;
13167 int *arg3
= (int *) 0 ;
13168 int *arg4
= (int *) 0 ;
13169 int *arg5
= (int *) 0 ;
13170 wxFont
*arg6
= (wxFont
*) NULL
;
13171 bool temp2
= False
;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 PyObject
* obj2
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self",(char *) "text",(char *) "font", NULL
13185 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13186 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13187 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13192 arg2
= wxString_in_helper(obj1
);
13193 if (arg2
== NULL
) SWIG_fail
;
13197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13208 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13209 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13210 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13211 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13212 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13213 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13228 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
;
13230 wxDC
*arg1
= (wxDC
*) 0 ;
13231 wxString
*arg2
= 0 ;
13233 bool temp2
= False
;
13234 PyObject
* obj0
= 0 ;
13235 PyObject
* obj1
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self",(char *) "text", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 arg2
= wxString_in_helper(obj1
);
13245 if (arg2
== NULL
) SWIG_fail
;
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13250 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13252 wxPyEndAllowThreads(__tstate
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= PyList_New(0);
13258 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13259 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13260 PyList_Append(resultobj
, val
);
13278 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxDC
*arg1
= (wxDC
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (arg1
)->GetSize();
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13298 wxSize
* resultptr
;
13299 resultptr
= new wxSize((wxSize
&) result
);
13300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13308 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxDC
*arg1
= (wxDC
*) 0 ;
13311 int *arg2
= (int *) 0 ;
13312 int *arg3
= (int *) 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self", NULL
13322 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13323 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->GetSize(arg2
,arg3
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13335 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13336 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13337 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13338 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13345 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxDC
*arg1
= (wxDC
*) 0 ;
13349 PyObject
* obj0
= 0 ;
13350 char *kwnames
[] = {
13351 (char *) "self", NULL
13354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13365 wxSize
* resultptr
;
13366 resultptr
= new wxSize((wxSize
&) result
);
13367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13375 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxDC
*arg1
= (wxDC
*) 0 ;
13378 int *arg2
= (int *) 0 ;
13379 int *arg3
= (int *) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self", NULL
13389 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13390 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13402 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13403 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13404 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13405 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13412 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxDC
*arg1
= (wxDC
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "x", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 arg2
= (int)SWIG_As_int(obj1
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_From_int((int)result
);
13442 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxDC
*arg1
= (wxDC
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 PyObject
* obj1
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "y", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 arg2
= (int)SWIG_As_int(obj1
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_From_int((int)result
);
13472 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxDC
*arg1
= (wxDC
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char *kwnames
[] = {
13480 (char *) "self",(char *) "x", NULL
13483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13486 arg2
= (int)SWIG_As_int(obj1
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_From_int((int)result
);
13502 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxDC
*arg1
= (wxDC
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self",(char *) "y", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 arg2
= (int)SWIG_As_int(obj1
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_From_int((int)result
);
13532 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxDC
*arg1
= (wxDC
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self",(char *) "x", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13546 arg2
= (int)SWIG_As_int(obj1
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= SWIG_From_int((int)result
);
13562 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
;
13564 wxDC
*arg1
= (wxDC
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self",(char *) "y", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13576 arg2
= (int)SWIG_As_int(obj1
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_From_int((int)result
);
13592 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxDC
*arg1
= (wxDC
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self",(char *) "x", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13606 arg2
= (int)SWIG_As_int(obj1
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= SWIG_From_int((int)result
);
13622 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxDC
*arg1
= (wxDC
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "y", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13636 arg2
= (int)SWIG_As_int(obj1
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_From_int((int)result
);
13652 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
;
13654 wxDC
*arg1
= (wxDC
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 char *kwnames
[] = {
13658 (char *) "self", NULL
13661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13680 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxDC
*arg1
= (wxDC
*) 0 ;
13684 PyObject
* obj0
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13708 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
;
13710 wxDC
*arg1
= (wxDC
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= SWIG_From_int((int)result
);
13734 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxDC
*arg1
= (wxDC
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= ((wxDC
const *)arg1
)->GetPPI();
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 wxSize
* resultptr
;
13755 resultptr
= new wxSize((wxSize
&) result
);
13756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13764 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxDC
*arg1
= (wxDC
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (bool)((wxDC
const *)arg1
)->Ok();
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13792 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxDC
*arg1
= (wxDC
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_From_int((int)result
);
13818 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxDC
*arg1
= (wxDC
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "self", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13834 result
= (wxBrush
*) &_result_ref
;
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 wxBrush
* resultptr
= new wxBrush(*result
);
13842 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13850 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
;
13852 wxDC
*arg1
= (wxDC
*) 0 ;
13854 PyObject
* obj0
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13866 result
= (wxBrush
*) &_result_ref
;
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13873 wxBrush
* resultptr
= new wxBrush(*result
);
13874 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13882 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxDC
*arg1
= (wxDC
*) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "self", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13898 result
= (wxFont
*) &_result_ref
;
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 wxFont
* resultptr
= new wxFont(*result
);
13906 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13914 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxDC
*arg1
= (wxDC
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13930 result
= (wxPen
*) &_result_ref
;
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13937 wxPen
* resultptr
= new wxPen(*result
);
13938 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13946 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxDC
*arg1
= (wxDC
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13962 result
= (wxColour
*) &_result_ref
;
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13975 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxDC
*arg1
= (wxDC
*) 0 ;
13979 PyObject
* obj0
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13991 result
= (wxColour
*) &_result_ref
;
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14004 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxDC
*arg1
= (wxDC
*) 0 ;
14007 wxColour
*arg2
= 0 ;
14009 PyObject
* obj0
= 0 ;
14010 PyObject
* obj1
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self",(char *) "colour", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14020 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 Py_INCREF(Py_None
); resultobj
= Py_None
;
14036 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxDC
*arg1
= (wxDC
*) 0 ;
14039 wxColour
*arg2
= 0 ;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self",(char *) "colour", NULL
14047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14052 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14061 Py_INCREF(Py_None
); resultobj
= Py_None
;
14068 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxDC
*arg1
= (wxDC
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= SWIG_From_int((int)result
);
14094 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxDC
*arg1
= (wxDC
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "mode", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14107 arg2
= (int)SWIG_As_int(obj1
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 (arg1
)->SetMapMode(arg2
);
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 Py_INCREF(Py_None
); resultobj
= Py_None
;
14123 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxDC
*arg1
= (wxDC
*) 0 ;
14126 double *arg2
= (double *) 0 ;
14127 double *arg3
= (double *) 0 ;
14132 PyObject
* obj0
= 0 ;
14133 char *kwnames
[] = {
14134 (char *) "self", NULL
14137 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14138 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 Py_INCREF(Py_None
); resultobj
= Py_None
;
14150 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14151 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14152 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14153 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14160 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxDC
*arg1
= (wxDC
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 PyObject
* obj1
= 0 ;
14167 PyObject
* obj2
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self",(char *) "x",(char *) "y", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 arg2
= (double)SWIG_As_double(obj1
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14177 arg3
= (double)SWIG_As_double(obj2
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 (arg1
)->SetUserScale(arg2
,arg3
);
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 Py_INCREF(Py_None
); resultobj
= Py_None
;
14193 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxDC
*arg1
= (wxDC
*) 0 ;
14196 double *arg2
= (double *) 0 ;
14197 double *arg3
= (double *) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14208 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 (arg1
)->GetLogicalScale(arg2
,arg3
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 Py_INCREF(Py_None
); resultobj
= Py_None
;
14220 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14221 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14222 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14223 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14230 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxDC
*arg1
= (wxDC
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 PyObject
* obj2
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self",(char *) "x",(char *) "y", NULL
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14245 arg2
= (double)SWIG_As_double(obj1
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14247 arg3
= (double)SWIG_As_double(obj2
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 (arg1
)->SetLogicalScale(arg2
,arg3
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxDC
*arg1
= (wxDC
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14283 wxPoint
* resultptr
;
14284 resultptr
= new wxPoint((wxPoint
&) result
);
14285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14293 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxDC
*arg1
= (wxDC
*) 0 ;
14296 int *arg2
= (int *) 0 ;
14297 int *arg3
= (int *) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self", NULL
14307 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14308 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 Py_INCREF(Py_None
); resultobj
= Py_None
;
14320 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14321 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14322 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14323 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14330 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxDC
*arg1
= (wxDC
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 PyObject
* obj2
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self",(char *) "x",(char *) "y", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14345 arg2
= (int)SWIG_As_int(obj1
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14347 arg3
= (int)SWIG_As_int(obj2
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14363 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxDC
*arg1
= (wxDC
*) 0 ;
14366 wxPoint
*arg2
= 0 ;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj1
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self",(char *) "point", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14379 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 Py_INCREF(Py_None
); resultobj
= Py_None
;
14395 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxDC
*arg1
= (wxDC
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14415 wxPoint
* resultptr
;
14416 resultptr
= new wxPoint((wxPoint
&) result
);
14417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14425 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxDC
*arg1
= (wxDC
*) 0 ;
14428 int *arg2
= (int *) 0 ;
14429 int *arg3
= (int *) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self", NULL
14439 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14440 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 Py_INCREF(Py_None
); resultobj
= Py_None
;
14452 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14453 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14454 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14455 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14462 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxDC
*arg1
= (wxDC
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 PyObject
* obj2
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "x",(char *) "y", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14477 arg2
= (int)SWIG_As_int(obj1
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14479 arg3
= (int)SWIG_As_int(obj2
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 Py_INCREF(Py_None
); resultobj
= Py_None
;
14495 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxDC
*arg1
= (wxDC
*) 0 ;
14498 wxPoint
*arg2
= 0 ;
14500 PyObject
* obj0
= 0 ;
14501 PyObject
* obj1
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self",(char *) "point", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 Py_INCREF(Py_None
); resultobj
= Py_None
;
14527 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxDC
*arg1
= (wxDC
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 PyObject
* obj1
= 0 ;
14534 PyObject
* obj2
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 arg2
= (bool)SWIG_As_bool(obj1
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14544 arg3
= (bool)SWIG_As_bool(obj2
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14550 wxPyEndAllowThreads(__tstate
);
14551 if (PyErr_Occurred()) SWIG_fail
;
14553 Py_INCREF(Py_None
); resultobj
= Py_None
;
14560 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14561 PyObject
*resultobj
;
14562 wxDC
*arg1
= (wxDC
*) 0 ;
14564 PyObject
* obj0
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= SWIG_From_int((int)result
);
14586 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxDC
*arg1
= (wxDC
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "function", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 arg2
= (int)SWIG_As_int(obj1
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 (arg1
)->SetLogicalFunction(arg2
);
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14608 Py_INCREF(Py_None
); resultobj
= Py_None
;
14615 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxDC
*arg1
= (wxDC
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 PyObject
* obj1
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self",(char *) "optimize", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14628 arg2
= (bool)SWIG_As_bool(obj1
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 (arg1
)->SetOptimization(arg2
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 Py_INCREF(Py_None
); resultobj
= Py_None
;
14644 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxDC
*arg1
= (wxDC
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (bool)(arg1
)->GetOptimization();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14672 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxDC
*arg1
= (wxDC
*) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 PyObject
* obj2
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self",(char *) "x",(char *) "y", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14687 arg2
= (int)SWIG_As_int(obj1
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14689 arg3
= (int)SWIG_As_int(obj2
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 Py_INCREF(Py_None
); resultobj
= Py_None
;
14705 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxDC
*arg1
= (wxDC
*) 0 ;
14708 wxPoint
*arg2
= 0 ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self",(char *) "point", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 Py_INCREF(Py_None
); resultobj
= Py_None
;
14737 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxDC
*arg1
= (wxDC
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 (arg1
)->ResetBoundingBox();
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 Py_INCREF(Py_None
); resultobj
= Py_None
;
14762 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxDC
*arg1
= (wxDC
*) 0 ;
14766 PyObject
* obj0
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "self", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (int)((wxDC
const *)arg1
)->MinX();
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= SWIG_From_int((int)result
);
14788 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxDC
*arg1
= (wxDC
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (int)((wxDC
const *)arg1
)->MaxX();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= SWIG_From_int((int)result
);
14814 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxDC
*arg1
= (wxDC
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (int)((wxDC
const *)arg1
)->MinY();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_From_int((int)result
);
14840 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxDC
*arg1
= (wxDC
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (int)((wxDC
const *)arg1
)->MaxY();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_From_int((int)result
);
14866 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxDC
*arg1
= (wxDC
*) 0 ;
14869 int *arg2
= (int *) 0 ;
14870 int *arg3
= (int *) 0 ;
14871 int *arg4
= (int *) 0 ;
14872 int *arg5
= (int *) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self", NULL
14886 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14887 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14888 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14889 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 Py_INCREF(Py_None
); resultobj
= Py_None
;
14901 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14902 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14903 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14904 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14905 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14906 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14907 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14908 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14915 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxDC
*arg1
= (wxDC
*) 0 ;
14918 PyObject
*arg2
= (PyObject
*) 0 ;
14919 PyObject
*arg3
= (PyObject
*) 0 ;
14920 PyObject
*arg4
= (PyObject
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 PyObject
* obj2
= 0 ;
14925 PyObject
* obj3
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= result
;
14950 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
;
14952 wxDC
*arg1
= (wxDC
*) 0 ;
14953 PyObject
*arg2
= (PyObject
*) 0 ;
14954 PyObject
*arg3
= (PyObject
*) 0 ;
14955 PyObject
*arg4
= (PyObject
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 PyObject
* obj2
= 0 ;
14960 PyObject
* obj3
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= result
;
14985 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxDC
*arg1
= (wxDC
*) 0 ;
14988 PyObject
*arg2
= (PyObject
*) 0 ;
14989 PyObject
*arg3
= (PyObject
*) 0 ;
14990 PyObject
*arg4
= (PyObject
*) 0 ;
14992 PyObject
* obj0
= 0 ;
14993 PyObject
* obj1
= 0 ;
14994 PyObject
* obj2
= 0 ;
14995 PyObject
* obj3
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= result
;
15020 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15021 PyObject
*resultobj
;
15022 wxDC
*arg1
= (wxDC
*) 0 ;
15023 PyObject
*arg2
= (PyObject
*) 0 ;
15024 PyObject
*arg3
= (PyObject
*) 0 ;
15025 PyObject
*arg4
= (PyObject
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 PyObject
* obj1
= 0 ;
15029 PyObject
* obj2
= 0 ;
15030 PyObject
* obj3
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= result
;
15055 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxDC
*arg1
= (wxDC
*) 0 ;
15058 PyObject
*arg2
= (PyObject
*) 0 ;
15059 PyObject
*arg3
= (PyObject
*) 0 ;
15060 PyObject
*arg4
= (PyObject
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 PyObject
* obj2
= 0 ;
15065 PyObject
* obj3
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= result
;
15090 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
;
15092 wxDC
*arg1
= (wxDC
*) 0 ;
15093 PyObject
*arg2
= (PyObject
*) 0 ;
15094 PyObject
*arg3
= (PyObject
*) 0 ;
15095 PyObject
*arg4
= (PyObject
*) 0 ;
15096 PyObject
*arg5
= (PyObject
*) 0 ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 PyObject
* obj2
= 0 ;
15101 PyObject
* obj3
= 0 ;
15102 PyObject
* obj4
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= result
;
15128 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15131 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15133 return Py_BuildValue((char *)"");
15135 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15136 PyObject
*resultobj
;
15137 wxMemoryDC
*result
;
15138 char *kwnames
[] = {
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15144 if (!wxPyCheckForApp()) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (wxMemoryDC
*)new wxMemoryDC();
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15158 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxDC
*arg1
= (wxDC
*) 0 ;
15161 wxMemoryDC
*result
;
15162 PyObject
* obj0
= 0 ;
15163 char *kwnames
[] = {
15164 (char *) "oldDC", NULL
15167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15171 if (!wxPyCheckForApp()) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15185 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15188 wxBitmap
*arg2
= 0 ;
15189 PyObject
* obj0
= 0 ;
15190 PyObject
* obj1
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self",(char *) "bitmap", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15201 if (arg2
== NULL
) {
15202 PyErr_SetString(PyExc_TypeError
,"null reference");
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 Py_INCREF(Py_None
); resultobj
= Py_None
;
15219 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15222 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15224 return Py_BuildValue((char *)"");
15226 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15227 PyObject
*resultobj
;
15228 wxDC
*arg1
= (wxDC
*) 0 ;
15229 wxBitmap
*arg2
= 0 ;
15230 wxBufferedDC
*result
;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15234 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15240 if (arg2
== NULL
) {
15241 PyErr_SetString(PyExc_TypeError
,"null reference");
15245 if (!wxPyCheckForApp()) SWIG_fail
;
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15259 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15260 PyObject
*resultobj
;
15261 wxDC
*arg1
= (wxDC
*) 0 ;
15263 wxBufferedDC
*result
;
15265 PyObject
* obj0
= 0 ;
15266 PyObject
* obj1
= 0 ;
15268 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15273 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15276 if (!wxPyCheckForApp()) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15290 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15295 argc
= PyObject_Length(args
);
15296 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15297 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15303 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15313 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15321 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15329 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15338 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15341 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15346 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15351 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15352 PyObject
*resultobj
;
15353 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15354 PyObject
* obj0
= 0 ;
15355 char *kwnames
[] = {
15356 (char *) "self", NULL
15359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 Py_INCREF(Py_None
); resultobj
= Py_None
;
15376 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
;
15378 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 Py_INCREF(Py_None
); resultobj
= Py_None
;
15401 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15404 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15406 return Py_BuildValue((char *)"");
15408 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxWindow
*arg1
= (wxWindow
*) 0 ;
15411 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15412 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15413 wxBufferedPaintDC
*result
;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 char *kwnames
[] = {
15417 (char *) "window",(char *) "buffer", NULL
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15427 if (arg2
== NULL
) {
15428 PyErr_SetString(PyExc_TypeError
,"null reference");
15433 if (!wxPyCheckForApp()) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15447 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15452 return Py_BuildValue((char *)"");
15454 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 wxScreenDC
*result
;
15457 char *kwnames
[] = {
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15463 if (!wxPyCheckForApp()) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (wxScreenDC
*)new wxScreenDC();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15477 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15480 wxWindow
*arg2
= (wxWindow
*) 0 ;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self",(char *) "window", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15509 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15512 wxRect
*arg2
= (wxRect
*) NULL
;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "rect", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15543 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)(arg1
)->EndDrawingOnTop();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15574 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15576 return Py_BuildValue((char *)"");
15578 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxWindow
*arg1
= (wxWindow
*) 0 ;
15581 wxClientDC
*result
;
15582 PyObject
* obj0
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "win", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15591 if (!wxPyCheckForApp()) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (wxClientDC
*)new wxClientDC(arg1
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15605 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15608 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15610 return Py_BuildValue((char *)"");
15612 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxWindow
*arg1
= (wxWindow
*) 0 ;
15616 PyObject
* obj0
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "win", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15625 if (!wxPyCheckForApp()) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15639 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15642 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15644 return Py_BuildValue((char *)"");
15646 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxWindow
*arg1
= (wxWindow
*) 0 ;
15649 wxWindowDC
*result
;
15650 PyObject
* obj0
= 0 ;
15651 char *kwnames
[] = {
15652 (char *) "win", NULL
15655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15659 if (!wxPyCheckForApp()) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15673 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15676 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15678 return Py_BuildValue((char *)"");
15680 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15684 wxMirrorDC
*result
;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "dc",(char *) "mirror", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15695 if (arg1
== NULL
) {
15696 PyErr_SetString(PyExc_TypeError
,"null reference");
15699 arg2
= (bool)SWIG_As_bool(obj1
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 if (!wxPyCheckForApp()) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15716 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15719 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15721 return Py_BuildValue((char *)"");
15723 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxPrintData
*arg1
= 0 ;
15726 wxPostScriptDC
*result
;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "printData", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15736 if (arg1
== NULL
) {
15737 PyErr_SetString(PyExc_TypeError
,"null reference");
15741 if (!wxPyCheckForApp()) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15755 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15758 wxPrintData
*result
;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15771 result
= (wxPrintData
*) &_result_ref
;
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15784 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15787 wxPrintData
*arg2
= 0 ;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 char *kwnames
[] = {
15791 (char *) "self",(char *) "data", NULL
15794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15800 if (arg2
== NULL
) {
15801 PyErr_SetString(PyExc_TypeError
,"null reference");
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 Py_INCREF(Py_None
); resultobj
= Py_None
;
15818 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "ppi", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15827 arg1
= (int)SWIG_As_int(obj0
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 wxPostScriptDC::SetResolution(arg1
);
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 Py_INCREF(Py_None
); resultobj
= Py_None
;
15843 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15846 char *kwnames
[] = {
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (int)wxPostScriptDC::GetResolution();
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_From_int((int)result
);
15865 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
15867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15868 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15870 return Py_BuildValue((char *)"");
15872 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15873 PyObject
*resultobj
;
15874 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15875 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15876 wxMetaFile
*result
;
15877 bool temp1
= False
;
15878 PyObject
* obj0
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "filename", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15886 arg1
= wxString_in_helper(obj0
);
15887 if (arg1
== NULL
) SWIG_fail
;
15892 if (!wxPyCheckForApp()) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15914 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15917 PyObject
* obj0
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 Py_INCREF(Py_None
); resultobj
= Py_None
;
15939 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (bool)(arg1
)->Ok();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15967 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15970 int arg2
= (int) 0 ;
15971 int arg3
= (int) 0 ;
15973 PyObject
* obj0
= 0 ;
15974 PyObject
* obj1
= 0 ;
15975 PyObject
* obj2
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self",(char *) "width",(char *) "height", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15984 arg2
= (int)SWIG_As_int(obj1
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15988 arg3
= (int)SWIG_As_int(obj2
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16007 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (arg1
)->GetSize();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16027 wxSize
* resultptr
;
16028 resultptr
= new wxSize((wxSize
&) result
);
16029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16037 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
;
16039 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16041 PyObject
* obj0
= 0 ;
16042 char *kwnames
[] = {
16043 (char *) "self", NULL
16046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= (int)(arg1
)->GetWidth();
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= SWIG_From_int((int)result
);
16063 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (int)(arg1
)->GetHeight();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= SWIG_From_int((int)result
);
16089 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16092 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16094 return Py_BuildValue((char *)"");
16096 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
;
16098 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16099 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16100 int arg2
= (int) 0 ;
16101 int arg3
= (int) 0 ;
16102 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16103 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16104 wxMetaFileDC
*result
;
16105 bool temp1
= False
;
16106 bool temp4
= False
;
16107 PyObject
* obj0
= 0 ;
16108 PyObject
* obj1
= 0 ;
16109 PyObject
* obj2
= 0 ;
16110 PyObject
* obj3
= 0 ;
16111 char *kwnames
[] = {
16112 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16118 arg1
= wxString_in_helper(obj0
);
16119 if (arg1
== NULL
) SWIG_fail
;
16124 arg2
= (int)SWIG_As_int(obj1
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 arg3
= (int)SWIG_As_int(obj2
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16133 arg4
= wxString_in_helper(obj3
);
16134 if (arg4
== NULL
) SWIG_fail
;
16139 if (!wxPyCheckForApp()) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16169 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16172 wxMetaFile
*result
;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (wxMetaFile
*)(arg1
)->Close();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16195 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16198 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16200 return Py_BuildValue((char *)"");
16202 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxPrintData
*arg1
= 0 ;
16205 wxPrinterDC
*result
;
16206 PyObject
* obj0
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "printData", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16215 if (arg1
== NULL
) {
16216 PyErr_SetString(PyExc_TypeError
,"null reference");
16220 if (!wxPyCheckForApp()) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16234 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16237 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16239 return Py_BuildValue((char *)"");
16241 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16245 int arg3
= (int) True
;
16246 int arg4
= (int) 1 ;
16247 wxImageList
*result
;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 PyObject
* obj2
= 0 ;
16251 PyObject
* obj3
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16257 arg1
= (int)SWIG_As_int(obj0
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16259 arg2
= (int)SWIG_As_int(obj1
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 arg3
= (int)SWIG_As_int(obj2
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16266 arg4
= (int)SWIG_As_int(obj3
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16270 if (!wxPyCheckForApp()) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= wxPyMake_wxObject(result
, 1);
16286 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxImageList
*arg1
= (wxImageList
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 Py_INCREF(Py_None
); resultobj
= Py_None
;
16311 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxImageList
*arg1
= (wxImageList
*) 0 ;
16314 wxBitmap
*arg2
= 0 ;
16315 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16316 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj1
= 0 ;
16320 PyObject
* obj2
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16331 if (arg2
== NULL
) {
16332 PyErr_SetString(PyExc_TypeError
,"null reference");
16336 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16339 if (arg3
== NULL
) {
16340 PyErr_SetString(PyExc_TypeError
,"null reference");
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= SWIG_From_int((int)result
);
16358 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxImageList
*arg1
= (wxImageList
*) 0 ;
16361 wxBitmap
*arg2
= 0 ;
16362 wxColour
*arg3
= 0 ;
16365 PyObject
* obj0
= 0 ;
16366 PyObject
* obj1
= 0 ;
16367 PyObject
* obj2
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16378 if (arg2
== NULL
) {
16379 PyErr_SetString(PyExc_TypeError
,"null reference");
16384 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= SWIG_From_int((int)result
);
16400 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxImageList
*arg1
= (wxImageList
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 PyObject
* obj1
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "icon", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16417 if (arg2
== NULL
) {
16418 PyErr_SetString(PyExc_TypeError
,"null reference");
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= SWIG_From_int((int)result
);
16435 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxImageList
*arg1
= (wxImageList
*) 0 ;
16439 wxBitmap
*arg3
= 0 ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 PyObject
* obj2
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 arg2
= (int)SWIG_As_int(obj1
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16453 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16456 if (arg3
== NULL
) {
16457 PyErr_SetString(PyExc_TypeError
,"null reference");
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16476 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxImageList
*arg1
= (wxImageList
*) 0 ;
16483 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16484 bool arg7
= (bool) (bool)False
;
16486 PyObject
* obj0
= 0 ;
16487 PyObject
* obj1
= 0 ;
16488 PyObject
* obj2
= 0 ;
16489 PyObject
* obj3
= 0 ;
16490 PyObject
* obj4
= 0 ;
16491 PyObject
* obj5
= 0 ;
16492 PyObject
* obj6
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16500 arg2
= (int)SWIG_As_int(obj1
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16502 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16505 if (arg3
== NULL
) {
16506 PyErr_SetString(PyExc_TypeError
,"null reference");
16509 arg4
= (int)SWIG_As_int(obj3
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16511 arg5
= (int)SWIG_As_int(obj4
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 arg6
= (int)SWIG_As_int(obj5
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16518 arg7
= (bool)SWIG_As_bool(obj6
);
16519 if (PyErr_Occurred()) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16537 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
;
16539 wxImageList
*arg1
= (wxImageList
*) 0 ;
16541 PyObject
* obj0
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "self", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (int)(arg1
)->GetImageCount();
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= SWIG_From_int((int)result
);
16563 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxImageList
*arg1
= (wxImageList
*) 0 ;
16568 PyObject
* obj0
= 0 ;
16569 PyObject
* obj1
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "self",(char *) "index", NULL
16574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16577 arg2
= (int)SWIG_As_int(obj1
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 result
= (bool)(arg1
)->Remove(arg2
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16595 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxImageList
*arg1
= (wxImageList
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (bool)(arg1
)->RemoveAll();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16623 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 wxImageList
*arg1
= (wxImageList
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self",(char *) "index", NULL
16639 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16640 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16644 arg2
= (int)SWIG_As_int(obj1
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 Py_INCREF(Py_None
); resultobj
= Py_None
;
16654 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16655 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16656 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16657 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16664 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16667 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16669 return Py_BuildValue((char *)"");
16671 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16672 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16677 static PyObject
*_wrap_NORMAL_FONT_get() {
16680 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16685 static int _wrap_SMALL_FONT_set(PyObject
*) {
16686 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16691 static PyObject
*_wrap_SMALL_FONT_get() {
16694 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16699 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16700 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16705 static PyObject
*_wrap_ITALIC_FONT_get() {
16708 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16713 static int _wrap_SWISS_FONT_set(PyObject
*) {
16714 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16719 static PyObject
*_wrap_SWISS_FONT_get() {
16722 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16727 static int _wrap_RED_PEN_set(PyObject
*) {
16728 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16733 static PyObject
*_wrap_RED_PEN_get() {
16736 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16741 static int _wrap_CYAN_PEN_set(PyObject
*) {
16742 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16747 static PyObject
*_wrap_CYAN_PEN_get() {
16750 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16755 static int _wrap_GREEN_PEN_set(PyObject
*) {
16756 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16761 static PyObject
*_wrap_GREEN_PEN_get() {
16764 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16769 static int _wrap_BLACK_PEN_set(PyObject
*) {
16770 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16775 static PyObject
*_wrap_BLACK_PEN_get() {
16778 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16783 static int _wrap_WHITE_PEN_set(PyObject
*) {
16784 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16789 static PyObject
*_wrap_WHITE_PEN_get() {
16792 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16797 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16798 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16803 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16806 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16811 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16812 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16817 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16820 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16825 static int _wrap_GREY_PEN_set(PyObject
*) {
16826 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16831 static PyObject
*_wrap_GREY_PEN_get() {
16834 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16839 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16840 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16845 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16848 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16853 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16854 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16859 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16862 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16867 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16868 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16873 static PyObject
*_wrap_BLUE_BRUSH_get() {
16876 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16881 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16882 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16887 static PyObject
*_wrap_GREEN_BRUSH_get() {
16890 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16895 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16896 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16901 static PyObject
*_wrap_WHITE_BRUSH_get() {
16904 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16909 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16910 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16915 static PyObject
*_wrap_BLACK_BRUSH_get() {
16918 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16923 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16924 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16929 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16932 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16937 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16938 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16943 static PyObject
*_wrap_CYAN_BRUSH_get() {
16946 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16951 static int _wrap_RED_BRUSH_set(PyObject
*) {
16952 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16957 static PyObject
*_wrap_RED_BRUSH_get() {
16960 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16965 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16966 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16971 static PyObject
*_wrap_GREY_BRUSH_get() {
16974 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16979 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16980 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16985 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16988 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16993 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16994 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
16999 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17002 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17007 static int _wrap_BLACK_set(PyObject
*) {
17008 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17013 static PyObject
*_wrap_BLACK_get() {
17016 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17021 static int _wrap_WHITE_set(PyObject
*) {
17022 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17027 static PyObject
*_wrap_WHITE_get() {
17030 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17035 static int _wrap_RED_set(PyObject
*) {
17036 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17041 static PyObject
*_wrap_RED_get() {
17044 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17049 static int _wrap_BLUE_set(PyObject
*) {
17050 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17055 static PyObject
*_wrap_BLUE_get() {
17058 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17063 static int _wrap_GREEN_set(PyObject
*) {
17064 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17069 static PyObject
*_wrap_GREEN_get() {
17072 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17077 static int _wrap_CYAN_set(PyObject
*) {
17078 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17083 static PyObject
*_wrap_CYAN_get() {
17086 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17091 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17092 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17097 static PyObject
*_wrap_LIGHT_GREY_get() {
17100 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17105 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17106 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17111 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17114 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17119 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17120 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17125 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17128 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17133 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17134 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17139 static PyObject
*_wrap_CROSS_CURSOR_get() {
17142 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17147 static int _wrap_NullBitmap_set(PyObject
*) {
17148 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17153 static PyObject
*_wrap_NullBitmap_get() {
17156 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17161 static int _wrap_NullIcon_set(PyObject
*) {
17162 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17167 static PyObject
*_wrap_NullIcon_get() {
17170 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17175 static int _wrap_NullCursor_set(PyObject
*) {
17176 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17181 static PyObject
*_wrap_NullCursor_get() {
17184 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17189 static int _wrap_NullPen_set(PyObject
*) {
17190 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17195 static PyObject
*_wrap_NullPen_get() {
17198 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17203 static int _wrap_NullBrush_set(PyObject
*) {
17204 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17209 static PyObject
*_wrap_NullBrush_get() {
17212 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17217 static int _wrap_NullPalette_set(PyObject
*) {
17218 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17223 static PyObject
*_wrap_NullPalette_get() {
17226 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17231 static int _wrap_NullFont_set(PyObject
*) {
17232 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17237 static PyObject
*_wrap_NullFont_get() {
17240 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17245 static int _wrap_NullColour_set(PyObject
*) {
17246 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17251 static PyObject
*_wrap_NullColour_get() {
17254 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17259 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 wxPenList
*arg1
= (wxPenList
*) 0 ;
17262 wxPen
*arg2
= (wxPen
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self",(char *) "pen", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 (arg1
)->AddPen(arg2
);
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 Py_INCREF(Py_None
); resultobj
= Py_None
;
17288 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxPenList
*arg1
= (wxPenList
*) 0 ;
17291 wxColour
*arg2
= 0 ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 PyObject
* obj2
= 0 ;
17299 PyObject
* obj3
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17309 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17311 arg3
= (int)SWIG_As_int(obj2
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17313 arg4
= (int)SWIG_As_int(obj3
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17329 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxPenList
*arg1
= (wxPenList
*) 0 ;
17332 wxPen
*arg2
= (wxPen
*) 0 ;
17333 PyObject
* obj0
= 0 ;
17334 PyObject
* obj1
= 0 ;
17335 char *kwnames
[] = {
17336 (char *) "self",(char *) "pen", NULL
17339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 (arg1
)->RemovePen(arg2
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 Py_INCREF(Py_None
); resultobj
= Py_None
;
17358 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxPenList
*arg1
= (wxPenList
*) 0 ;
17362 PyObject
* obj0
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (int)(arg1
)->GetCount();
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= SWIG_From_int((int)result
);
17384 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17387 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17389 return Py_BuildValue((char *)"");
17391 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17394 wxBrush
*arg2
= (wxBrush
*) 0 ;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "brush", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 (arg1
)->AddBrush(arg2
);
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 Py_INCREF(Py_None
); resultobj
= Py_None
;
17420 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
;
17422 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17423 wxColour
*arg2
= 0 ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 PyObject
* obj2
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self",(char *) "colour",(char *) "style", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17439 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17441 arg3
= (int)SWIG_As_int(obj2
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17457 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17460 wxBrush
*arg2
= (wxBrush
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "brush", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->RemoveBrush(arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 Py_INCREF(Py_None
); resultobj
= Py_None
;
17486 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (int)(arg1
)->GetCount();
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_From_int((int)result
);
17512 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17515 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17517 return Py_BuildValue((char *)"");
17519 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxColourDatabase
*result
;
17522 char *kwnames
[] = {
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17528 if (!wxPyCheckForApp()) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (wxColourDatabase
*)new wxColourDatabase();
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17542 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 Py_INCREF(Py_None
); resultobj
= Py_None
;
17567 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17570 wxString
*arg2
= 0 ;
17572 bool temp2
= False
;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self",(char *) "name", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17583 arg2
= wxString_in_helper(obj1
);
17584 if (arg2
== NULL
) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17595 wxColour
* resultptr
;
17596 resultptr
= new wxColour((wxColour
&) result
);
17597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17613 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17616 wxColour
*arg2
= 0 ;
17619 PyObject
* obj0
= 0 ;
17620 PyObject
* obj1
= 0 ;
17621 char *kwnames
[] = {
17622 (char *) "self",(char *) "colour", NULL
17625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17652 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17655 wxString
*arg2
= 0 ;
17656 wxColour
*arg3
= 0 ;
17657 bool temp2
= False
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self",(char *) "name",(char *) "colour", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17670 arg2
= wxString_in_helper(obj1
);
17671 if (arg2
== NULL
) SWIG_fail
;
17676 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 Py_INCREF(Py_None
); resultobj
= Py_None
;
17700 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
;
17702 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17703 wxString
*arg2
= 0 ;
17707 bool temp2
= False
;
17708 PyObject
* obj0
= 0 ;
17709 PyObject
* obj1
= 0 ;
17710 PyObject
* obj2
= 0 ;
17711 PyObject
* obj3
= 0 ;
17712 PyObject
* obj4
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17721 arg2
= wxString_in_helper(obj1
);
17722 if (arg2
== NULL
) SWIG_fail
;
17725 arg3
= (int)SWIG_As_int(obj2
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17727 arg4
= (int)SWIG_As_int(obj3
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17729 arg5
= (int)SWIG_As_int(obj4
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 Py_INCREF(Py_None
); resultobj
= Py_None
;
17753 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17756 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17758 return Py_BuildValue((char *)"");
17760 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxFontList
*arg1
= (wxFontList
*) 0 ;
17763 wxFont
*arg2
= (wxFont
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 PyObject
* obj1
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self",(char *) "font", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 (arg1
)->AddFont(arg2
);
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 Py_INCREF(Py_None
); resultobj
= Py_None
;
17789 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxFontList
*arg1
= (wxFontList
*) 0 ;
17796 bool arg6
= (bool) False
;
17797 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17798 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17799 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17801 bool temp7
= False
;
17802 PyObject
* obj0
= 0 ;
17803 PyObject
* obj1
= 0 ;
17804 PyObject
* obj2
= 0 ;
17805 PyObject
* obj3
= 0 ;
17806 PyObject
* obj4
= 0 ;
17807 PyObject
* obj5
= 0 ;
17808 PyObject
* obj6
= 0 ;
17809 PyObject
* obj7
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 arg2
= (int)SWIG_As_int(obj1
);
17818 if (PyErr_Occurred()) SWIG_fail
;
17819 arg3
= (int)SWIG_As_int(obj2
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17821 arg4
= (int)SWIG_As_int(obj3
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17823 arg5
= (int)SWIG_As_int(obj4
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 arg6
= (bool)SWIG_As_bool(obj5
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17831 arg7
= wxString_in_helper(obj6
);
17832 if (arg7
== NULL
) SWIG_fail
;
17837 arg8
= (int)SWIG_As_int(obj7
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17862 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxFontList
*arg1
= (wxFontList
*) 0 ;
17865 wxFont
*arg2
= (wxFont
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "self",(char *) "font", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 (arg1
)->RemoveFont(arg2
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 Py_INCREF(Py_None
); resultobj
= Py_None
;
17891 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxFontList
*arg1
= (wxFontList
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (int)(arg1
)->GetCount();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= SWIG_From_int((int)result
);
17917 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17920 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17922 return Py_BuildValue((char *)"");
17924 static int _wrap_TheFontList_set(PyObject
*) {
17925 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17930 static PyObject
*_wrap_TheFontList_get() {
17933 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17938 static int _wrap_ThePenList_set(PyObject
*) {
17939 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17944 static PyObject
*_wrap_ThePenList_get() {
17947 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17952 static int _wrap_TheBrushList_set(PyObject
*) {
17953 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17958 static PyObject
*_wrap_TheBrushList_get() {
17961 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17966 static int _wrap_TheColourDatabase_set(PyObject
*) {
17967 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17972 static PyObject
*_wrap_TheColourDatabase_get() {
17975 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17980 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17983 char *kwnames
[] = {
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (wxEffects
*)new wxEffects();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18002 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxEffects
*arg1
= (wxEffects
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 wxColour
* resultptr
;
18023 resultptr
= new wxColour((wxColour
&) result
);
18024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18032 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxEffects
*arg1
= (wxEffects
*) 0 ;
18036 PyObject
* obj0
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18052 wxColour
* resultptr
;
18053 resultptr
= new wxColour((wxColour
&) result
);
18054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18062 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxEffects
*arg1
= (wxEffects
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18082 wxColour
* resultptr
;
18083 resultptr
= new wxColour((wxColour
&) result
);
18084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18092 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18093 PyObject
*resultobj
;
18094 wxEffects
*arg1
= (wxEffects
*) 0 ;
18096 PyObject
* obj0
= 0 ;
18097 char *kwnames
[] = {
18098 (char *) "self", NULL
18101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 wxColour
* resultptr
;
18113 resultptr
= new wxColour((wxColour
&) result
);
18114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18122 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
;
18124 wxEffects
*arg1
= (wxEffects
*) 0 ;
18126 PyObject
* obj0
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18142 wxColour
* resultptr
;
18143 resultptr
= new wxColour((wxColour
&) result
);
18144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18152 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxEffects
*arg1
= (wxEffects
*) 0 ;
18155 wxColour
*arg2
= 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "c", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 Py_INCREF(Py_None
); resultobj
= Py_None
;
18184 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxEffects
*arg1
= (wxEffects
*) 0 ;
18187 wxColour
*arg2
= 0 ;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self",(char *) "c", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 Py_INCREF(Py_None
); resultobj
= Py_None
;
18216 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 wxEffects
*arg1
= (wxEffects
*) 0 ;
18219 wxColour
*arg2
= 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self",(char *) "c", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 Py_INCREF(Py_None
); resultobj
= Py_None
;
18248 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxEffects
*arg1
= (wxEffects
*) 0 ;
18251 wxColour
*arg2
= 0 ;
18253 PyObject
* obj0
= 0 ;
18254 PyObject
* obj1
= 0 ;
18255 char *kwnames
[] = {
18256 (char *) "self",(char *) "c", NULL
18259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 Py_INCREF(Py_None
); resultobj
= Py_None
;
18280 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxEffects
*arg1
= (wxEffects
*) 0 ;
18283 wxColour
*arg2
= 0 ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self",(char *) "c", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 Py_INCREF(Py_None
); resultobj
= Py_None
;
18312 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxEffects
*arg1
= (wxEffects
*) 0 ;
18315 wxColour
*arg2
= 0 ;
18316 wxColour
*arg3
= 0 ;
18317 wxColour
*arg4
= 0 ;
18318 wxColour
*arg5
= 0 ;
18319 wxColour
*arg6
= 0 ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 PyObject
* obj2
= 0 ;
18328 PyObject
* obj3
= 0 ;
18329 PyObject
* obj4
= 0 ;
18330 PyObject
* obj5
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18340 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18344 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18348 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18352 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18356 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 Py_INCREF(Py_None
); resultobj
= Py_None
;
18372 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxEffects
*arg1
= (wxEffects
*) 0 ;
18377 int arg4
= (int) 1 ;
18379 PyObject
* obj0
= 0 ;
18380 PyObject
* obj1
= 0 ;
18381 PyObject
* obj2
= 0 ;
18382 PyObject
* obj3
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18393 if (arg2
== NULL
) {
18394 PyErr_SetString(PyExc_TypeError
,"null reference");
18399 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18402 arg4
= (int)SWIG_As_int(obj3
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 Py_INCREF(Py_None
); resultobj
= Py_None
;
18419 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 wxEffects
*arg1
= (wxEffects
*) 0 ;
18424 wxBitmap
*arg4
= 0 ;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 PyObject
* obj2
= 0 ;
18430 PyObject
* obj3
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18442 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18445 if (arg3
== NULL
) {
18446 PyErr_SetString(PyExc_TypeError
,"null reference");
18449 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18452 if (arg4
== NULL
) {
18453 PyErr_SetString(PyExc_TypeError
,"null reference");
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18472 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18475 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18477 return Py_BuildValue((char *)"");
18479 static PyMethodDef SwigMethods
[] = {
18480 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18481 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18485 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18486 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18487 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18492 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18500 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18502 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18503 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18504 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18509 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18510 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18524 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18525 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18528 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18529 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18532 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18533 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18534 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18538 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18539 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18540 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18541 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18547 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18565 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18567 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18568 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18569 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18570 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18584 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18585 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18592 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18593 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18600 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18601 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18603 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18606 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18607 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18608 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18632 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18634 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18635 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18644 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18648 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18649 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18655 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18668 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18672 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18673 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18681 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18682 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18701 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18702 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18716 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18738 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18739 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18746 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18747 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18749 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18750 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18753 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18754 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18775 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18777 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18778 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18785 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18842 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18850 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18851 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18858 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18864 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18866 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18907 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18914 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18918 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18919 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18922 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18923 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18924 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18926 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18929 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18931 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18933 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18934 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18935 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18936 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18937 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18938 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18939 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18940 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18941 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18943 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18944 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18945 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18947 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18948 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18949 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18950 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18951 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18952 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18953 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18954 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18955 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18956 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18957 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18958 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18960 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18962 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18964 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18965 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18966 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18968 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18969 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18970 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18973 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18974 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18975 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18976 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
18978 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18979 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18980 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18982 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18984 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
18985 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18986 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18987 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
18990 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18991 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18992 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18994 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18997 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18998 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18999 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19000 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19001 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19002 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19003 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19004 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19005 { NULL
, NULL
, 0, NULL
}
19009 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19011 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19012 return (void *)((wxWindow
*) ((wxControl
*) x
));
19014 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19015 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19017 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19018 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19020 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19021 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19023 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19024 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19026 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19027 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19029 static void *_p_wxPenTo_p_wxObject(void *x
) {
19030 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19032 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19033 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19035 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19036 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19038 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19039 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19041 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19042 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19044 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19047 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19048 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19050 static void *_p_wxIconTo_p_wxObject(void *x
) {
19051 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19053 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19054 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19056 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19057 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19059 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19060 return (void *)((wxObject
*) ((wxSizer
*) x
));
19062 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19063 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19065 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19068 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19069 return (void *)((wxObject
*) ((wxPenList
*) x
));
19071 static void *_p_wxEventTo_p_wxObject(void *x
) {
19072 return (void *)((wxObject
*) ((wxEvent
*) x
));
19074 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19075 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19077 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19078 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19080 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19081 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19083 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19084 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19086 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19087 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19089 static void *_p_wxDCTo_p_wxObject(void *x
) {
19090 return (void *)((wxObject
*) ((wxDC
*) x
));
19092 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19093 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19095 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19096 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19098 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19099 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19101 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19102 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19104 static void *_p_wxControlTo_p_wxObject(void *x
) {
19105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19107 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19108 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19110 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19111 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19113 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19114 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19116 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19117 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19119 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19120 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19122 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19123 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19125 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19126 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19128 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19129 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19131 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19132 return (void *)((wxObject
*) ((wxEffects
*) x
));
19134 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19135 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19137 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19138 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19140 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19141 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19143 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19144 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19146 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19147 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19149 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19150 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19152 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19153 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19155 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19156 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19158 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19159 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19161 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19162 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19164 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19165 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19167 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19168 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19170 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19171 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19173 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19176 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19179 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19180 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19182 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19183 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19185 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19188 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19189 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19191 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19192 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19194 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19195 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19197 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19198 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19200 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19201 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19203 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19204 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19206 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19207 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19209 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19210 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19212 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19213 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19215 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19216 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19218 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19219 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19221 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19222 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19224 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19225 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19227 static void *_p_wxImageTo_p_wxObject(void *x
) {
19228 return (void *)((wxObject
*) ((wxImage
*) x
));
19230 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19231 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19233 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19234 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19236 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19237 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19239 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19240 return (void *)((wxObject
*) ((wxImageList
*) x
));
19242 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19243 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19245 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19246 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19248 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19249 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19251 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19252 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19254 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19255 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19257 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19258 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19260 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19261 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19263 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19264 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19266 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19269 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19270 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19272 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19273 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19275 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19276 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19278 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19279 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19281 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19282 return (void *)((wxObject
*) ((wxMask
*) x
));
19284 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19285 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19287 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19288 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19290 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19291 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19293 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19294 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19296 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19297 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19299 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19300 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19302 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19303 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19305 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19306 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19308 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19309 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19311 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19312 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19314 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19315 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19317 static void *_p_wxFontTo_p_wxObject(void *x
) {
19318 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19320 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19321 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19323 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19324 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19326 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19329 static void *_p_wxColourTo_p_wxObject(void *x
) {
19330 return (void *)((wxObject
*) ((wxColour
*) x
));
19332 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19333 return (void *)((wxObject
*) ((wxFontList
*) x
));
19335 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19338 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19339 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19341 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19342 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19344 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19345 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19347 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19348 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19350 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19351 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19353 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19354 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19356 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19357 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19359 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19360 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19362 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19363 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19365 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19366 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19368 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19369 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19371 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19372 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19374 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19375 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19377 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19378 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19380 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19381 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19383 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19384 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19386 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19387 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19389 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19390 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19392 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19393 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19395 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19396 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19398 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19399 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19401 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}};
19402 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}};
19403 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}};
19404 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}};
19405 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}};
19406 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}};
19407 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}};
19408 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}};
19409 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}};
19410 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}};
19411 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}};
19412 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}};
19413 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}};
19414 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}};
19415 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}};
19416 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}};
19417 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}};
19418 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}};
19419 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}};
19420 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}};
19421 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}};
19422 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}};
19423 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}};
19424 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}};
19425 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}};
19426 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}};
19427 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}};
19428 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}};
19429 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}};
19430 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}};
19431 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}};
19432 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}};
19433 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}};
19434 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}};
19435 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}};
19436 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}};
19437 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}};
19438 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}};
19439 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}};
19440 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}};
19441 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}};
19442 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}};
19443 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}};
19444 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}};
19445 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}};
19446 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}};
19447 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}};
19448 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}};
19449 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}};
19450 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}};
19451 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}};
19452 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}};
19453 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}};
19454 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}};
19455 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}};
19457 static swig_type_info
*swig_types_initial
[] = {
19458 _swigt__p_wxPostScriptDC
,
19460 _swigt__p_wxColour
,
19462 _swigt__p_wxMirrorDC
,
19464 _swigt__p_wxPyFontEnumerator
,
19466 _swigt__p_wxIconLocation
,
19468 _swigt__p_wxMetaFileDC
,
19472 _swigt__p_wxWindow
,
19474 _swigt__p_wxMemoryDC
,
19475 _swigt__p_wxFontMapper
,
19476 _swigt__p_wxEffects
,
19477 _swigt__p_wxNativeEncodingInfo
,
19478 _swigt__p_wxPalette
,
19479 _swigt__p_wxBitmap
,
19480 _swigt__p_wxObject
,
19481 _swigt__p_wxRegionIterator
,
19483 _swigt__p_wxString
,
19484 _swigt__p_wxPrinterDC
,
19485 _swigt__p_wxIconBundle
,
19488 _swigt__p_wxScreenDC
,
19489 _swigt__p_wxCursor
,
19490 _swigt__p_wxClientDC
,
19491 _swigt__p_wxBufferedDC
,
19492 _swigt__p_wxImageList
,
19493 _swigt__p_unsigned_char
,
19494 _swigt__p_wxGDIObject
,
19496 _swigt__p_wxLocale
,
19497 _swigt__p_wxRegion
,
19498 _swigt__p_wxLanguageInfo
,
19499 _swigt__p_wxConfigBase
,
19500 _swigt__p_wxWindowDC
,
19501 _swigt__p_wxPrintData
,
19502 _swigt__p_wxBrushList
,
19503 _swigt__p_wxFontList
,
19505 _swigt__p_wxBufferedPaintDC
,
19506 _swigt__p_wxPaintDC
,
19507 _swigt__p_wxPenList
,
19509 _swigt__p_wxMetaFile
,
19510 _swigt__p_wxNativeFontInfo
,
19511 _swigt__p_wxEncodingConverter
,
19512 _swigt__p_wxColourDatabase
,
19517 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19519 static swig_const_info swig_const_table
[] = {
19520 {0, 0, 0, 0.0, 0, 0}};
19529 SWIGEXPORT(void) SWIG_init(void) {
19530 static PyObject
*SWIG_globals
= 0;
19531 static int typeinit
= 0;
19534 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19535 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19536 d
= PyModule_GetDict(m
);
19539 for (i
= 0; swig_types_initial
[i
]; i
++) {
19540 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19544 SWIG_InstallConstants(d
,swig_const_table
);
19546 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19547 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19548 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19549 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19550 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19551 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19552 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19553 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19554 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19555 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19556 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19557 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19558 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19559 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19560 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19561 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19562 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19563 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19564 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19565 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19566 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19567 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19568 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19569 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19570 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19571 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19572 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19573 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19574 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19575 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19576 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19577 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19578 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19579 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19580 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19581 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19582 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19583 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19584 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19585 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19586 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19587 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19588 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19589 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19590 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19591 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19592 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19593 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19594 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19595 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19596 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19597 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19598 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19599 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19600 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19601 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19602 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19603 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19604 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19605 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19606 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19607 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19608 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19609 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19610 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19611 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19612 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19613 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19614 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19615 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19616 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19617 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19618 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19619 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19620 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19621 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19622 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19623 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19624 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19625 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19626 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19627 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19628 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19629 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19630 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19631 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19632 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19633 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19634 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19635 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19636 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19637 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19638 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19639 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19640 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19641 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19642 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19643 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19644 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19645 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19646 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19647 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19648 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19649 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19650 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19651 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19652 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19653 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19654 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19655 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19656 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19657 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19658 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19659 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19660 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19661 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19662 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19663 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19664 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19665 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19666 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19667 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19668 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19669 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19670 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19671 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19672 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19674 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19676 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19677 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19678 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19679 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19680 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19681 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19682 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19683 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19684 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19685 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19686 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19687 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19688 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19689 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19690 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19691 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19692 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19693 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19694 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19695 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19696 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19697 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19698 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19699 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19700 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19701 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19702 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19703 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19704 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19705 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19706 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19707 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19708 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19709 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19710 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19711 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19712 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19713 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19714 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19715 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19716 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19717 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19718 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19719 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19720 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19721 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19722 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19723 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19724 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19725 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19726 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19727 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19728 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19729 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19730 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19731 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19732 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19733 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19734 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19735 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19736 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
19737 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19738 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
19739 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19740 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
19741 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
19742 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19743 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19744 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19745 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19746 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19747 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19748 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
19749 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
19750 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
19751 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
19752 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
19753 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
19754 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
19755 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
19756 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
19757 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19758 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
19759 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
19760 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
19761 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
19762 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
19763 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
19764 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19765 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
19766 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19767 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19768 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
19769 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
19770 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
19771 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
19772 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
19773 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
19774 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
19775 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
19776 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
19777 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
19778 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
19779 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
19780 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
19781 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
19782 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
19783 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
19784 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
19785 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
19786 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
19787 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
19788 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
19789 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
19790 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
19791 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
19792 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
19793 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
19794 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
19795 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
19796 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
19797 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
19798 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
19799 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
19800 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
19801 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
19802 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
19803 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
19804 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
19805 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
19806 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
19807 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
19808 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19809 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
19810 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
19811 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
19812 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
19813 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
19814 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
19815 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
19816 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
19817 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
19818 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
19819 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19820 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19821 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
19822 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
19823 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
19824 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
19825 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
19826 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
19827 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19828 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
19829 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
19830 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
19831 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
19832 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
19833 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19834 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
19835 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
19836 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
19837 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
19838 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
19839 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19840 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
19841 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
19842 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
19843 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
19844 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
19845 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
19846 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
19847 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
19848 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
19849 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
19850 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
19851 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
19852 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19853 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19854 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
19855 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19856 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19857 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19858 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
19859 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19860 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19861 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
19862 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
19863 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
19864 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19865 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
19866 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19867 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
19868 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19869 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
19870 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
19871 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19872 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
19873 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
19874 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
19875 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
19876 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
19877 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
19878 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
19879 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
19880 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
19881 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
19882 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
19883 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
19884 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
19885 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
19886 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
19887 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
19888 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
19889 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
19890 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
19891 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
19892 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
19893 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
19894 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
19895 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19896 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
19897 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
19898 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
19899 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
19900 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
19901 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
19902 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
19903 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
19904 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
19905 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
19906 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
19907 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
19908 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
19909 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
19910 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
19911 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
19912 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
19913 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
19914 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
19915 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
19916 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
19917 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
19918 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
19919 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
19920 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
19921 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
19922 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
19923 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19924 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
19925 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
19926 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
19927 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
19928 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
19929 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19930 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19931 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19932 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19933 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19934 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19935 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19936 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19937 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19938 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19939 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19940 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19941 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19942 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19943 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19944 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19945 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19946 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19947 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19948 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19949 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19950 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19951 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19952 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19953 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19954 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19955 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19956 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19957 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19958 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19959 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19960 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19961 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19962 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19963 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19964 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19965 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19966 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19967 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19968 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19969 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19970 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19971 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19972 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19973 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19974 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19975 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19977 // Work around a chicken/egg problem in drawlist.cpp
19978 wxPyDrawList_SetAPIPtr();