1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
212 #define SWIGTYPE_p_wxBrush swig_types[1]
213 #define SWIGTYPE_p_wxColour swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
216 #define SWIGTYPE_p_byte swig_types[5]
217 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
218 #define SWIGTYPE_p_char swig_types[7]
219 #define SWIGTYPE_p_wxIconLocation swig_types[8]
220 #define SWIGTYPE_p_wxImage swig_types[9]
221 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
222 #define SWIGTYPE_p_wxMask swig_types[11]
223 #define SWIGTYPE_p_wxSize swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxWindow swig_types[14]
226 #define SWIGTYPE_p_double swig_types[15]
227 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
228 #define SWIGTYPE_p_wxFontMapper swig_types[17]
229 #define SWIGTYPE_p_wxEffects swig_types[18]
230 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
231 #define SWIGTYPE_p_wxPalette swig_types[20]
232 #define SWIGTYPE_p_wxBitmap swig_types[21]
233 #define SWIGTYPE_p_wxObject swig_types[22]
234 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
235 #define SWIGTYPE_p_wxRect swig_types[24]
236 #define SWIGTYPE_p_wxString swig_types[25]
237 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
238 #define SWIGTYPE_p_wxIconBundle swig_types[27]
239 #define SWIGTYPE_p_wxPoint swig_types[28]
240 #define SWIGTYPE_p_wxDash swig_types[29]
241 #define SWIGTYPE_p_wxScreenDC swig_types[30]
242 #define SWIGTYPE_p_wxCursor swig_types[31]
243 #define SWIGTYPE_p_wxClientDC swig_types[32]
244 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
245 #define SWIGTYPE_p_wxImageList swig_types[34]
246 #define SWIGTYPE_p_unsigned_char swig_types[35]
247 #define SWIGTYPE_p_wxGDIObject swig_types[36]
248 #define SWIGTYPE_p_wxIcon swig_types[37]
249 #define SWIGTYPE_p_wxLocale swig_types[38]
250 #define SWIGTYPE_p_wxRegion swig_types[39]
251 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
252 #define SWIGTYPE_p_wxConfigBase swig_types[41]
253 #define SWIGTYPE_p_wxWindowDC swig_types[42]
254 #define SWIGTYPE_p_wxPrintData swig_types[43]
255 #define SWIGTYPE_p_wxBrushList swig_types[44]
256 #define SWIGTYPE_p_wxFontList swig_types[45]
257 #define SWIGTYPE_p_wxPen swig_types[46]
258 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
259 #define SWIGTYPE_p_wxPaintDC swig_types[48]
260 #define SWIGTYPE_p_wxPenList swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxMetaFile swig_types[51]
263 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
264 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
265 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
266 static swig_type_info
*swig_types
[56];
268 /* -------- TYPES TABLE (END) -------- */
271 /*-----------------------------------------------
273 ------------------------------------------------*/
274 #define SWIG_init init_gdi_
276 #define SWIG_name "_gdi_"
278 /* Auxiliar swig macros that appear in the header */
280 #define SWIG_OLDOBJ 1
281 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
282 #define SWIG_PYSTR SWIG_NEWOBJ + 1
285 #define SWIGSTATICINLINE(a) static inline a
286 #define SWIGSTATIC(a) static a
287 #define swig_new_array(size,Type) (new Type[(size)])
288 #define swig_delete(cptr) delete cptr
289 #define swig_delete_array(cptr) delete[] cptr
290 #define swig_const_cast(a,Type) const_cast<Type >(a)
291 #define swig_static_cast(a,Type) static_cast<Type >(a)
292 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
293 #define swig_new_copy(ptr,Type) (new Type(*ptr))
294 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
298 #define SWIGSTATICINLINE(a) static a
299 #define SWIGSTATIC(a) static a
300 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
301 #define swig_delete(cptr) free((char*)cptr)
302 #define swig_delete_array(cptr) free((char*)cptr)
303 #define swig_const_cast(a,Type) (Type)(a)
304 #define swig_static_cast(a,Type) (Type)(a)
305 #define swig_reinterpret_cast(a,Type) (Type)(a)
306 #define swig_numeric_cast(a,Type) (Type)(a)
307 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
309 #endif /* __cplusplus */
312 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
313 #define SWIG_From_signed_SS_char PyInt_FromLong
315 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
316 #define SWIG_From_unsigned_SS_char PyInt_FromLong
318 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
319 #define SWIG_From_short PyInt_FromLong
321 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
322 #define SWIG_From_unsigned_SS_short PyInt_FromLong
324 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
325 #define SWIG_From_int PyInt_FromLong
327 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
328 #define SWIG_From_long PyInt_FromLong
330 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
331 #define SWIG_From_float PyFloat_FromDouble
333 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
334 #define SWIG_From_double PyFloat_FromDouble
338 #include "wx/wxPython/wxPython.h"
339 #include "wx/wxPython/pyclasses.h"
342 static const wxString
wxPyEmptyString(wxEmptyString
);
347 SWIGSTATICINLINE(int)
348 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
351 if (value
< min_value
) {
353 PyErr_Format(PyExc_OverflowError
,
354 "value %ld is less than '%s' minimum %ld",
355 value
, errmsg
, min_value
);
358 } else if (value
> max_value
) {
360 PyErr_Format(PyExc_OverflowError
,
361 "value %ld is greater than '%s' maximum %ld",
362 value
, errmsg
, max_value
);
370 // See my_fragments.i
371 SWIGSTATICINLINE(int)
372 SWIG_AsVal_long(PyObject
* obj
, long* val
)
374 if (PyNumber_Check(obj
)) {
375 if (val
) *val
= PyInt_AsLong(obj
);
379 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
380 obj
->ob_type
->tp_name
);
381 PyErr_SetObject(PyExc_TypeError
, errmsg
);
388 #if INT_MAX != LONG_MAX
389 SWIGSTATICINLINE(int)
390 SWIG_AsVal_int(PyObject
*obj
, int *val
)
392 const char* errmsg
= val
? "int" : 0;
394 if (SWIG_AsVal_long(obj
, &v
)) {
395 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
396 if (val
) *val
= swig_numeric_cast(v
, int);
405 PyErr_SetString(PyExc_TypeError
, "an int is expected");
410 SWIGSTATICINLINE(int)
411 SWIG_AsVal_int(PyObject
*obj
, int *val
)
413 return SWIG_AsVal_long(obj
,(long*)val
);
418 SWIGSTATICINLINE(int)
419 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
421 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
422 if (obj
== Py_True
) {
423 if (val
) *val
= true;
426 if (obj
== Py_False
) {
427 if (val
) *val
= false;
431 if (SWIG_AsVal_int(obj
, &res
)) {
432 if (val
) *val
= (bool)res
;
436 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
442 SWIGSTATICINLINE(bool)
443 SWIG_As_bool(PyObject
* obj
)
446 if (!SWIG_AsVal_bool(obj
, &v
)) {
448 this is needed to make valgrind/purify happier. the other
449 solution is throw an exception, but since this code should work
452 memset((void*)&v
, 0, sizeof(bool));
458 SWIGSTATICINLINE(int)
459 SWIG_Check_bool(PyObject
* obj
)
461 return SWIG_AsVal_bool(obj
, (bool*)0);
465 // See my_fragments.i
466 SWIGSTATICINLINE(int)
467 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
470 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
471 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
475 *val
= (unsigned long)v
;
480 SWIGSTATICINLINE(int)
481 SWIG_CheckUnsignedLongInRange(unsigned long value
,
482 unsigned long max_value
,
485 if (value
> max_value
) {
487 PyErr_Format(PyExc_OverflowError
,
488 "value %ld is greater than '%s' minimum %ld",
489 value
, errmsg
, max_value
);
497 SWIGSTATICINLINE(int)
498 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
500 const char* errmsg
= val
? "unsigned char" : 0;
502 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
503 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
504 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
513 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
519 SWIGSTATICINLINE(unsigned char)
520 SWIG_As_unsigned_SS_char(PyObject
* obj
)
523 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
525 this is needed to make valgrind/purify happier. the other
526 solution is throw an exception, but since this code should work
529 memset((void*)&v
, 0, sizeof(unsigned char));
535 SWIGSTATICINLINE(int)
536 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
538 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
542 SWIGSTATICINLINE(unsigned long)
543 SWIG_As_unsigned_SS_long(PyObject
* obj
)
546 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
548 this is needed to make valgrind/purify happier. the other
549 solution is throw an exception, but since this code should work
552 memset((void*)&v
, 0, sizeof(unsigned long));
558 SWIGSTATICINLINE(int)
559 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
561 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
564 PyObject
*wxColour_Get(wxColour
*self
){
565 PyObject
* rv
= PyTuple_New(3);
571 green
= self
->Green();
574 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
575 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
576 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
579 unsigned long wxColour_GetRGB(wxColour
*self
){
580 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
583 SWIGSTATICINLINE(PyObject
* )
584 SWIG_From_unsigned_SS_long(unsigned long value
)
586 return (value
> LONG_MAX
) ?
587 PyLong_FromUnsignedLong(value
)
588 : PyInt_FromLong(swig_numeric_cast(value
,long));
592 SWIGSTATICINLINE(int)
593 SWIG_As_int(PyObject
* obj
)
596 if (!SWIG_AsVal_int(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(int));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_int(PyObject
* obj
)
611 return SWIG_AsVal_int(obj
, (int*)0);
615 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
621 } else if (target
== Py_None
) {
625 if (!PyTuple_Check(target
)) {
627 target
= PyTuple_New(1);
628 PyTuple_SetItem(target
, 0, o2
);
631 PyTuple_SetItem(o3
, 0, o
);
634 target
= PySequence_Concat(o2
, o3
);
642 PyObject
*wxPen_GetDashes(wxPen
*self
){
644 int count
= self
->GetDashes(&dashes
);
645 bool blocked
= wxPyBeginBlockThreads();
646 PyObject
* retval
= PyList_New(0);
647 for (int x
=0; x
<count
; x
++) {
648 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
649 PyList_Append(retval
, pyint
);
652 wxPyEndBlockThreads(blocked
);
655 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
656 bool blocked
= wxPyBeginBlockThreads();
657 int size
= PyList_Size(pyDashes
);
658 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
660 // black magic warning! The array of wxDashes needs to exist as
661 // long as the pen does because wxPen does not copy the array. So
662 // stick a copy in a Python string object and attach it to _self,
663 // and then call SetDashes with a pointer to that array. Then
664 // when the Python pen object is destroyed the array will be
666 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
667 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
669 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
671 Py_DECREF(strDashes
);
672 wxPyEndBlockThreads(blocked
);
674 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
675 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
677 SWIGSTATICINLINE(int)
678 SWIG_AsVal_short(PyObject
*obj
, short *val
)
680 const char* errmsg
= val
? "short" : 0;
682 if (SWIG_AsVal_long(obj
, &v
)) {
683 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
684 if (val
) *val
= swig_numeric_cast(v
, short);
693 PyErr_SetString(PyExc_TypeError
, "a short is expected");
699 SWIGSTATICINLINE(short)
700 SWIG_As_short(PyObject
* obj
)
703 if (!SWIG_AsVal_short(obj
, &v
)) {
705 this is needed to make valgrind/purify happier. the other
706 solution is throw an exception, but since this code should work
709 memset((void*)&v
, 0, sizeof(short));
715 SWIGSTATICINLINE(int)
716 SWIG_Check_short(PyObject
* obj
)
718 return SWIG_AsVal_short(obj
, (short*)0);
722 #include <wx/image.h>
724 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
725 char** cArray
= NULL
;
728 if (!PyList_Check(listOfStrings
)) {
729 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
732 count
= PyList_Size(listOfStrings
);
733 cArray
= new char*[count
];
735 for(int x
=0; x
<count
; x
++) {
736 // TODO: Need some validation and error checking here
737 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
743 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
744 char** cArray
= NULL
;
747 cArray
= ConvertListOfStrings(listOfStrings
);
750 bmp
= new wxBitmap(cArray
);
754 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
757 PyString_AsStringAndSize(bits
, &buf
, &length
);
758 return new wxBitmap(buf
, width
, height
, depth
);
760 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
761 wxSize
size(self
->GetWidth(), self
->GetHeight());
764 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
765 wxMask
*mask
= new wxMask(*self
, colour
);
768 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
769 self
->SetWidth(size
.x
);
770 self
->SetHeight(size
.y
);
772 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
773 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
774 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
776 return new wxMask(bitmap
, *wxBLACK
);
778 return new wxMask(bitmap
, colour
);
781 #include <wx/iconbndl.h>
783 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
784 wxIcon
* icon
= new wxIcon();
785 icon
->CopyFromBitmap(bmp
);
788 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
789 char** cArray
= NULL
;
792 cArray
= ConvertListOfStrings(listOfStrings
);
795 icon
= new wxIcon(cArray
);
799 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
803 return new wxIconLocation(*filename
);
806 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
813 int wxIconLocation_GetIndex(wxIconLocation
*self
){
821 SWIGSTATICINLINE(long)
822 SWIG_As_long(PyObject
* obj
)
825 if (!SWIG_AsVal_long(obj
, &v
)) {
827 this is needed to make valgrind/purify happier. the other
828 solution is throw an exception, but since this code should work
831 memset((void*)&v
, 0, sizeof(long));
837 SWIGSTATICINLINE(int)
838 SWIG_Check_long(PyObject
* obj
)
840 return SWIG_AsVal_long(obj
, (long*)0);
843 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
845 wxCHECK_MSG(false, NULL
,
846 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
848 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
853 void wxRegionIterator_Next(wxRegionIterator
*self
){
856 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
857 return self
->operator bool();
860 #include <wx/fontutil.h>
861 #include <wx/fontmap.h>
862 #include <wx/fontenum.h>
864 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
865 return self
->ToString();
868 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
869 static wxNativeEncodingInfo info
;
870 if ( wxGetNativeFontEncoding(encoding
, &info
) )
876 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
877 wxFontEncoding alt_enc
;
878 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
879 return PyInt_FromLong(alt_enc
);
885 wxFont
*new_wxFont(wxString
const &info
){
886 wxNativeFontInfo nfi
;
887 nfi
.FromString(info
);
888 return new wxFont(nfi
);
890 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
891 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
893 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
894 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
896 class wxPyFontEnumerator
: public wxFontEnumerator
{
898 wxPyFontEnumerator() {}
899 ~wxPyFontEnumerator() {}
901 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
902 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
907 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
908 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
911 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
912 wxArrayString
* arr
= self
->GetEncodings();
914 return wxArrayString2PyList_helper(*arr
);
916 return PyList_New(0);
918 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
919 wxArrayString
* arr
= self
->GetFacenames();
921 return wxArrayString2PyList_helper(*arr
);
923 return PyList_New(0);
927 wxLocale
*new_wxLocale(int language
,int flags
){
929 return new wxLocale();
931 return new wxLocale(language
, flags
);
934 #include "wx/wxPython/pydrawxxx.h"
936 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
938 self
->GetPixel(x
, y
, &col
);
941 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
943 self
->GetPixel(pt
, &col
);
947 // See my_fragments.i
948 SWIGSTATICINLINE(int)
949 SWIG_AsVal_double(PyObject
*obj
, double* val
)
951 if (PyNumber_Check(obj
)) {
952 if (val
) *val
= PyFloat_AsDouble(obj
);
956 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
957 obj
->ob_type
->tp_name
);
958 PyErr_SetObject(PyExc_TypeError
, errmsg
);
965 SWIGSTATICINLINE(double)
966 SWIG_As_double(PyObject
* obj
)
969 if (!SWIG_AsVal_double(obj
, &v
)) {
971 this is needed to make valgrind/purify happier. the other
972 solution is throw an exception, but since this code should work
975 memset((void*)&v
, 0, sizeof(double));
981 SWIGSTATICINLINE(int)
982 SWIG_Check_double(PyObject
* obj
)
984 return SWIG_AsVal_double(obj
, (double*)0);
987 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
989 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
993 wxRect
wxDC_GetClippingRect(wxDC
*self
){
995 self
->GetClippingBox(rect
);
998 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
1000 self
->GetPartialTextExtents(text
, widths
);
1004 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
1005 self
->SetLogicalOrigin(point
.x
, point
.y
);
1007 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
1008 self
->SetDeviceOrigin(point
.x
, point
.y
);
1010 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
1011 self
->CalcBoundingBox(point
.x
, point
.y
);
1013 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1014 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
1016 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1017 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
1019 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1020 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
1022 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1023 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
1025 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1026 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
1028 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
1029 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
1032 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1040 #include <wx/dcbuffer.h>
1043 #include <wx/dcps.h>
1046 #include <wx/metafile.h>
1050 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1051 self
->AddColour(name
, wxColour(red
, green
, blue
));
1054 #include <wx/effects.h>
1059 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
*resultobj
;
1061 wxGDIObject
*result
;
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1068 if (!wxPyCheckForApp()) SWIG_fail
;
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1070 result
= (wxGDIObject
*)new wxGDIObject();
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) SWIG_fail
;
1075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1082 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1083 PyObject
*resultobj
;
1084 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1085 PyObject
* obj0
= 0 ;
1087 (char *) "self", NULL
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1100 Py_INCREF(Py_None
); resultobj
= Py_None
;
1107 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
*resultobj
;
1109 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1111 PyObject
* obj0
= 0 ;
1113 (char *) "self", NULL
1116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 result
= (bool)(arg1
)->GetVisible();
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1135 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
*resultobj
;
1137 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1139 PyObject
* obj0
= 0 ;
1140 PyObject
* obj1
= 0 ;
1142 (char *) "self",(char *) "visible", NULL
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1148 arg2
= (bool)SWIG_As_bool(obj1
);
1149 if (PyErr_Occurred()) SWIG_fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 (arg1
)->SetVisible(arg2
);
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1157 Py_INCREF(Py_None
); resultobj
= Py_None
;
1164 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
*resultobj
;
1166 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1168 PyObject
* obj0
= 0 ;
1170 (char *) "self", NULL
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 result
= (bool)(arg1
)->IsNull();
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) SWIG_fail
;
1184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1192 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1195 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1197 return Py_BuildValue((char *)"");
1199 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
*resultobj
;
1201 byte arg1
= (byte
) 0 ;
1202 byte arg2
= (byte
) 0 ;
1203 byte arg3
= (byte
) 0 ;
1205 PyObject
* obj0
= 0 ;
1206 PyObject
* obj1
= 0 ;
1207 PyObject
* obj2
= 0 ;
1209 (char *) "red",(char *) "green",(char *) "blue", NULL
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1214 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1218 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1219 if (PyErr_Occurred()) SWIG_fail
;
1222 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1223 if (PyErr_Occurred()) SWIG_fail
;
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) SWIG_fail
;
1232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1239 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
*resultobj
;
1241 wxString
*arg1
= 0 ;
1243 bool temp1
= false ;
1244 PyObject
* obj0
= 0 ;
1246 (char *) "colorName", NULL
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1251 arg1
= wxString_in_helper(obj0
);
1252 if (arg1
== NULL
) SWIG_fail
;
1256 if (!wxPyCheckForApp()) SWIG_fail
;
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) SWIG_fail
;
1263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1278 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 unsigned long arg1
;
1282 PyObject
* obj0
= 0 ;
1284 (char *) "colRGB", NULL
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1288 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1289 if (PyErr_Occurred()) SWIG_fail
;
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 result
= (wxColour
*)new wxColour(arg1
);
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) SWIG_fail
;
1297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1304 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
*resultobj
;
1306 wxColour
*arg1
= (wxColour
*) 0 ;
1307 PyObject
* obj0
= 0 ;
1309 (char *) "self", NULL
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 wxPyEndAllowThreads(__tstate
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1322 Py_INCREF(Py_None
); resultobj
= Py_None
;
1329 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
*resultobj
;
1331 wxColour
*arg1
= (wxColour
*) 0 ;
1333 PyObject
* obj0
= 0 ;
1335 (char *) "self", NULL
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 result
= (byte
)(arg1
)->Red();
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) SWIG_fail
;
1348 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1355 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
*resultobj
;
1357 wxColour
*arg1
= (wxColour
*) 0 ;
1359 PyObject
* obj0
= 0 ;
1361 (char *) "self", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1369 result
= (byte
)(arg1
)->Green();
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1374 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1381 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
*resultobj
;
1383 wxColour
*arg1
= (wxColour
*) 0 ;
1385 PyObject
* obj0
= 0 ;
1387 (char *) "self", NULL
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 result
= (byte
)(arg1
)->Blue();
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) SWIG_fail
;
1400 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1407 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
*resultobj
;
1409 wxColour
*arg1
= (wxColour
*) 0 ;
1411 PyObject
* obj0
= 0 ;
1413 (char *) "self", NULL
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 result
= (bool)(arg1
)->Ok();
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1435 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
*resultobj
;
1437 wxColour
*arg1
= (wxColour
*) 0 ;
1441 PyObject
* obj0
= 0 ;
1442 PyObject
* obj1
= 0 ;
1443 PyObject
* obj2
= 0 ;
1444 PyObject
* obj3
= 0 ;
1446 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1452 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1453 if (PyErr_Occurred()) SWIG_fail
;
1454 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1456 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1457 if (PyErr_Occurred()) SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 (arg1
)->Set(arg2
,arg3
,arg4
);
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1465 Py_INCREF(Py_None
); resultobj
= Py_None
;
1472 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
*resultobj
;
1474 wxColour
*arg1
= (wxColour
*) 0 ;
1475 unsigned long arg2
;
1476 PyObject
* obj0
= 0 ;
1477 PyObject
* obj1
= 0 ;
1479 (char *) "self",(char *) "colRGB", NULL
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1485 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1494 Py_INCREF(Py_None
); resultobj
= Py_None
;
1501 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
*resultobj
;
1503 wxColour
*arg1
= (wxColour
*) 0 ;
1504 wxString
*arg2
= 0 ;
1505 bool temp2
= false ;
1506 PyObject
* obj0
= 0 ;
1507 PyObject
* obj1
= 0 ;
1509 (char *) "self",(char *) "colourName", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1516 arg2
= wxString_in_helper(obj1
);
1517 if (arg2
== NULL
) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 (arg1
)->InitFromName((wxString
const &)*arg2
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 Py_INCREF(Py_None
); resultobj
= Py_None
;
1542 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
*resultobj
;
1544 wxColour
*arg1
= (wxColour
*) 0 ;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "self", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1561 resultobj
= SWIG_From_long((long)result
);
1568 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
*resultobj
;
1570 wxColour
*arg1
= (wxColour
*) 0 ;
1571 wxColour
*arg2
= 0 ;
1574 PyObject
* obj0
= 0 ;
1575 PyObject
* obj1
= 0 ;
1577 (char *) "self",(char *) "colour", NULL
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1603 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
*resultobj
;
1605 wxColour
*arg1
= (wxColour
*) 0 ;
1606 wxColour
*arg2
= 0 ;
1609 PyObject
* obj0
= 0 ;
1610 PyObject
* obj1
= 0 ;
1612 (char *) "self",(char *) "colour", NULL
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1620 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1638 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxColour
*arg1
= (wxColour
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 result
= (PyObject
*)wxColour_Get(arg1
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1664 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
*resultobj
;
1666 wxColour
*arg1
= (wxColour
*) 0 ;
1667 unsigned long result
;
1668 PyObject
* obj0
= 0 ;
1670 (char *) "self", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 result
= (unsigned long)wxColour_GetRGB(arg1
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1683 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1690 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1693 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1695 return Py_BuildValue((char *)"");
1697 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1700 unsigned char *arg2
= (unsigned char *) 0 ;
1701 unsigned char *arg3
= (unsigned char *) 0 ;
1702 unsigned char *arg4
= (unsigned char *) 0 ;
1704 PyObject
* obj0
= 0 ;
1705 PyObject
* obj1
= 0 ;
1706 PyObject
* obj2
= 0 ;
1707 PyObject
* obj3
= 0 ;
1709 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1713 arg1
= (int)SWIG_As_int(obj0
);
1714 if (PyErr_Occurred()) SWIG_fail
;
1715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1717 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1719 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1722 if (!wxPyCheckForApp()) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1736 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxPalette
*arg1
= (wxPalette
*) 0 ;
1739 PyObject
* obj0
= 0 ;
1741 (char *) "self", NULL
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 Py_INCREF(Py_None
); resultobj
= Py_None
;
1761 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxPalette
*arg1
= (wxPalette
*) 0 ;
1768 PyObject
* obj0
= 0 ;
1769 PyObject
* obj1
= 0 ;
1770 PyObject
* obj2
= 0 ;
1771 PyObject
* obj3
= 0 ;
1773 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1781 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1783 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1784 if (PyErr_Occurred()) SWIG_fail
;
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) SWIG_fail
;
1792 resultobj
= SWIG_From_int((int)result
);
1799 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxPalette
*arg1
= (wxPalette
*) 0 ;
1803 byte
*arg3
= (byte
*) 0 ;
1804 byte
*arg4
= (byte
*) 0 ;
1805 byte
*arg5
= (byte
*) 0 ;
1813 PyObject
* obj0
= 0 ;
1814 PyObject
* obj1
= 0 ;
1816 (char *) "self",(char *) "pixel", NULL
1819 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1820 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1821 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1825 arg2
= (int)SWIG_As_int(obj1
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1837 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1838 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1839 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1840 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1841 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1842 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1849 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxPalette
*arg1
= (wxPalette
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1855 (char *) "self", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 result
= (bool)(arg1
)->Ok();
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1877 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1880 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1882 return Py_BuildValue((char *)"");
1884 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
*resultobj
;
1886 wxColour
*arg1
= 0 ;
1887 int arg2
= (int) 1 ;
1888 int arg3
= (int) wxSOLID
;
1891 PyObject
* obj0
= 0 ;
1892 PyObject
* obj1
= 0 ;
1893 PyObject
* obj2
= 0 ;
1895 (char *) "colour",(char *) "width",(char *) "style", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1901 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1904 arg2
= (int)SWIG_As_int(obj1
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1908 arg3
= (int)SWIG_As_int(obj2
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1912 if (!wxPyCheckForApp()) SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1926 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
*resultobj
;
1928 wxPen
*arg1
= (wxPen
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1931 (char *) "self", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 Py_INCREF(Py_None
); resultobj
= Py_None
;
1951 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1953 wxPen
*arg1
= (wxPen
*) 0 ;
1955 PyObject
* obj0
= 0 ;
1957 (char *) "self", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
1961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 result
= (int)(arg1
)->GetCap();
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 resultobj
= SWIG_From_int((int)result
);
1977 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxPen
*arg1
= (wxPen
*) 0 ;
1981 PyObject
* obj0
= 0 ;
1983 (char *) "self", NULL
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
1987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 result
= (arg1
)->GetColour();
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1997 wxColour
* resultptr
;
1998 resultptr
= new wxColour((wxColour
&) result
);
1999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2007 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
*resultobj
;
2009 wxPen
*arg1
= (wxPen
*) 0 ;
2011 PyObject
* obj0
= 0 ;
2013 (char *) "self", NULL
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
2017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 result
= (int)(arg1
)->GetJoin();
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 resultobj
= SWIG_From_int((int)result
);
2033 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxPen
*arg1
= (wxPen
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2039 (char *) "self", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 result
= (int)(arg1
)->GetStyle();
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= SWIG_From_int((int)result
);
2059 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2061 wxPen
*arg1
= (wxPen
*) 0 ;
2063 PyObject
* obj0
= 0 ;
2065 (char *) "self", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (int)(arg1
)->GetWidth();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= SWIG_From_int((int)result
);
2085 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxPen
*arg1
= (wxPen
*) 0 ;
2089 PyObject
* obj0
= 0 ;
2091 (char *) "self", NULL
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 result
= (bool)(arg1
)->Ok();
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2113 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2115 wxPen
*arg1
= (wxPen
*) 0 ;
2117 PyObject
* obj0
= 0 ;
2118 PyObject
* obj1
= 0 ;
2120 (char *) "self",(char *) "cap_style", NULL
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2126 arg2
= (int)SWIG_As_int(obj1
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 (arg1
)->SetCap(arg2
);
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 Py_INCREF(Py_None
); resultobj
= Py_None
;
2142 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxPen
*arg1
= (wxPen
*) 0 ;
2145 wxColour
*arg2
= 0 ;
2147 PyObject
* obj0
= 0 ;
2148 PyObject
* obj1
= 0 ;
2150 (char *) "self",(char *) "colour", NULL
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 (arg1
)->SetColour(*arg2
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2174 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2176 wxPen
*arg1
= (wxPen
*) 0 ;
2178 PyObject
* obj0
= 0 ;
2179 PyObject
* obj1
= 0 ;
2181 (char *) "self",(char *) "join_style", NULL
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2187 arg2
= (int)SWIG_As_int(obj1
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 (arg1
)->SetJoin(arg2
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2196 Py_INCREF(Py_None
); resultobj
= Py_None
;
2203 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
*resultobj
;
2205 wxPen
*arg1
= (wxPen
*) 0 ;
2207 PyObject
* obj0
= 0 ;
2208 PyObject
* obj1
= 0 ;
2210 (char *) "self",(char *) "style", NULL
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2216 arg2
= (int)SWIG_As_int(obj1
);
2217 if (PyErr_Occurred()) SWIG_fail
;
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 (arg1
)->SetStyle(arg2
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2225 Py_INCREF(Py_None
); resultobj
= Py_None
;
2232 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxPen
*arg1
= (wxPen
*) 0 ;
2236 PyObject
* obj0
= 0 ;
2237 PyObject
* obj1
= 0 ;
2239 (char *) "self",(char *) "width", NULL
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2245 arg2
= (int)SWIG_As_int(obj1
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 (arg1
)->SetWidth(arg2
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) SWIG_fail
;
2254 Py_INCREF(Py_None
); resultobj
= Py_None
;
2261 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxPen
*arg1
= (wxPen
*) 0 ;
2265 wxDash
*arg3
= (wxDash
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj1
= 0 ;
2269 (char *) "self",(char *) "dashes", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2276 arg2
= PyList_Size(obj1
);
2277 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2278 if (arg3
== NULL
) SWIG_fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 (arg1
)->SetDashes(arg2
,arg3
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 Py_INCREF(Py_None
); resultobj
= Py_None
;
2289 if (arg3
) delete [] arg3
;
2294 if (arg3
) delete [] arg3
;
2300 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
*resultobj
;
2302 wxPen
*arg1
= (wxPen
*) 0 ;
2304 PyObject
* obj0
= 0 ;
2306 (char *) "self", NULL
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2326 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxPen
*arg1
= (wxPen
*) 0 ;
2329 PyObject
*arg2
= (PyObject
*) 0 ;
2330 PyObject
*arg3
= (PyObject
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2332 PyObject
* obj1
= 0 ;
2333 PyObject
* obj2
= 0 ;
2335 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 wxPen__SetDashes(arg1
,arg2
,arg3
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 Py_INCREF(Py_None
); resultobj
= Py_None
;
2357 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxPen
*arg1
= (wxPen
*) 0 ;
2360 wxPen
*arg2
= (wxPen
*) 0 ;
2362 PyObject
* obj0
= 0 ;
2363 PyObject
* obj1
= 0 ;
2365 (char *) "self",(char *) "other", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2389 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxPen
*arg1
= (wxPen
*) 0 ;
2392 wxPen
*arg2
= (wxPen
*) 0 ;
2394 PyObject
* obj0
= 0 ;
2395 PyObject
* obj1
= 0 ;
2397 (char *) "self",(char *) "other", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2421 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2424 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2426 return Py_BuildValue((char *)"");
2428 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
*resultobj
;
2430 wxColour
*arg1
= 0 ;
2431 int arg2
= (int) wxSOLID
;
2434 PyObject
* obj0
= 0 ;
2435 PyObject
* obj1
= 0 ;
2437 (char *) "colour",(char *) "style", NULL
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2443 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2446 arg2
= (int)SWIG_As_int(obj1
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2450 if (!wxPyCheckForApp()) SWIG_fail
;
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2464 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
*resultobj
;
2466 wxBrush
*arg1
= (wxBrush
*) 0 ;
2467 PyObject
* obj0
= 0 ;
2469 (char *) "self", NULL
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 Py_INCREF(Py_None
); resultobj
= Py_None
;
2489 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
*resultobj
;
2491 wxBrush
*arg1
= (wxBrush
*) 0 ;
2492 wxColour
*arg2
= 0 ;
2494 PyObject
* obj0
= 0 ;
2495 PyObject
* obj1
= 0 ;
2497 (char *) "self",(char *) "col", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2505 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 (arg1
)->SetColour((wxColour
const &)*arg2
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 Py_INCREF(Py_None
); resultobj
= Py_None
;
2521 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxBrush
*arg1
= (wxBrush
*) 0 ;
2525 PyObject
* obj0
= 0 ;
2526 PyObject
* obj1
= 0 ;
2528 (char *) "self",(char *) "style", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2534 arg2
= (int)SWIG_As_int(obj1
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 (arg1
)->SetStyle(arg2
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 Py_INCREF(Py_None
); resultobj
= Py_None
;
2550 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxBrush
*arg1
= (wxBrush
*) 0 ;
2553 wxBitmap
*arg2
= 0 ;
2554 PyObject
* obj0
= 0 ;
2555 PyObject
* obj1
= 0 ;
2557 (char *) "self",(char *) "stipple", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2567 PyErr_SetString(PyExc_TypeError
,"null reference");
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 Py_INCREF(Py_None
); resultobj
= Py_None
;
2584 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxBrush
*arg1
= (wxBrush
*) 0 ;
2588 PyObject
* obj0
= 0 ;
2590 (char *) "self", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= ((wxBrush
const *)arg1
)->GetColour();
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2604 wxColour
* resultptr
;
2605 resultptr
= new wxColour((wxColour
&) result
);
2606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2614 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxBrush
*arg1
= (wxBrush
*) 0 ;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "self", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2633 resultobj
= SWIG_From_int((int)result
);
2640 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxBrush
*arg1
= (wxBrush
*) 0 ;
2644 PyObject
* obj0
= 0 ;
2646 (char *) "self", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2666 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxBrush
*arg1
= (wxBrush
*) 0 ;
2670 PyObject
* obj0
= 0 ;
2672 (char *) "self", NULL
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 result
= (bool)(arg1
)->Ok();
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) SWIG_fail
;
2686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2694 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
*resultobj
;
2696 wxBrush
*arg1
= (wxBrush
*) 0 ;
2698 PyObject
* obj0
= 0 ;
2700 (char *) "self", NULL
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 result
= (short)(arg1
)->MacGetTheme();
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2713 resultobj
= SWIG_From_short((short)result
);
2720 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxBrush
*arg1
= (wxBrush
*) 0 ;
2724 PyObject
* obj0
= 0 ;
2725 PyObject
* obj1
= 0 ;
2727 (char *) "self",(char *) "macThemeBrush", NULL
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2733 arg2
= (short)SWIG_As_short(obj1
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 (arg1
)->MacSetTheme(arg2
);
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 Py_INCREF(Py_None
); resultobj
= Py_None
;
2749 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2752 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2754 return Py_BuildValue((char *)"");
2756 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxString
*arg1
= 0 ;
2759 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2761 bool temp1
= false ;
2762 PyObject
* obj0
= 0 ;
2763 PyObject
* obj1
= 0 ;
2765 (char *) "name",(char *) "type", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2770 arg1
= wxString_in_helper(obj0
);
2771 if (arg1
== NULL
) SWIG_fail
;
2775 arg2
= (int)SWIG_As_int(obj1
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2779 if (!wxPyCheckForApp()) SWIG_fail
;
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) SWIG_fail
;
2786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2801 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "self", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2830 int arg3
= (int) -1 ;
2832 PyObject
* obj0
= 0 ;
2833 PyObject
* obj1
= 0 ;
2834 PyObject
* obj2
= 0 ;
2836 (char *) "width",(char *) "height",(char *) "depth", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2840 arg1
= (int)SWIG_As_int(obj0
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2842 arg2
= (int)SWIG_As_int(obj1
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 arg3
= (int)SWIG_As_int(obj2
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2849 if (!wxPyCheckForApp()) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2863 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2867 PyObject
* obj0
= 0 ;
2869 (char *) "icon", NULL
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2877 PyErr_SetString(PyExc_TypeError
,"null reference");
2881 if (!wxPyCheckForApp()) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2895 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
*resultobj
;
2898 int arg2
= (int) -1 ;
2900 PyObject
* obj0
= 0 ;
2901 PyObject
* obj1
= 0 ;
2903 (char *) "image",(char *) "depth", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2911 PyErr_SetString(PyExc_TypeError
,"null reference");
2915 arg2
= (int)SWIG_As_int(obj1
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2919 if (!wxPyCheckForApp()) SWIG_fail
;
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2933 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 PyObject
*arg1
= (PyObject
*) 0 ;
2937 PyObject
* obj0
= 0 ;
2939 (char *) "listOfStrings", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
2945 if (!wxPyCheckForApp()) SWIG_fail
;
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 result
= (wxBitmap
*)new_wxBitmap(arg1
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2959 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 PyObject
*arg1
= (PyObject
*) 0 ;
2964 int arg4
= (int) 1 ;
2966 PyObject
* obj0
= 0 ;
2967 PyObject
* obj1
= 0 ;
2968 PyObject
* obj2
= 0 ;
2969 PyObject
* obj3
= 0 ;
2971 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2976 arg2
= (int)SWIG_As_int(obj1
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2978 arg3
= (int)SWIG_As_int(obj2
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 arg4
= (int)SWIG_As_int(obj3
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2985 if (!wxPyCheckForApp()) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2999 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
;
3001 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3003 PyObject
* obj0
= 0 ;
3005 (char *) "self", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 result
= (bool)(arg1
)->Ok();
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3027 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "self", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (int)(arg1
)->GetWidth();
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3046 resultobj
= SWIG_From_int((int)result
);
3053 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3057 PyObject
* obj0
= 0 ;
3059 (char *) "self", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 result
= (int)(arg1
)->GetHeight();
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) SWIG_fail
;
3072 resultobj
= SWIG_From_int((int)result
);
3079 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
*resultobj
;
3081 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3083 PyObject
* obj0
= 0 ;
3085 (char *) "self", NULL
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 result
= (int)(arg1
)->GetDepth();
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) SWIG_fail
;
3098 resultobj
= SWIG_From_int((int)result
);
3105 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
*resultobj
;
3107 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3109 PyObject
* obj0
= 0 ;
3111 (char *) "self", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 result
= wxBitmap_GetSize(arg1
);
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) SWIG_fail
;
3126 resultptr
= new wxSize((wxSize
&) result
);
3127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3135 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3138 SwigValueWrapper
< wxImage
> result
;
3139 PyObject
* obj0
= 0 ;
3141 (char *) "self", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 wxImage
* resultptr
;
3156 resultptr
= new wxImage((wxImage
&) result
);
3157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3165 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
*resultobj
;
3167 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3169 PyObject
* obj0
= 0 ;
3171 (char *) "self", NULL
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3191 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3194 wxMask
*arg2
= (wxMask
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3196 PyObject
* obj1
= 0 ;
3198 (char *) "self",(char *) "mask", NULL
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 (arg1
)->SetMask(arg2
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) SWIG_fail
;
3213 Py_INCREF(Py_None
); resultobj
= Py_None
;
3220 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3223 wxColour
*arg2
= 0 ;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3228 (char *) "self",(char *) "colour", NULL
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3236 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3252 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3256 SwigValueWrapper
< wxBitmap
> result
;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 (char *) "self",(char *) "rect", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3269 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3279 wxBitmap
* resultptr
;
3280 resultptr
= new wxBitmap((wxBitmap
&) result
);
3281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3289 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
;
3291 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3292 wxString
*arg2
= 0 ;
3294 wxPalette
*arg4
= (wxPalette
*) NULL
;
3296 bool temp2
= false ;
3297 PyObject
* obj0
= 0 ;
3298 PyObject
* obj1
= 0 ;
3299 PyObject
* obj2
= 0 ;
3300 PyObject
* obj3
= 0 ;
3302 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 arg2
= wxString_in_helper(obj1
);
3310 if (arg2
== NULL
) SWIG_fail
;
3313 arg3
= (int)SWIG_As_int(obj2
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3343 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3346 wxString
*arg2
= 0 ;
3349 bool temp2
= false ;
3350 PyObject
* obj0
= 0 ;
3351 PyObject
* obj1
= 0 ;
3352 PyObject
* obj2
= 0 ;
3354 (char *) "self",(char *) "name",(char *) "type", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3361 arg2
= wxString_in_helper(obj1
);
3362 if (arg2
== NULL
) SWIG_fail
;
3365 arg3
= (int)SWIG_As_int(obj2
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3391 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3393 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3396 PyObject
* obj0
= 0 ;
3397 PyObject
* obj1
= 0 ;
3399 (char *) "self",(char *) "icon", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3409 PyErr_SetString(PyExc_TypeError
,"null reference");
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3428 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3435 (char *) "self",(char *) "height", NULL
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 arg2
= (int)SWIG_As_int(obj1
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 (arg1
)->SetHeight(arg2
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3464 (char *) "self",(char *) "width", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 arg2
= (int)SWIG_As_int(obj1
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 (arg1
)->SetWidth(arg2
);
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "depth", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 arg2
= (int)SWIG_As_int(obj1
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->SetDepth(arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3515 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3523 (char *) "self",(char *) "size", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3540 Py_INCREF(Py_None
); resultobj
= Py_None
;
3547 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
;
3549 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3550 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3552 PyObject
* obj0
= 0 ;
3553 PyObject
* obj1
= 0 ;
3555 (char *) "self",(char *) "other", NULL
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3565 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3567 wxPyEndAllowThreads(__tstate
);
3568 if (PyErr_Occurred()) SWIG_fail
;
3571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3579 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3582 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3587 (char *) "self",(char *) "other", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3611 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3614 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3616 return Py_BuildValue((char *)"");
3618 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxBitmap
*arg1
= 0 ;
3621 wxColour
const &arg2_defvalue
= wxNullColour
;
3622 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3625 PyObject
* obj0
= 0 ;
3626 PyObject
* obj1
= 0 ;
3628 (char *) "bitmap",(char *) "colour", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3636 PyErr_SetString(PyExc_TypeError
,"null reference");
3642 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3646 if (!wxPyCheckForApp()) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3660 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3663 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3665 return Py_BuildValue((char *)"");
3667 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 wxString
*arg1
= 0 ;
3671 int arg3
= (int) -1 ;
3672 int arg4
= (int) -1 ;
3674 bool temp1
= false ;
3675 PyObject
* obj0
= 0 ;
3676 PyObject
* obj1
= 0 ;
3677 PyObject
* obj2
= 0 ;
3678 PyObject
* obj3
= 0 ;
3680 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3685 arg1
= wxString_in_helper(obj0
);
3686 if (arg1
== NULL
) SWIG_fail
;
3689 arg2
= (int)SWIG_As_int(obj1
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 arg3
= (int)SWIG_As_int(obj2
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 arg4
= (int)SWIG_As_int(obj3
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3700 if (!wxPyCheckForApp()) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3722 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxIcon
*arg1
= (wxIcon
*) 0 ;
3725 PyObject
* obj0
= 0 ;
3727 (char *) "self", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 Py_INCREF(Py_None
); resultobj
= Py_None
;
3747 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
*resultobj
;
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3756 if (!wxPyCheckForApp()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 result
= (wxIcon
*)new wxIcon();
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3770 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxIconLocation
*arg1
= 0 ;
3774 PyObject
* obj0
= 0 ;
3776 (char *) "loc", NULL
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3784 PyErr_SetString(PyExc_TypeError
,"null reference");
3788 if (!wxPyCheckForApp()) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3802 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxBitmap
*arg1
= 0 ;
3806 PyObject
* obj0
= 0 ;
3808 (char *) "bmp", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3816 PyErr_SetString(PyExc_TypeError
,"null reference");
3820 if (!wxPyCheckForApp()) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3834 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 PyObject
*arg1
= (PyObject
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3840 (char *) "listOfStrings", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxIcon
*)new_wxIcon(arg1
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3860 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
;
3862 wxIcon
*arg1
= (wxIcon
*) 0 ;
3864 PyObject
* obj0
= 0 ;
3866 (char *) "self", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (bool)(arg1
)->Ok();
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3888 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxIcon
*arg1
= (wxIcon
*) 0 ;
3892 PyObject
* obj0
= 0 ;
3894 (char *) "self", NULL
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
3898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (int)(arg1
)->GetWidth();
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= SWIG_From_int((int)result
);
3914 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxIcon
*arg1
= (wxIcon
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (int)(arg1
)->GetHeight();
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= SWIG_From_int((int)result
);
3940 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
*resultobj
;
3942 wxIcon
*arg1
= (wxIcon
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "self", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (int)(arg1
)->GetDepth();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_From_int((int)result
);
3966 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxIcon
*arg1
= (wxIcon
*) 0 ;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3973 (char *) "self",(char *) "w", NULL
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3979 arg2
= (int)SWIG_As_int(obj1
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 (arg1
)->SetWidth(arg2
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxIcon
*arg1
= (wxIcon
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4000 PyObject
* obj1
= 0 ;
4002 (char *) "self",(char *) "h", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4008 arg2
= (int)SWIG_As_int(obj1
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 (arg1
)->SetHeight(arg2
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 Py_INCREF(Py_None
); resultobj
= Py_None
;
4024 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxIcon
*arg1
= (wxIcon
*) 0 ;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4031 (char *) "self",(char *) "d", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4037 arg2
= (int)SWIG_As_int(obj1
);
4038 if (PyErr_Occurred()) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 (arg1
)->SetDepth(arg2
);
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 Py_INCREF(Py_None
); resultobj
= Py_None
;
4053 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxIcon
*arg1
= (wxIcon
*) 0 ;
4056 wxBitmap
*arg2
= 0 ;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4060 (char *) "self",(char *) "bmp", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4070 PyErr_SetString(PyExc_TypeError
,"null reference");
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 Py_INCREF(Py_None
); resultobj
= Py_None
;
4087 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4090 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4092 return Py_BuildValue((char *)"");
4094 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
;
4096 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4097 int arg2
= (int) 0 ;
4098 wxIconLocation
*result
;
4099 bool temp1
= false ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4103 (char *) "filename",(char *) "num", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4109 arg1
= wxString_in_helper(obj0
);
4110 if (arg1
== NULL
) SWIG_fail
;
4115 arg2
= (int)SWIG_As_int(obj1
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4140 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4145 (char *) "self", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4158 Py_INCREF(Py_None
); resultobj
= Py_None
;
4165 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4167 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4171 (char *) "self", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4193 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4195 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4196 wxString
*arg2
= 0 ;
4197 bool temp2
= false ;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj1
= 0 ;
4201 (char *) "self",(char *) "filename", NULL
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4208 arg2
= wxString_in_helper(obj1
);
4209 if (arg2
== NULL
) SWIG_fail
;
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->SetFileName((wxString
const &)*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 Py_INCREF(Py_None
); resultobj
= Py_None
;
4234 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4240 (char *) "self", NULL
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4250 result
= (wxString
*) &_result_ref
;
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4258 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4260 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4269 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4276 (char *) "self",(char *) "num", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 arg2
= (int)SWIG_As_int(obj1
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 wxIconLocation_SetIndex(arg1
,arg2
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 Py_INCREF(Py_None
); resultobj
= Py_None
;
4298 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4302 PyObject
* obj0
= 0 ;
4304 (char *) "self", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (int)wxIconLocation_GetIndex(arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_From_int((int)result
);
4324 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4327 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4329 return Py_BuildValue((char *)"");
4331 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
;
4333 wxIconBundle
*result
;
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (wxIconBundle
*)new wxIconBundle();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4353 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxString
*arg1
= 0 ;
4357 wxIconBundle
*result
;
4358 bool temp1
= false ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "file",(char *) "type", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4367 arg1
= wxString_in_helper(obj0
);
4368 if (arg1
== NULL
) SWIG_fail
;
4371 arg2
= (long)SWIG_As_long(obj1
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4395 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4398 wxIconBundle
*result
;
4399 PyObject
* obj0
= 0 ;
4401 (char *) "icon", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4409 PyErr_SetString(PyExc_TypeError
,"null reference");
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4426 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "self", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4444 Py_INCREF(Py_None
); resultobj
= Py_None
;
4451 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
*resultobj
;
4453 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4458 (char *) "self",(char *) "icon", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4468 PyErr_SetString(PyExc_TypeError
,"null reference");
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 Py_INCREF(Py_None
); resultobj
= Py_None
;
4485 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
*resultobj
;
4487 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4488 wxString
*arg2
= 0 ;
4490 bool temp2
= false ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 PyObject
* obj2
= 0 ;
4495 (char *) "self",(char *) "file",(char *) "type", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4502 arg2
= wxString_in_helper(obj1
);
4503 if (arg2
== NULL
) SWIG_fail
;
4506 arg3
= (long)SWIG_As_long(obj2
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
;
4532 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4539 (char *) "self",(char *) "size", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4547 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4553 result
= (wxIcon
*) &_result_ref
;
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4560 wxIcon
* resultptr
= new wxIcon(*result
);
4561 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4569 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4572 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4574 return Py_BuildValue((char *)"");
4576 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxString
*arg1
= (wxString
*) 0 ;
4580 int arg3
= (int) 0 ;
4581 int arg4
= (int) 0 ;
4583 bool temp1
= false ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 PyObject
* obj2
= 0 ;
4587 PyObject
* obj3
= 0 ;
4589 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4594 arg1
= wxString_in_helper(obj0
);
4595 if (arg1
== NULL
) SWIG_fail
;
4598 arg2
= (long)SWIG_As_long(obj1
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 arg3
= (int)SWIG_As_int(obj2
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 arg4
= (int)SWIG_As_int(obj3
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 if (!wxPyCheckForApp()) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4631 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
;
4633 wxCursor
*arg1
= (wxCursor
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4636 (char *) "self", NULL
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 Py_INCREF(Py_None
); resultobj
= Py_None
;
4656 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4660 PyObject
* obj0
= 0 ;
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4666 arg1
= (int)SWIG_As_int(obj0
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 if (!wxPyCheckForApp()) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxCursor
*)new wxCursor(arg1
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4683 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "image", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4697 PyErr_SetString(PyExc_TypeError
,"null reference");
4701 if (!wxPyCheckForApp()) SWIG_fail
;
4702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4703 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4715 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
;
4717 wxCursor
*arg1
= (wxCursor
*) 0 ;
4719 PyObject
* obj0
= 0 ;
4721 (char *) "self", NULL
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (bool)(arg1
)->Ok();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4743 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4746 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4748 return Py_BuildValue((char *)"");
4750 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 int arg1
= (int) 0 ;
4753 int arg2
= (int) 0 ;
4754 int arg3
= (int) 0 ;
4755 int arg4
= (int) 0 ;
4757 PyObject
* obj0
= 0 ;
4758 PyObject
* obj1
= 0 ;
4759 PyObject
* obj2
= 0 ;
4760 PyObject
* obj3
= 0 ;
4762 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4767 arg1
= (int)SWIG_As_int(obj0
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4771 arg2
= (int)SWIG_As_int(obj1
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 arg3
= (int)SWIG_As_int(obj2
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 arg4
= (int)SWIG_As_int(obj3
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4783 if (!wxPyCheckForApp()) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4797 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxBitmap
*arg1
= 0 ;
4801 PyObject
* obj0
= 0 ;
4803 (char *) "bmp", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4811 PyErr_SetString(PyExc_TypeError
,"null reference");
4815 if (!wxPyCheckForApp()) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4829 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxBitmap
*arg1
= 0 ;
4832 wxColour
*arg2
= 0 ;
4833 int arg3
= (int) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 PyObject
* obj2
= 0 ;
4840 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4848 PyErr_SetString(PyExc_TypeError
,"null reference");
4853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4856 arg3
= (int)SWIG_As_int(obj2
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4860 if (!wxPyCheckForApp()) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4874 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4877 wxPoint
*arg2
= (wxPoint
*) 0 ;
4878 int arg3
= (int) wxWINDING_RULE
;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4883 (char *) "points",(char *) "fillStyle", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4888 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
4889 if (arg2
== NULL
) SWIG_fail
;
4892 arg3
= (int)SWIG_As_int(obj1
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4896 if (!wxPyCheckForApp()) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4905 if (arg2
) delete [] arg2
;
4910 if (arg2
) delete [] arg2
;
4916 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxRegion
*arg1
= (wxRegion
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4921 (char *) "self", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 Py_INCREF(Py_None
); resultobj
= Py_None
;
4941 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxRegion
*arg1
= (wxRegion
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4946 (char *) "self", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxRegion
*arg1
= (wxRegion
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4974 PyObject
* obj2
= 0 ;
4976 (char *) "self",(char *) "x",(char *) "y", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
4981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4982 arg2
= (int)SWIG_As_int(obj1
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4984 arg3
= (int)SWIG_As_int(obj2
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (int)(arg1
)->Contains(arg2
,arg3
);
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= SWIG_From_int((int)result
);
5000 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxRegion
*arg1
= (wxRegion
*) 0 ;
5006 PyObject
* obj0
= 0 ;
5007 PyObject
* obj1
= 0 ;
5009 (char *) "self",(char *) "pt", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 resultobj
= SWIG_From_int((int)result
);
5033 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxRegion
*arg1
= (wxRegion
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5042 (char *) "self",(char *) "rect", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5050 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= SWIG_From_int((int)result
);
5066 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
;
5068 wxRegion
*arg1
= (wxRegion
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5075 PyObject
* obj1
= 0 ;
5076 PyObject
* obj2
= 0 ;
5077 PyObject
* obj3
= 0 ;
5078 PyObject
* obj4
= 0 ;
5080 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5086 arg2
= (int)SWIG_As_int(obj1
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5088 arg3
= (int)SWIG_As_int(obj2
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5090 arg4
= (int)SWIG_As_int(obj3
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5092 arg5
= (int)SWIG_As_int(obj4
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_From_int((int)result
);
5108 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxRegion
*arg1
= (wxRegion
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "self", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (arg1
)->GetBox();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5129 resultptr
= new wxRect((wxRect
&) result
);
5130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5138 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxRegion
*arg1
= (wxRegion
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 PyObject
* obj2
= 0 ;
5149 PyObject
* obj3
= 0 ;
5150 PyObject
* obj4
= 0 ;
5152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 arg2
= (int)SWIG_As_int(obj1
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5160 arg3
= (int)SWIG_As_int(obj2
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5162 arg4
= (int)SWIG_As_int(obj3
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5164 arg5
= (int)SWIG_As_int(obj4
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5182 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxRegion
*arg1
= (wxRegion
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5191 (char *) "self",(char *) "rect", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5199 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5217 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxRegion
*arg1
= (wxRegion
*) 0 ;
5220 wxRegion
*arg2
= 0 ;
5222 PyObject
* obj0
= 0 ;
5223 PyObject
* obj1
= 0 ;
5225 (char *) "self",(char *) "region", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5235 PyErr_SetString(PyExc_TypeError
,"null reference");
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5254 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxRegion
*arg1
= (wxRegion
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (bool)(arg1
)->IsEmpty();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5282 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
*resultobj
;
5284 wxRegion
*arg1
= (wxRegion
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5291 PyObject
* obj1
= 0 ;
5292 PyObject
* obj2
= 0 ;
5293 PyObject
* obj3
= 0 ;
5294 PyObject
* obj4
= 0 ;
5296 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5302 arg2
= (int)SWIG_As_int(obj1
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5304 arg3
= (int)SWIG_As_int(obj2
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5306 arg4
= (int)SWIG_As_int(obj3
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5308 arg5
= (int)SWIG_As_int(obj4
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5326 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxRegion
*arg1
= (wxRegion
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5335 (char *) "self",(char *) "rect", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5361 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxRegion
*arg1
= (wxRegion
*) 0 ;
5364 wxRegion
*arg2
= 0 ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5369 (char *) "self",(char *) "region", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5379 PyErr_SetString(PyExc_TypeError
,"null reference");
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5398 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5400 wxRegion
*arg1
= (wxRegion
*) 0 ;
5406 PyObject
* obj0
= 0 ;
5407 PyObject
* obj1
= 0 ;
5408 PyObject
* obj2
= 0 ;
5409 PyObject
* obj3
= 0 ;
5410 PyObject
* obj4
= 0 ;
5412 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 arg2
= (int)SWIG_As_int(obj1
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5420 arg3
= (int)SWIG_As_int(obj2
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5422 arg4
= (int)SWIG_As_int(obj3
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5424 arg5
= (int)SWIG_As_int(obj4
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5442 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxRegion
*arg1
= (wxRegion
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5451 (char *) "self",(char *) "rect", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5477 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxRegion
*arg1
= (wxRegion
*) 0 ;
5480 wxRegion
*arg2
= 0 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5485 (char *) "self",(char *) "region", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5495 PyErr_SetString(PyExc_TypeError
,"null reference");
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5514 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxRegion
*arg1
= (wxRegion
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 PyObject
* obj2
= 0 ;
5525 PyObject
* obj3
= 0 ;
5526 PyObject
* obj4
= 0 ;
5528 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5534 arg2
= (int)SWIG_As_int(obj1
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5536 arg3
= (int)SWIG_As_int(obj2
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5538 arg4
= (int)SWIG_As_int(obj3
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5540 arg5
= (int)SWIG_As_int(obj4
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5558 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxRegion
*arg1
= (wxRegion
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "rect", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5593 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxRegion
*arg1
= (wxRegion
*) 0 ;
5596 wxRegion
*arg2
= 0 ;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5601 (char *) "self",(char *) "region", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5611 PyErr_SetString(PyExc_TypeError
,"null reference");
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5630 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxRegion
*arg1
= (wxRegion
*) 0 ;
5633 SwigValueWrapper
< wxBitmap
> result
;
5634 PyObject
* obj0
= 0 ;
5636 (char *) "self", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (arg1
)->ConvertToBitmap();
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5650 wxBitmap
* resultptr
;
5651 resultptr
= new wxBitmap((wxBitmap
&) result
);
5652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5660 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxRegion
*arg1
= (wxRegion
*) 0 ;
5663 wxBitmap
*arg2
= 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5668 (char *) "self",(char *) "bmp", NULL
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5678 PyErr_SetString(PyExc_TypeError
,"null reference");
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5697 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxRegion
*arg1
= (wxRegion
*) 0 ;
5700 wxBitmap
*arg2
= 0 ;
5701 wxColour
*arg3
= 0 ;
5702 int arg4
= (int) 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 PyObject
* obj2
= 0 ;
5708 PyObject
* obj3
= 0 ;
5710 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5720 PyErr_SetString(PyExc_TypeError
,"null reference");
5725 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5728 arg4
= (int)SWIG_As_int(obj3
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5747 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5750 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5752 return Py_BuildValue((char *)"");
5754 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5756 wxRegion
*arg1
= 0 ;
5757 wxRegionIterator
*result
;
5758 PyObject
* obj0
= 0 ;
5760 (char *) "region", NULL
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5768 PyErr_SetString(PyExc_TypeError
,"null reference");
5772 if (!wxPyCheckForApp()) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5786 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5789 PyObject
* obj0
= 0 ;
5791 (char *) "self", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 Py_INCREF(Py_None
); resultobj
= Py_None
;
5811 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5815 PyObject
* obj0
= 0 ;
5817 (char *) "self", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (int)(arg1
)->GetX();
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_From_int((int)result
);
5837 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5843 (char *) "self", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (int)(arg1
)->GetY();
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= SWIG_From_int((int)result
);
5863 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5869 (char *) "self", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 result
= (int)(arg1
)->GetW();
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_From_int((int)result
);
5889 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5895 (char *) "self", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (int)(arg1
)->GetWidth();
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_From_int((int)result
);
5915 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
;
5917 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5919 PyObject
* obj0
= 0 ;
5921 (char *) "self", NULL
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
5925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (int)(arg1
)->GetH();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= SWIG_From_int((int)result
);
5941 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
*resultobj
;
5943 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5945 PyObject
* obj0
= 0 ;
5947 (char *) "self", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (int)(arg1
)->GetHeight();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= SWIG_From_int((int)result
);
5967 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5973 (char *) "self", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
5977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (arg1
)->GetRect();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5988 resultptr
= new wxRect((wxRect
&) result
);
5989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5997 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5998 PyObject
*resultobj
;
5999 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6001 PyObject
* obj0
= 0 ;
6003 (char *) "self", NULL
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (bool)(arg1
)->HaveRects();
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6025 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6030 (char *) "self", NULL
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6055 (char *) "self", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 wxRegionIterator_Next(arg1
);
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 Py_INCREF(Py_None
); resultobj
= Py_None
;
6075 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6081 (char *) "self", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6106 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6108 return Py_BuildValue((char *)"");
6110 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxNativeFontInfo
*result
;
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6132 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6137 (char *) "self", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "self", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 Py_INCREF(Py_None
); resultobj
= Py_None
;
6182 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6189 (char *) "self",(char *) "font", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6199 PyErr_SetString(PyExc_TypeError
,"null reference");
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 Py_INCREF(Py_None
); resultobj
= Py_None
;
6216 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= SWIG_From_int((int)result
);
6242 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6248 (char *) "self", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_From_int((int)result
);
6268 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= SWIG_From_int((int)result
);
6294 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6298 PyObject
* obj0
= 0 ;
6300 (char *) "self", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6322 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "self", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6354 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6358 PyObject
* obj0
= 0 ;
6360 (char *) "self", NULL
6363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_From_int((int)result
);
6380 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
;
6382 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6384 PyObject
* obj0
= 0 ;
6386 (char *) "self", NULL
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= SWIG_From_int((int)result
);
6406 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6408 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6413 (char *) "self",(char *) "pointsize", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 arg2
= (int)SWIG_As_int(obj1
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 (arg1
)->SetPointSize(arg2
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 Py_INCREF(Py_None
); resultobj
= Py_None
;
6435 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6442 (char *) "self",(char *) "style", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 arg2
= (int)SWIG_As_int(obj1
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6469 PyObject
* obj1
= 0 ;
6471 (char *) "self",(char *) "weight", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 arg2
= (int)SWIG_As_int(obj1
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 Py_INCREF(Py_None
); resultobj
= Py_None
;
6493 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6498 PyObject
* obj1
= 0 ;
6500 (char *) "self",(char *) "underlined", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6506 arg2
= (bool)SWIG_As_bool(obj1
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 (arg1
)->SetUnderlined(arg2
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 Py_INCREF(Py_None
); resultobj
= Py_None
;
6522 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6529 (char *) "self",(char *) "facename", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 wxString
* sptr
= wxString_in_helper(obj1
);
6537 if (sptr
== NULL
) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 (arg1
)->SetFaceName(arg2
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 Py_INCREF(Py_None
); resultobj
= Py_None
;
6555 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6562 (char *) "self",(char *) "family", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 arg2
= (int)SWIG_As_int(obj1
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 Py_INCREF(Py_None
); resultobj
= Py_None
;
6584 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6588 PyObject
* obj0
= 0 ;
6589 PyObject
* obj1
= 0 ;
6591 (char *) "self",(char *) "encoding", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6597 arg2
= (int)SWIG_As_int(obj1
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 Py_INCREF(Py_None
); resultobj
= Py_None
;
6613 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
;
6615 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6616 wxString
*arg2
= 0 ;
6618 bool temp2
= false ;
6619 PyObject
* obj0
= 0 ;
6620 PyObject
* obj1
= 0 ;
6622 (char *) "self",(char *) "s", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6629 arg2
= wxString_in_helper(obj1
);
6630 if (arg2
== NULL
) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6657 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6659 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6663 (char *) "self", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6689 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6695 (char *) "self", NULL
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= wxNativeFontInfo___str__(arg1
);
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6721 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6724 wxString
*arg2
= 0 ;
6726 bool temp2
= false ;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6730 (char *) "self",(char *) "s", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 arg2
= wxString_in_helper(obj1
);
6738 if (arg2
== NULL
) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6765 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6769 PyObject
* obj0
= 0 ;
6771 (char *) "self", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6797 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6800 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6802 return Py_BuildValue((char *)"");
6804 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6807 wxString
*arg2
= (wxString
*) 0 ;
6808 bool temp2
= false ;
6809 PyObject
* obj0
= 0 ;
6810 PyObject
* obj1
= 0 ;
6812 (char *) "self",(char *) "facename", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6819 arg2
= wxString_in_helper(obj1
);
6820 if (arg2
== NULL
) SWIG_fail
;
6823 if (arg1
) (arg1
)->facename
= *arg2
;
6825 Py_INCREF(Py_None
); resultobj
= Py_None
;
6840 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6844 PyObject
* obj0
= 0 ;
6846 (char *) "self", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6852 result
= (wxString
*)& ((arg1
)->facename
);
6856 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6858 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6867 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6874 (char *) "self",(char *) "encoding", NULL
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6880 arg2
= (int)SWIG_As_int(obj1
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6882 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
6884 Py_INCREF(Py_None
); resultobj
= Py_None
;
6891 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
;
6893 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6897 (char *) "self", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
6901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6903 result
= (int) ((arg1
)->encoding
);
6905 resultobj
= SWIG_From_int((int)result
);
6912 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxNativeEncodingInfo
*result
;
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
6934 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6939 (char *) "self", NULL
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
6943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 Py_INCREF(Py_None
); resultobj
= Py_None
;
6959 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6962 wxString
*arg2
= 0 ;
6964 bool temp2
= false ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6968 (char *) "self",(char *) "s", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6975 arg2
= wxString_in_helper(obj1
);
6976 if (arg2
== NULL
) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7003 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7007 PyObject
* obj0
= 0 ;
7009 (char *) "self", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7035 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7038 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7040 return Py_BuildValue((char *)"");
7042 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7045 wxNativeEncodingInfo
*result
;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "encoding", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7052 arg1
= (int)SWIG_As_int(obj0
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7068 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 wxNativeEncodingInfo
*arg1
= 0 ;
7072 PyObject
* obj0
= 0 ;
7074 (char *) "info", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7082 PyErr_SetString(PyExc_TypeError
,"null reference");
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7101 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxFontMapper
*result
;
7108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxFontMapper
*)new wxFontMapper();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7123 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7126 PyObject
* obj0
= 0 ;
7128 (char *) "self", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxFontMapper
*result
;
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (wxFontMapper
*)wxFontMapper::Get();
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7170 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7173 wxFontMapper
*result
;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "mapper", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7196 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7199 wxString
*arg2
= 0 ;
7200 bool arg3
= (bool) true ;
7202 bool temp2
= false ;
7203 PyObject
* obj0
= 0 ;
7204 PyObject
* obj1
= 0 ;
7205 PyObject
* obj2
= 0 ;
7207 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7214 arg2
= wxString_in_helper(obj1
);
7215 if (arg2
== NULL
) SWIG_fail
;
7219 arg3
= (bool)SWIG_As_bool(obj2
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 resultobj
= SWIG_From_int((int)result
);
7244 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
*resultobj
;
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7266 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7270 PyObject
* obj0
= 0 ;
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7276 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (int)wxFontMapper::GetEncoding(arg1
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_From_int((int)result
);
7292 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "encoding", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7302 arg1
= (int)SWIG_As_int(obj0
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7324 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7328 PyObject
* obj0
= 0 ;
7330 (char *) "encoding", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7334 arg1
= (int)SWIG_As_int(obj0
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7356 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxString
*arg1
= 0 ;
7360 bool temp1
= false ;
7361 PyObject
* obj0
= 0 ;
7363 (char *) "name", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7368 arg1
= wxString_in_helper(obj0
);
7369 if (arg1
== NULL
) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_From_int((int)result
);
7394 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7396 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7397 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7398 PyObject
* obj0
= 0 ;
7399 PyObject
* obj1
= 0 ;
7401 (char *) "self",(char *) "config", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 (arg1
)->SetConfig(arg2
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 Py_INCREF(Py_None
); resultobj
= Py_None
;
7423 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7426 wxString
*arg2
= 0 ;
7427 bool temp2
= false ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 (char *) "self",(char *) "prefix", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7438 arg2
= wxString_in_helper(obj1
);
7439 if (arg2
== NULL
) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= wxFontMapper::GetDefaultConfigPath();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7492 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7496 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7498 bool arg4
= (bool) true ;
7500 bool temp3
= false ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7503 PyObject
* obj2
= 0 ;
7504 PyObject
* obj3
= 0 ;
7506 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7512 arg2
= (int)SWIG_As_int(obj1
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 arg3
= wxString_in_helper(obj2
);
7517 if (arg3
== NULL
) SWIG_fail
;
7522 arg4
= (bool)SWIG_As_bool(obj3
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7547 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7551 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7552 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7554 bool temp3
= false ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 PyObject
* obj2
= 0 ;
7559 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 arg2
= (int)SWIG_As_int(obj1
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 arg3
= wxString_in_helper(obj2
);
7570 if (arg3
== NULL
) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7598 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7601 wxWindow
*arg2
= (wxWindow
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7605 (char *) "self",(char *) "parent", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->SetDialogParent(arg2
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7630 wxString
*arg2
= 0 ;
7631 bool temp2
= false ;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7635 (char *) "self",(char *) "title", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7642 arg2
= wxString_in_helper(obj1
);
7643 if (arg2
== NULL
) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 Py_INCREF(Py_None
); resultobj
= Py_None
;
7668 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7671 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7673 return Py_BuildValue((char *)"");
7675 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7681 bool arg5
= (bool) false ;
7682 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7683 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7684 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7686 bool temp6
= false ;
7687 PyObject
* obj0
= 0 ;
7688 PyObject
* obj1
= 0 ;
7689 PyObject
* obj2
= 0 ;
7690 PyObject
* obj3
= 0 ;
7691 PyObject
* obj4
= 0 ;
7692 PyObject
* obj5
= 0 ;
7693 PyObject
* obj6
= 0 ;
7695 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7699 arg1
= (int)SWIG_As_int(obj0
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7701 arg2
= (int)SWIG_As_int(obj1
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7703 arg3
= (int)SWIG_As_int(obj2
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7705 arg4
= (int)SWIG_As_int(obj3
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 arg5
= (bool)SWIG_As_bool(obj4
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7713 arg6
= wxString_in_helper(obj5
);
7714 if (arg6
== NULL
) SWIG_fail
;
7719 arg7
= (int)SWIG_As_int(obj6
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7723 if (!wxPyCheckForApp()) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7745 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxFont
*arg1
= (wxFont
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7763 Py_INCREF(Py_None
); resultobj
= Py_None
;
7770 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
*resultobj
;
7772 wxNativeFontInfo
*arg1
= 0 ;
7774 PyObject
* obj0
= 0 ;
7776 (char *) "info", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7784 PyErr_SetString(PyExc_TypeError
,"null reference");
7788 if (!wxPyCheckForApp()) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7802 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxString
*arg1
= 0 ;
7806 bool temp1
= false ;
7807 PyObject
* obj0
= 0 ;
7809 (char *) "info", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7814 arg1
= wxString_in_helper(obj0
);
7815 if (arg1
== NULL
) SWIG_fail
;
7819 if (!wxPyCheckForApp()) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7841 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7845 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7846 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7847 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7848 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7850 bool temp4
= false ;
7851 PyObject
* obj0
= 0 ;
7852 PyObject
* obj1
= 0 ;
7853 PyObject
* obj2
= 0 ;
7854 PyObject
* obj3
= 0 ;
7855 PyObject
* obj4
= 0 ;
7857 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7861 arg1
= (int)SWIG_As_int(obj0
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7863 arg2
= (int)SWIG_As_int(obj1
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 arg3
= (int)SWIG_As_int(obj2
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7871 arg4
= wxString_in_helper(obj3
);
7872 if (arg4
== NULL
) SWIG_fail
;
7877 arg5
= (int)SWIG_As_int(obj4
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7881 if (!wxPyCheckForApp()) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7903 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxFont
*arg1
= (wxFont
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7909 (char *) "self", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (bool)((wxFont
const *)arg1
)->Ok();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7931 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxFont
*arg1
= (wxFont
*) 0 ;
7934 wxFont
*arg2
= (wxFont
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7939 (char *) "self",(char *) "other", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7963 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
;
7965 wxFont
*arg1
= (wxFont
*) 0 ;
7966 wxFont
*arg2
= (wxFont
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7969 PyObject
* obj1
= 0 ;
7971 (char *) "self",(char *) "other", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7995 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxFont
*arg1
= (wxFont
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "self", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= SWIG_From_int((int)result
);
8021 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 wxFont
*arg1
= (wxFont
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_From_int((int)result
);
8047 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxFont
*arg1
= (wxFont
*) 0 ;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= SWIG_From_int((int)result
);
8073 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxFont
*arg1
= (wxFont
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "self", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_From_int((int)result
);
8099 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxFont
*arg1
= (wxFont
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8127 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxFont
*arg1
= (wxFont
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "self", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 result
= ((wxFont
const *)arg1
)->GetFaceName();
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8159 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxFont
*arg1
= (wxFont
*) 0 ;
8163 PyObject
* obj0
= 0 ;
8165 (char *) "self", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= SWIG_From_int((int)result
);
8185 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxFont
*arg1
= (wxFont
*) 0 ;
8188 wxNativeFontInfo
*result
;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8211 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxFont
*arg1
= (wxFont
*) 0 ;
8215 PyObject
* obj0
= 0 ;
8217 (char *) "self", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8239 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxFont
*arg1
= (wxFont
*) 0 ;
8243 PyObject
* obj0
= 0 ;
8245 (char *) "self", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8271 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8272 PyObject
*resultobj
;
8273 wxFont
*arg1
= (wxFont
*) 0 ;
8275 PyObject
* obj0
= 0 ;
8277 (char *) "self", NULL
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8303 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
;
8305 wxFont
*arg1
= (wxFont
*) 0 ;
8307 PyObject
* obj0
= 0 ;
8308 PyObject
* obj1
= 0 ;
8310 (char *) "self",(char *) "pointSize", NULL
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8316 arg2
= (int)SWIG_As_int(obj1
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 (arg1
)->SetPointSize(arg2
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) SWIG_fail
;
8325 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxFont
*arg1
= (wxFont
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8337 PyObject
* obj1
= 0 ;
8339 (char *) "self",(char *) "family", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 arg2
= (int)SWIG_As_int(obj1
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 (arg1
)->SetFamily(arg2
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 Py_INCREF(Py_None
); resultobj
= Py_None
;
8361 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
;
8363 wxFont
*arg1
= (wxFont
*) 0 ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8368 (char *) "self",(char *) "style", NULL
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8374 arg2
= (int)SWIG_As_int(obj1
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 (arg1
)->SetStyle(arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxFont
*arg1
= (wxFont
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8397 (char *) "self",(char *) "weight", NULL
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 arg2
= (int)SWIG_As_int(obj1
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 (arg1
)->SetWeight(arg2
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 Py_INCREF(Py_None
); resultobj
= Py_None
;
8419 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxFont
*arg1
= (wxFont
*) 0 ;
8422 wxString
*arg2
= 0 ;
8423 bool temp2
= false ;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8427 (char *) "self",(char *) "faceName", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8434 arg2
= wxString_in_helper(obj1
);
8435 if (arg2
== NULL
) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 Py_INCREF(Py_None
); resultobj
= Py_None
;
8460 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxFont
*arg1
= (wxFont
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8467 (char *) "self",(char *) "underlined", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 arg2
= (bool)SWIG_As_bool(obj1
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 (arg1
)->SetUnderlined(arg2
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 Py_INCREF(Py_None
); resultobj
= Py_None
;
8489 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxFont
*arg1
= (wxFont
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8496 (char *) "self",(char *) "encoding", NULL
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 arg2
= (int)SWIG_As_int(obj1
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8518 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
;
8520 wxFont
*arg1
= (wxFont
*) 0 ;
8521 wxNativeFontInfo
*arg2
= 0 ;
8522 PyObject
* obj0
= 0 ;
8523 PyObject
* obj1
= 0 ;
8525 (char *) "self",(char *) "info", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8535 PyErr_SetString(PyExc_TypeError
,"null reference");
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 Py_INCREF(Py_None
); resultobj
= Py_None
;
8552 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxFont
*arg1
= (wxFont
*) 0 ;
8555 wxString
*arg2
= 0 ;
8556 bool temp2
= false ;
8557 PyObject
* obj0
= 0 ;
8558 PyObject
* obj1
= 0 ;
8560 (char *) "self",(char *) "info", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 arg2
= wxString_in_helper(obj1
);
8568 if (arg2
== NULL
) SWIG_fail
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8578 Py_INCREF(Py_None
); resultobj
= Py_None
;
8593 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxFont
*arg1
= (wxFont
*) 0 ;
8596 wxString
*arg2
= 0 ;
8597 bool temp2
= false ;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8601 (char *) "self",(char *) "info", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8608 arg2
= wxString_in_helper(obj1
);
8609 if (arg2
== NULL
) SWIG_fail
;
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8619 Py_INCREF(Py_None
); resultobj
= Py_None
;
8634 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxFont
*arg1
= (wxFont
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8640 (char *) "self", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8666 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 wxFont
*arg1
= (wxFont
*) 0 ;
8670 PyObject
* obj0
= 0 ;
8672 (char *) "self", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= ((wxFont
const *)arg1
)->GetStyleString();
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8698 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
;
8700 wxFont
*arg1
= (wxFont
*) 0 ;
8702 PyObject
* obj0
= 0 ;
8704 (char *) "self", NULL
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
8708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= ((wxFont
const *)arg1
)->GetWeightString();
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8730 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxFont
*arg1
= (wxFont
*) 0 ;
8733 bool arg2
= (bool) true ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8737 (char *) "self",(char *) "no", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
8741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8744 arg2
= (bool)SWIG_As_bool(obj1
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 (arg1
)->SetNoAntiAliasing(arg2
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxFont
*arg1
= (wxFont
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8767 (char *) "self", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8789 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
8798 if (!wxPyCheckForApp()) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (int)wxFont::GetDefaultEncoding();
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= SWIG_From_int((int)result
);
8812 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8815 PyObject
* obj0
= 0 ;
8817 (char *) "encoding", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
8821 arg1
= (int)SWIG_As_int(obj0
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 if (!wxPyCheckForApp()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 Py_INCREF(Py_None
); resultobj
= Py_None
;
8838 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
8840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8841 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
8843 return Py_BuildValue((char *)"");
8845 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxPyFontEnumerator
*result
;
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
8854 if (!wxPyCheckForApp()) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
8868 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
;
8870 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8871 PyObject
* obj0
= 0 ;
8873 (char *) "self", NULL
8876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
8877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8896 PyObject
*arg2
= (PyObject
*) 0 ;
8897 PyObject
*arg3
= (PyObject
*) 0 ;
8899 PyObject
* obj0
= 0 ;
8900 PyObject
* obj1
= 0 ;
8901 PyObject
* obj2
= 0 ;
8902 PyObject
* obj3
= 0 ;
8904 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8912 arg4
= (bool)SWIG_As_bool(obj3
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 Py_INCREF(Py_None
); resultobj
= Py_None
;
8928 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8931 int arg2
= (int) wxFONTENCODING_SYSTEM
;
8932 bool arg3
= (bool) false ;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8936 PyObject
* obj2
= 0 ;
8938 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 arg2
= (int)SWIG_As_int(obj1
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8949 arg3
= (bool)SWIG_As_bool(obj2
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8968 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
8971 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8972 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8974 bool temp2
= false ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8978 (char *) "self",(char *) "facename", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 arg2
= wxString_in_helper(obj1
);
8987 if (arg2
== NULL
) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9015 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9019 PyObject
* obj0
= 0 ;
9021 (char *) "self", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9041 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9045 PyObject
* obj0
= 0 ;
9047 (char *) "self", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9067 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9070 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9072 return Py_BuildValue((char *)"");
9074 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
;
9076 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9081 (char *) "self",(char *) "Language", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9087 arg2
= (int)SWIG_As_int(obj1
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9089 if (arg1
) (arg1
)->Language
= arg2
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 result
= (int) ((arg1
)->Language
);
9112 resultobj
= SWIG_From_int((int)result
);
9119 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9122 wxString
*arg2
= (wxString
*) 0 ;
9123 bool temp2
= false ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9127 (char *) "self",(char *) "CanonicalName", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9134 arg2
= wxString_in_helper(obj1
);
9135 if (arg2
== NULL
) SWIG_fail
;
9138 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9140 Py_INCREF(Py_None
); resultobj
= Py_None
;
9155 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9159 PyObject
* obj0
= 0 ;
9161 (char *) "self", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9167 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9171 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9173 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9182 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9185 wxString
*arg2
= (wxString
*) 0 ;
9186 bool temp2
= false ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "self",(char *) "Description", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 arg2
= wxString_in_helper(obj1
);
9198 if (arg2
== NULL
) SWIG_fail
;
9201 if (arg1
) (arg1
)->Description
= *arg2
;
9203 Py_INCREF(Py_None
); resultobj
= Py_None
;
9218 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9230 result
= (wxString
*)& ((arg1
)->Description
);
9234 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9236 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9245 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9248 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9250 return Py_BuildValue((char *)"");
9252 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 int arg1
= (int) -1 ;
9255 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9260 (char *) "language",(char *) "flags", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9265 arg1
= (int)SWIG_As_int(obj0
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9269 arg2
= (int)SWIG_As_int(obj1
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9286 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxLocale
*arg1
= (wxLocale
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9291 (char *) "self", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 Py_INCREF(Py_None
); resultobj
= Py_None
;
9311 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxLocale
*arg1
= (wxLocale
*) 0 ;
9314 wxString
*arg2
= 0 ;
9315 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9316 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9317 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9318 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9319 bool arg5
= (bool) true ;
9320 bool arg6
= (bool) false ;
9322 bool temp2
= false ;
9323 bool temp3
= false ;
9324 bool temp4
= false ;
9325 PyObject
* obj0
= 0 ;
9326 PyObject
* obj1
= 0 ;
9327 PyObject
* obj2
= 0 ;
9328 PyObject
* obj3
= 0 ;
9329 PyObject
* obj4
= 0 ;
9330 PyObject
* obj5
= 0 ;
9332 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9339 arg2
= wxString_in_helper(obj1
);
9340 if (arg2
== NULL
) SWIG_fail
;
9345 arg3
= wxString_in_helper(obj2
);
9346 if (arg3
== NULL
) SWIG_fail
;
9352 arg4
= wxString_in_helper(obj3
);
9353 if (arg4
== NULL
) SWIG_fail
;
9358 arg5
= (bool)SWIG_As_bool(obj4
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9362 arg6
= (bool)SWIG_As_bool(obj5
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (bool)(arg1
)->Init((wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9405 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxLocale
*arg1
= (wxLocale
*) 0 ;
9408 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9409 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 PyObject
* obj2
= 0 ;
9415 (char *) "self",(char *) "language",(char *) "flags", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9422 arg2
= (int)SWIG_As_int(obj1
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 arg3
= (int)SWIG_As_int(obj2
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (bool)(arg1
)->Init(arg2
,arg3
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9445 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (int)wxLocale::GetSystemLanguage();
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_From_int((int)result
);
9467 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (int)wxLocale::GetSystemEncoding();
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_From_int((int)result
);
9489 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= wxLocale::GetSystemEncodingName();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9517 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxLocale
*arg1
= (wxLocale
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "self", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9545 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxLocale
*arg1
= (wxLocale
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9551 (char *) "self", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 result
= ((wxLocale
const *)arg1
)->GetLocale();
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9577 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxLocale
*arg1
= (wxLocale
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "self", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_From_int((int)result
);
9603 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxLocale
*arg1
= (wxLocale
*) 0 ;
9607 PyObject
* obj0
= 0 ;
9609 (char *) "self", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= ((wxLocale
const *)arg1
)->GetSysName();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9635 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9636 PyObject
*resultobj
;
9637 wxLocale
*arg1
= (wxLocale
*) 0 ;
9639 PyObject
* obj0
= 0 ;
9641 (char *) "self", NULL
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9667 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxString
*arg1
= 0 ;
9670 bool temp1
= false ;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "prefix", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9678 arg1
= wxString_in_helper(obj0
);
9679 if (arg1
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 Py_INCREF(Py_None
); resultobj
= Py_None
;
9704 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxLocale
*arg1
= (wxLocale
*) 0 ;
9707 wxString
*arg2
= 0 ;
9709 bool temp2
= false ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "self",(char *) "szDomain", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9720 arg2
= wxString_in_helper(obj1
);
9721 if (arg2
== NULL
) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9748 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxLocale
*arg1
= (wxLocale
*) 0 ;
9751 wxString
*arg2
= 0 ;
9753 bool temp2
= false ;
9754 PyObject
* obj0
= 0 ;
9755 PyObject
* obj1
= 0 ;
9757 (char *) "self",(char *) "szDomain", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9764 arg2
= wxString_in_helper(obj1
);
9765 if (arg2
== NULL
) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9792 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9795 wxLanguageInfo
*result
;
9796 PyObject
* obj0
= 0 ;
9798 (char *) "lang", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
9802 arg1
= (int)SWIG_As_int(obj0
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9818 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9822 PyObject
* obj0
= 0 ;
9824 (char *) "lang", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
9828 arg1
= (int)SWIG_As_int(obj0
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= wxLocale::GetLanguageName(arg1
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9850 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxString
*arg1
= 0 ;
9853 wxLanguageInfo
*result
;
9854 bool temp1
= false ;
9855 PyObject
* obj0
= 0 ;
9857 (char *) "locale", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
9862 arg1
= wxString_in_helper(obj0
);
9863 if (arg1
== NULL
) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
9888 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxLanguageInfo
*arg1
= 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "info", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9901 PyErr_SetString(PyExc_TypeError
,"null reference");
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 Py_INCREF(Py_None
); resultobj
= Py_None
;
9918 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxLocale
*arg1
= (wxLocale
*) 0 ;
9921 wxString
*arg2
= 0 ;
9922 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9923 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9925 bool temp2
= false ;
9926 bool temp3
= false ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9929 PyObject
* obj2
= 0 ;
9931 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 arg2
= wxString_in_helper(obj1
);
9939 if (arg2
== NULL
) SWIG_fail
;
9944 arg3
= wxString_in_helper(obj2
);
9945 if (arg3
== NULL
) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9985 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxLocale
*arg1
= (wxLocale
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10001 result
= (wxString
*) &_result_ref
;
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10011 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10020 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10023 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10025 return Py_BuildValue((char *)"");
10027 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10030 char *kwnames
[] = {
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= (wxLocale
*)wxGetLocale();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10049 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10050 PyObject
*resultobj
;
10051 wxString
*arg1
= 0 ;
10053 bool temp1
= false ;
10054 PyObject
* obj0
= 0 ;
10056 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10058 arg1
= wxString_in_helper(obj0
);
10059 if (arg1
== NULL
) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= wxGetTranslation((wxString
const &)*arg1
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10090 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10091 PyObject
*resultobj
;
10092 wxString
*arg1
= 0 ;
10093 wxString
*arg2
= 0 ;
10096 bool temp1
= false ;
10097 bool temp2
= false ;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 PyObject
* obj2
= 0 ;
10102 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10104 arg1
= wxString_in_helper(obj0
);
10105 if (arg1
== NULL
) SWIG_fail
;
10109 arg2
= wxString_in_helper(obj1
);
10110 if (arg2
== NULL
) SWIG_fail
;
10113 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10151 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10156 argc
= PyObject_Length(args
);
10157 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10158 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10163 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10166 return _wrap_GetTranslation__SWIG_0(self
,args
);
10172 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10176 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10179 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10181 return _wrap_GetTranslation__SWIG_1(self
,args
);
10187 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10192 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxEncodingConverter
*result
;
10195 char *kwnames
[] = {
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10214 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 Py_INCREF(Py_None
); resultobj
= Py_None
;
10239 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10244 int arg4
= (int) wxCONVERT_STRICT
;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 PyObject
* obj2
= 0 ;
10249 PyObject
* obj3
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10257 arg2
= (int)SWIG_As_int(obj1
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10259 arg3
= (int)SWIG_As_int(obj2
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 arg4
= (int)SWIG_As_int(obj3
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10281 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10284 wxString
*arg2
= 0 ;
10286 bool temp2
= false ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self",(char *) "input", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10297 arg2
= wxString_in_helper(obj1
);
10298 if (arg2
== NULL
) SWIG_fail
;
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10329 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10330 PyObject
*resultobj
;
10332 int arg2
= (int) wxPLATFORM_CURRENT
;
10333 wxFontEncodingArray result
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "enc",(char *) "platform", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10341 arg1
= (int)SWIG_As_int(obj0
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 arg2
= (int)SWIG_As_int(obj1
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= PyList_New(0);
10356 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10357 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10358 PyList_Append(resultobj
, number
);
10368 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10371 wxFontEncodingArray result
;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "enc", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10378 arg1
= (int)SWIG_As_int(obj0
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= PyList_New(0);
10389 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10390 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10391 PyList_Append(resultobj
, number
);
10401 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 char *kwnames
[] = {
10409 (char *) "encIn",(char *) "encOut", NULL
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10413 arg1
= (int)SWIG_As_int(obj0
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10415 arg2
= (int)SWIG_As_int(obj1
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10433 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10436 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10438 return Py_BuildValue((char *)"");
10440 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxDC
*arg1
= (wxDC
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 char *kwnames
[] = {
10445 (char *) "self", NULL
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 Py_INCREF(Py_None
); resultobj
= Py_None
;
10465 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
*resultobj
;
10467 wxDC
*arg1
= (wxDC
*) 0 ;
10468 PyObject
* obj0
= 0 ;
10469 char *kwnames
[] = {
10470 (char *) "self", NULL
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 (arg1
)->BeginDrawing();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 Py_INCREF(Py_None
); resultobj
= Py_None
;
10490 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxDC
*arg1
= (wxDC
*) 0 ;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 (arg1
)->EndDrawing();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 Py_INCREF(Py_None
); resultobj
= Py_None
;
10515 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxDC
*arg1
= (wxDC
*) 0 ;
10520 wxColour
*arg4
= 0 ;
10521 int arg5
= (int) wxFLOOD_SURFACE
;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 PyObject
* obj2
= 0 ;
10527 PyObject
* obj3
= 0 ;
10528 PyObject
* obj4
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 arg2
= (int)SWIG_As_int(obj1
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10538 arg3
= (int)SWIG_As_int(obj2
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10542 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10545 arg5
= (int)SWIG_As_int(obj4
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10564 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxDC
*arg1
= (wxDC
*) 0 ;
10567 wxPoint
*arg2
= 0 ;
10568 wxColour
*arg3
= 0 ;
10569 int arg4
= (int) wxFLOOD_SURFACE
;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 PyObject
* obj2
= 0 ;
10576 PyObject
* obj3
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10590 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10593 arg4
= (int)SWIG_As_int(obj3
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10612 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxDC
*arg1
= (wxDC
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 PyObject
* obj2
= 0 ;
10621 char *kwnames
[] = {
10622 (char *) "self",(char *) "x",(char *) "y", NULL
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 arg2
= (int)SWIG_As_int(obj1
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10630 arg3
= (int)SWIG_As_int(obj2
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10640 wxColour
* resultptr
;
10641 resultptr
= new wxColour((wxColour
&) result
);
10642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10650 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10652 wxDC
*arg1
= (wxDC
*) 0 ;
10653 wxPoint
*arg2
= 0 ;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self",(char *) "pt", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 wxColour
* resultptr
;
10678 resultptr
= new wxColour((wxColour
&) result
);
10679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10687 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxDC
*arg1
= (wxDC
*) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 PyObject
* obj2
= 0 ;
10697 PyObject
* obj3
= 0 ;
10698 PyObject
* obj4
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 arg2
= (int)SWIG_As_int(obj1
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10708 arg3
= (int)SWIG_As_int(obj2
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10710 arg4
= (int)SWIG_As_int(obj3
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10712 arg5
= (int)SWIG_As_int(obj4
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 Py_INCREF(Py_None
); resultobj
= Py_None
;
10728 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxDC
*arg1
= (wxDC
*) 0 ;
10731 wxPoint
*arg2
= 0 ;
10732 wxPoint
*arg3
= 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 PyObject
* obj2
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10751 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 Py_INCREF(Py_None
); resultobj
= Py_None
;
10767 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxDC
*arg1
= (wxDC
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 PyObject
* obj2
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "x",(char *) "y", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 arg2
= (int)SWIG_As_int(obj1
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10784 arg3
= (int)SWIG_As_int(obj2
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 (arg1
)->CrossHair(arg2
,arg3
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 Py_INCREF(Py_None
); resultobj
= Py_None
;
10800 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxDC
*arg1
= (wxDC
*) 0 ;
10803 wxPoint
*arg2
= 0 ;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 char *kwnames
[] = {
10808 (char *) "self",(char *) "pt", NULL
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 Py_INCREF(Py_None
); resultobj
= Py_None
;
10832 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
;
10834 wxDC
*arg1
= (wxDC
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 PyObject
* obj3
= 0 ;
10845 PyObject
* obj4
= 0 ;
10846 PyObject
* obj5
= 0 ;
10847 PyObject
* obj6
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 arg2
= (int)SWIG_As_int(obj1
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10857 arg3
= (int)SWIG_As_int(obj2
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10859 arg4
= (int)SWIG_As_int(obj3
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10861 arg5
= (int)SWIG_As_int(obj4
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10863 arg6
= (int)SWIG_As_int(obj5
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10865 arg7
= (int)SWIG_As_int(obj6
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxDC
*arg1
= (wxDC
*) 0 ;
10884 wxPoint
*arg2
= 0 ;
10885 wxPoint
*arg3
= 0 ;
10886 wxPoint
*arg4
= 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 PyObject
* obj2
= 0 ;
10893 PyObject
* obj3
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10903 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10911 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 Py_INCREF(Py_None
); resultobj
= Py_None
;
10927 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxDC
*arg1
= (wxDC
*) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 PyObject
* obj2
= 0 ;
10937 PyObject
* obj3
= 0 ;
10938 PyObject
* obj4
= 0 ;
10939 char *kwnames
[] = {
10940 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10946 arg2
= (int)SWIG_As_int(obj1
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10948 arg3
= (int)SWIG_As_int(obj2
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10950 arg4
= (int)SWIG_As_int(obj3
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10952 arg5
= (int)SWIG_As_int(obj4
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 Py_INCREF(Py_None
); resultobj
= Py_None
;
10968 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10970 wxDC
*arg1
= (wxDC
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 char *kwnames
[] = {
10976 (char *) "self",(char *) "rect", NULL
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10984 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 Py_INCREF(Py_None
); resultobj
= Py_None
;
11000 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxDC
*arg1
= (wxDC
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 PyObject
* obj2
= 0 ;
11012 PyObject
* obj3
= 0 ;
11013 PyObject
* obj4
= 0 ;
11014 PyObject
* obj5
= 0 ;
11015 PyObject
* obj6
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (int)SWIG_As_int(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11025 arg3
= (int)SWIG_As_int(obj2
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11027 arg4
= (int)SWIG_As_int(obj3
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11029 arg5
= (int)SWIG_As_int(obj4
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11031 arg6
= (double)SWIG_As_double(obj5
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11033 arg7
= (double)SWIG_As_double(obj6
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 Py_INCREF(Py_None
); resultobj
= Py_None
;
11049 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxDC
*arg1
= (wxDC
*) 0 ;
11052 wxPoint
*arg2
= 0 ;
11058 PyObject
* obj0
= 0 ;
11059 PyObject
* obj1
= 0 ;
11060 PyObject
* obj2
= 0 ;
11061 PyObject
* obj3
= 0 ;
11062 PyObject
* obj4
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11076 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11078 arg4
= (double)SWIG_As_double(obj3
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11080 arg5
= (double)SWIG_As_double(obj4
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxDC
*arg1
= (wxDC
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 PyObject
* obj2
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "x",(char *) "y", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 arg2
= (int)SWIG_As_int(obj1
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11113 arg3
= (int)SWIG_As_int(obj2
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 (arg1
)->DrawPoint(arg2
,arg3
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 Py_INCREF(Py_None
); resultobj
= Py_None
;
11129 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxDC
*arg1
= (wxDC
*) 0 ;
11132 wxPoint
*arg2
= 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 char *kwnames
[] = {
11137 (char *) "self",(char *) "pt", NULL
11140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 Py_INCREF(Py_None
); resultobj
= Py_None
;
11161 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxDC
*arg1
= (wxDC
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 PyObject
* obj1
= 0 ;
11170 PyObject
* obj2
= 0 ;
11171 PyObject
* obj3
= 0 ;
11172 PyObject
* obj4
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11180 arg2
= (int)SWIG_As_int(obj1
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11182 arg3
= (int)SWIG_As_int(obj2
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11184 arg4
= (int)SWIG_As_int(obj3
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11186 arg5
= (int)SWIG_As_int(obj4
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 Py_INCREF(Py_None
); resultobj
= Py_None
;
11202 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxDC
*arg1
= (wxDC
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "rect", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11218 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 Py_INCREF(Py_None
); resultobj
= Py_None
;
11234 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxDC
*arg1
= (wxDC
*) 0 ;
11237 wxPoint
*arg2
= 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 PyObject
* obj2
= 0 ;
11244 char *kwnames
[] = {
11245 (char *) "self",(char *) "pt",(char *) "sz", NULL
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11257 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxDC
*arg1
= (wxDC
*) 0 ;
11281 PyObject
* obj0
= 0 ;
11282 PyObject
* obj1
= 0 ;
11283 PyObject
* obj2
= 0 ;
11284 PyObject
* obj3
= 0 ;
11285 PyObject
* obj4
= 0 ;
11286 PyObject
* obj5
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 arg2
= (int)SWIG_As_int(obj1
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11296 arg3
= (int)SWIG_As_int(obj2
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11298 arg4
= (int)SWIG_As_int(obj3
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11300 arg5
= (int)SWIG_As_int(obj4
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11302 arg6
= (double)SWIG_As_double(obj5
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 Py_INCREF(Py_None
); resultobj
= Py_None
;
11318 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxDC
*arg1
= (wxDC
*) 0 ;
11324 PyObject
* obj0
= 0 ;
11325 PyObject
* obj1
= 0 ;
11326 PyObject
* obj2
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "self",(char *) "r",(char *) "radius", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11336 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11338 arg3
= (double)SWIG_As_double(obj2
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 Py_INCREF(Py_None
); resultobj
= Py_None
;
11354 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxDC
*arg1
= (wxDC
*) 0 ;
11357 wxPoint
*arg2
= 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 PyObject
* obj2
= 0 ;
11365 PyObject
* obj3
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11375 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11379 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11381 arg4
= (double)SWIG_As_double(obj3
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 Py_INCREF(Py_None
); resultobj
= Py_None
;
11397 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxDC
*arg1
= (wxDC
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 PyObject
* obj2
= 0 ;
11406 PyObject
* obj3
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11414 arg2
= (int)SWIG_As_int(obj1
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11416 arg3
= (int)SWIG_As_int(obj2
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11418 arg4
= (int)SWIG_As_int(obj3
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 Py_INCREF(Py_None
); resultobj
= Py_None
;
11434 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
;
11436 wxDC
*arg1
= (wxDC
*) 0 ;
11437 wxPoint
*arg2
= 0 ;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 PyObject
* obj2
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "pt",(char *) "radius", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11452 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11454 arg3
= (int)SWIG_As_int(obj2
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 Py_INCREF(Py_None
); resultobj
= Py_None
;
11470 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
;
11472 wxDC
*arg1
= (wxDC
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 PyObject
* obj1
= 0 ;
11479 PyObject
* obj2
= 0 ;
11480 PyObject
* obj3
= 0 ;
11481 PyObject
* obj4
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11489 arg2
= (int)SWIG_As_int(obj1
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11491 arg3
= (int)SWIG_As_int(obj2
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11493 arg4
= (int)SWIG_As_int(obj3
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11495 arg5
= (int)SWIG_As_int(obj4
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11501 wxPyEndAllowThreads(__tstate
);
11502 if (PyErr_Occurred()) SWIG_fail
;
11504 Py_INCREF(Py_None
); resultobj
= Py_None
;
11511 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
*resultobj
;
11513 wxDC
*arg1
= (wxDC
*) 0 ;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 char *kwnames
[] = {
11519 (char *) "self",(char *) "rect", NULL
11522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11527 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxDC
*arg1
= (wxDC
*) 0 ;
11546 wxPoint
*arg2
= 0 ;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "pt",(char *) "sz", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11566 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 Py_INCREF(Py_None
); resultobj
= Py_None
;
11582 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxDC
*arg1
= (wxDC
*) 0 ;
11588 PyObject
* obj0
= 0 ;
11589 PyObject
* obj1
= 0 ;
11590 PyObject
* obj2
= 0 ;
11591 PyObject
* obj3
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11602 if (arg2
== NULL
) {
11603 PyErr_SetString(PyExc_TypeError
,"null reference");
11606 arg3
= (int)SWIG_As_int(obj2
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11608 arg4
= (int)SWIG_As_int(obj3
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 Py_INCREF(Py_None
); resultobj
= Py_None
;
11624 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
;
11626 wxDC
*arg1
= (wxDC
*) 0 ;
11628 wxPoint
*arg3
= 0 ;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 PyObject
* obj2
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self",(char *) "icon",(char *) "pt", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11643 if (arg2
== NULL
) {
11644 PyErr_SetString(PyExc_TypeError
,"null reference");
11649 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 Py_INCREF(Py_None
); resultobj
= Py_None
;
11665 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 wxDC
*arg1
= (wxDC
*) 0 ;
11668 wxBitmap
*arg2
= 0 ;
11671 bool arg5
= (bool) false ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 PyObject
* obj2
= 0 ;
11675 PyObject
* obj3
= 0 ;
11676 PyObject
* obj4
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11687 if (arg2
== NULL
) {
11688 PyErr_SetString(PyExc_TypeError
,"null reference");
11691 arg3
= (int)SWIG_As_int(obj2
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11693 arg4
= (int)SWIG_As_int(obj3
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 arg5
= (bool)SWIG_As_bool(obj4
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11713 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxDC
*arg1
= (wxDC
*) 0 ;
11716 wxBitmap
*arg2
= 0 ;
11717 wxPoint
*arg3
= 0 ;
11718 bool arg4
= (bool) false ;
11720 PyObject
* obj0
= 0 ;
11721 PyObject
* obj1
= 0 ;
11722 PyObject
* obj2
= 0 ;
11723 PyObject
* obj3
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11734 if (arg2
== NULL
) {
11735 PyErr_SetString(PyExc_TypeError
,"null reference");
11740 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11743 arg4
= (bool)SWIG_As_bool(obj3
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 Py_INCREF(Py_None
); resultobj
= Py_None
;
11760 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11761 PyObject
*resultobj
;
11762 wxDC
*arg1
= (wxDC
*) 0 ;
11763 wxString
*arg2
= 0 ;
11766 bool temp2
= false ;
11767 PyObject
* obj0
= 0 ;
11768 PyObject
* obj1
= 0 ;
11769 PyObject
* obj2
= 0 ;
11770 PyObject
* obj3
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11779 arg2
= wxString_in_helper(obj1
);
11780 if (arg2
== NULL
) SWIG_fail
;
11783 arg3
= (int)SWIG_As_int(obj2
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11785 arg4
= (int)SWIG_As_int(obj3
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 Py_INCREF(Py_None
); resultobj
= Py_None
;
11809 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11810 PyObject
*resultobj
;
11811 wxDC
*arg1
= (wxDC
*) 0 ;
11812 wxString
*arg2
= 0 ;
11813 wxPoint
*arg3
= 0 ;
11814 bool temp2
= false ;
11816 PyObject
* obj0
= 0 ;
11817 PyObject
* obj1
= 0 ;
11818 PyObject
* obj2
= 0 ;
11819 char *kwnames
[] = {
11820 (char *) "self",(char *) "text",(char *) "pt", NULL
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11827 arg2
= wxString_in_helper(obj1
);
11828 if (arg2
== NULL
) SWIG_fail
;
11833 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 Py_INCREF(Py_None
); resultobj
= Py_None
;
11857 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxDC
*arg1
= (wxDC
*) 0 ;
11860 wxString
*arg2
= 0 ;
11864 bool temp2
= false ;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 PyObject
* obj2
= 0 ;
11868 PyObject
* obj3
= 0 ;
11869 PyObject
* obj4
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11878 arg2
= wxString_in_helper(obj1
);
11879 if (arg2
== NULL
) SWIG_fail
;
11882 arg3
= (int)SWIG_As_int(obj2
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11884 arg4
= (int)SWIG_As_int(obj3
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11886 arg5
= (double)SWIG_As_double(obj4
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 Py_INCREF(Py_None
); resultobj
= Py_None
;
11910 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxDC
*arg1
= (wxDC
*) 0 ;
11913 wxString
*arg2
= 0 ;
11914 wxPoint
*arg3
= 0 ;
11916 bool temp2
= false ;
11918 PyObject
* obj0
= 0 ;
11919 PyObject
* obj1
= 0 ;
11920 PyObject
* obj2
= 0 ;
11921 PyObject
* obj3
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11930 arg2
= wxString_in_helper(obj1
);
11931 if (arg2
== NULL
) SWIG_fail
;
11936 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11938 arg4
= (double)SWIG_As_double(obj3
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 Py_INCREF(Py_None
); resultobj
= Py_None
;
11962 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxDC
*arg1
= (wxDC
*) 0 ;
11969 wxDC
*arg6
= (wxDC
*) 0 ;
11972 int arg9
= (int) wxCOPY
;
11973 bool arg10
= (bool) false ;
11974 int arg11
= (int) -1 ;
11975 int arg12
= (int) -1 ;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 PyObject
* obj2
= 0 ;
11980 PyObject
* obj3
= 0 ;
11981 PyObject
* obj4
= 0 ;
11982 PyObject
* obj5
= 0 ;
11983 PyObject
* obj6
= 0 ;
11984 PyObject
* obj7
= 0 ;
11985 PyObject
* obj8
= 0 ;
11986 PyObject
* obj9
= 0 ;
11987 PyObject
* obj10
= 0 ;
11988 PyObject
* obj11
= 0 ;
11989 char *kwnames
[] = {
11990 (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
11993 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
;
11994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11996 arg2
= (int)SWIG_As_int(obj1
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11998 arg3
= (int)SWIG_As_int(obj2
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12000 arg4
= (int)SWIG_As_int(obj3
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12002 arg5
= (int)SWIG_As_int(obj4
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12004 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 arg7
= (int)SWIG_As_int(obj6
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12008 arg8
= (int)SWIG_As_int(obj7
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 arg9
= (int)SWIG_As_int(obj8
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12015 arg10
= (bool)SWIG_As_bool(obj9
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12019 arg11
= (int)SWIG_As_int(obj10
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 arg12
= (int)SWIG_As_int(obj11
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12042 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxDC
*arg1
= (wxDC
*) 0 ;
12045 wxPoint
*arg2
= 0 ;
12047 wxDC
*arg4
= (wxDC
*) 0 ;
12048 wxPoint
*arg5
= 0 ;
12049 int arg6
= (int) wxCOPY
;
12050 bool arg7
= (bool) false ;
12051 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12052 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 PyObject
* obj2
= 0 ;
12061 PyObject
* obj3
= 0 ;
12062 PyObject
* obj4
= 0 ;
12063 PyObject
* obj5
= 0 ;
12064 PyObject
* obj6
= 0 ;
12065 PyObject
* obj7
= 0 ;
12066 char *kwnames
[] = {
12067 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12075 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12079 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12081 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12085 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12088 arg6
= (int)SWIG_As_int(obj5
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12092 arg7
= (bool)SWIG_As_bool(obj6
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12098 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12117 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxDC
*arg1
= (wxDC
*) 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 PyObject
* obj3
= 0 ;
12128 PyObject
* obj4
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12136 arg2
= (int)SWIG_As_int(obj1
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12138 arg3
= (int)SWIG_As_int(obj2
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12140 arg4
= (int)SWIG_As_int(obj3
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12142 arg5
= (int)SWIG_As_int(obj4
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 Py_INCREF(Py_None
); resultobj
= Py_None
;
12158 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxDC
*arg1
= (wxDC
*) 0 ;
12161 wxPoint
*arg2
= 0 ;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 PyObject
* obj2
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self",(char *) "pt",(char *) "sz", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12177 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12181 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxDC
*arg1
= (wxDC
*) 0 ;
12200 wxRegion
*arg2
= 0 ;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self",(char *) "region", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12213 if (arg2
== NULL
) {
12214 PyErr_SetString(PyExc_TypeError
,"null reference");
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 Py_INCREF(Py_None
); resultobj
= Py_None
;
12231 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxDC
*arg1
= (wxDC
*) 0 ;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "rect", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12247 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 Py_INCREF(Py_None
); resultobj
= Py_None
;
12263 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxDC
*arg1
= (wxDC
*) 0 ;
12267 wxPoint
*arg3
= (wxPoint
*) 0 ;
12268 int arg4
= (int) 0 ;
12269 int arg5
= (int) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 PyObject
* obj2
= 0 ;
12273 PyObject
* obj3
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12282 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12283 if (arg3
== NULL
) SWIG_fail
;
12286 arg4
= (int)SWIG_As_int(obj2
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12290 arg5
= (int)SWIG_As_int(obj3
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 Py_INCREF(Py_None
); resultobj
= Py_None
;
12302 if (arg3
) delete [] arg3
;
12307 if (arg3
) delete [] arg3
;
12313 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxDC
*arg1
= (wxDC
*) 0 ;
12317 wxPoint
*arg3
= (wxPoint
*) 0 ;
12318 int arg4
= (int) 0 ;
12319 int arg5
= (int) 0 ;
12320 int arg6
= (int) wxODDEVEN_RULE
;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 PyObject
* obj2
= 0 ;
12324 PyObject
* obj3
= 0 ;
12325 PyObject
* obj4
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12335 if (arg3
== NULL
) SWIG_fail
;
12338 arg4
= (int)SWIG_As_int(obj2
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12342 arg5
= (int)SWIG_As_int(obj3
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12346 arg6
= (int)SWIG_As_int(obj4
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 if (arg3
) delete [] arg3
;
12363 if (arg3
) delete [] arg3
;
12369 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
;
12371 wxDC
*arg1
= (wxDC
*) 0 ;
12372 wxString
*arg2
= 0 ;
12374 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12375 int arg5
= (int) -1 ;
12376 bool temp2
= false ;
12378 PyObject
* obj0
= 0 ;
12379 PyObject
* obj1
= 0 ;
12380 PyObject
* obj2
= 0 ;
12381 PyObject
* obj3
= 0 ;
12382 PyObject
* obj4
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 arg2
= wxString_in_helper(obj1
);
12392 if (arg2
== NULL
) SWIG_fail
;
12397 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12400 arg4
= (int)SWIG_As_int(obj3
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12404 arg5
= (int)SWIG_As_int(obj4
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12414 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxDC
*arg1
= (wxDC
*) 0 ;
12432 wxString
*arg2
= 0 ;
12433 wxBitmap
*arg3
= 0 ;
12435 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12436 int arg6
= (int) -1 ;
12438 bool temp2
= false ;
12440 PyObject
* obj0
= 0 ;
12441 PyObject
* obj1
= 0 ;
12442 PyObject
* obj2
= 0 ;
12443 PyObject
* obj3
= 0 ;
12444 PyObject
* obj4
= 0 ;
12445 PyObject
* obj5
= 0 ;
12446 char *kwnames
[] = {
12447 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 arg2
= wxString_in_helper(obj1
);
12455 if (arg2
== NULL
) SWIG_fail
;
12458 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12461 if (arg3
== NULL
) {
12462 PyErr_SetString(PyExc_TypeError
,"null reference");
12467 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12470 arg5
= (int)SWIG_As_int(obj4
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12474 arg6
= (int)SWIG_As_int(obj5
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12485 wxRect
* resultptr
;
12486 resultptr
= new wxRect((wxRect
&) result
);
12487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12503 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxDC
*arg1
= (wxDC
*) 0 ;
12507 wxPoint
*arg3
= (wxPoint
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 PyObject
* obj1
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self",(char *) "points", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12518 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12519 if (arg3
== NULL
) SWIG_fail
;
12522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12523 (arg1
)->DrawSpline(arg2
,arg3
);
12525 wxPyEndAllowThreads(__tstate
);
12526 if (PyErr_Occurred()) SWIG_fail
;
12528 Py_INCREF(Py_None
); resultobj
= Py_None
;
12530 if (arg3
) delete [] arg3
;
12535 if (arg3
) delete [] arg3
;
12541 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxDC
*arg1
= (wxDC
*) 0 ;
12544 PyObject
* obj0
= 0 ;
12545 char *kwnames
[] = {
12546 (char *) "self", NULL
12549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxDC
*arg1
= (wxDC
*) 0 ;
12569 wxString
*arg2
= 0 ;
12571 bool temp2
= false ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self",(char *) "message", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 arg2
= wxString_in_helper(obj1
);
12583 if (arg2
== NULL
) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12610 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxDC
*arg1
= (wxDC
*) 0 ;
12613 PyObject
* obj0
= 0 ;
12614 char *kwnames
[] = {
12615 (char *) "self", NULL
12618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12636 PyObject
*resultobj
;
12637 wxDC
*arg1
= (wxDC
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 char *kwnames
[] = {
12640 (char *) "self", NULL
12643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 (arg1
)->StartPage();
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 Py_INCREF(Py_None
); resultobj
= Py_None
;
12660 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxDC
*arg1
= (wxDC
*) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 Py_INCREF(Py_None
); resultobj
= Py_None
;
12685 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxDC
*arg1
= (wxDC
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self",(char *) "font", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12701 if (arg2
== NULL
) {
12702 PyErr_SetString(PyExc_TypeError
,"null reference");
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 (arg1
)->SetFont((wxFont
const &)*arg2
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 Py_INCREF(Py_None
); resultobj
= Py_None
;
12719 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
;
12721 wxDC
*arg1
= (wxDC
*) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self",(char *) "pen", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
12730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12735 if (arg2
== NULL
) {
12736 PyErr_SetString(PyExc_TypeError
,"null reference");
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 (arg1
)->SetPen((wxPen
const &)*arg2
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 Py_INCREF(Py_None
); resultobj
= Py_None
;
12753 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxDC
*arg1
= (wxDC
*) 0 ;
12756 wxBrush
*arg2
= 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self",(char *) "brush", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12769 if (arg2
== NULL
) {
12770 PyErr_SetString(PyExc_TypeError
,"null reference");
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxDC
*arg1
= (wxDC
*) 0 ;
12790 wxBrush
*arg2
= 0 ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self",(char *) "brush", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12803 if (arg2
== NULL
) {
12804 PyErr_SetString(PyExc_TypeError
,"null reference");
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 Py_INCREF(Py_None
); resultobj
= Py_None
;
12821 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxDC
*arg1
= (wxDC
*) 0 ;
12825 PyObject
* obj0
= 0 ;
12826 PyObject
* obj1
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "self",(char *) "mode", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
12832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12834 arg2
= (int)SWIG_As_int(obj1
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 (arg1
)->SetBackgroundMode(arg2
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 Py_INCREF(Py_None
); resultobj
= Py_None
;
12850 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
;
12852 wxDC
*arg1
= (wxDC
*) 0 ;
12853 wxPalette
*arg2
= 0 ;
12854 PyObject
* obj0
= 0 ;
12855 PyObject
* obj1
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self",(char *) "palette", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
12864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12866 if (arg2
== NULL
) {
12867 PyErr_SetString(PyExc_TypeError
,"null reference");
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxDC
*arg1
= (wxDC
*) 0 ;
12887 PyObject
* obj0
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->DestroyClippingRegion();
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxDC
*arg1
= (wxDC
*) 0 ;
12912 int *arg2
= (int *) 0 ;
12913 int *arg3
= (int *) 0 ;
12914 int *arg4
= (int *) 0 ;
12915 int *arg5
= (int *) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self", NULL
12929 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12930 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12931 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12932 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
12934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 Py_INCREF(Py_None
); resultobj
= Py_None
;
12944 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12945 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
12946 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12947 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
12948 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12949 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
12950 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
12951 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
12958 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxDC
*arg1
= (wxDC
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= wxDC_GetClippingRect(arg1
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 wxRect
* resultptr
;
12979 resultptr
= new wxRect((wxRect
&) result
);
12980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12988 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxDC
*arg1
= (wxDC
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "self", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_From_int((int)result
);
13014 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxDC
*arg1
= (wxDC
*) 0 ;
13018 PyObject
* obj0
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_From_int((int)result
);
13040 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxDC
*arg1
= (wxDC
*) 0 ;
13043 wxString
*arg2
= 0 ;
13044 int *arg3
= (int *) 0 ;
13045 int *arg4
= (int *) 0 ;
13046 bool temp2
= false ;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "self",(char *) "string", NULL
13057 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13058 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13063 arg2
= wxString_in_helper(obj1
);
13064 if (arg2
== NULL
) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 Py_INCREF(Py_None
); resultobj
= Py_None
;
13075 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13076 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13077 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13078 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13093 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
;
13095 wxDC
*arg1
= (wxDC
*) 0 ;
13096 wxString
*arg2
= 0 ;
13097 int *arg3
= (int *) 0 ;
13098 int *arg4
= (int *) 0 ;
13099 int *arg5
= (int *) 0 ;
13100 int *arg6
= (int *) 0 ;
13101 wxFont
*arg7
= (wxFont
*) NULL
;
13102 bool temp2
= false ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 PyObject
* obj2
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "string",(char *) "font", NULL
13118 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13119 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13120 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13121 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 arg2
= wxString_in_helper(obj1
);
13127 if (arg2
== NULL
) SWIG_fail
;
13131 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13142 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13143 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13144 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13145 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13146 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13147 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13148 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13149 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13164 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
;
13166 wxDC
*arg1
= (wxDC
*) 0 ;
13167 wxString
*arg2
= 0 ;
13168 int *arg3
= (int *) 0 ;
13169 int *arg4
= (int *) 0 ;
13170 int *arg5
= (int *) 0 ;
13171 wxFont
*arg6
= (wxFont
*) NULL
;
13172 bool temp2
= false ;
13179 PyObject
* obj0
= 0 ;
13180 PyObject
* obj1
= 0 ;
13181 PyObject
* obj2
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self",(char *) "text",(char *) "font", NULL
13186 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13187 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13188 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13193 arg2
= wxString_in_helper(obj1
);
13194 if (arg2
== NULL
) SWIG_fail
;
13198 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 Py_INCREF(Py_None
); resultobj
= Py_None
;
13209 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13210 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13211 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13212 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13213 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13214 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13229 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxDC
*arg1
= (wxDC
*) 0 ;
13232 wxString
*arg2
= 0 ;
13234 bool temp2
= false ;
13235 PyObject
* obj0
= 0 ;
13236 PyObject
* obj1
= 0 ;
13237 char *kwnames
[] = {
13238 (char *) "self",(char *) "text", NULL
13241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13245 arg2
= wxString_in_helper(obj1
);
13246 if (arg2
== NULL
) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= PyList_New(0);
13259 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13260 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13261 PyList_Append(resultobj
, val
);
13279 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxDC
*arg1
= (wxDC
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 char *kwnames
[] = {
13285 (char *) "self", NULL
13288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (arg1
)->GetSize();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 wxSize
* resultptr
;
13300 resultptr
= new wxSize((wxSize
&) result
);
13301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13309 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxDC
*arg1
= (wxDC
*) 0 ;
13312 int *arg2
= (int *) 0 ;
13313 int *arg3
= (int *) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self", NULL
13323 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13324 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 (arg1
)->GetSize(arg2
,arg3
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13336 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13337 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13338 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13339 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13346 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
;
13348 wxDC
*arg1
= (wxDC
*) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 wxSize
* resultptr
;
13367 resultptr
= new wxSize((wxSize
&) result
);
13368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13376 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxDC
*arg1
= (wxDC
*) 0 ;
13379 int *arg2
= (int *) 0 ;
13380 int *arg3
= (int *) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13391 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 Py_INCREF(Py_None
); resultobj
= Py_None
;
13403 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13404 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13405 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13406 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13413 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxDC
*arg1
= (wxDC
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "x", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 arg2
= (int)SWIG_As_int(obj1
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13433 wxPyEndAllowThreads(__tstate
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= SWIG_From_int((int)result
);
13443 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxDC
*arg1
= (wxDC
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "self",(char *) "y", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 arg2
= (int)SWIG_As_int(obj1
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_From_int((int)result
);
13473 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxDC
*arg1
= (wxDC
*) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "x", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 arg2
= (int)SWIG_As_int(obj1
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_From_int((int)result
);
13503 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxDC
*arg1
= (wxDC
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 PyObject
* obj1
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self",(char *) "y", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 arg2
= (int)SWIG_As_int(obj1
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_From_int((int)result
);
13533 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxDC
*arg1
= (wxDC
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self",(char *) "x", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 arg2
= (int)SWIG_As_int(obj1
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_From_int((int)result
);
13563 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxDC
*arg1
= (wxDC
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self",(char *) "y", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 arg2
= (int)SWIG_As_int(obj1
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_From_int((int)result
);
13593 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxDC
*arg1
= (wxDC
*) 0 ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "x", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13607 arg2
= (int)SWIG_As_int(obj1
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13611 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_From_int((int)result
);
13623 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxDC
*arg1
= (wxDC
*) 0 ;
13628 PyObject
* obj0
= 0 ;
13629 PyObject
* obj1
= 0 ;
13630 char *kwnames
[] = {
13631 (char *) "self",(char *) "y", NULL
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13637 arg2
= (int)SWIG_As_int(obj1
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= SWIG_From_int((int)result
);
13653 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxDC
*arg1
= (wxDC
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13681 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxDC
*arg1
= (wxDC
*) 0 ;
13685 PyObject
* obj0
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13709 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxDC
*arg1
= (wxDC
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
13719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (int)((wxDC
const *)arg1
)->GetDepth();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= SWIG_From_int((int)result
);
13735 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxDC
*arg1
= (wxDC
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
13745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= ((wxDC
const *)arg1
)->GetPPI();
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13755 wxSize
* resultptr
;
13756 resultptr
= new wxSize((wxSize
&) result
);
13757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13765 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxDC
*arg1
= (wxDC
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (bool)((wxDC
const *)arg1
)->Ok();
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13793 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxDC
*arg1
= (wxDC
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_From_int((int)result
);
13819 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxDC
*arg1
= (wxDC
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
13835 result
= (wxBrush
*) &_result_ref
;
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13842 wxBrush
* resultptr
= new wxBrush(*result
);
13843 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13851 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxDC
*arg1
= (wxDC
*) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "self", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
13861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
13867 result
= (wxBrush
*) &_result_ref
;
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13874 wxBrush
* resultptr
= new wxBrush(*result
);
13875 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
13883 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxDC
*arg1
= (wxDC
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
13899 result
= (wxFont
*) &_result_ref
;
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 wxFont
* resultptr
= new wxFont(*result
);
13907 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13915 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxDC
*arg1
= (wxDC
*) 0 ;
13919 PyObject
* obj0
= 0 ;
13920 char *kwnames
[] = {
13921 (char *) "self", NULL
13924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
13925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
13931 result
= (wxPen
*) &_result_ref
;
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13938 wxPen
* resultptr
= new wxPen(*result
);
13939 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
13947 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxDC
*arg1
= (wxDC
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
13963 result
= (wxColour
*) &_result_ref
;
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
13976 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxDC
*arg1
= (wxDC
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13991 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
13992 result
= (wxColour
*) &_result_ref
;
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14005 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxDC
*arg1
= (wxDC
*) 0 ;
14008 wxColour
*arg2
= 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "colour", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14021 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 Py_INCREF(Py_None
); resultobj
= Py_None
;
14037 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxDC
*arg1
= (wxDC
*) 0 ;
14040 wxColour
*arg2
= 0 ;
14042 PyObject
* obj0
= 0 ;
14043 PyObject
* obj1
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self",(char *) "colour", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 Py_INCREF(Py_None
); resultobj
= Py_None
;
14069 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxDC
*arg1
= (wxDC
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= SWIG_From_int((int)result
);
14095 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxDC
*arg1
= (wxDC
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self",(char *) "mode", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 arg2
= (int)SWIG_As_int(obj1
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 (arg1
)->SetMapMode(arg2
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 Py_INCREF(Py_None
); resultobj
= Py_None
;
14124 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxDC
*arg1
= (wxDC
*) 0 ;
14127 double *arg2
= (double *) 0 ;
14128 double *arg3
= (double *) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self", NULL
14138 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14139 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14147 wxPyEndAllowThreads(__tstate
);
14148 if (PyErr_Occurred()) SWIG_fail
;
14150 Py_INCREF(Py_None
); resultobj
= Py_None
;
14151 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14152 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14153 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14154 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14161 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxDC
*arg1
= (wxDC
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 PyObject
* obj1
= 0 ;
14168 PyObject
* obj2
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self",(char *) "x",(char *) "y", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 arg2
= (double)SWIG_As_double(obj1
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14178 arg3
= (double)SWIG_As_double(obj2
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 (arg1
)->SetUserScale(arg2
,arg3
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 Py_INCREF(Py_None
); resultobj
= Py_None
;
14194 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
;
14196 wxDC
*arg1
= (wxDC
*) 0 ;
14197 double *arg2
= (double *) 0 ;
14198 double *arg3
= (double *) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self", NULL
14208 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14209 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 (arg1
)->GetLogicalScale(arg2
,arg3
);
14217 wxPyEndAllowThreads(__tstate
);
14218 if (PyErr_Occurred()) SWIG_fail
;
14220 Py_INCREF(Py_None
); resultobj
= Py_None
;
14221 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14222 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14223 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14224 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14231 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxDC
*arg1
= (wxDC
*) 0 ;
14236 PyObject
* obj0
= 0 ;
14237 PyObject
* obj1
= 0 ;
14238 PyObject
* obj2
= 0 ;
14239 char *kwnames
[] = {
14240 (char *) "self",(char *) "x",(char *) "y", NULL
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14246 arg2
= (double)SWIG_As_double(obj1
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14248 arg3
= (double)SWIG_As_double(obj2
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 (arg1
)->SetLogicalScale(arg2
,arg3
);
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 Py_INCREF(Py_None
); resultobj
= Py_None
;
14264 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxDC
*arg1
= (wxDC
*) 0 ;
14268 PyObject
* obj0
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14284 wxPoint
* resultptr
;
14285 resultptr
= new wxPoint((wxPoint
&) result
);
14286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14294 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxDC
*arg1
= (wxDC
*) 0 ;
14297 int *arg2
= (int *) 0 ;
14298 int *arg3
= (int *) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 char *kwnames
[] = {
14305 (char *) "self", NULL
14308 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14309 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 Py_INCREF(Py_None
); resultobj
= Py_None
;
14321 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14322 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14323 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14324 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14331 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxDC
*arg1
= (wxDC
*) 0 ;
14336 PyObject
* obj0
= 0 ;
14337 PyObject
* obj1
= 0 ;
14338 PyObject
* obj2
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "x",(char *) "y", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14346 arg2
= (int)SWIG_As_int(obj1
);
14347 if (PyErr_Occurred()) SWIG_fail
;
14348 arg3
= (int)SWIG_As_int(obj2
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 Py_INCREF(Py_None
); resultobj
= Py_None
;
14364 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxDC
*arg1
= (wxDC
*) 0 ;
14367 wxPoint
*arg2
= 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "point", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14389 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14397 PyObject
*resultobj
;
14398 wxDC
*arg1
= (wxDC
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14416 wxPoint
* resultptr
;
14417 resultptr
= new wxPoint((wxPoint
&) result
);
14418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14426 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
;
14428 wxDC
*arg1
= (wxDC
*) 0 ;
14429 int *arg2
= (int *) 0 ;
14430 int *arg3
= (int *) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14441 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 Py_INCREF(Py_None
); resultobj
= Py_None
;
14453 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14454 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14455 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14456 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14463 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxDC
*arg1
= (wxDC
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "x",(char *) "y", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 arg2
= (int)SWIG_As_int(obj1
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14480 arg3
= (int)SWIG_As_int(obj2
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 Py_INCREF(Py_None
); resultobj
= Py_None
;
14496 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxDC
*arg1
= (wxDC
*) 0 ;
14499 wxPoint
*arg2
= 0 ;
14501 PyObject
* obj0
= 0 ;
14502 PyObject
* obj1
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self",(char *) "point", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14512 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 Py_INCREF(Py_None
); resultobj
= Py_None
;
14528 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxDC
*arg1
= (wxDC
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 PyObject
* obj2
= 0 ;
14536 char *kwnames
[] = {
14537 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14543 arg2
= (bool)SWIG_As_bool(obj1
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14545 arg3
= (bool)SWIG_As_bool(obj2
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 Py_INCREF(Py_None
); resultobj
= Py_None
;
14561 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxDC
*arg1
= (wxDC
*) 0 ;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_From_int((int)result
);
14587 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxDC
*arg1
= (wxDC
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj1
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self",(char *) "function", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14600 arg2
= (int)SWIG_As_int(obj1
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 (arg1
)->SetLogicalFunction(arg2
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 Py_INCREF(Py_None
); resultobj
= Py_None
;
14616 static PyObject
*_wrap_DC_SetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxDC
*arg1
= (wxDC
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj1
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "optimize", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetOptimization",kwnames
,&obj0
,&obj1
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14629 arg2
= (bool)SWIG_As_bool(obj1
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 (arg1
)->SetOptimization(arg2
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 Py_INCREF(Py_None
); resultobj
= Py_None
;
14645 static PyObject
*_wrap_DC_GetOptimization(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxDC
*arg1
= (wxDC
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetOptimization",kwnames
,&obj0
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (bool)(arg1
)->GetOptimization();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14673 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxDC
*arg1
= (wxDC
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 PyObject
* obj2
= 0 ;
14681 char *kwnames
[] = {
14682 (char *) "self",(char *) "x",(char *) "y", NULL
14685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14688 arg2
= (int)SWIG_As_int(obj1
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14690 arg3
= (int)SWIG_As_int(obj2
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 Py_INCREF(Py_None
); resultobj
= Py_None
;
14706 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxDC
*arg1
= (wxDC
*) 0 ;
14709 wxPoint
*arg2
= 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "point", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14722 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 Py_INCREF(Py_None
); resultobj
= Py_None
;
14738 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
;
14740 wxDC
*arg1
= (wxDC
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 (arg1
)->ResetBoundingBox();
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 Py_INCREF(Py_None
); resultobj
= Py_None
;
14763 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 wxDC
*arg1
= (wxDC
*) 0 ;
14767 PyObject
* obj0
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (int)((wxDC
const *)arg1
)->MinX();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_From_int((int)result
);
14789 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxDC
*arg1
= (wxDC
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
14799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= (int)((wxDC
const *)arg1
)->MaxX();
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= SWIG_From_int((int)result
);
14815 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxDC
*arg1
= (wxDC
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (int)((wxDC
const *)arg1
)->MinY();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_From_int((int)result
);
14841 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxDC
*arg1
= (wxDC
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (int)((wxDC
const *)arg1
)->MaxY();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_From_int((int)result
);
14867 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxDC
*arg1
= (wxDC
*) 0 ;
14870 int *arg2
= (int *) 0 ;
14871 int *arg3
= (int *) 0 ;
14872 int *arg4
= (int *) 0 ;
14873 int *arg5
= (int *) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14888 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14889 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
14890 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
14892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 Py_INCREF(Py_None
); resultobj
= Py_None
;
14902 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14903 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14904 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14905 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14906 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
14907 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
14908 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
14909 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
14916 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxDC
*arg1
= (wxDC
*) 0 ;
14919 PyObject
*arg2
= (PyObject
*) 0 ;
14920 PyObject
*arg3
= (PyObject
*) 0 ;
14921 PyObject
*arg4
= (PyObject
*) 0 ;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 PyObject
* obj2
= 0 ;
14926 PyObject
* obj3
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= result
;
14951 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxDC
*arg1
= (wxDC
*) 0 ;
14954 PyObject
*arg2
= (PyObject
*) 0 ;
14955 PyObject
*arg3
= (PyObject
*) 0 ;
14956 PyObject
*arg4
= (PyObject
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 PyObject
* obj2
= 0 ;
14961 PyObject
* obj3
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= result
;
14986 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxDC
*arg1
= (wxDC
*) 0 ;
14989 PyObject
*arg2
= (PyObject
*) 0 ;
14990 PyObject
*arg3
= (PyObject
*) 0 ;
14991 PyObject
*arg4
= (PyObject
*) 0 ;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 PyObject
* obj2
= 0 ;
14996 PyObject
* obj3
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= result
;
15021 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxDC
*arg1
= (wxDC
*) 0 ;
15024 PyObject
*arg2
= (PyObject
*) 0 ;
15025 PyObject
*arg3
= (PyObject
*) 0 ;
15026 PyObject
*arg4
= (PyObject
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 PyObject
* obj2
= 0 ;
15031 PyObject
* obj3
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= result
;
15056 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxDC
*arg1
= (wxDC
*) 0 ;
15059 PyObject
*arg2
= (PyObject
*) 0 ;
15060 PyObject
*arg3
= (PyObject
*) 0 ;
15061 PyObject
*arg4
= (PyObject
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 PyObject
* obj2
= 0 ;
15066 PyObject
* obj3
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= result
;
15091 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxDC
*arg1
= (wxDC
*) 0 ;
15094 PyObject
*arg2
= (PyObject
*) 0 ;
15095 PyObject
*arg3
= (PyObject
*) 0 ;
15096 PyObject
*arg4
= (PyObject
*) 0 ;
15097 PyObject
*arg5
= (PyObject
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 PyObject
* obj2
= 0 ;
15102 PyObject
* obj3
= 0 ;
15103 PyObject
* obj4
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= result
;
15129 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15132 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15134 return Py_BuildValue((char *)"");
15136 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxMemoryDC
*result
;
15139 char *kwnames
[] = {
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15145 if (!wxPyCheckForApp()) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (wxMemoryDC
*)new wxMemoryDC();
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15159 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
;
15161 wxDC
*arg1
= (wxDC
*) 0 ;
15162 wxMemoryDC
*result
;
15163 PyObject
* obj0
= 0 ;
15164 char *kwnames
[] = {
15165 (char *) "oldDC", NULL
15168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15172 if (!wxPyCheckForApp()) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15186 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
;
15188 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15189 wxBitmap
*arg2
= 0 ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self",(char *) "bitmap", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15202 if (arg2
== NULL
) {
15203 PyErr_SetString(PyExc_TypeError
,"null reference");
15207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15208 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15210 wxPyEndAllowThreads(__tstate
);
15211 if (PyErr_Occurred()) SWIG_fail
;
15213 Py_INCREF(Py_None
); resultobj
= Py_None
;
15220 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15223 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15225 return Py_BuildValue((char *)"");
15227 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15228 PyObject
*resultobj
;
15229 wxDC
*arg1
= (wxDC
*) 0 ;
15230 wxBitmap
*arg2
= 0 ;
15231 wxBufferedDC
*result
;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15235 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15241 if (arg2
== NULL
) {
15242 PyErr_SetString(PyExc_TypeError
,"null reference");
15246 if (!wxPyCheckForApp()) SWIG_fail
;
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15260 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15261 PyObject
*resultobj
;
15262 wxDC
*arg1
= (wxDC
*) 0 ;
15264 wxBufferedDC
*result
;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15269 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15274 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15277 if (!wxPyCheckForApp()) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15291 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15296 argc
= PyObject_Length(args
);
15297 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15298 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15304 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15314 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15322 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15330 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15339 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15342 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15347 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15352 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15355 PyObject
* obj0
= 0 ;
15356 char *kwnames
[] = {
15357 (char *) "self", NULL
15360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 Py_INCREF(Py_None
); resultobj
= Py_None
;
15377 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "self", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 Py_INCREF(Py_None
); resultobj
= Py_None
;
15402 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15405 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15407 return Py_BuildValue((char *)"");
15409 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxWindow
*arg1
= (wxWindow
*) 0 ;
15412 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15413 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15414 wxBufferedPaintDC
*result
;
15415 PyObject
* obj0
= 0 ;
15416 PyObject
* obj1
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "window",(char *) "buffer", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15428 if (arg2
== NULL
) {
15429 PyErr_SetString(PyExc_TypeError
,"null reference");
15434 if (!wxPyCheckForApp()) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15448 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15451 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15453 return Py_BuildValue((char *)"");
15455 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
;
15457 wxScreenDC
*result
;
15458 char *kwnames
[] = {
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15464 if (!wxPyCheckForApp()) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (wxScreenDC
*)new wxScreenDC();
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15478 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
;
15480 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15481 wxWindow
*arg2
= (wxWindow
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 PyObject
* obj1
= 0 ;
15485 char *kwnames
[] = {
15486 (char *) "self",(char *) "window", NULL
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15492 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15510 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15513 wxRect
*arg2
= (wxRect
*) NULL
;
15515 PyObject
* obj0
= 0 ;
15516 PyObject
* obj1
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "self",(char *) "rect", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15544 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (bool)(arg1
)->EndDrawingOnTop();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15572 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15575 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15577 return Py_BuildValue((char *)"");
15579 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxWindow
*arg1
= (wxWindow
*) 0 ;
15582 wxClientDC
*result
;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "win", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 if (!wxPyCheckForApp()) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (wxClientDC
*)new wxClientDC(arg1
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15606 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15609 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15611 return Py_BuildValue((char *)"");
15613 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxWindow
*arg1
= (wxWindow
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "win", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15626 if (!wxPyCheckForApp()) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15640 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15643 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15645 return Py_BuildValue((char *)"");
15647 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxWindow
*arg1
= (wxWindow
*) 0 ;
15650 wxWindowDC
*result
;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "win", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 if (!wxPyCheckForApp()) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15674 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15677 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15679 return Py_BuildValue((char *)"");
15681 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
;
15685 wxMirrorDC
*result
;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 char *kwnames
[] = {
15689 (char *) "dc",(char *) "mirror", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15696 if (arg1
== NULL
) {
15697 PyErr_SetString(PyExc_TypeError
,"null reference");
15700 arg2
= (bool)SWIG_As_bool(obj1
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 if (!wxPyCheckForApp()) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15717 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15720 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
15722 return Py_BuildValue((char *)"");
15724 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxPrintData
*arg1
= 0 ;
15727 wxPostScriptDC
*result
;
15728 PyObject
* obj0
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "printData", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
15734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
15735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15737 if (arg1
== NULL
) {
15738 PyErr_SetString(PyExc_TypeError
,"null reference");
15742 if (!wxPyCheckForApp()) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
15756 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15759 wxPrintData
*result
;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
15772 result
= (wxPrintData
*) &_result_ref
;
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
15785 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
;
15787 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
15788 wxPrintData
*arg2
= 0 ;
15789 PyObject
* obj0
= 0 ;
15790 PyObject
* obj1
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self",(char *) "data", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15801 if (arg2
== NULL
) {
15802 PyErr_SetString(PyExc_TypeError
,"null reference");
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15812 Py_INCREF(Py_None
); resultobj
= Py_None
;
15819 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "ppi", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
15828 arg1
= (int)SWIG_As_int(obj0
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 wxPostScriptDC::SetResolution(arg1
);
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15837 Py_INCREF(Py_None
); resultobj
= Py_None
;
15844 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15847 char *kwnames
[] = {
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (int)wxPostScriptDC::GetResolution();
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_From_int((int)result
);
15866 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15876 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15877 wxMetaFile
*result
;
15878 bool temp1
= false ;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "filename", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
15887 arg1
= wxString_in_helper(obj0
);
15888 if (arg1
== NULL
) SWIG_fail
;
15893 if (!wxPyCheckForApp()) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
15915 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "self", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
15924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 Py_INCREF(Py_None
); resultobj
= Py_None
;
15940 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
;
15942 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (bool)(arg1
)->Ok();
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15968 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
15971 int arg2
= (int) 0 ;
15972 int arg3
= (int) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 PyObject
* obj2
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "width",(char *) "height", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
15983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 arg2
= (int)SWIG_As_int(obj1
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15989 arg3
= (int)SWIG_As_int(obj2
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16008 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16012 PyObject
* obj0
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (arg1
)->GetSize();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16028 wxSize
* resultptr
;
16029 resultptr
= new wxSize((wxSize
&) result
);
16030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16038 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (int)(arg1
)->GetWidth();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_From_int((int)result
);
16064 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (int)(arg1
)->GetHeight();
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_From_int((int)result
);
16090 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16093 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16095 return Py_BuildValue((char *)"");
16097 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16100 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16101 int arg2
= (int) 0 ;
16102 int arg3
= (int) 0 ;
16103 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16105 wxMetaFileDC
*result
;
16106 bool temp1
= false ;
16107 bool temp4
= false ;
16108 PyObject
* obj0
= 0 ;
16109 PyObject
* obj1
= 0 ;
16110 PyObject
* obj2
= 0 ;
16111 PyObject
* obj3
= 0 ;
16112 char *kwnames
[] = {
16113 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16119 arg1
= wxString_in_helper(obj0
);
16120 if (arg1
== NULL
) SWIG_fail
;
16125 arg2
= (int)SWIG_As_int(obj1
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16129 arg3
= (int)SWIG_As_int(obj2
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16134 arg4
= wxString_in_helper(obj3
);
16135 if (arg4
== NULL
) SWIG_fail
;
16140 if (!wxPyCheckForApp()) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16170 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16173 wxMetaFile
*result
;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= (wxMetaFile
*)(arg1
)->Close();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16196 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16199 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16201 return Py_BuildValue((char *)"");
16203 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxPrintData
*arg1
= 0 ;
16206 wxPrinterDC
*result
;
16207 PyObject
* obj0
= 0 ;
16208 char *kwnames
[] = {
16209 (char *) "printData", NULL
16212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16216 if (arg1
== NULL
) {
16217 PyErr_SetString(PyExc_TypeError
,"null reference");
16221 if (!wxPyCheckForApp()) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16235 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16238 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16240 return Py_BuildValue((char *)"");
16242 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16246 int arg3
= (int) true ;
16247 int arg4
= (int) 1 ;
16248 wxImageList
*result
;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 PyObject
* obj2
= 0 ;
16252 PyObject
* obj3
= 0 ;
16253 char *kwnames
[] = {
16254 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16258 arg1
= (int)SWIG_As_int(obj0
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16260 arg2
= (int)SWIG_As_int(obj1
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 arg3
= (int)SWIG_As_int(obj2
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 arg4
= (int)SWIG_As_int(obj3
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16271 if (!wxPyCheckForApp()) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= wxPyMake_wxObject(result
, 1);
16287 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxImageList
*arg1
= (wxImageList
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16305 Py_INCREF(Py_None
); resultobj
= Py_None
;
16312 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxImageList
*arg1
= (wxImageList
*) 0 ;
16315 wxBitmap
*arg2
= 0 ;
16316 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16317 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16319 PyObject
* obj0
= 0 ;
16320 PyObject
* obj1
= 0 ;
16321 PyObject
* obj2
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16332 if (arg2
== NULL
) {
16333 PyErr_SetString(PyExc_TypeError
,"null reference");
16337 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16340 if (arg3
== NULL
) {
16341 PyErr_SetString(PyExc_TypeError
,"null reference");
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16352 resultobj
= SWIG_From_int((int)result
);
16359 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxImageList
*arg1
= (wxImageList
*) 0 ;
16362 wxBitmap
*arg2
= 0 ;
16363 wxColour
*arg3
= 0 ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 PyObject
* obj2
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16379 if (arg2
== NULL
) {
16380 PyErr_SetString(PyExc_TypeError
,"null reference");
16385 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_From_int((int)result
);
16401 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxImageList
*arg1
= (wxImageList
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self",(char *) "icon", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16418 if (arg2
== NULL
) {
16419 PyErr_SetString(PyExc_TypeError
,"null reference");
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= SWIG_From_int((int)result
);
16436 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxImageList
*arg1
= (wxImageList
*) 0 ;
16440 wxBitmap
*arg3
= 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 PyObject
* obj2
= 0 ;
16445 char *kwnames
[] = {
16446 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 arg2
= (int)SWIG_As_int(obj1
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16454 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16457 if (arg3
== NULL
) {
16458 PyErr_SetString(PyExc_TypeError
,"null reference");
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16477 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxImageList
*arg1
= (wxImageList
*) 0 ;
16484 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16485 bool arg7
= (bool) (bool)false ;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 PyObject
* obj2
= 0 ;
16490 PyObject
* obj3
= 0 ;
16491 PyObject
* obj4
= 0 ;
16492 PyObject
* obj5
= 0 ;
16493 PyObject
* obj6
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16501 arg2
= (int)SWIG_As_int(obj1
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16503 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16506 if (arg3
== NULL
) {
16507 PyErr_SetString(PyExc_TypeError
,"null reference");
16510 arg4
= (int)SWIG_As_int(obj3
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16512 arg5
= (int)SWIG_As_int(obj4
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 arg6
= (int)SWIG_As_int(obj5
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16519 arg7
= (bool)SWIG_As_bool(obj6
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16538 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
;
16540 wxImageList
*arg1
= (wxImageList
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 char *kwnames
[] = {
16544 (char *) "self", NULL
16547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (int)(arg1
)->GetImageCount();
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_From_int((int)result
);
16564 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxImageList
*arg1
= (wxImageList
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "index", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16578 arg2
= (int)SWIG_As_int(obj1
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (bool)(arg1
)->Remove(arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16596 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxImageList
*arg1
= (wxImageList
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (bool)(arg1
)->RemoveAll();
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16624 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxImageList
*arg1
= (wxImageList
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 PyObject
* obj1
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self",(char *) "index", NULL
16640 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16641 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16645 arg2
= (int)SWIG_As_int(obj1
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 Py_INCREF(Py_None
); resultobj
= Py_None
;
16655 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16656 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16657 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16658 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16665 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16668 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16670 return Py_BuildValue((char *)"");
16672 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16673 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16678 static PyObject
*_wrap_NORMAL_FONT_get() {
16681 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16686 static int _wrap_SMALL_FONT_set(PyObject
*) {
16687 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16692 static PyObject
*_wrap_SMALL_FONT_get() {
16695 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16700 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16701 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16706 static PyObject
*_wrap_ITALIC_FONT_get() {
16709 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16714 static int _wrap_SWISS_FONT_set(PyObject
*) {
16715 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16720 static PyObject
*_wrap_SWISS_FONT_get() {
16723 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
16728 static int _wrap_RED_PEN_set(PyObject
*) {
16729 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
16734 static PyObject
*_wrap_RED_PEN_get() {
16737 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
16742 static int _wrap_CYAN_PEN_set(PyObject
*) {
16743 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
16748 static PyObject
*_wrap_CYAN_PEN_get() {
16751 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
16756 static int _wrap_GREEN_PEN_set(PyObject
*) {
16757 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
16762 static PyObject
*_wrap_GREEN_PEN_get() {
16765 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
16770 static int _wrap_BLACK_PEN_set(PyObject
*) {
16771 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
16776 static PyObject
*_wrap_BLACK_PEN_get() {
16779 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
16784 static int _wrap_WHITE_PEN_set(PyObject
*) {
16785 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
16790 static PyObject
*_wrap_WHITE_PEN_get() {
16793 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
16798 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
16799 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
16804 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
16807 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
16812 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
16813 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
16818 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
16821 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
16826 static int _wrap_GREY_PEN_set(PyObject
*) {
16827 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
16832 static PyObject
*_wrap_GREY_PEN_get() {
16835 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16840 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
16841 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
16846 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
16849 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16854 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
16855 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
16860 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
16863 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
16868 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
16869 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
16874 static PyObject
*_wrap_BLUE_BRUSH_get() {
16877 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16882 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
16883 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
16888 static PyObject
*_wrap_GREEN_BRUSH_get() {
16891 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16896 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
16897 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
16902 static PyObject
*_wrap_WHITE_BRUSH_get() {
16905 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16910 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
16911 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
16916 static PyObject
*_wrap_BLACK_BRUSH_get() {
16919 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16924 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
16925 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
16930 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
16933 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16938 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
16939 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
16944 static PyObject
*_wrap_CYAN_BRUSH_get() {
16947 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16952 static int _wrap_RED_BRUSH_set(PyObject
*) {
16953 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
16958 static PyObject
*_wrap_RED_BRUSH_get() {
16961 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16966 static int _wrap_GREY_BRUSH_set(PyObject
*) {
16967 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
16972 static PyObject
*_wrap_GREY_BRUSH_get() {
16975 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16980 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
16981 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
16986 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
16989 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
16994 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
16995 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17000 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17003 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17008 static int _wrap_BLACK_set(PyObject
*) {
17009 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17014 static PyObject
*_wrap_BLACK_get() {
17017 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17022 static int _wrap_WHITE_set(PyObject
*) {
17023 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17028 static PyObject
*_wrap_WHITE_get() {
17031 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17036 static int _wrap_RED_set(PyObject
*) {
17037 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17042 static PyObject
*_wrap_RED_get() {
17045 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17050 static int _wrap_BLUE_set(PyObject
*) {
17051 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17056 static PyObject
*_wrap_BLUE_get() {
17059 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17064 static int _wrap_GREEN_set(PyObject
*) {
17065 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17070 static PyObject
*_wrap_GREEN_get() {
17073 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17078 static int _wrap_CYAN_set(PyObject
*) {
17079 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17084 static PyObject
*_wrap_CYAN_get() {
17087 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17092 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17093 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17098 static PyObject
*_wrap_LIGHT_GREY_get() {
17101 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17106 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17107 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17112 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17115 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17120 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17121 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17126 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17129 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17134 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17135 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17140 static PyObject
*_wrap_CROSS_CURSOR_get() {
17143 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17148 static int _wrap_NullBitmap_set(PyObject
*) {
17149 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17154 static PyObject
*_wrap_NullBitmap_get() {
17157 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17162 static int _wrap_NullIcon_set(PyObject
*) {
17163 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17168 static PyObject
*_wrap_NullIcon_get() {
17171 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17176 static int _wrap_NullCursor_set(PyObject
*) {
17177 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17182 static PyObject
*_wrap_NullCursor_get() {
17185 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17190 static int _wrap_NullPen_set(PyObject
*) {
17191 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17196 static PyObject
*_wrap_NullPen_get() {
17199 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17204 static int _wrap_NullBrush_set(PyObject
*) {
17205 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17210 static PyObject
*_wrap_NullBrush_get() {
17213 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17218 static int _wrap_NullPalette_set(PyObject
*) {
17219 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17224 static PyObject
*_wrap_NullPalette_get() {
17227 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17232 static int _wrap_NullFont_set(PyObject
*) {
17233 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17238 static PyObject
*_wrap_NullFont_get() {
17241 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17246 static int _wrap_NullColour_set(PyObject
*) {
17247 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17252 static PyObject
*_wrap_NullColour_get() {
17255 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17260 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxPenList
*arg1
= (wxPenList
*) 0 ;
17263 wxPen
*arg2
= (wxPen
*) 0 ;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self",(char *) "pen", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 (arg1
)->AddPen(arg2
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 Py_INCREF(Py_None
); resultobj
= Py_None
;
17289 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxPenList
*arg1
= (wxPenList
*) 0 ;
17292 wxColour
*arg2
= 0 ;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 PyObject
* obj2
= 0 ;
17300 PyObject
* obj3
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17312 arg3
= (int)SWIG_As_int(obj2
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17314 arg4
= (int)SWIG_As_int(obj3
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17318 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17330 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxPenList
*arg1
= (wxPenList
*) 0 ;
17333 wxPen
*arg2
= (wxPen
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 char *kwnames
[] = {
17337 (char *) "self",(char *) "pen", NULL
17340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->RemovePen(arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 Py_INCREF(Py_None
); resultobj
= Py_None
;
17359 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxPenList
*arg1
= (wxPenList
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (int)(arg1
)->GetCount();
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_From_int((int)result
);
17385 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17388 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17390 return Py_BuildValue((char *)"");
17392 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17393 PyObject
*resultobj
;
17394 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17395 wxBrush
*arg2
= (wxBrush
*) 0 ;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char *kwnames
[] = {
17399 (char *) "self",(char *) "brush", NULL
17402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 (arg1
)->AddBrush(arg2
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 Py_INCREF(Py_None
); resultobj
= Py_None
;
17421 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17424 wxColour
*arg2
= 0 ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 PyObject
* obj2
= 0 ;
17431 char *kwnames
[] = {
17432 (char *) "self",(char *) "colour",(char *) "style", NULL
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17442 arg3
= (int)SWIG_As_int(obj2
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17458 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17461 wxBrush
*arg2
= (wxBrush
*) 0 ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self",(char *) "brush", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 (arg1
)->RemoveBrush(arg2
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 Py_INCREF(Py_None
); resultobj
= Py_None
;
17487 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (int)(arg1
)->GetCount();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_From_int((int)result
);
17513 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17516 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17518 return Py_BuildValue((char *)"");
17520 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxColourDatabase
*result
;
17523 char *kwnames
[] = {
17527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17529 if (!wxPyCheckForApp()) SWIG_fail
;
17530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 result
= (wxColourDatabase
*)new wxColourDatabase();
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17543 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17571 wxString
*arg2
= 0 ;
17573 bool temp2
= false ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "name", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 arg2
= wxString_in_helper(obj1
);
17585 if (arg2
== NULL
) SWIG_fail
;
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 wxColour
* resultptr
;
17597 resultptr
= new wxColour((wxColour
&) result
);
17598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17614 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
;
17616 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17617 wxColour
*arg2
= 0 ;
17620 PyObject
* obj0
= 0 ;
17621 PyObject
* obj1
= 0 ;
17622 char *kwnames
[] = {
17623 (char *) "self",(char *) "colour", NULL
17626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17631 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17653 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17656 wxString
*arg2
= 0 ;
17657 wxColour
*arg3
= 0 ;
17658 bool temp2
= false ;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 PyObject
* obj2
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self",(char *) "name",(char *) "colour", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17671 arg2
= wxString_in_helper(obj1
);
17672 if (arg2
== NULL
) SWIG_fail
;
17677 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 Py_INCREF(Py_None
); resultobj
= Py_None
;
17701 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17704 wxString
*arg2
= 0 ;
17708 bool temp2
= false ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 PyObject
* obj2
= 0 ;
17712 PyObject
* obj3
= 0 ;
17713 PyObject
* obj4
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17722 arg2
= wxString_in_helper(obj1
);
17723 if (arg2
== NULL
) SWIG_fail
;
17726 arg3
= (int)SWIG_As_int(obj2
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17728 arg4
= (int)SWIG_As_int(obj3
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17730 arg5
= (int)SWIG_As_int(obj4
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 Py_INCREF(Py_None
); resultobj
= Py_None
;
17754 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
17756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17757 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
17759 return Py_BuildValue((char *)"");
17761 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxFontList
*arg1
= (wxFontList
*) 0 ;
17764 wxFont
*arg2
= (wxFont
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self",(char *) "font", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 (arg1
)->AddFont(arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxFontList
*arg1
= (wxFontList
*) 0 ;
17797 bool arg6
= (bool) false ;
17798 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17799 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17800 int arg8
= (int) wxFONTENCODING_DEFAULT
;
17802 bool temp7
= false ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 PyObject
* obj2
= 0 ;
17806 PyObject
* obj3
= 0 ;
17807 PyObject
* obj4
= 0 ;
17808 PyObject
* obj5
= 0 ;
17809 PyObject
* obj6
= 0 ;
17810 PyObject
* obj7
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17818 arg2
= (int)SWIG_As_int(obj1
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17820 arg3
= (int)SWIG_As_int(obj2
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17822 arg4
= (int)SWIG_As_int(obj3
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17824 arg5
= (int)SWIG_As_int(obj4
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 arg6
= (bool)SWIG_As_bool(obj5
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17832 arg7
= wxString_in_helper(obj6
);
17833 if (arg7
== NULL
) SWIG_fail
;
17838 arg8
= (int)SWIG_As_int(obj7
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
17863 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxFontList
*arg1
= (wxFontList
*) 0 ;
17866 wxFont
*arg2
= (wxFont
*) 0 ;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self",(char *) "font", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 (arg1
)->RemoveFont(arg2
);
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 Py_INCREF(Py_None
); resultobj
= Py_None
;
17892 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxFontList
*arg1
= (wxFontList
*) 0 ;
17896 PyObject
* obj0
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
17903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 result
= (int)(arg1
)->GetCount();
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_From_int((int)result
);
17918 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
17920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17921 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
17923 return Py_BuildValue((char *)"");
17925 static int _wrap_TheFontList_set(PyObject
*) {
17926 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
17931 static PyObject
*_wrap_TheFontList_get() {
17934 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
17939 static int _wrap_ThePenList_set(PyObject
*) {
17940 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
17945 static PyObject
*_wrap_ThePenList_get() {
17948 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
17953 static int _wrap_TheBrushList_set(PyObject
*) {
17954 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
17959 static PyObject
*_wrap_TheBrushList_get() {
17962 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
17967 static int _wrap_TheColourDatabase_set(PyObject
*) {
17968 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
17973 static PyObject
*_wrap_TheColourDatabase_get() {
17976 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
17981 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17984 char *kwnames
[] = {
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (wxEffects
*)new wxEffects();
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18003 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxEffects
*arg1
= (wxEffects
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 wxColour
* resultptr
;
18024 resultptr
= new wxColour((wxColour
&) result
);
18025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18033 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxEffects
*arg1
= (wxEffects
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18053 wxColour
* resultptr
;
18054 resultptr
= new wxColour((wxColour
&) result
);
18055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18063 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxEffects
*arg1
= (wxEffects
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 wxColour
* resultptr
;
18084 resultptr
= new wxColour((wxColour
&) result
);
18085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18093 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxEffects
*arg1
= (wxEffects
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 wxColour
* resultptr
;
18114 resultptr
= new wxColour((wxColour
&) result
);
18115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18123 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxEffects
*arg1
= (wxEffects
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18143 wxColour
* resultptr
;
18144 resultptr
= new wxColour((wxColour
&) result
);
18145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18153 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxEffects
*arg1
= (wxEffects
*) 0 ;
18156 wxColour
*arg2
= 0 ;
18158 PyObject
* obj0
= 0 ;
18159 PyObject
* obj1
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self",(char *) "c", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18169 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 Py_INCREF(Py_None
); resultobj
= Py_None
;
18185 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxEffects
*arg1
= (wxEffects
*) 0 ;
18188 wxColour
*arg2
= 0 ;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self",(char *) "c", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18201 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 Py_INCREF(Py_None
); resultobj
= Py_None
;
18217 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxEffects
*arg1
= (wxEffects
*) 0 ;
18220 wxColour
*arg2
= 0 ;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self",(char *) "c", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18233 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 Py_INCREF(Py_None
); resultobj
= Py_None
;
18249 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
;
18251 wxEffects
*arg1
= (wxEffects
*) 0 ;
18252 wxColour
*arg2
= 0 ;
18254 PyObject
* obj0
= 0 ;
18255 PyObject
* obj1
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self",(char *) "c", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 Py_INCREF(Py_None
); resultobj
= Py_None
;
18281 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxEffects
*arg1
= (wxEffects
*) 0 ;
18284 wxColour
*arg2
= 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 char *kwnames
[] = {
18289 (char *) "self",(char *) "c", NULL
18292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 Py_INCREF(Py_None
); resultobj
= Py_None
;
18313 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxEffects
*arg1
= (wxEffects
*) 0 ;
18316 wxColour
*arg2
= 0 ;
18317 wxColour
*arg3
= 0 ;
18318 wxColour
*arg4
= 0 ;
18319 wxColour
*arg5
= 0 ;
18320 wxColour
*arg6
= 0 ;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 PyObject
* obj2
= 0 ;
18329 PyObject
* obj3
= 0 ;
18330 PyObject
* obj4
= 0 ;
18331 PyObject
* obj5
= 0 ;
18332 char *kwnames
[] = {
18333 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18341 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18345 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18349 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18353 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18357 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 Py_INCREF(Py_None
); resultobj
= Py_None
;
18373 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18375 wxEffects
*arg1
= (wxEffects
*) 0 ;
18378 int arg4
= (int) 1 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 PyObject
* obj2
= 0 ;
18383 PyObject
* obj3
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18394 if (arg2
== NULL
) {
18395 PyErr_SetString(PyExc_TypeError
,"null reference");
18400 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18403 arg4
= (int)SWIG_As_int(obj3
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxEffects
*arg1
= (wxEffects
*) 0 ;
18425 wxBitmap
*arg4
= 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 PyObject
* obj3
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18441 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18443 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18446 if (arg3
== NULL
) {
18447 PyErr_SetString(PyExc_TypeError
,"null reference");
18450 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18453 if (arg4
== NULL
) {
18454 PyErr_SetString(PyExc_TypeError
,"null reference");
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18473 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18476 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18478 return Py_BuildValue((char *)"");
18480 static PyMethodDef SwigMethods
[] = {
18481 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18482 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18483 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18484 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18485 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18486 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18487 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18488 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18489 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18490 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18491 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18492 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18493 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18494 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18495 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18496 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18497 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18498 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18499 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18500 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18501 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18502 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18503 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18504 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18505 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18506 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18507 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18508 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18509 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18510 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18511 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18512 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18513 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18514 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18515 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18516 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18517 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18518 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18519 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18520 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18521 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18522 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18523 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18524 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18525 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18526 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18527 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18528 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18529 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18530 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18531 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18532 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18533 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18534 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18535 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18536 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18537 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18538 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18539 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18540 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18541 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18542 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18543 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18544 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18545 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18546 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18547 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18548 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18549 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18550 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18551 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18552 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18553 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18554 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18555 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18556 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18557 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18558 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18559 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18560 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18561 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18562 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18563 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18564 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18565 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18566 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18567 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18568 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18569 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18570 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18571 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18572 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18573 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18574 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18575 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18576 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18577 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18578 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18579 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18580 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18581 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18582 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18583 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18584 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18585 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18586 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18587 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18588 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18589 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18590 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18591 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18592 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18593 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18594 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18595 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18596 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18597 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18598 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18599 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18600 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18601 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18602 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18603 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18604 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18605 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18606 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18607 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18608 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18609 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18610 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18611 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18612 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18613 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18614 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18615 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18616 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18617 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18618 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18619 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18620 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18621 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18622 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18623 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18624 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18625 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18626 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18627 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18628 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18629 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18630 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18631 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18632 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18633 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18634 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18635 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18636 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18637 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18638 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18639 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18640 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18641 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18642 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18643 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18644 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18645 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18646 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18647 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18648 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18649 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18650 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18651 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18652 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18653 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18654 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18655 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18656 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18657 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18658 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18659 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18660 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18661 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18662 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18663 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18664 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18665 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18666 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18667 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18668 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18669 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18670 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18671 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18672 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18673 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18674 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18675 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18676 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18677 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18678 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18679 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18680 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18681 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18682 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18683 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18684 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18685 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18686 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18687 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18688 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18689 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18690 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18691 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18692 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18693 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18694 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18695 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18696 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18697 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18698 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18699 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18700 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18701 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18702 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18703 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18704 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18705 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18706 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18707 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18708 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18709 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18710 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18711 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18712 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18713 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18714 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18715 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18716 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18717 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18718 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18719 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18720 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18721 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18722 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18723 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18724 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18725 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18726 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18727 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18728 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18729 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18730 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18731 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18732 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18733 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18734 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18735 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18736 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18737 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18738 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
18739 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18740 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18741 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18742 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18743 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18744 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18745 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18746 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
18747 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18748 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18749 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18750 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18751 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18752 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18753 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
18754 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18755 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18756 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18757 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18758 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18759 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18765 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
18776 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
18778 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18782 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
18786 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18789 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18808 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18821 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18842 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18849 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18850 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18851 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18858 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18864 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18866 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18874 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18882 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18888 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"DC_SetOptimization", (PyCFunction
) _wrap_DC_SetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"DC_GetOptimization", (PyCFunction
) _wrap_DC_GetOptimization
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18907 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18914 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
18915 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18917 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18918 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
18919 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
18920 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18922 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
18923 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
18925 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18926 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
18930 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18931 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
18932 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18933 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
18934 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18935 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
18936 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18937 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
18938 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18939 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18940 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18941 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18943 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
18944 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18945 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18947 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18948 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18949 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18950 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18951 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
18952 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18953 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18954 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
18955 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18956 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
18957 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18958 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18960 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18962 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18964 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18965 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18966 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18968 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
18969 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18970 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18973 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
18974 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18975 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18976 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18978 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
18979 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18980 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18982 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18984 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18985 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
18986 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18987 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18990 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
18991 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18992 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18994 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18997 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18998 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18999 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19000 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19001 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19002 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19003 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19004 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19005 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19006 { NULL
, NULL
, 0, NULL
}
19010 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19012 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19013 return (void *)((wxWindow
*) ((wxControl
*) x
));
19015 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19016 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19018 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19019 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19021 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19022 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19024 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19025 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19027 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19028 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19030 static void *_p_wxPenTo_p_wxObject(void *x
) {
19031 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19033 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19034 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19036 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19037 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19039 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19040 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19042 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19043 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19045 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19048 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19049 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19051 static void *_p_wxIconTo_p_wxObject(void *x
) {
19052 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19054 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19055 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19057 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19058 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19060 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19061 return (void *)((wxObject
*) ((wxSizer
*) x
));
19063 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19064 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19066 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19067 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19069 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19070 return (void *)((wxObject
*) ((wxPenList
*) x
));
19072 static void *_p_wxEventTo_p_wxObject(void *x
) {
19073 return (void *)((wxObject
*) ((wxEvent
*) x
));
19075 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19076 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19078 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19079 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19081 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19082 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19084 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19085 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19087 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19088 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19090 static void *_p_wxDCTo_p_wxObject(void *x
) {
19091 return (void *)((wxObject
*) ((wxDC
*) x
));
19093 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19094 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19096 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19097 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19099 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19100 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19102 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19103 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19105 static void *_p_wxControlTo_p_wxObject(void *x
) {
19106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19108 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19109 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19111 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19112 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19114 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19115 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19117 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19118 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19120 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19121 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19123 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19124 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19126 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19127 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19129 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19130 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19132 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19133 return (void *)((wxObject
*) ((wxEffects
*) x
));
19135 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19136 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19138 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19141 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19142 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19144 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19145 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19147 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19148 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19150 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19151 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19153 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19156 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19157 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19159 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19160 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19162 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19163 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19165 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19166 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19168 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19169 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19171 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19172 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19174 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19175 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19177 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19178 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19180 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19181 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19183 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19186 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19187 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19189 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19190 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19192 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19193 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19195 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19196 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19198 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19199 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19201 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19204 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19205 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19207 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19208 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19210 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19211 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19213 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19214 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19216 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19217 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19219 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19220 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19222 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19223 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19225 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19226 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19228 static void *_p_wxImageTo_p_wxObject(void *x
) {
19229 return (void *)((wxObject
*) ((wxImage
*) x
));
19231 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19232 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19234 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19235 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19237 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19238 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19240 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19241 return (void *)((wxObject
*) ((wxImageList
*) x
));
19243 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19244 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19246 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19247 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19249 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19250 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19252 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19255 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19256 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19258 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19259 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19261 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19262 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19264 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19265 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19267 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19270 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19271 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19273 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19274 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19276 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19277 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19279 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19280 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19282 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19283 return (void *)((wxObject
*) ((wxMask
*) x
));
19285 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19286 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19288 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19289 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19291 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19292 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19294 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19295 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19297 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19298 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19300 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19301 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19303 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19304 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19306 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19307 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19309 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19310 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19312 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19313 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19315 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19318 static void *_p_wxFontTo_p_wxObject(void *x
) {
19319 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19321 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19322 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19324 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19325 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19327 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19330 static void *_p_wxColourTo_p_wxObject(void *x
) {
19331 return (void *)((wxObject
*) ((wxColour
*) x
));
19333 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19334 return (void *)((wxObject
*) ((wxFontList
*) x
));
19336 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19339 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19340 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19342 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19343 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19345 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19346 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19348 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19349 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19351 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19352 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19354 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19355 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19357 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19358 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19360 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19361 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19363 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19364 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19366 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19367 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19369 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19370 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19372 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19373 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19375 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19376 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19378 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19379 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19381 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19382 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19384 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19385 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19387 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19388 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19390 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19391 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19393 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19394 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19396 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19397 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19399 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19400 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19402 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}};
19403 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}};
19404 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}};
19405 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}};
19406 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}};
19407 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}};
19408 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}};
19409 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}};
19410 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}};
19411 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}};
19412 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}};
19413 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}};
19414 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}};
19415 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}};
19416 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}};
19417 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}};
19418 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}};
19419 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}};
19420 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}};
19421 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}};
19422 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}};
19423 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}};
19424 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}};
19425 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}};
19426 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}};
19427 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}};
19428 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}};
19429 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}};
19430 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}};
19431 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}};
19432 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}};
19433 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}};
19434 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}};
19435 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}};
19436 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}};
19437 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}};
19438 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}};
19439 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}};
19440 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}};
19441 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}};
19442 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}};
19443 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}};
19444 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}};
19445 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}};
19446 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}};
19447 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}};
19448 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}};
19449 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}};
19450 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}};
19451 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}};
19452 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}};
19453 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}};
19454 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}};
19455 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}};
19456 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}};
19458 static swig_type_info
*swig_types_initial
[] = {
19459 _swigt__p_wxPostScriptDC
,
19461 _swigt__p_wxColour
,
19463 _swigt__p_wxMirrorDC
,
19465 _swigt__p_wxPyFontEnumerator
,
19467 _swigt__p_wxIconLocation
,
19469 _swigt__p_wxMetaFileDC
,
19473 _swigt__p_wxWindow
,
19475 _swigt__p_wxMemoryDC
,
19476 _swigt__p_wxFontMapper
,
19477 _swigt__p_wxEffects
,
19478 _swigt__p_wxNativeEncodingInfo
,
19479 _swigt__p_wxPalette
,
19480 _swigt__p_wxBitmap
,
19481 _swigt__p_wxObject
,
19482 _swigt__p_wxRegionIterator
,
19484 _swigt__p_wxString
,
19485 _swigt__p_wxPrinterDC
,
19486 _swigt__p_wxIconBundle
,
19489 _swigt__p_wxScreenDC
,
19490 _swigt__p_wxCursor
,
19491 _swigt__p_wxClientDC
,
19492 _swigt__p_wxBufferedDC
,
19493 _swigt__p_wxImageList
,
19494 _swigt__p_unsigned_char
,
19495 _swigt__p_wxGDIObject
,
19497 _swigt__p_wxLocale
,
19498 _swigt__p_wxRegion
,
19499 _swigt__p_wxLanguageInfo
,
19500 _swigt__p_wxConfigBase
,
19501 _swigt__p_wxWindowDC
,
19502 _swigt__p_wxPrintData
,
19503 _swigt__p_wxBrushList
,
19504 _swigt__p_wxFontList
,
19506 _swigt__p_wxBufferedPaintDC
,
19507 _swigt__p_wxPaintDC
,
19508 _swigt__p_wxPenList
,
19510 _swigt__p_wxMetaFile
,
19511 _swigt__p_wxNativeFontInfo
,
19512 _swigt__p_wxEncodingConverter
,
19513 _swigt__p_wxColourDatabase
,
19518 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19520 static swig_const_info swig_const_table
[] = {
19521 {0, 0, 0, 0.0, 0, 0}};
19530 SWIGEXPORT(void) SWIG_init(void) {
19531 static PyObject
*SWIG_globals
= 0;
19532 static int typeinit
= 0;
19535 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19536 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19537 d
= PyModule_GetDict(m
);
19540 for (i
= 0; swig_types_initial
[i
]; i
++) {
19541 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19545 SWIG_InstallConstants(d
,swig_const_table
);
19547 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19548 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19549 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19550 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19551 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19552 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19553 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19554 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19555 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19556 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19557 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19558 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19559 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19560 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19561 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19562 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19563 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19564 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19565 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19566 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19567 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19568 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19569 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19570 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19571 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19572 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19573 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19574 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19575 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19576 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19577 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19578 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19579 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19580 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19581 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19582 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19583 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19584 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19585 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19586 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19587 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19588 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19589 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19590 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19591 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19592 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19593 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19594 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19595 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19596 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19597 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19598 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19599 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19600 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19601 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19602 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19603 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19604 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19605 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19606 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19607 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19608 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19609 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19610 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19611 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19612 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19613 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19614 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19615 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19616 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19617 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19618 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19619 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19620 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19621 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19622 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19623 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19624 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19625 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19626 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19627 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19628 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19629 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19630 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19631 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19632 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19633 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19634 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19635 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19636 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19637 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19638 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19639 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19640 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19641 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19642 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19643 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19644 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19645 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19646 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19647 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19648 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19649 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19650 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19651 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19652 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19653 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19654 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19655 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19656 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19657 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19658 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19659 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19660 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19661 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19662 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19663 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19664 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19665 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19666 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19667 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19668 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19669 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19670 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19671 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19672 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19673 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19675 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19677 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19678 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19679 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19680 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19681 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19682 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19683 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19684 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19685 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19686 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19687 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19688 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19689 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19690 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19691 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19692 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19693 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19694 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19695 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19696 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19697 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19698 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19699 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19700 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19701 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19702 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19703 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19704 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19705 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19706 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19707 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19708 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19709 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19710 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19711 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19712 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19713 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19714 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
19715 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
19716 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
19717 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
19718 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
19719 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
19720 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
19721 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
19722 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
19723 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
19724 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
19725 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
19726 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
19727 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
19728 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
19729 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
19730 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
19731 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
19732 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
19733 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
19734 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
19735 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
19736 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
19737 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
19738 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
19739 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
19740 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
19741 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
19742 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
19743 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
19744 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
19745 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
19746 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
19747 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
19748 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
19749 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
19750 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
19751 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
19752 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
19753 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
19754 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
19755 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
19756 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
19757 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
19758 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
19759 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
19760 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
19761 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
19762 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
19763 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
19764 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
19765 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
19766 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
19767 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
19768 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
19769 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
19770 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
19771 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
19772 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
19773 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
19774 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
19775 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
19776 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
19777 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
19778 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
19779 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
19780 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
19781 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
19782 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
19783 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
19784 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
19785 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
19786 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
19787 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
19788 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
19789 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
19790 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
19791 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
19792 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
19793 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
19794 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
19795 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
19796 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
19797 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
19798 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
19799 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
19800 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
19801 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
19802 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
19803 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
19804 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
19805 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
19806 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
19807 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
19808 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
19809 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
19810 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
19811 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
19812 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
19813 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
19814 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
19815 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
19816 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
19817 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
19818 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
19819 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
19820 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
19821 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
19822 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
19823 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
19824 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
19825 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
19826 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
19827 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
19828 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
19829 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
19830 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
19831 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
19832 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
19833 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
19834 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
19835 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
19836 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
19837 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
19838 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
19839 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
19840 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
19841 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
19842 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
19843 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
19844 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
19845 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
19846 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
19847 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
19848 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
19849 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
19850 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
19851 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
19852 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
19853 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
19854 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
19855 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
19856 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
19857 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
19858 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
19859 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
19860 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
19861 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
19862 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
19863 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
19864 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
19865 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
19866 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
19867 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
19868 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
19869 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
19870 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
19871 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
19872 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
19873 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
19874 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
19875 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
19876 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
19877 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
19878 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
19879 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
19880 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
19881 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
19882 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
19883 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
19884 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
19885 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
19886 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
19887 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
19888 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
19889 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
19890 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
19891 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
19892 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
19893 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
19894 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
19895 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
19896 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
19897 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
19898 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
19899 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
19900 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
19901 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
19902 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
19903 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
19904 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
19905 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
19906 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
19907 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
19908 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
19909 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
19910 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
19911 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
19912 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
19913 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
19914 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
19915 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
19916 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
19917 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
19918 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
19919 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
19920 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
19921 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
19922 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
19923 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
19924 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
19925 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
19926 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
19927 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
19928 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
19929 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
19930 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
19931 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
19932 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
19933 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
19934 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
19935 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
19936 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
19937 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
19938 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
19939 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
19940 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
19941 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
19942 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
19943 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
19944 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
19945 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
19946 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
19947 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
19948 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
19949 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
19950 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
19951 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
19952 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
19953 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
19954 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
19955 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
19956 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
19957 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
19958 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
19959 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
19960 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
19961 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
19962 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
19963 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
19964 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
19965 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
19966 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
19967 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
19968 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
19969 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
19970 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
19971 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
19972 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
19973 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
19974 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
19975 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
19976 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
19978 // Work around a chicken/egg problem in drawlist.cpp
19979 wxPyDrawList_SetAPIPtr();