1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxPostScriptDC swig_types[0]
212 #define SWIGTYPE_p_wxBrush swig_types[1]
213 #define SWIGTYPE_p_wxColour swig_types[2]
214 #define SWIGTYPE_p_wxDC swig_types[3]
215 #define SWIGTYPE_p_wxMirrorDC swig_types[4]
216 #define SWIGTYPE_p_byte swig_types[5]
217 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[6]
218 #define SWIGTYPE_p_char swig_types[7]
219 #define SWIGTYPE_p_wxIconLocation swig_types[8]
220 #define SWIGTYPE_p_wxImage swig_types[9]
221 #define SWIGTYPE_p_wxMetaFileDC swig_types[10]
222 #define SWIGTYPE_p_wxMask swig_types[11]
223 #define SWIGTYPE_p_wxSize swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxWindow swig_types[14]
226 #define SWIGTYPE_p_double swig_types[15]
227 #define SWIGTYPE_p_wxMemoryDC swig_types[16]
228 #define SWIGTYPE_p_wxFontMapper swig_types[17]
229 #define SWIGTYPE_p_wxEffects swig_types[18]
230 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[19]
231 #define SWIGTYPE_p_wxPalette swig_types[20]
232 #define SWIGTYPE_p_wxBitmap swig_types[21]
233 #define SWIGTYPE_p_wxObject swig_types[22]
234 #define SWIGTYPE_p_wxRegionIterator swig_types[23]
235 #define SWIGTYPE_p_wxRect swig_types[24]
236 #define SWIGTYPE_p_wxString swig_types[25]
237 #define SWIGTYPE_p_wxPrinterDC swig_types[26]
238 #define SWIGTYPE_p_wxIconBundle swig_types[27]
239 #define SWIGTYPE_p_wxPoint swig_types[28]
240 #define SWIGTYPE_p_wxDash swig_types[29]
241 #define SWIGTYPE_p_wxScreenDC swig_types[30]
242 #define SWIGTYPE_p_wxCursor swig_types[31]
243 #define SWIGTYPE_p_wxClientDC swig_types[32]
244 #define SWIGTYPE_p_wxBufferedDC swig_types[33]
245 #define SWIGTYPE_p_wxImageList swig_types[34]
246 #define SWIGTYPE_p_unsigned_char swig_types[35]
247 #define SWIGTYPE_p_wxGDIObject swig_types[36]
248 #define SWIGTYPE_p_wxIcon swig_types[37]
249 #define SWIGTYPE_p_wxLocale swig_types[38]
250 #define SWIGTYPE_p_wxRegion swig_types[39]
251 #define SWIGTYPE_p_wxLanguageInfo swig_types[40]
252 #define SWIGTYPE_p_wxConfigBase swig_types[41]
253 #define SWIGTYPE_p_wxWindowDC swig_types[42]
254 #define SWIGTYPE_p_wxPrintData swig_types[43]
255 #define SWIGTYPE_p_wxBrushList swig_types[44]
256 #define SWIGTYPE_p_wxFontList swig_types[45]
257 #define SWIGTYPE_p_wxPen swig_types[46]
258 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[47]
259 #define SWIGTYPE_p_wxPaintDC swig_types[48]
260 #define SWIGTYPE_p_wxPenList swig_types[49]
261 #define SWIGTYPE_p_int swig_types[50]
262 #define SWIGTYPE_p_wxMetaFile swig_types[51]
263 #define SWIGTYPE_p_wxNativeFontInfo swig_types[52]
264 #define SWIGTYPE_p_wxEncodingConverter swig_types[53]
265 #define SWIGTYPE_p_wxColourDatabase swig_types[54]
266 static swig_type_info
*swig_types
[56];
268 /* -------- TYPES TABLE (END) -------- */
271 /*-----------------------------------------------
273 ------------------------------------------------*/
274 #define SWIG_init init_gdi_
276 #define SWIG_name "_gdi_"
278 /* Auxiliar swig macros that appear in the header */
280 #define SWIG_OLDOBJ 1
281 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
282 #define SWIG_PYSTR SWIG_NEWOBJ + 1
285 #define SWIGSTATICINLINE(a) static inline a
286 #define SWIGSTATIC(a) static a
287 #define swig_new_array(size,Type) (new Type[(size)])
288 #define swig_delete(cptr) delete cptr
289 #define swig_delete_array(cptr) delete[] cptr
290 #define swig_const_cast(a,Type) const_cast<Type >(a)
291 #define swig_static_cast(a,Type) static_cast<Type >(a)
292 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
293 #define swig_new_copy(ptr,Type) (new Type(*ptr))
294 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
298 #define SWIGSTATICINLINE(a) static a
299 #define SWIGSTATIC(a) static a
300 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
301 #define swig_delete(cptr) free((char*)cptr)
302 #define swig_delete_array(cptr) free((char*)cptr)
303 #define swig_const_cast(a,Type) (Type)(a)
304 #define swig_static_cast(a,Type) (Type)(a)
305 #define swig_reinterpret_cast(a,Type) (Type)(a)
306 #define swig_numeric_cast(a,Type) (Type)(a)
307 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
309 #endif /* __cplusplus */
312 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
313 #define SWIG_From_signed_SS_char PyInt_FromLong
315 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
316 #define SWIG_From_unsigned_SS_char PyInt_FromLong
318 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
319 #define SWIG_From_short PyInt_FromLong
321 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
322 #define SWIG_From_unsigned_SS_short PyInt_FromLong
324 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
325 #define SWIG_From_int PyInt_FromLong
327 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
328 #define SWIG_From_long PyInt_FromLong
330 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
331 #define SWIG_From_float PyFloat_FromDouble
333 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
334 #define SWIG_From_double PyFloat_FromDouble
338 #include "wx/wxPython/wxPython.h"
339 #include "wx/wxPython/pyclasses.h"
342 static const wxString
wxPyEmptyString(wxEmptyString
);
347 SWIGSTATICINLINE(int)
348 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
351 if (value
< min_value
) {
353 PyErr_Format(PyExc_OverflowError
,
354 "value %ld is less than '%s' minimum %ld",
355 value
, errmsg
, min_value
);
358 } else if (value
> max_value
) {
360 PyErr_Format(PyExc_OverflowError
,
361 "value %ld is greater than '%s' maximum %ld",
362 value
, errmsg
, max_value
);
370 // See my_fragments.i
371 SWIGSTATICINLINE(int)
372 SWIG_AsVal_long(PyObject
* obj
, long* val
)
374 if (PyNumber_Check(obj
)) {
375 if (val
) *val
= PyInt_AsLong(obj
);
379 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
380 obj
->ob_type
->tp_name
);
381 PyErr_SetObject(PyExc_TypeError
, errmsg
);
388 #if INT_MAX != LONG_MAX
389 SWIGSTATICINLINE(int)
390 SWIG_AsVal_int(PyObject
*obj
, int *val
)
392 const char* errmsg
= val
? "int" : 0;
394 if (SWIG_AsVal_long(obj
, &v
)) {
395 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
396 if (val
) *val
= swig_numeric_cast(v
, int);
405 PyErr_SetString(PyExc_TypeError
, "an int is expected");
410 SWIGSTATICINLINE(int)
411 SWIG_AsVal_int(PyObject
*obj
, int *val
)
413 return SWIG_AsVal_long(obj
,(long*)val
);
418 SWIGSTATICINLINE(int)
419 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
421 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
422 if (obj
== Py_True
) {
423 if (val
) *val
= true;
426 if (obj
== Py_False
) {
427 if (val
) *val
= false;
431 if (SWIG_AsVal_int(obj
, &res
)) {
432 if (val
) *val
= (bool)res
;
436 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
442 SWIGSTATICINLINE(bool)
443 SWIG_As_bool(PyObject
* obj
)
446 if (!SWIG_AsVal_bool(obj
, &v
)) {
448 this is needed to make valgrind/purify happier. the other
449 solution is throw an exception, but since this code should work
452 memset((void*)&v
, 0, sizeof(bool));
458 SWIGSTATICINLINE(int)
459 SWIG_Check_bool(PyObject
* obj
)
461 return SWIG_AsVal_bool(obj
, (bool*)0);
465 // See my_fragments.i
466 SWIGSTATICINLINE(int)
467 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
470 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
471 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
475 *val
= (unsigned long)v
;
480 SWIGSTATICINLINE(int)
481 SWIG_CheckUnsignedLongInRange(unsigned long value
,
482 unsigned long max_value
,
485 if (value
> max_value
) {
487 PyErr_Format(PyExc_OverflowError
,
488 "value %ld is greater than '%s' minimum %ld",
489 value
, errmsg
, max_value
);
497 SWIGSTATICINLINE(int)
498 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
500 const char* errmsg
= val
? "unsigned char" : 0;
502 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
503 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
504 if (val
) *val
= swig_numeric_cast(v
, unsigned char);
513 PyErr_SetString(PyExc_TypeError
, "an unsigned char is expected");
519 SWIGSTATICINLINE(unsigned char)
520 SWIG_As_unsigned_SS_char(PyObject
* obj
)
523 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
525 this is needed to make valgrind/purify happier. the other
526 solution is throw an exception, but since this code should work
529 memset((void*)&v
, 0, sizeof(unsigned char));
535 SWIGSTATICINLINE(int)
536 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
538 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
542 SWIGSTATICINLINE(unsigned long)
543 SWIG_As_unsigned_SS_long(PyObject
* obj
)
546 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
548 this is needed to make valgrind/purify happier. the other
549 solution is throw an exception, but since this code should work
552 memset((void*)&v
, 0, sizeof(unsigned long));
558 SWIGSTATICINLINE(int)
559 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
561 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
564 PyObject
*wxColour_Get(wxColour
*self
){
565 PyObject
* rv
= PyTuple_New(3);
571 green
= self
->Green();
574 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
575 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
576 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
579 unsigned long wxColour_GetRGB(wxColour
*self
){
580 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
583 SWIGSTATICINLINE(PyObject
* )
584 SWIG_From_unsigned_SS_long(unsigned long value
)
586 return (value
> LONG_MAX
) ?
587 PyLong_FromUnsignedLong(value
)
588 : PyInt_FromLong(swig_numeric_cast(value
,long));
592 SWIGSTATICINLINE(int)
593 SWIG_As_int(PyObject
* obj
)
596 if (!SWIG_AsVal_int(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(int));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_int(PyObject
* obj
)
611 return SWIG_AsVal_int(obj
, (int*)0);
615 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
621 } else if (target
== Py_None
) {
625 if (!PyTuple_Check(target
)) {
627 target
= PyTuple_New(1);
628 PyTuple_SetItem(target
, 0, o2
);
631 PyTuple_SetItem(o3
, 0, o
);
634 target
= PySequence_Concat(o2
, o3
);
642 PyObject
*wxPen_GetDashes(wxPen
*self
){
644 int count
= self
->GetDashes(&dashes
);
645 bool blocked
= wxPyBeginBlockThreads();
646 PyObject
* retval
= PyList_New(0);
647 for (int x
=0; x
<count
; x
++) {
648 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
649 PyList_Append(retval
, pyint
);
652 wxPyEndBlockThreads(blocked
);
655 void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
656 bool blocked
= wxPyBeginBlockThreads();
657 int size
= PyList_Size(pyDashes
);
658 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
660 // black magic warning! The array of wxDashes needs to exist as
661 // long as the pen does because wxPen does not copy the array. So
662 // stick a copy in a Python string object and attach it to _self,
663 // and then call SetDashes with a pointer to that array. Then
664 // when the Python pen object is destroyed the array will be
666 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
667 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
669 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
671 Py_DECREF(strDashes
);
672 wxPyEndBlockThreads(blocked
);
674 bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
675 bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
677 SWIGSTATICINLINE(int)
678 SWIG_AsVal_short(PyObject
*obj
, short *val
)
680 const char* errmsg
= val
? "short" : 0;
682 if (SWIG_AsVal_long(obj
, &v
)) {
683 if (SWIG_CheckLongInRange(v
, SHRT_MIN
, SHRT_MAX
, errmsg
)) {
684 if (val
) *val
= swig_numeric_cast(v
, short);
693 PyErr_SetString(PyExc_TypeError
, "a short is expected");
699 SWIGSTATICINLINE(short)
700 SWIG_As_short(PyObject
* obj
)
703 if (!SWIG_AsVal_short(obj
, &v
)) {
705 this is needed to make valgrind/purify happier. the other
706 solution is throw an exception, but since this code should work
709 memset((void*)&v
, 0, sizeof(short));
715 SWIGSTATICINLINE(int)
716 SWIG_Check_short(PyObject
* obj
)
718 return SWIG_AsVal_short(obj
, (short*)0);
722 #include <wx/image.h>
724 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
725 char** cArray
= NULL
;
728 if (!PyList_Check(listOfStrings
)) {
729 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
732 count
= PyList_Size(listOfStrings
);
733 cArray
= new char*[count
];
735 for(int x
=0; x
<count
; x
++) {
736 // TODO: Need some validation and error checking here
737 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
743 wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
744 char** cArray
= NULL
;
747 cArray
= ConvertListOfStrings(listOfStrings
);
750 bmp
= new wxBitmap(cArray
);
754 wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
){
757 PyString_AsStringAndSize(bits
, &buf
, &length
);
758 return new wxBitmap(buf
, width
, height
, depth
);
760 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
761 wxSize
size(self
->GetWidth(), self
->GetHeight());
764 void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
765 wxMask
*mask
= new wxMask(*self
, colour
);
768 void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
769 self
->SetWidth(size
.x
);
770 self
->SetHeight(size
.y
);
772 bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
773 bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
774 wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
){
776 return new wxMask(bitmap
, *wxBLACK
);
778 return new wxMask(bitmap
, colour
);
781 #include <wx/iconbndl.h>
783 wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
784 wxIcon
* icon
= new wxIcon();
785 icon
->CopyFromBitmap(bmp
);
788 wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
789 char** cArray
= NULL
;
792 cArray
= ConvertListOfStrings(listOfStrings
);
795 icon
= new wxIcon(cArray
);
799 wxIconLocation
*new_wxIconLocation(wxString
const *filename
,int num
){
803 return new wxIconLocation(*filename
);
806 void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
813 int wxIconLocation_GetIndex(wxIconLocation
*self
){
821 SWIGSTATICINLINE(long)
822 SWIG_As_long(PyObject
* obj
)
825 if (!SWIG_AsVal_long(obj
, &v
)) {
827 this is needed to make valgrind/purify happier. the other
828 solution is throw an exception, but since this code should work
831 memset((void*)&v
, 0, sizeof(long));
837 SWIGSTATICINLINE(int)
838 SWIG_Check_long(PyObject
* obj
)
840 return SWIG_AsVal_long(obj
, (long*)0);
843 wxCursor
*new_wxCursor(wxString
const *cursorName
,long type
,int hotSpotX
,int hotSpotY
){
845 wxCHECK_MSG(false, NULL
,
846 wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
848 return new wxCursor(*cursorName
, type
, hotSpotX
, hotSpotY
);
853 void wxRegionIterator_Next(wxRegionIterator
*self
){
856 bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
857 return self
->operator bool();
860 #include <wx/fontutil.h>
861 #include <wx/fontmap.h>
862 #include <wx/fontenum.h>
864 wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
865 return self
->ToString();
868 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
869 static wxNativeEncodingInfo info
;
870 if ( wxGetNativeFontEncoding(encoding
, &info
) )
876 PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
,bool interactive
){
877 wxFontEncoding alt_enc
;
878 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
879 return PyInt_FromLong(alt_enc
);
885 wxFont
*new_wxFont(wxString
const &info
){
886 wxNativeFontInfo nfi
;
887 nfi
.FromString(info
);
888 return new wxFont(nfi
);
890 wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
,wxString
const &face
,wxFontEncoding encoding
){
891 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
893 wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
,wxString
const &face
,wxFontEncoding encoding
){
894 return wxFontBase::New(pixelSize
, family
,
895 style
, weight
, underlined
,
898 bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
899 bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
901 class wxPyFontEnumerator
: public wxFontEnumerator
{
903 wxPyFontEnumerator() {}
904 ~wxPyFontEnumerator() {}
906 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
907 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
912 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
913 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
916 PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
917 wxArrayString
* arr
= self
->GetEncodings();
919 return wxArrayString2PyList_helper(*arr
);
921 return PyList_New(0);
923 PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
924 wxArrayString
* arr
= self
->GetFacenames();
926 return wxArrayString2PyList_helper(*arr
);
928 return PyList_New(0);
933 wxLocale
*new_wxLocale(int language
,int flags
){
936 loc
= new wxLocale();
938 loc
= new wxLocale(language
, flags
);
939 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
940 // for the floating point conversions and such to work right.
941 #if PY_VERSION_HEX < 0x02040000
942 setlocale(LC_NUMERIC
, "C");
946 bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
,wxString
const &szLocale
,bool bLoadDefault
,bool bConvertEncoding
){
947 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
948 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
949 // for the floating point conversions and such to work right.
950 #if PY_VERSION_HEX < 0x02040000
951 setlocale(LC_NUMERIC
, "C");
955 bool wxLocale_Init2(wxLocale
*self
,int language
,int flags
){
956 bool rc
= self
->Init(language
, flags
);
957 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
958 // for the floating point conversions and such to work right.
959 #if PY_VERSION_HEX < 0x02040000
960 setlocale(LC_NUMERIC
, "C");
965 #include "wx/wxPython/pydrawxxx.h"
967 wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
969 self
->GetPixel(x
, y
, &col
);
972 wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
974 self
->GetPixel(pt
, &col
);
978 // See my_fragments.i
979 SWIGSTATICINLINE(int)
980 SWIG_AsVal_double(PyObject
*obj
, double* val
)
982 if (PyNumber_Check(obj
)) {
983 if (val
) *val
= PyFloat_AsDouble(obj
);
987 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
988 obj
->ob_type
->tp_name
);
989 PyErr_SetObject(PyExc_TypeError
, errmsg
);
996 SWIGSTATICINLINE(double)
997 SWIG_As_double(PyObject
* obj
)
1000 if (!SWIG_AsVal_double(obj
, &v
)) {
1002 this is needed to make valgrind/purify happier. the other
1003 solution is throw an exception, but since this code should work
1006 memset((void*)&v
, 0, sizeof(double));
1012 SWIGSTATICINLINE(int)
1013 SWIG_Check_double(PyObject
* obj
)
1015 return SWIG_AsVal_double(obj
, (double*)0);
1018 wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
,int indexAccel
){
1020 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
1024 wxRect
wxDC_GetClippingRect(wxDC
*self
){
1026 self
->GetClippingBox(rect
);
1029 wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
1031 self
->GetPartialTextExtents(text
, widths
);
1035 void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
1036 self
->SetLogicalOrigin(point
.x
, point
.y
);
1038 void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
1039 self
->SetDeviceOrigin(point
.x
, point
.y
);
1041 void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
1042 self
->CalcBoundingBox(point
.x
, point
.y
);
1044 PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1045 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
1047 PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1048 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
1050 PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1051 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
1053 PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1054 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
1056 PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
1057 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
1059 PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
1060 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
1063 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
1071 #include <wx/dcbuffer.h>
1074 #include <wx/dcps.h>
1077 #include <wx/metafile.h>
1081 void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
1082 self
->AddColour(name
, wxColour(red
, green
, blue
));
1085 #include <wx/effects.h>
1090 static PyObject
*_wrap_new_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
*resultobj
;
1092 wxGDIObject
*result
;
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GDIObject",kwnames
)) goto fail
;
1099 if (!wxPyCheckForApp()) SWIG_fail
;
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 result
= (wxGDIObject
*)new wxGDIObject();
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) SWIG_fail
;
1106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGDIObject
, 1);
1113 static PyObject
*_wrap_delete_GDIObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
*resultobj
;
1115 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1116 PyObject
* obj0
= 0 ;
1118 (char *) "self", NULL
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_GDIObject",kwnames
,&obj0
)) goto fail
;
1122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) SWIG_fail
;
1131 Py_INCREF(Py_None
); resultobj
= Py_None
;
1138 static PyObject
*_wrap_GDIObject_GetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
*resultobj
;
1140 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1142 PyObject
* obj0
= 0 ;
1144 (char *) "self", NULL
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_GetVisible",kwnames
,&obj0
)) goto fail
;
1148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 result
= (bool)(arg1
)->GetVisible();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1166 static PyObject
*_wrap_GDIObject_SetVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1170 PyObject
* obj0
= 0 ;
1171 PyObject
* obj1
= 0 ;
1173 (char *) "self",(char *) "visible", NULL
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
1177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1179 arg2
= (bool)SWIG_As_bool(obj1
);
1180 if (PyErr_Occurred()) SWIG_fail
;
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 (arg1
)->SetVisible(arg2
);
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) SWIG_fail
;
1188 Py_INCREF(Py_None
); resultobj
= Py_None
;
1195 static PyObject
*_wrap_GDIObject_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1197 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
1199 PyObject
* obj0
= 0 ;
1201 (char *) "self", NULL
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GDIObject_IsNull",kwnames
,&obj0
)) goto fail
;
1205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGDIObject
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1209 result
= (bool)(arg1
)->IsNull();
1211 wxPyEndAllowThreads(__tstate
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1223 static PyObject
* GDIObject_swigregister(PyObject
*, PyObject
*args
) {
1225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1226 SWIG_TypeClientData(SWIGTYPE_p_wxGDIObject
, obj
);
1228 return Py_BuildValue((char *)"");
1230 static PyObject
*_wrap_new_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
*resultobj
;
1232 byte arg1
= (byte
) 0 ;
1233 byte arg2
= (byte
) 0 ;
1234 byte arg3
= (byte
) 0 ;
1236 PyObject
* obj0
= 0 ;
1237 PyObject
* obj1
= 0 ;
1238 PyObject
* obj2
= 0 ;
1240 (char *) "red",(char *) "green",(char *) "blue", NULL
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1245 arg1
= (byte
)SWIG_As_unsigned_SS_char(obj0
);
1246 if (PyErr_Occurred()) SWIG_fail
;
1249 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1250 if (PyErr_Occurred()) SWIG_fail
;
1253 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) SWIG_fail
;
1263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1270 static PyObject
*_wrap_new_NamedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
*resultobj
;
1272 wxString
*arg1
= 0 ;
1274 bool temp1
= false ;
1275 PyObject
* obj0
= 0 ;
1277 (char *) "colorName", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) goto fail
;
1282 arg1
= wxString_in_helper(obj0
);
1283 if (arg1
== NULL
) SWIG_fail
;
1287 if (!wxPyCheckForApp()) SWIG_fail
;
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1309 static PyObject
*_wrap_new_ColourRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
*resultobj
;
1311 unsigned long arg1
;
1313 PyObject
* obj0
= 0 ;
1315 (char *) "colRGB", NULL
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) goto fail
;
1319 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
1320 if (PyErr_Occurred()) SWIG_fail
;
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 result
= (wxColour
*)new wxColour(arg1
);
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 1);
1335 static PyObject
*_wrap_delete_Colour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
*resultobj
;
1337 wxColour
*arg1
= (wxColour
*) 0 ;
1338 PyObject
* obj0
= 0 ;
1340 (char *) "self", NULL
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Colour",kwnames
,&obj0
)) goto fail
;
1344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1353 Py_INCREF(Py_None
); resultobj
= Py_None
;
1360 static PyObject
*_wrap_Colour_Red(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
*resultobj
;
1362 wxColour
*arg1
= (wxColour
*) 0 ;
1364 PyObject
* obj0
= 0 ;
1366 (char *) "self", NULL
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Red",kwnames
,&obj0
)) goto fail
;
1370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 result
= (byte
)(arg1
)->Red();
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1379 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1386 static PyObject
*_wrap_Colour_Green(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxColour
*arg1
= (wxColour
*) 0 ;
1390 PyObject
* obj0
= 0 ;
1392 (char *) "self", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Green",kwnames
,&obj0
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1400 result
= (byte
)(arg1
)->Green();
1402 wxPyEndAllowThreads(__tstate
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1405 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1412 static PyObject
*_wrap_Colour_Blue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
*resultobj
;
1414 wxColour
*arg1
= (wxColour
*) 0 ;
1416 PyObject
* obj0
= 0 ;
1418 (char *) "self", NULL
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Blue",kwnames
,&obj0
)) goto fail
;
1422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 result
= (byte
)(arg1
)->Blue();
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) SWIG_fail
;
1431 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)result
);
1438 static PyObject
*_wrap_Colour_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxColour
*arg1
= (wxColour
*) 0 ;
1442 PyObject
* obj0
= 0 ;
1444 (char *) "self", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Ok",kwnames
,&obj0
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 result
= (bool)(arg1
)->Ok();
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) SWIG_fail
;
1458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1466 static PyObject
*_wrap_Colour_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 wxColour
*arg1
= (wxColour
*) 0 ;
1472 PyObject
* obj0
= 0 ;
1473 PyObject
* obj1
= 0 ;
1474 PyObject
* obj2
= 0 ;
1475 PyObject
* obj3
= 0 ;
1477 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1483 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1485 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1487 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1488 if (PyErr_Occurred()) SWIG_fail
;
1490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1491 (arg1
)->Set(arg2
,arg3
,arg4
);
1493 wxPyEndAllowThreads(__tstate
);
1494 if (PyErr_Occurred()) SWIG_fail
;
1496 Py_INCREF(Py_None
); resultobj
= Py_None
;
1503 static PyObject
*_wrap_Colour_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxColour
*arg1
= (wxColour
*) 0 ;
1506 unsigned long arg2
;
1507 PyObject
* obj0
= 0 ;
1508 PyObject
* obj1
= 0 ;
1510 (char *) "self",(char *) "colRGB", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1516 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
1517 if (PyErr_Occurred()) SWIG_fail
;
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1525 Py_INCREF(Py_None
); resultobj
= Py_None
;
1532 static PyObject
*_wrap_Colour_SetFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxColour
*arg1
= (wxColour
*) 0 ;
1535 wxString
*arg2
= 0 ;
1536 bool temp2
= false ;
1537 PyObject
* obj0
= 0 ;
1538 PyObject
* obj1
= 0 ;
1540 (char *) "self",(char *) "colourName", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1547 arg2
= wxString_in_helper(obj1
);
1548 if (arg2
== NULL
) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 (arg1
)->InitFromName((wxString
const &)*arg2
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1558 Py_INCREF(Py_None
); resultobj
= Py_None
;
1573 static PyObject
*_wrap_Colour_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1575 wxColour
*arg1
= (wxColour
*) 0 ;
1577 PyObject
* obj0
= 0 ;
1579 (char *) "self", NULL
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetPixel",kwnames
,&obj0
)) goto fail
;
1583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 result
= (long)((wxColour
const *)arg1
)->GetPixel();
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1592 resultobj
= SWIG_From_long((long)result
);
1599 static PyObject
*_wrap_Colour___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxColour
*arg1
= (wxColour
*) 0 ;
1602 wxColour
*arg2
= 0 ;
1605 PyObject
* obj0
= 0 ;
1606 PyObject
* obj1
= 0 ;
1608 (char *) "self",(char *) "colour", NULL
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 result
= (bool)((wxColour
const *)arg1
)->operator ==((wxColour
const &)*arg2
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) SWIG_fail
;
1626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1634 static PyObject
*_wrap_Colour___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxColour
*arg1
= (wxColour
*) 0 ;
1637 wxColour
*arg2
= 0 ;
1640 PyObject
* obj0
= 0 ;
1641 PyObject
* obj1
= 0 ;
1643 (char *) "self",(char *) "colour", NULL
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 result
= (bool)((wxColour
const *)arg1
)->operator !=((wxColour
const &)*arg2
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1669 static PyObject
*_wrap_Colour_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1671 wxColour
*arg1
= (wxColour
*) 0 ;
1673 PyObject
* obj0
= 0 ;
1675 (char *) "self", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_Get",kwnames
,&obj0
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 result
= (PyObject
*)wxColour_Get(arg1
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1695 static PyObject
*_wrap_Colour_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
*resultobj
;
1697 wxColour
*arg1
= (wxColour
*) 0 ;
1698 unsigned long result
;
1699 PyObject
* obj0
= 0 ;
1701 (char *) "self", NULL
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Colour_GetRGB",kwnames
,&obj0
)) goto fail
;
1705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColour
,
1706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 result
= (unsigned long)wxColour_GetRGB(arg1
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1714 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
1721 static PyObject
* Colour_swigregister(PyObject
*, PyObject
*args
) {
1723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1724 SWIG_TypeClientData(SWIGTYPE_p_wxColour
, obj
);
1726 return Py_BuildValue((char *)"");
1728 static PyObject
*_wrap_new_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
*resultobj
;
1731 unsigned char *arg2
= (unsigned char *) 0 ;
1732 unsigned char *arg3
= (unsigned char *) 0 ;
1733 unsigned char *arg4
= (unsigned char *) 0 ;
1735 PyObject
* obj0
= 0 ;
1736 PyObject
* obj1
= 0 ;
1737 PyObject
* obj2
= 0 ;
1738 PyObject
* obj3
= 0 ;
1740 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1744 arg1
= (int)SWIG_As_int(obj0
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_unsigned_char
,
1747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1748 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
1749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1750 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_unsigned_char
,
1751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1753 if (!wxPyCheckForApp()) SWIG_fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 1);
1767 static PyObject
*_wrap_delete_Palette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxPalette
*arg1
= (wxPalette
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1772 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Palette",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 Py_INCREF(Py_None
); resultobj
= Py_None
;
1792 static PyObject
*_wrap_Palette_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxPalette
*arg1
= (wxPalette
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1800 PyObject
* obj1
= 0 ;
1801 PyObject
* obj2
= 0 ;
1802 PyObject
* obj3
= 0 ;
1804 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
1808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 arg2
= (byte
)SWIG_As_unsigned_SS_char(obj1
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1812 arg3
= (byte
)SWIG_As_unsigned_SS_char(obj2
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1814 arg4
= (byte
)SWIG_As_unsigned_SS_char(obj3
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1823 resultobj
= SWIG_From_int((int)result
);
1830 static PyObject
*_wrap_Palette_GetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxPalette
*arg1
= (wxPalette
*) 0 ;
1834 byte
*arg3
= (byte
*) 0 ;
1835 byte
*arg4
= (byte
*) 0 ;
1836 byte
*arg5
= (byte
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1845 PyObject
* obj1
= 0 ;
1847 (char *) "self",(char *) "pixel", NULL
1850 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
1851 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
1852 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) goto fail
;
1854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1856 arg2
= (int)SWIG_As_int(obj1
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1868 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
1869 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_byte
, 0)));
1870 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
1871 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_byte
, 0)));
1872 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
1873 SWIG_From_unsigned_SS_char((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_byte
, 0)));
1880 static PyObject
*_wrap_Palette_GetColoursCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
*resultobj
;
1882 wxPalette
*arg1
= (wxPalette
*) 0 ;
1884 PyObject
* obj0
= 0 ;
1886 (char *) "self", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_GetColoursCount",kwnames
,&obj0
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1899 resultobj
= SWIG_From_int((int)result
);
1906 static PyObject
*_wrap_Palette_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 wxPalette
*arg1
= (wxPalette
*) 0 ;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "self", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Palette_Ok",kwnames
,&obj0
)) goto fail
;
1916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPalette
,
1917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 result
= (bool)(arg1
)->Ok();
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1934 static PyObject
* Palette_swigregister(PyObject
*, PyObject
*args
) {
1936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1937 SWIG_TypeClientData(SWIGTYPE_p_wxPalette
, obj
);
1939 return Py_BuildValue((char *)"");
1941 static PyObject
*_wrap_new_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
*resultobj
;
1943 wxColour
*arg1
= 0 ;
1944 int arg2
= (int) 1 ;
1945 int arg3
= (int) wxSOLID
;
1948 PyObject
* obj0
= 0 ;
1949 PyObject
* obj1
= 0 ;
1950 PyObject
* obj2
= 0 ;
1952 (char *) "colour",(char *) "width",(char *) "style", NULL
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1958 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
1961 arg2
= (int)SWIG_As_int(obj1
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1965 arg3
= (int)SWIG_As_int(obj2
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1969 if (!wxPyCheckForApp()) SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 1);
1983 static PyObject
*_wrap_delete_Pen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
*resultobj
;
1985 wxPen
*arg1
= (wxPen
*) 0 ;
1986 PyObject
* obj0
= 0 ;
1988 (char *) "self", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Pen",kwnames
,&obj0
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 Py_INCREF(Py_None
); resultobj
= Py_None
;
2008 static PyObject
*_wrap_Pen_GetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxPen
*arg1
= (wxPen
*) 0 ;
2012 PyObject
* obj0
= 0 ;
2014 (char *) "self", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetCap",kwnames
,&obj0
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 result
= (int)(arg1
)->GetCap();
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 resultobj
= SWIG_From_int((int)result
);
2034 static PyObject
*_wrap_Pen_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxPen
*arg1
= (wxPen
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2040 (char *) "self", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetColour",kwnames
,&obj0
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (arg1
)->GetColour();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2054 wxColour
* resultptr
;
2055 resultptr
= new wxColour((wxColour
&) result
);
2056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2064 static PyObject
*_wrap_Pen_GetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxPen
*arg1
= (wxPen
*) 0 ;
2068 PyObject
* obj0
= 0 ;
2070 (char *) "self", NULL
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetJoin",kwnames
,&obj0
)) goto fail
;
2074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 result
= (int)(arg1
)->GetJoin();
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2083 resultobj
= SWIG_From_int((int)result
);
2090 static PyObject
*_wrap_Pen_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxPen
*arg1
= (wxPen
*) 0 ;
2094 PyObject
* obj0
= 0 ;
2096 (char *) "self", NULL
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetStyle",kwnames
,&obj0
)) goto fail
;
2100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 result
= (int)(arg1
)->GetStyle();
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2109 resultobj
= SWIG_From_int((int)result
);
2116 static PyObject
*_wrap_Pen_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
*resultobj
;
2118 wxPen
*arg1
= (wxPen
*) 0 ;
2120 PyObject
* obj0
= 0 ;
2122 (char *) "self", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetWidth",kwnames
,&obj0
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 result
= (int)(arg1
)->GetWidth();
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) SWIG_fail
;
2135 resultobj
= SWIG_From_int((int)result
);
2142 static PyObject
*_wrap_Pen_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
*resultobj
;
2144 wxPen
*arg1
= (wxPen
*) 0 ;
2146 PyObject
* obj0
= 0 ;
2148 (char *) "self", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_Ok",kwnames
,&obj0
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= (bool)(arg1
)->Ok();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2170 static PyObject
*_wrap_Pen_SetCap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxPen
*arg1
= (wxPen
*) 0 ;
2174 PyObject
* obj0
= 0 ;
2175 PyObject
* obj1
= 0 ;
2177 (char *) "self",(char *) "cap_style", NULL
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) goto fail
;
2181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2183 arg2
= (int)SWIG_As_int(obj1
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 (arg1
)->SetCap(arg2
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2192 Py_INCREF(Py_None
); resultobj
= Py_None
;
2199 static PyObject
*_wrap_Pen_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
*resultobj
;
2201 wxPen
*arg1
= (wxPen
*) 0 ;
2202 wxColour
*arg2
= 0 ;
2204 PyObject
* obj0
= 0 ;
2205 PyObject
* obj1
= 0 ;
2207 (char *) "self",(char *) "colour", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 (arg1
)->SetColour(*arg2
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2231 static PyObject
*_wrap_Pen_SetJoin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxPen
*arg1
= (wxPen
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2236 PyObject
* obj1
= 0 ;
2238 (char *) "self",(char *) "join_style", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 arg2
= (int)SWIG_As_int(obj1
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 (arg1
)->SetJoin(arg2
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_Pen_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxPen
*arg1
= (wxPen
*) 0 ;
2264 PyObject
* obj0
= 0 ;
2265 PyObject
* obj1
= 0 ;
2267 (char *) "self",(char *) "style", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2273 arg2
= (int)SWIG_As_int(obj1
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 (arg1
)->SetStyle(arg2
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) SWIG_fail
;
2282 Py_INCREF(Py_None
); resultobj
= Py_None
;
2289 static PyObject
*_wrap_Pen_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxPen
*arg1
= (wxPen
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2296 (char *) "self",(char *) "width", NULL
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2302 arg2
= (int)SWIG_As_int(obj1
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 (arg1
)->SetWidth(arg2
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 Py_INCREF(Py_None
); resultobj
= Py_None
;
2318 static PyObject
*_wrap_Pen_SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxPen
*arg1
= (wxPen
*) 0 ;
2322 wxDash
*arg3
= (wxDash
*) 0 ;
2323 PyObject
* obj0
= 0 ;
2324 PyObject
* obj1
= 0 ;
2326 (char *) "self",(char *) "dashes", NULL
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) goto fail
;
2330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2333 arg2
= PyList_Size(obj1
);
2334 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
2335 if (arg3
== NULL
) SWIG_fail
;
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 (arg1
)->SetDashes(arg2
,arg3
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) SWIG_fail
;
2344 Py_INCREF(Py_None
); resultobj
= Py_None
;
2346 if (arg3
) delete [] arg3
;
2351 if (arg3
) delete [] arg3
;
2357 static PyObject
*_wrap_Pen_GetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxPen
*arg1
= (wxPen
*) 0 ;
2361 PyObject
* obj0
= 0 ;
2363 (char *) "self", NULL
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Pen_GetDashes",kwnames
,&obj0
)) goto fail
;
2367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 result
= (PyObject
*)wxPen_GetDashes(arg1
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2383 static PyObject
*_wrap_Pen__SetDashes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxPen
*arg1
= (wxPen
*) 0 ;
2386 PyObject
*arg2
= (PyObject
*) 0 ;
2387 PyObject
*arg3
= (PyObject
*) 0 ;
2388 PyObject
* obj0
= 0 ;
2389 PyObject
* obj1
= 0 ;
2390 PyObject
* obj2
= 0 ;
2392 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 wxPen__SetDashes(arg1
,arg2
,arg3
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2407 Py_INCREF(Py_None
); resultobj
= Py_None
;
2414 static PyObject
*_wrap_Pen___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxPen
*arg1
= (wxPen
*) 0 ;
2417 wxPen
*arg2
= (wxPen
*) 0 ;
2419 PyObject
* obj0
= 0 ;
2420 PyObject
* obj1
= 0 ;
2422 (char *) "self",(char *) "other", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2446 static PyObject
*_wrap_Pen___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxPen
*arg1
= (wxPen
*) 0 ;
2449 wxPen
*arg2
= (wxPen
*) 0 ;
2451 PyObject
* obj0
= 0 ;
2452 PyObject
* obj1
= 0 ;
2454 (char *) "self",(char *) "other", NULL
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPen
,
2459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
2461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2478 static PyObject
* Pen_swigregister(PyObject
*, PyObject
*args
) {
2480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2481 SWIG_TypeClientData(SWIGTYPE_p_wxPen
, obj
);
2483 return Py_BuildValue((char *)"");
2485 static PyObject
*_wrap_new_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 wxColour
*arg1
= 0 ;
2488 int arg2
= (int) wxSOLID
;
2491 PyObject
* obj0
= 0 ;
2492 PyObject
* obj1
= 0 ;
2494 (char *) "colour",(char *) "style", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) goto fail
;
2500 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
2503 arg2
= (int)SWIG_As_int(obj1
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2507 if (!wxPyCheckForApp()) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) SWIG_fail
;
2514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 1);
2521 static PyObject
*_wrap_delete_Brush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
*resultobj
;
2523 wxBrush
*arg1
= (wxBrush
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2526 (char *) "self", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Brush",kwnames
,&obj0
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 Py_INCREF(Py_None
); resultobj
= Py_None
;
2546 static PyObject
*_wrap_Brush_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 wxBrush
*arg1
= (wxBrush
*) 0 ;
2549 wxColour
*arg2
= 0 ;
2551 PyObject
* obj0
= 0 ;
2552 PyObject
* obj1
= 0 ;
2554 (char *) "self",(char *) "col", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
2558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 (arg1
)->SetColour((wxColour
const &)*arg2
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2571 Py_INCREF(Py_None
); resultobj
= Py_None
;
2578 static PyObject
*_wrap_Brush_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
*resultobj
;
2580 wxBrush
*arg1
= (wxBrush
*) 0 ;
2582 PyObject
* obj0
= 0 ;
2583 PyObject
* obj1
= 0 ;
2585 (char *) "self",(char *) "style", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
2589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2591 arg2
= (int)SWIG_As_int(obj1
);
2592 if (PyErr_Occurred()) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 (arg1
)->SetStyle(arg2
);
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2600 Py_INCREF(Py_None
); resultobj
= Py_None
;
2607 static PyObject
*_wrap_Brush_SetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
*resultobj
;
2609 wxBrush
*arg1
= (wxBrush
*) 0 ;
2610 wxBitmap
*arg2
= 0 ;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2614 (char *) "self",(char *) "stipple", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) goto fail
;
2618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
2621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2624 PyErr_SetString(PyExc_TypeError
,"null reference");
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2634 Py_INCREF(Py_None
); resultobj
= Py_None
;
2641 static PyObject
*_wrap_Brush_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxBrush
*arg1
= (wxBrush
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2647 (char *) "self", NULL
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetColour",kwnames
,&obj0
)) goto fail
;
2651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 result
= ((wxBrush
const *)arg1
)->GetColour();
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2661 wxColour
* resultptr
;
2662 resultptr
= new wxColour((wxColour
&) result
);
2663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
2671 static PyObject
*_wrap_Brush_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2673 wxBrush
*arg1
= (wxBrush
*) 0 ;
2675 PyObject
* obj0
= 0 ;
2677 (char *) "self", NULL
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStyle",kwnames
,&obj0
)) goto fail
;
2681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2690 resultobj
= SWIG_From_int((int)result
);
2697 static PyObject
*_wrap_Brush_GetStipple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2699 wxBrush
*arg1
= (wxBrush
*) 0 ;
2701 PyObject
* obj0
= 0 ;
2703 (char *) "self", NULL
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_GetStipple",kwnames
,&obj0
)) goto fail
;
2707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
2723 static PyObject
*_wrap_Brush_IsHatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
*resultobj
;
2725 wxBrush
*arg1
= (wxBrush
*) 0 ;
2727 PyObject
* obj0
= 0 ;
2729 (char *) "self", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_IsHatch",kwnames
,&obj0
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2751 static PyObject
*_wrap_Brush_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxBrush
*arg1
= (wxBrush
*) 0 ;
2755 PyObject
* obj0
= 0 ;
2757 (char *) "self", NULL
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_Ok",kwnames
,&obj0
)) goto fail
;
2761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 result
= (bool)(arg1
)->Ok();
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2779 static PyObject
*_wrap_Brush_MacGetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxBrush
*arg1
= (wxBrush
*) 0 ;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "self", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Brush_MacGetTheme",kwnames
,&obj0
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 result
= (short)(arg1
)->MacGetTheme();
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 resultobj
= SWIG_From_short((short)result
);
2805 static PyObject
*_wrap_Brush_MacSetTheme(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxBrush
*arg1
= (wxBrush
*) 0 ;
2809 PyObject
* obj0
= 0 ;
2810 PyObject
* obj1
= 0 ;
2812 (char *) "self",(char *) "macThemeBrush", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrush
,
2817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2818 arg2
= (short)SWIG_As_short(obj1
);
2819 if (PyErr_Occurred()) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 (arg1
)->MacSetTheme(arg2
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2834 static PyObject
* Brush_swigregister(PyObject
*, PyObject
*args
) {
2836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2837 SWIG_TypeClientData(SWIGTYPE_p_wxBrush
, obj
);
2839 return Py_BuildValue((char *)"");
2841 static PyObject
*_wrap_new_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxString
*arg1
= 0 ;
2844 int arg2
= (int) wxBITMAP_TYPE_ANY
;
2846 bool temp1
= false ;
2847 PyObject
* obj0
= 0 ;
2848 PyObject
* obj1
= 0 ;
2850 (char *) "name",(char *) "type", NULL
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
2855 arg1
= wxString_in_helper(obj0
);
2856 if (arg1
== NULL
) SWIG_fail
;
2860 arg2
= (int)SWIG_As_int(obj1
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2864 if (!wxPyCheckForApp()) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,(wxBitmapType
)arg2
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2886 static PyObject
*_wrap_delete_Bitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2888 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2891 (char *) "self", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Bitmap",kwnames
,&obj0
)) goto fail
;
2895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
2896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 Py_INCREF(Py_None
); resultobj
= Py_None
;
2911 static PyObject
*_wrap_new_EmptyBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2915 int arg3
= (int) -1 ;
2917 PyObject
* obj0
= 0 ;
2918 PyObject
* obj1
= 0 ;
2919 PyObject
* obj2
= 0 ;
2921 (char *) "width",(char *) "height",(char *) "depth", NULL
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2925 arg1
= (int)SWIG_As_int(obj0
);
2926 if (PyErr_Occurred()) SWIG_fail
;
2927 arg2
= (int)SWIG_As_int(obj1
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2930 arg3
= (int)SWIG_As_int(obj2
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2934 if (!wxPyCheckForApp()) SWIG_fail
;
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2948 static PyObject
*_wrap_new_BitmapFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "icon", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
2959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2962 PyErr_SetString(PyExc_TypeError
,"null reference");
2966 if (!wxPyCheckForApp()) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
2980 static PyObject
*_wrap_new_BitmapFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2983 int arg2
= (int) -1 ;
2985 PyObject
* obj0
= 0 ;
2986 PyObject
* obj1
= 0 ;
2988 (char *) "image",(char *) "depth", NULL
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) goto fail
;
2992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
2993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2996 PyErr_SetString(PyExc_TypeError
,"null reference");
3000 arg2
= (int)SWIG_As_int(obj1
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3004 if (!wxPyCheckForApp()) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3018 static PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
*resultobj
;
3020 PyObject
*arg1
= (PyObject
*) 0 ;
3022 PyObject
* obj0
= 0 ;
3024 (char *) "listOfStrings", NULL
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) goto fail
;
3030 if (!wxPyCheckForApp()) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (wxBitmap
*)new_wxBitmap(arg1
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3044 static PyObject
*_wrap_new_BitmapFromBits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 PyObject
*arg1
= (PyObject
*) 0 ;
3049 int arg4
= (int) 1 ;
3051 PyObject
* obj0
= 0 ;
3052 PyObject
* obj1
= 0 ;
3053 PyObject
* obj2
= 0 ;
3054 PyObject
* obj3
= 0 ;
3056 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3061 arg2
= (int)SWIG_As_int(obj1
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3063 arg3
= (int)SWIG_As_int(obj2
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3066 arg4
= (int)SWIG_As_int(obj3
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3070 if (!wxPyCheckForApp()) SWIG_fail
;
3071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3072 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
3074 wxPyEndAllowThreads(__tstate
);
3075 if (PyErr_Occurred()) SWIG_fail
;
3077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 1);
3084 static PyObject
*_wrap_Bitmap_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
*resultobj
;
3086 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3088 PyObject
* obj0
= 0 ;
3090 (char *) "self", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_Ok",kwnames
,&obj0
)) goto fail
;
3094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 result
= (bool)(arg1
)->Ok();
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) SWIG_fail
;
3104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3112 static PyObject
*_wrap_Bitmap_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
*resultobj
;
3114 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3116 PyObject
* obj0
= 0 ;
3118 (char *) "self", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetWidth",kwnames
,&obj0
)) goto fail
;
3122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 result
= (int)(arg1
)->GetWidth();
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= SWIG_From_int((int)result
);
3138 static PyObject
*_wrap_Bitmap_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "self", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetHeight",kwnames
,&obj0
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 result
= (int)(arg1
)->GetHeight();
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3157 resultobj
= SWIG_From_int((int)result
);
3164 static PyObject
*_wrap_Bitmap_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3168 PyObject
* obj0
= 0 ;
3170 (char *) "self", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetDepth",kwnames
,&obj0
)) goto fail
;
3174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 result
= (int)(arg1
)->GetDepth();
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3183 resultobj
= SWIG_From_int((int)result
);
3190 static PyObject
*_wrap_Bitmap_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
*resultobj
;
3192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3194 PyObject
* obj0
= 0 ;
3196 (char *) "self", NULL
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetSize",kwnames
,&obj0
)) goto fail
;
3200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= wxBitmap_GetSize(arg1
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3211 resultptr
= new wxSize((wxSize
&) result
);
3212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3220 static PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3223 SwigValueWrapper
< wxImage
> result
;
3224 PyObject
* obj0
= 0 ;
3226 (char *) "self", NULL
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_ConvertToImage",kwnames
,&obj0
)) goto fail
;
3230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3240 wxImage
* resultptr
;
3241 resultptr
= new wxImage((wxImage
&) result
);
3242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
3250 static PyObject
*_wrap_Bitmap_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3254 PyObject
* obj0
= 0 ;
3256 (char *) "self", NULL
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetMask",kwnames
,&obj0
)) goto fail
;
3260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 0);
3276 static PyObject
*_wrap_Bitmap_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3279 wxMask
*arg2
= (wxMask
*) 0 ;
3280 PyObject
* obj0
= 0 ;
3281 PyObject
* obj1
= 0 ;
3283 (char *) "self",(char *) "mask", NULL
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
3287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMask
,
3290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 (arg1
)->SetMask(arg2
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 Py_INCREF(Py_None
); resultobj
= Py_None
;
3305 static PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3308 wxColour
*arg2
= 0 ;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3313 (char *) "self",(char *) "colour", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) goto fail
;
3317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3321 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3330 Py_INCREF(Py_None
); resultobj
= Py_None
;
3337 static PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3341 SwigValueWrapper
< wxBitmap
> result
;
3343 PyObject
* obj0
= 0 ;
3344 PyObject
* obj1
= 0 ;
3346 (char *) "self",(char *) "rect", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3354 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 wxBitmap
* resultptr
;
3365 resultptr
= new wxBitmap((wxBitmap
&) result
);
3366 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
3374 static PyObject
*_wrap_Bitmap_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3377 wxString
*arg2
= 0 ;
3379 wxPalette
*arg4
= (wxPalette
*) NULL
;
3381 bool temp2
= false ;
3382 PyObject
* obj0
= 0 ;
3383 PyObject
* obj1
= 0 ;
3384 PyObject
* obj2
= 0 ;
3385 PyObject
* obj3
= 0 ;
3387 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3394 arg2
= wxString_in_helper(obj1
);
3395 if (arg2
== NULL
) SWIG_fail
;
3398 arg3
= (int)SWIG_As_int(obj2
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxPalette
,
3402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
,arg4
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3428 static PyObject
*_wrap_Bitmap_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3431 wxString
*arg2
= 0 ;
3434 bool temp2
= false ;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3437 PyObject
* obj2
= 0 ;
3439 (char *) "self",(char *) "name",(char *) "type", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 arg2
= wxString_in_helper(obj1
);
3447 if (arg2
== NULL
) SWIG_fail
;
3450 arg3
= (int)SWIG_As_int(obj2
);
3451 if (PyErr_Occurred()) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxBitmapType
)arg3
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3476 static PyObject
*_wrap_Bitmap_GetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3482 (char *) "self", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Bitmap_GetPalette",kwnames
,&obj0
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPalette
, 0);
3502 static PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3510 (char *) "self",(char *) "icon", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3520 PyErr_SetString(PyExc_TypeError
,"null reference");
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3539 static PyObject
*_wrap_Bitmap_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
*resultobj
;
3541 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3543 PyObject
* obj0
= 0 ;
3544 PyObject
* obj1
= 0 ;
3546 (char *) "self",(char *) "height", NULL
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3552 arg2
= (int)SWIG_As_int(obj1
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 (arg1
)->SetHeight(arg2
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3561 Py_INCREF(Py_None
); resultobj
= Py_None
;
3568 static PyObject
*_wrap_Bitmap_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3573 PyObject
* obj1
= 0 ;
3575 (char *) "self",(char *) "width", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 arg2
= (int)SWIG_As_int(obj1
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 (arg1
)->SetWidth(arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 Py_INCREF(Py_None
); resultobj
= Py_None
;
3597 static PyObject
*_wrap_Bitmap_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "depth", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 arg2
= (int)SWIG_As_int(obj1
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 (arg1
)->SetDepth(arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 Py_INCREF(Py_None
); resultobj
= Py_None
;
3626 static PyObject
*_wrap_Bitmap_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3634 (char *) "self",(char *) "size", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3642 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_Bitmap___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3661 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3666 (char *) "self",(char *) "other", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3690 static PyObject
*_wrap_Bitmap___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
3693 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
3695 PyObject
* obj0
= 0 ;
3696 PyObject
* obj1
= 0 ;
3698 (char *) "self",(char *) "other", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3722 static PyObject
* Bitmap_swigregister(PyObject
*, PyObject
*args
) {
3724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3725 SWIG_TypeClientData(SWIGTYPE_p_wxBitmap
, obj
);
3727 return Py_BuildValue((char *)"");
3729 static PyObject
*_wrap_new_Mask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxBitmap
*arg1
= 0 ;
3732 wxColour
const &arg2_defvalue
= wxNullColour
;
3733 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
3736 PyObject
* obj0
= 0 ;
3737 PyObject
* obj1
= 0 ;
3739 (char *) "bitmap",(char *) "colour", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3747 PyErr_SetString(PyExc_TypeError
,"null reference");
3753 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3757 if (!wxPyCheckForApp()) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMask
, 1);
3771 static PyObject
* Mask_swigregister(PyObject
*, PyObject
*args
) {
3773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3774 SWIG_TypeClientData(SWIGTYPE_p_wxMask
, obj
);
3776 return Py_BuildValue((char *)"");
3778 static PyObject
*_wrap_new_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxString
*arg1
= 0 ;
3782 int arg3
= (int) -1 ;
3783 int arg4
= (int) -1 ;
3785 bool temp1
= false ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3788 PyObject
* obj2
= 0 ;
3789 PyObject
* obj3
= 0 ;
3791 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3796 arg1
= wxString_in_helper(obj0
);
3797 if (arg1
== NULL
) SWIG_fail
;
3800 arg2
= (int)SWIG_As_int(obj1
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 arg3
= (int)SWIG_As_int(obj2
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 arg4
= (int)SWIG_As_int(obj3
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3811 if (!wxPyCheckForApp()) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,(wxBitmapType
)arg2
,arg3
,arg4
);
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3833 static PyObject
*_wrap_delete_Icon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxIcon
*arg1
= (wxIcon
*) 0 ;
3836 PyObject
* obj0
= 0 ;
3838 (char *) "self", NULL
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Icon",kwnames
,&obj0
)) goto fail
;
3842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3851 Py_INCREF(Py_None
); resultobj
= Py_None
;
3858 static PyObject
*_wrap_new_EmptyIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EmptyIcon",kwnames
)) goto fail
;
3867 if (!wxPyCheckForApp()) SWIG_fail
;
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 result
= (wxIcon
*)new wxIcon();
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3881 static PyObject
*_wrap_new_IconFromLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxIconLocation
*arg1
= 0 ;
3885 PyObject
* obj0
= 0 ;
3887 (char *) "loc", NULL
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) goto fail
;
3891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
3892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3895 PyErr_SetString(PyExc_TypeError
,"null reference");
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3913 static PyObject
*_wrap_new_IconFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxBitmap
*arg1
= 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "bmp", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3927 PyErr_SetString(PyExc_TypeError
,"null reference");
3931 if (!wxPyCheckForApp()) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3945 static PyObject
*_wrap_new_IconFromXPMData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 PyObject
*arg1
= (PyObject
*) 0 ;
3949 PyObject
* obj0
= 0 ;
3951 (char *) "listOfStrings", NULL
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) goto fail
;
3957 if (!wxPyCheckForApp()) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (wxIcon
*)new_wxIcon(arg1
);
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
3971 static PyObject
*_wrap_Icon_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3973 wxIcon
*arg1
= (wxIcon
*) 0 ;
3975 PyObject
* obj0
= 0 ;
3977 (char *) "self", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_Ok",kwnames
,&obj0
)) goto fail
;
3981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
3982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 result
= (bool)(arg1
)->Ok();
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3999 static PyObject
*_wrap_Icon_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxIcon
*arg1
= (wxIcon
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4005 (char *) "self", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetWidth",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (int)(arg1
)->GetWidth();
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= SWIG_From_int((int)result
);
4025 static PyObject
*_wrap_Icon_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxIcon
*arg1
= (wxIcon
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4031 (char *) "self", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetHeight",kwnames
,&obj0
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (int)(arg1
)->GetHeight();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_From_int((int)result
);
4051 static PyObject
*_wrap_Icon_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxIcon
*arg1
= (wxIcon
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Icon_GetDepth",kwnames
,&obj0
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= (int)(arg1
)->GetDepth();
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= SWIG_From_int((int)result
);
4077 static PyObject
*_wrap_Icon_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxIcon
*arg1
= (wxIcon
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4082 PyObject
* obj1
= 0 ;
4084 (char *) "self",(char *) "w", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4090 arg2
= (int)SWIG_As_int(obj1
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 (arg1
)->SetWidth(arg2
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 Py_INCREF(Py_None
); resultobj
= Py_None
;
4106 static PyObject
*_wrap_Icon_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxIcon
*arg1
= (wxIcon
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4113 (char *) "self",(char *) "h", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 arg2
= (int)SWIG_As_int(obj1
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 (arg1
)->SetHeight(arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_Icon_SetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxIcon
*arg1
= (wxIcon
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4140 PyObject
* obj1
= 0 ;
4142 (char *) "self",(char *) "d", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4148 arg2
= (int)SWIG_As_int(obj1
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 (arg1
)->SetDepth(arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 Py_INCREF(Py_None
); resultobj
= Py_None
;
4164 static PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
;
4166 wxIcon
*arg1
= (wxIcon
*) 0 ;
4167 wxBitmap
*arg2
= 0 ;
4168 PyObject
* obj0
= 0 ;
4169 PyObject
* obj1
= 0 ;
4171 (char *) "self",(char *) "bmp", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4181 PyErr_SetString(PyExc_TypeError
,"null reference");
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 Py_INCREF(Py_None
); resultobj
= Py_None
;
4198 static PyObject
* Icon_swigregister(PyObject
*, PyObject
*args
) {
4200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4201 SWIG_TypeClientData(SWIGTYPE_p_wxIcon
, obj
);
4203 return Py_BuildValue((char *)"");
4205 static PyObject
*_wrap_new_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
4208 int arg2
= (int) 0 ;
4209 wxIconLocation
*result
;
4210 bool temp1
= false ;
4211 PyObject
* obj0
= 0 ;
4212 PyObject
* obj1
= 0 ;
4214 (char *) "filename",(char *) "num", NULL
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
4220 arg1
= wxString_in_helper(obj0
);
4221 if (arg1
== NULL
) SWIG_fail
;
4226 arg2
= (int)SWIG_As_int(obj1
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconLocation
, 1);
4251 static PyObject
*_wrap_delete_IconLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4254 PyObject
* obj0
= 0 ;
4256 (char *) "self", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconLocation",kwnames
,&obj0
)) goto fail
;
4260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 Py_INCREF(Py_None
); resultobj
= Py_None
;
4276 static PyObject
*_wrap_IconLocation_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4282 (char *) "self", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_IsOk",kwnames
,&obj0
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4304 static PyObject
*_wrap_IconLocation_SetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4307 wxString
*arg2
= 0 ;
4308 bool temp2
= false ;
4309 PyObject
* obj0
= 0 ;
4310 PyObject
* obj1
= 0 ;
4312 (char *) "self",(char *) "filename", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) goto fail
;
4316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4319 arg2
= wxString_in_helper(obj1
);
4320 if (arg2
== NULL
) SWIG_fail
;
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 (arg1
)->SetFileName((wxString
const &)*arg2
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4345 static PyObject
*_wrap_IconLocation_GetFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4349 PyObject
* obj0
= 0 ;
4351 (char *) "self", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetFileName",kwnames
,&obj0
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
4361 result
= (wxString
*) &_result_ref
;
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
4371 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
4380 static PyObject
*_wrap_IconLocation_SetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4387 (char *) "self",(char *) "num", NULL
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
4391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4393 arg2
= (int)SWIG_As_int(obj1
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 wxIconLocation_SetIndex(arg1
,arg2
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 Py_INCREF(Py_None
); resultobj
= Py_None
;
4409 static PyObject
*_wrap_IconLocation_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
4413 PyObject
* obj0
= 0 ;
4415 (char *) "self", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconLocation_GetIndex",kwnames
,&obj0
)) goto fail
;
4419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconLocation
,
4420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (int)wxIconLocation_GetIndex(arg1
);
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4428 resultobj
= SWIG_From_int((int)result
);
4435 static PyObject
* IconLocation_swigregister(PyObject
*, PyObject
*args
) {
4437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4438 SWIG_TypeClientData(SWIGTYPE_p_wxIconLocation
, obj
);
4440 return Py_BuildValue((char *)"");
4442 static PyObject
*_wrap_new_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4444 wxIconBundle
*result
;
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IconBundle",kwnames
)) goto fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (wxIconBundle
*)new wxIconBundle();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4464 static PyObject
*_wrap_new_IconBundleFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxString
*arg1
= 0 ;
4468 wxIconBundle
*result
;
4469 bool temp1
= false ;
4470 PyObject
* obj0
= 0 ;
4471 PyObject
* obj1
= 0 ;
4473 (char *) "file",(char *) "type", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) goto fail
;
4478 arg1
= wxString_in_helper(obj0
);
4479 if (arg1
== NULL
) SWIG_fail
;
4482 arg2
= (long)SWIG_As_long(obj1
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4506 static PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4509 wxIconBundle
*result
;
4510 PyObject
* obj0
= 0 ;
4512 (char *) "icon", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
4517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4520 PyErr_SetString(PyExc_TypeError
,"null reference");
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconBundle
, 1);
4537 static PyObject
*_wrap_delete_IconBundle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_IconBundle",kwnames
,&obj0
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 Py_INCREF(Py_None
); resultobj
= Py_None
;
4562 static PyObject
*_wrap_IconBundle_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4566 PyObject
* obj0
= 0 ;
4567 PyObject
* obj1
= 0 ;
4569 (char *) "self",(char *) "icon", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
4576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4579 PyErr_SetString(PyExc_TypeError
,"null reference");
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 Py_INCREF(Py_None
); resultobj
= Py_None
;
4596 static PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4599 wxString
*arg2
= 0 ;
4601 bool temp2
= false ;
4602 PyObject
* obj0
= 0 ;
4603 PyObject
* obj1
= 0 ;
4604 PyObject
* obj2
= 0 ;
4606 (char *) "self",(char *) "file",(char *) "type", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 arg2
= wxString_in_helper(obj1
);
4614 if (arg2
== NULL
) SWIG_fail
;
4617 arg3
= (long)SWIG_As_long(obj2
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 Py_INCREF(Py_None
); resultobj
= Py_None
;
4641 static PyObject
*_wrap_IconBundle_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
4647 PyObject
* obj0
= 0 ;
4648 PyObject
* obj1
= 0 ;
4650 (char *) "self",(char *) "size", NULL
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconBundle
,
4655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
4664 result
= (wxIcon
*) &_result_ref
;
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4671 wxIcon
* resultptr
= new wxIcon(*result
);
4672 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4680 static PyObject
* IconBundle_swigregister(PyObject
*, PyObject
*args
) {
4682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4683 SWIG_TypeClientData(SWIGTYPE_p_wxIconBundle
, obj
);
4685 return Py_BuildValue((char *)"");
4687 static PyObject
*_wrap_new_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxString
*arg1
= (wxString
*) 0 ;
4691 int arg3
= (int) 0 ;
4692 int arg4
= (int) 0 ;
4694 bool temp1
= false ;
4695 PyObject
* obj0
= 0 ;
4696 PyObject
* obj1
= 0 ;
4697 PyObject
* obj2
= 0 ;
4698 PyObject
* obj3
= 0 ;
4700 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4705 arg1
= wxString_in_helper(obj0
);
4706 if (arg1
== NULL
) SWIG_fail
;
4709 arg2
= (long)SWIG_As_long(obj1
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 arg3
= (int)SWIG_As_int(obj2
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4716 arg4
= (int)SWIG_As_int(obj3
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 if (!wxPyCheckForApp()) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (wxCursor
*)new_wxCursor((wxString
const *)arg1
,arg2
,arg3
,arg4
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4742 static PyObject
*_wrap_delete_Cursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxCursor
*arg1
= (wxCursor
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4747 (char *) "self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Cursor",kwnames
,&obj0
)) goto fail
;
4751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 Py_INCREF(Py_None
); resultobj
= Py_None
;
4767 static PyObject
*_wrap_new_StockCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4771 PyObject
* obj0
= 0 ;
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) goto fail
;
4777 arg1
= (int)SWIG_As_int(obj0
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 if (!wxPyCheckForApp()) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (wxCursor
*)new wxCursor(arg1
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4794 static PyObject
*_wrap_new_CursorFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4798 PyObject
* obj0
= 0 ;
4800 (char *) "image", NULL
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) goto fail
;
4804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
4805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4808 PyErr_SetString(PyExc_TypeError
,"null reference");
4812 if (!wxPyCheckForApp()) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 1);
4826 static PyObject
*_wrap_Cursor_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
*resultobj
;
4828 wxCursor
*arg1
= (wxCursor
*) 0 ;
4830 PyObject
* obj0
= 0 ;
4832 (char *) "self", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Cursor_Ok",kwnames
,&obj0
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (bool)(arg1
)->Ok();
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 static PyObject
* Cursor_swigregister(PyObject
*, PyObject
*args
) {
4856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4857 SWIG_TypeClientData(SWIGTYPE_p_wxCursor
, obj
);
4859 return Py_BuildValue((char *)"");
4861 static PyObject
*_wrap_new_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 int arg1
= (int) 0 ;
4864 int arg2
= (int) 0 ;
4865 int arg3
= (int) 0 ;
4866 int arg4
= (int) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 PyObject
* obj2
= 0 ;
4871 PyObject
* obj3
= 0 ;
4873 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4878 arg1
= (int)SWIG_As_int(obj0
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4882 arg2
= (int)SWIG_As_int(obj1
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4886 arg3
= (int)SWIG_As_int(obj2
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4890 arg4
= (int)SWIG_As_int(obj3
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4894 if (!wxPyCheckForApp()) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4908 static PyObject
*_wrap_new_RegionFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxBitmap
*arg1
= 0 ;
4912 PyObject
* obj0
= 0 ;
4914 (char *) "bmp", NULL
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) goto fail
;
4918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4922 PyErr_SetString(PyExc_TypeError
,"null reference");
4926 if (!wxPyCheckForApp()) SWIG_fail
;
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4940 static PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
;
4942 wxBitmap
*arg1
= 0 ;
4943 wxColour
*arg2
= 0 ;
4944 int arg3
= (int) 0 ;
4947 PyObject
* obj0
= 0 ;
4948 PyObject
* obj1
= 0 ;
4949 PyObject
* obj2
= 0 ;
4951 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4959 PyErr_SetString(PyExc_TypeError
,"null reference");
4964 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4967 arg3
= (int)SWIG_As_int(obj2
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4971 if (!wxPyCheckForApp()) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
4985 static PyObject
*_wrap_new_RegionFromPoints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
*resultobj
;
4988 wxPoint
*arg2
= (wxPoint
*) 0 ;
4989 int arg3
= (int) wxWINDING_RULE
;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4994 (char *) "points",(char *) "fillStyle", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) goto fail
;
4999 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
5000 if (arg2
== NULL
) SWIG_fail
;
5003 arg3
= (int)SWIG_As_int(obj1
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5007 if (!wxPyCheckForApp()) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 1);
5016 if (arg2
) delete [] arg2
;
5021 if (arg2
) delete [] arg2
;
5027 static PyObject
*_wrap_delete_Region(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxRegion
*arg1
= (wxRegion
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Region",kwnames
,&obj0
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 Py_INCREF(Py_None
); resultobj
= Py_None
;
5052 static PyObject
*_wrap_Region_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
;
5054 wxRegion
*arg1
= (wxRegion
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5057 (char *) "self", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_Clear",kwnames
,&obj0
)) goto fail
;
5061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_Region_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxRegion
*arg1
= (wxRegion
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5084 PyObject
* obj1
= 0 ;
5085 PyObject
* obj2
= 0 ;
5087 (char *) "self",(char *) "x",(char *) "y", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5093 arg2
= (int)SWIG_As_int(obj1
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5095 arg3
= (int)SWIG_As_int(obj2
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5113 static PyObject
*_wrap_Region_Contains(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxRegion
*arg1
= (wxRegion
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5121 PyObject
* obj2
= 0 ;
5123 (char *) "self",(char *) "x",(char *) "y", NULL
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5129 arg2
= (int)SWIG_As_int(obj1
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5131 arg3
= (int)SWIG_As_int(obj2
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (int)(arg1
)->Contains(arg2
,arg3
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_From_int((int)result
);
5147 static PyObject
*_wrap_Region_ContainsPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxRegion
*arg1
= (wxRegion
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5156 (char *) "self",(char *) "pt", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
5160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (int)(arg1
)->Contains((wxPoint
const &)*arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_From_int((int)result
);
5180 static PyObject
*_wrap_Region_ContainsRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxRegion
*arg1
= (wxRegion
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5189 (char *) "self",(char *) "rect", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (int)(arg1
)->Contains((wxRect
const &)*arg2
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_From_int((int)result
);
5213 static PyObject
*_wrap_Region_ContainsRectDim(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxRegion
*arg1
= (wxRegion
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5223 PyObject
* obj2
= 0 ;
5224 PyObject
* obj3
= 0 ;
5225 PyObject
* obj4
= 0 ;
5227 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 arg2
= (int)SWIG_As_int(obj1
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5235 arg3
= (int)SWIG_As_int(obj2
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5237 arg4
= (int)SWIG_As_int(obj3
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5239 arg5
= (int)SWIG_As_int(obj4
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 result
= (int)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 resultobj
= SWIG_From_int((int)result
);
5255 static PyObject
*_wrap_Region_GetBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxRegion
*arg1
= (wxRegion
*) 0 ;
5259 PyObject
* obj0
= 0 ;
5261 (char *) "self", NULL
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_GetBox",kwnames
,&obj0
)) goto fail
;
5265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (arg1
)->GetBox();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5276 resultptr
= new wxRect((wxRect
&) result
);
5277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5285 static PyObject
*_wrap_Region_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxRegion
*arg1
= (wxRegion
*) 0 ;
5293 PyObject
* obj0
= 0 ;
5294 PyObject
* obj1
= 0 ;
5295 PyObject
* obj2
= 0 ;
5296 PyObject
* obj3
= 0 ;
5297 PyObject
* obj4
= 0 ;
5299 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5305 arg2
= (int)SWIG_As_int(obj1
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5307 arg3
= (int)SWIG_As_int(obj2
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5309 arg4
= (int)SWIG_As_int(obj3
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5311 arg5
= (int)SWIG_As_int(obj4
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5329 static PyObject
*_wrap_Region_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxRegion
*arg1
= (wxRegion
*) 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "rect", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5346 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5364 static PyObject
*_wrap_Region_IntersectRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
*resultobj
;
5366 wxRegion
*arg1
= (wxRegion
*) 0 ;
5367 wxRegion
*arg2
= 0 ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5372 (char *) "self",(char *) "region", NULL
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5382 PyErr_SetString(PyExc_TypeError
,"null reference");
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5401 static PyObject
*_wrap_Region_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
;
5403 wxRegion
*arg1
= (wxRegion
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5407 (char *) "self", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_IsEmpty",kwnames
,&obj0
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (bool)(arg1
)->IsEmpty();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5429 static PyObject
*_wrap_Region_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxRegion
*arg1
= (wxRegion
*) 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 PyObject
* obj2
= 0 ;
5440 PyObject
* obj3
= 0 ;
5441 PyObject
* obj4
= 0 ;
5443 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5449 arg2
= (int)SWIG_As_int(obj1
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5451 arg3
= (int)SWIG_As_int(obj2
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5453 arg4
= (int)SWIG_As_int(obj3
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5455 arg5
= (int)SWIG_As_int(obj4
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5473 static PyObject
*_wrap_Region_UnionRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxRegion
*arg1
= (wxRegion
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5480 PyObject
* obj1
= 0 ;
5482 (char *) "self",(char *) "rect", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5490 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5508 static PyObject
*_wrap_Region_UnionRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
;
5510 wxRegion
*arg1
= (wxRegion
*) 0 ;
5511 wxRegion
*arg2
= 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5516 (char *) "self",(char *) "region", NULL
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5526 PyErr_SetString(PyExc_TypeError
,"null reference");
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5545 static PyObject
*_wrap_Region_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxRegion
*arg1
= (wxRegion
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5555 PyObject
* obj2
= 0 ;
5556 PyObject
* obj3
= 0 ;
5557 PyObject
* obj4
= 0 ;
5559 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5565 arg2
= (int)SWIG_As_int(obj1
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5567 arg3
= (int)SWIG_As_int(obj2
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5569 arg4
= (int)SWIG_As_int(obj3
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5571 arg5
= (int)SWIG_As_int(obj4
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5589 static PyObject
*_wrap_Region_SubtractRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxRegion
*arg1
= (wxRegion
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj1
= 0 ;
5598 (char *) "self",(char *) "rect", NULL
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5606 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5624 static PyObject
*_wrap_Region_SubtractRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxRegion
*arg1
= (wxRegion
*) 0 ;
5627 wxRegion
*arg2
= 0 ;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5632 (char *) "self",(char *) "region", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5642 PyErr_SetString(PyExc_TypeError
,"null reference");
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5661 static PyObject
*_wrap_Region_Xor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxRegion
*arg1
= (wxRegion
*) 0 ;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5672 PyObject
* obj3
= 0 ;
5673 PyObject
* obj4
= 0 ;
5675 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5681 arg2
= (int)SWIG_As_int(obj1
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5683 arg3
= (int)SWIG_As_int(obj2
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5685 arg4
= (int)SWIG_As_int(obj3
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5687 arg5
= (int)SWIG_As_int(obj4
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5705 static PyObject
*_wrap_Region_XorRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxRegion
*arg1
= (wxRegion
*) 0 ;
5711 PyObject
* obj0
= 0 ;
5712 PyObject
* obj1
= 0 ;
5714 (char *) "self",(char *) "rect", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5740 static PyObject
*_wrap_Region_XorRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxRegion
*arg1
= (wxRegion
*) 0 ;
5743 wxRegion
*arg2
= 0 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5748 (char *) "self",(char *) "region", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5758 PyErr_SetString(PyExc_TypeError
,"null reference");
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5777 static PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxRegion
*arg1
= (wxRegion
*) 0 ;
5780 SwigValueWrapper
< wxBitmap
> result
;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "self", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Region_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (arg1
)->ConvertToBitmap();
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 wxBitmap
* resultptr
;
5798 resultptr
= new wxBitmap((wxBitmap
&) result
);
5799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5807 static PyObject
*_wrap_Region_UnionBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxRegion
*arg1
= (wxRegion
*) 0 ;
5810 wxBitmap
*arg2
= 0 ;
5812 PyObject
* obj0
= 0 ;
5813 PyObject
* obj1
= 0 ;
5815 (char *) "self",(char *) "bmp", NULL
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5825 PyErr_SetString(PyExc_TypeError
,"null reference");
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5844 static PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxRegion
*arg1
= (wxRegion
*) 0 ;
5847 wxBitmap
*arg2
= 0 ;
5848 wxColour
*arg3
= 0 ;
5849 int arg4
= (int) 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 PyObject
* obj2
= 0 ;
5855 PyObject
* obj3
= 0 ;
5857 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5867 PyErr_SetString(PyExc_TypeError
,"null reference");
5872 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5875 arg4
= (int)SWIG_As_int(obj3
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5894 static PyObject
* Region_swigregister(PyObject
*, PyObject
*args
) {
5896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5897 SWIG_TypeClientData(SWIGTYPE_p_wxRegion
, obj
);
5899 return Py_BuildValue((char *)"");
5901 static PyObject
*_wrap_new_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxRegion
*arg1
= 0 ;
5904 wxRegionIterator
*result
;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "region", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegion
,
5912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5915 PyErr_SetString(PyExc_TypeError
,"null reference");
5919 if (!wxPyCheckForApp()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegionIterator
, 1);
5933 static PyObject
*_wrap_delete_RegionIterator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5936 PyObject
* obj0
= 0 ;
5938 (char *) "self", NULL
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RegionIterator",kwnames
,&obj0
)) goto fail
;
5942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 Py_INCREF(Py_None
); resultobj
= Py_None
;
5958 static PyObject
*_wrap_RegionIterator_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5964 (char *) "self", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetX",kwnames
,&obj0
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (int)(arg1
)->GetX();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_From_int((int)result
);
5984 static PyObject
*_wrap_RegionIterator_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetY",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (int)(arg1
)->GetY();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_From_int((int)result
);
6010 static PyObject
*_wrap_RegionIterator_GetW(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetW",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (int)(arg1
)->GetW();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_From_int((int)result
);
6036 static PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6040 PyObject
* obj0
= 0 ;
6042 (char *) "self", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetWidth",kwnames
,&obj0
)) goto fail
;
6046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (int)(arg1
)->GetWidth();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= SWIG_From_int((int)result
);
6062 static PyObject
*_wrap_RegionIterator_GetH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6066 PyObject
* obj0
= 0 ;
6068 (char *) "self", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetH",kwnames
,&obj0
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (int)(arg1
)->GetH();
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) SWIG_fail
;
6081 resultobj
= SWIG_From_int((int)result
);
6088 static PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6094 (char *) "self", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetHeight",kwnames
,&obj0
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (int)(arg1
)->GetHeight();
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 resultobj
= SWIG_From_int((int)result
);
6114 static PyObject
*_wrap_RegionIterator_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "self", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_GetRect",kwnames
,&obj0
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (arg1
)->GetRect();
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6135 resultptr
= new wxRect((wxRect
&) result
);
6136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
6144 static PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_HaveRects",kwnames
,&obj0
)) goto fail
;
6154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (bool)(arg1
)->HaveRects();
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6172 static PyObject
*_wrap_RegionIterator_Reset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6175 PyObject
* obj0
= 0 ;
6177 (char *) "self", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Reset",kwnames
,&obj0
)) goto fail
;
6181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 Py_INCREF(Py_None
); resultobj
= Py_None
;
6197 static PyObject
*_wrap_RegionIterator_Next(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6202 (char *) "self", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator_Next",kwnames
,&obj0
)) goto fail
;
6206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 wxRegionIterator_Next(arg1
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 Py_INCREF(Py_None
); resultobj
= Py_None
;
6222 static PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
;
6224 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
6226 PyObject
* obj0
= 0 ;
6228 (char *) "self", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegionIterator___nonzero__",kwnames
,&obj0
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRegionIterator
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (bool)wxRegionIterator___nonzero__(arg1
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6250 static PyObject
* RegionIterator_swigregister(PyObject
*, PyObject
*args
) {
6252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6253 SWIG_TypeClientData(SWIGTYPE_p_wxRegionIterator
, obj
);
6255 return Py_BuildValue((char *)"");
6257 static PyObject
*_wrap_new_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxNativeFontInfo
*result
;
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeFontInfo",kwnames
)) goto fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 1);
6279 static PyObject
*_wrap_delete_NativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeFontInfo",kwnames
,&obj0
)) goto fail
;
6288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 Py_INCREF(Py_None
); resultobj
= Py_None
;
6304 static PyObject
*_wrap_NativeFontInfo_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "self", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_Init",kwnames
,&obj0
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 Py_INCREF(Py_None
); resultobj
= Py_None
;
6329 static PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "font", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6346 PyErr_SetString(PyExc_TypeError
,"null reference");
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6367 PyObject
* obj0
= 0 ;
6369 (char *) "self", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetPointSize",kwnames
,&obj0
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_From_int((int)result
);
6389 static PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6393 PyObject
* obj0
= 0 ;
6395 (char *) "self", NULL
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetStyle",kwnames
,&obj0
)) goto fail
;
6399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetStyle();
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= SWIG_From_int((int)result
);
6415 static PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
;
6417 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6419 PyObject
* obj0
= 0 ;
6421 (char *) "self", NULL
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetWeight",kwnames
,&obj0
)) goto fail
;
6425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetWeight();
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6434 resultobj
= SWIG_From_int((int)result
);
6441 static PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
*resultobj
;
6443 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6445 PyObject
* obj0
= 0 ;
6447 (char *) "self", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetUnderlined",kwnames
,&obj0
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6469 static PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6475 (char *) "self", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFaceName",kwnames
,&obj0
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6501 static PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6507 (char *) "self", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetFamily",kwnames
,&obj0
)) goto fail
;
6511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetFamily();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_From_int((int)result
);
6527 static PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6533 (char *) "self", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_GetEncoding",kwnames
,&obj0
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6546 resultobj
= SWIG_From_int((int)result
);
6553 static PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6557 PyObject
* obj0
= 0 ;
6558 PyObject
* obj1
= 0 ;
6560 (char *) "self",(char *) "pointsize", NULL
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 arg2
= (int)SWIG_As_int(obj1
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 (arg1
)->SetPointSize(arg2
);
6572 wxPyEndAllowThreads(__tstate
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6575 Py_INCREF(Py_None
); resultobj
= Py_None
;
6582 static PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
*resultobj
;
6584 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6589 (char *) "self",(char *) "style", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 arg2
= (int)SWIG_As_int(obj1
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 (arg1
)->SetStyle((wxFontStyle
)arg2
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 Py_INCREF(Py_None
); resultobj
= Py_None
;
6611 static PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6618 (char *) "self",(char *) "weight", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 arg2
= (int)SWIG_As_int(obj1
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 (arg1
)->SetWeight((wxFontWeight
)arg2
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6647 (char *) "self",(char *) "underlined", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6653 arg2
= (bool)SWIG_As_bool(obj1
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->SetUnderlined(arg2
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 static PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6674 PyObject
* obj1
= 0 ;
6676 (char *) "self",(char *) "facename", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 wxString
* sptr
= wxString_in_helper(obj1
);
6684 if (sptr
== NULL
) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 (arg1
)->SetFaceName(arg2
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 Py_INCREF(Py_None
); resultobj
= Py_None
;
6702 static PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
;
6704 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6709 (char *) "self",(char *) "family", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6715 arg2
= (int)SWIG_As_int(obj1
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 (arg1
)->SetFamily((wxFontFamily
)arg2
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 Py_INCREF(Py_None
); resultobj
= Py_None
;
6731 static PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6738 (char *) "self",(char *) "encoding", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6744 arg2
= (int)SWIG_As_int(obj1
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 static PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6763 wxString
*arg2
= 0 ;
6765 bool temp2
= false ;
6766 PyObject
* obj0
= 0 ;
6767 PyObject
* obj1
= 0 ;
6769 (char *) "self",(char *) "s", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
6773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6776 arg2
= wxString_in_helper(obj1
);
6777 if (arg2
== NULL
) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6804 static PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6808 PyObject
* obj0
= 0 ;
6810 (char *) "self", NULL
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToString",kwnames
,&obj0
)) goto fail
;
6814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6836 static PyObject
*_wrap_NativeFontInfo___str__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6838 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6840 PyObject
* obj0
= 0 ;
6842 (char *) "self", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo___str__",kwnames
,&obj0
)) goto fail
;
6846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= wxNativeFontInfo___str__(arg1
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6868 static PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
*resultobj
;
6870 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6871 wxString
*arg2
= 0 ;
6873 bool temp2
= false ;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6877 (char *) "self",(char *) "s", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) goto fail
;
6881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6884 arg2
= wxString_in_helper(obj1
);
6885 if (arg2
== NULL
) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6912 static PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
;
6914 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6918 (char *) "self", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeFontInfo_ToUserString",kwnames
,&obj0
)) goto fail
;
6922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
6923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6944 static PyObject
* NativeFontInfo_swigregister(PyObject
*, PyObject
*args
) {
6946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6947 SWIG_TypeClientData(SWIGTYPE_p_wxNativeFontInfo
, obj
);
6949 return Py_BuildValue((char *)"");
6951 static PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6954 wxString
*arg2
= (wxString
*) 0 ;
6955 bool temp2
= false ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6959 (char *) "self",(char *) "facename", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_facename_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6966 arg2
= wxString_in_helper(obj1
);
6967 if (arg2
== NULL
) SWIG_fail
;
6970 if (arg1
) (arg1
)->facename
= *arg2
;
6972 Py_INCREF(Py_None
); resultobj
= Py_None
;
6987 static PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
6991 PyObject
* obj0
= 0 ;
6993 (char *) "self", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_facename_get",kwnames
,&obj0
)) goto fail
;
6997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
6998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6999 result
= (wxString
*)& ((arg1
)->facename
);
7003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7014 static PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7016 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7021 (char *) "self",(char *) "encoding", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_encoding_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7027 arg2
= (int)SWIG_As_int(obj1
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7029 if (arg1
) (arg1
)->encoding
= (wxFontEncoding
)arg2
;
7031 Py_INCREF(Py_None
); resultobj
= Py_None
;
7038 static PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7044 (char *) "self", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_encoding_get",kwnames
,&obj0
)) goto fail
;
7048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7050 result
= (int) ((arg1
)->encoding
);
7052 resultobj
= SWIG_From_int((int)result
);
7059 static PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
;
7061 wxNativeEncodingInfo
*result
;
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NativeEncodingInfo",kwnames
)) goto fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 1);
7081 static PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7084 PyObject
* obj0
= 0 ;
7086 (char *) "self", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_NativeEncodingInfo",kwnames
,&obj0
)) goto fail
;
7090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 Py_INCREF(Py_None
); resultobj
= Py_None
;
7106 static PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
;
7108 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7109 wxString
*arg2
= 0 ;
7111 bool temp2
= false ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7115 (char *) "self",(char *) "s", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) goto fail
;
7119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7122 arg2
= wxString_in_helper(obj1
);
7123 if (arg2
== NULL
) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7150 static PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7156 (char *) "self", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NativeEncodingInfo_ToString",kwnames
,&obj0
)) goto fail
;
7160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7182 static PyObject
* NativeEncodingInfo_swigregister(PyObject
*, PyObject
*args
) {
7184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7185 SWIG_TypeClientData(SWIGTYPE_p_wxNativeEncodingInfo
, obj
);
7187 return Py_BuildValue((char *)"");
7189 static PyObject
*_wrap_GetNativeFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
;
7192 wxNativeEncodingInfo
*result
;
7193 PyObject
* obj0
= 0 ;
7195 (char *) "encoding", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) goto fail
;
7199 arg1
= (int)SWIG_As_int(obj0
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding((wxFontEncoding
)arg1
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0);
7215 static PyObject
*_wrap_TestFontEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxNativeEncodingInfo
*arg1
= 0 ;
7219 PyObject
* obj0
= 0 ;
7221 (char *) "info", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeEncodingInfo
,
7226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7229 PyErr_SetString(PyExc_TypeError
,"null reference");
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7248 static PyObject
*_wrap_new_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxFontMapper
*result
;
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontMapper",kwnames
)) goto fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (wxFontMapper
*)new wxFontMapper();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 1);
7270 static PyObject
*_wrap_delete_FontMapper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7275 (char *) "self", NULL
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontMapper",kwnames
,&obj0
)) goto fail
;
7279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 Py_INCREF(Py_None
); resultobj
= Py_None
;
7295 static PyObject
*_wrap_FontMapper_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxFontMapper
*result
;
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_Get",kwnames
)) goto fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 result
= (wxFontMapper
*)wxFontMapper::Get();
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7317 static PyObject
*_wrap_FontMapper_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7320 wxFontMapper
*result
;
7321 PyObject
* obj0
= 0 ;
7323 (char *) "mapper", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontMapper
, 0);
7343 static PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7346 wxString
*arg2
= 0 ;
7347 bool arg3
= (bool) true ;
7349 bool temp2
= false ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7352 PyObject
* obj2
= 0 ;
7354 (char *) "self",(char *) "charset",(char *) "interactive", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7361 arg2
= wxString_in_helper(obj1
);
7362 if (arg2
== NULL
) SWIG_fail
;
7366 arg3
= (bool)SWIG_As_bool(obj2
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 result
= (int)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 resultobj
= SWIG_From_int((int)result
);
7391 static PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetSupportedEncodingsCount",kwnames
)) goto fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7413 static PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7417 PyObject
* obj0
= 0 ;
7422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) goto fail
;
7423 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (int)wxFontMapper::GetEncoding(arg1
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_From_int((int)result
);
7439 static PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7443 PyObject
* obj0
= 0 ;
7445 (char *) "encoding", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) goto fail
;
7449 arg1
= (int)SWIG_As_int(obj0
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= wxFontMapper::GetEncodingName((wxFontEncoding
)arg1
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7471 static PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "encoding", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) goto fail
;
7481 arg1
= (int)SWIG_As_int(obj0
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= wxFontMapper::GetEncodingDescription((wxFontEncoding
)arg1
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7503 static PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxString
*arg1
= 0 ;
7507 bool temp1
= false ;
7508 PyObject
* obj0
= 0 ;
7510 (char *) "name", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) goto fail
;
7515 arg1
= wxString_in_helper(obj0
);
7516 if (arg1
== NULL
) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (int)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_From_int((int)result
);
7541 static PyObject
*_wrap_FontMapper_SetConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7544 wxConfigBase
*arg2
= (wxConfigBase
*) 0 ;
7545 PyObject
* obj0
= 0 ;
7546 PyObject
* obj1
= 0 ;
7548 (char *) "self",(char *) "config", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfig",kwnames
,&obj0
,&obj1
)) goto fail
;
7552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 (arg1
)->SetConfig(arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 Py_INCREF(Py_None
); resultobj
= Py_None
;
7570 static PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7573 wxString
*arg2
= 0 ;
7574 bool temp2
= false ;
7575 PyObject
* obj0
= 0 ;
7576 PyObject
* obj1
= 0 ;
7578 (char *) "self",(char *) "prefix", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) goto fail
;
7582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7585 arg2
= wxString_in_helper(obj1
);
7586 if (arg2
== NULL
) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 Py_INCREF(Py_None
); resultobj
= Py_None
;
7611 static PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FontMapper_GetDefaultConfigPath",kwnames
)) goto fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= wxFontMapper::GetDefaultConfigPath();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7639 static PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
;
7641 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7643 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7644 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7645 bool arg4
= (bool) true ;
7647 bool temp3
= false ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7650 PyObject
* obj2
= 0 ;
7651 PyObject
* obj3
= 0 ;
7653 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 arg2
= (int)SWIG_As_int(obj1
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 arg3
= wxString_in_helper(obj2
);
7664 if (arg3
== NULL
) SWIG_fail
;
7669 arg4
= (bool)SWIG_As_bool(obj3
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,(wxFontEncoding
)arg2
,(wxString
const &)*arg3
,arg4
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7694 static PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7698 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7699 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7701 bool temp3
= false ;
7702 PyObject
* obj0
= 0 ;
7703 PyObject
* obj1
= 0 ;
7704 PyObject
* obj2
= 0 ;
7706 (char *) "self",(char *) "encoding",(char *) "facename", NULL
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7712 arg2
= (int)SWIG_As_int(obj1
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 arg3
= wxString_in_helper(obj2
);
7717 if (arg3
== NULL
) SWIG_fail
;
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 result
= (bool)(arg1
)->IsEncodingAvailable((wxFontEncoding
)arg2
,(wxString
const &)*arg3
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7745 static PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
;
7747 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7748 wxWindow
*arg2
= (wxWindow
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7752 (char *) "self",(char *) "parent", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 (arg1
)->SetDialogParent(arg2
);
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 Py_INCREF(Py_None
); resultobj
= Py_None
;
7774 static PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
;
7776 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
7777 wxString
*arg2
= 0 ;
7778 bool temp2
= false ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7782 (char *) "self",(char *) "title", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
7786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontMapper
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7789 arg2
= wxString_in_helper(obj1
);
7790 if (arg2
== NULL
) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
* FontMapper_swigregister(PyObject
*, PyObject
*args
) {
7817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7818 SWIG_TypeClientData(SWIGTYPE_p_wxFontMapper
, obj
);
7820 return Py_BuildValue((char *)"");
7822 static PyObject
*_wrap_new_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7828 bool arg5
= (bool) false ;
7829 wxString
const &arg6_defvalue
= wxPyEmptyString
;
7830 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7831 int arg7
= (int) wxFONTENCODING_DEFAULT
;
7833 bool temp6
= false ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7836 PyObject
* obj2
= 0 ;
7837 PyObject
* obj3
= 0 ;
7838 PyObject
* obj4
= 0 ;
7839 PyObject
* obj5
= 0 ;
7840 PyObject
* obj6
= 0 ;
7842 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7846 arg1
= (int)SWIG_As_int(obj0
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7848 arg2
= (int)SWIG_As_int(obj1
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7850 arg3
= (int)SWIG_As_int(obj2
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7852 arg4
= (int)SWIG_As_int(obj3
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 arg5
= (bool)SWIG_As_bool(obj4
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7860 arg6
= wxString_in_helper(obj5
);
7861 if (arg6
== NULL
) SWIG_fail
;
7866 arg7
= (int)SWIG_As_int(obj6
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 if (!wxPyCheckForApp()) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7892 static PyObject
*_wrap_delete_Font(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxFont
*arg1
= (wxFont
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7897 (char *) "self", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Font",kwnames
,&obj0
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
7902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 Py_INCREF(Py_None
); resultobj
= Py_None
;
7917 static PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxNativeFontInfo
*arg1
= 0 ;
7921 PyObject
* obj0
= 0 ;
7923 (char *) "info", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNativeFontInfo
,
7928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7931 PyErr_SetString(PyExc_TypeError
,"null reference");
7935 if (!wxPyCheckForApp()) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7949 static PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxString
*arg1
= 0 ;
7953 bool temp1
= false ;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "info", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) goto fail
;
7961 arg1
= wxString_in_helper(obj0
);
7962 if (arg1
== NULL
) SWIG_fail
;
7966 if (!wxPyCheckForApp()) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
7988 static PyObject
*_wrap_new_Font2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7992 int arg3
= (int) wxFONTFLAG_DEFAULT
;
7993 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7994 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7995 int arg5
= (int) wxFONTENCODING_DEFAULT
;
7997 bool temp4
= false ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 PyObject
* obj2
= 0 ;
8001 PyObject
* obj3
= 0 ;
8002 PyObject
* obj4
= 0 ;
8004 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_Font2",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8008 arg1
= (int)SWIG_As_int(obj0
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8010 arg2
= (int)SWIG_As_int(obj1
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 arg3
= (int)SWIG_As_int(obj2
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8018 arg4
= wxString_in_helper(obj3
);
8019 if (arg4
== NULL
) SWIG_fail
;
8024 arg5
= (int)SWIG_As_int(obj4
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8028 if (!wxPyCheckForApp()) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (wxFont
*)new_wxFont(arg1
,(wxFontFamily
)arg2
,arg3
,(wxString
const &)*arg4
,(wxFontEncoding
)arg5
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8050 static PyObject
*_wrap_new_FontFromPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
*resultobj
;
8056 bool arg5
= (bool) false ;
8057 wxString
const &arg6_defvalue
= wxEmptyString
;
8058 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8059 int arg7
= (int) wxFONTENCODING_DEFAULT
;
8062 bool temp6
= false ;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8065 PyObject
* obj2
= 0 ;
8066 PyObject
* obj3
= 0 ;
8067 PyObject
* obj4
= 0 ;
8068 PyObject
* obj5
= 0 ;
8069 PyObject
* obj6
= 0 ;
8071 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8077 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
8079 arg2
= (int)SWIG_As_int(obj1
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8081 arg3
= (int)SWIG_As_int(obj2
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8083 arg4
= (int)SWIG_As_int(obj3
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 arg5
= (bool)SWIG_As_bool(obj4
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8091 arg6
= wxString_in_helper(obj5
);
8092 if (arg6
== NULL
) SWIG_fail
;
8097 arg7
= (int)SWIG_As_int(obj6
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8101 if (!wxPyCheckForApp()) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,(wxFontEncoding
)arg7
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 1);
8123 static PyObject
*_wrap_Font_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxFont
*arg1
= (wxFont
*) 0 ;
8127 PyObject
* obj0
= 0 ;
8129 (char *) "self", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_Ok",kwnames
,&obj0
)) goto fail
;
8133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (bool)((wxFont
const *)arg1
)->Ok();
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8151 static PyObject
*_wrap_Font___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxFont
*arg1
= (wxFont
*) 0 ;
8154 wxFont
*arg2
= (wxFont
*) 0 ;
8156 PyObject
* obj0
= 0 ;
8157 PyObject
* obj1
= 0 ;
8159 (char *) "self",(char *) "other", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
8163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8183 static PyObject
*_wrap_Font___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxFont
*arg1
= (wxFont
*) 0 ;
8186 wxFont
*arg2
= (wxFont
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8191 (char *) "self",(char *) "other", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
8198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8215 static PyObject
*_wrap_Font_GetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxFont
*arg1
= (wxFont
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8221 (char *) "self", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPointSize",kwnames
,&obj0
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_From_int((int)result
);
8241 static PyObject
*_wrap_Font_GetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxFont
*arg1
= (wxFont
*) 0 ;
8245 PyObject
* obj0
= 0 ;
8247 (char *) "self", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetPixelSize",kwnames
,&obj0
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8255 result
= ((wxFont
const *)arg1
)->GetPixelSize();
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8262 resultptr
= new wxSize((wxSize
&) result
);
8263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8271 static PyObject
*_wrap_Font_IsUsingSizeInPixels(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_IsUsingSizeInPixels",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
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8299 static PyObject
*_wrap_Font_GetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxFont
*arg1
= (wxFont
*) 0 ;
8303 PyObject
* obj0
= 0 ;
8305 (char *) "self", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamily",kwnames
,&obj0
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (int)((wxFont
const *)arg1
)->GetFamily();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= SWIG_From_int((int)result
);
8325 static PyObject
*_wrap_Font_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxFont
*arg1
= (wxFont
*) 0 ;
8329 PyObject
* obj0
= 0 ;
8331 (char *) "self", NULL
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyle",kwnames
,&obj0
)) goto fail
;
8335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (int)((wxFont
const *)arg1
)->GetStyle();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_From_int((int)result
);
8351 static PyObject
*_wrap_Font_GetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxFont
*arg1
= (wxFont
*) 0 ;
8355 PyObject
* obj0
= 0 ;
8357 (char *) "self", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeight",kwnames
,&obj0
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (int)((wxFont
const *)arg1
)->GetWeight();
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_From_int((int)result
);
8377 static PyObject
*_wrap_Font_GetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxFont
*arg1
= (wxFont
*) 0 ;
8381 PyObject
* obj0
= 0 ;
8383 (char *) "self", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetUnderlined",kwnames
,&obj0
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8405 static PyObject
*_wrap_Font_GetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxFont
*arg1
= (wxFont
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8411 (char *) "self", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFaceName",kwnames
,&obj0
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= ((wxFont
const *)arg1
)->GetFaceName();
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8437 static PyObject
*_wrap_Font_GetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxFont
*arg1
= (wxFont
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8443 (char *) "self", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetEncoding",kwnames
,&obj0
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= (int)((wxFont
const *)arg1
)->GetEncoding();
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= SWIG_From_int((int)result
);
8463 static PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxFont
*arg1
= (wxFont
*) 0 ;
8466 wxNativeFontInfo
*result
;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfo",kwnames
,&obj0
)) goto fail
;
8473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNativeFontInfo
, 0);
8489 static PyObject
*_wrap_Font_IsFixedWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxFont
*arg1
= (wxFont
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8495 (char *) "self", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_IsFixedWidth",kwnames
,&obj0
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8517 static PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxFont
*arg1
= (wxFont
*) 0 ;
8521 PyObject
* obj0
= 0 ;
8523 (char *) "self", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoDesc",kwnames
,&obj0
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8549 static PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8550 PyObject
*resultobj
;
8551 wxFont
*arg1
= (wxFont
*) 0 ;
8553 PyObject
* obj0
= 0 ;
8555 (char *) "self", NULL
8558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNativeFontInfoUserDesc",kwnames
,&obj0
)) goto fail
;
8559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8563 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8581 static PyObject
*_wrap_Font_SetPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
;
8583 wxFont
*arg1
= (wxFont
*) 0 ;
8585 PyObject
* obj0
= 0 ;
8586 PyObject
* obj1
= 0 ;
8588 (char *) "self",(char *) "pointSize", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 arg2
= (int)SWIG_As_int(obj1
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 (arg1
)->SetPointSize(arg2
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 Py_INCREF(Py_None
); resultobj
= Py_None
;
8610 static PyObject
*_wrap_Font_SetPixelSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
;
8612 wxFont
*arg1
= (wxFont
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8618 (char *) "self",(char *) "pixelSize", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 Py_INCREF(Py_None
); resultobj
= Py_None
;
8642 static PyObject
*_wrap_Font_SetFamily(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
;
8644 wxFont
*arg1
= (wxFont
*) 0 ;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8649 (char *) "self",(char *) "family", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) goto fail
;
8653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8655 arg2
= (int)SWIG_As_int(obj1
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 (arg1
)->SetFamily(arg2
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 Py_INCREF(Py_None
); resultobj
= Py_None
;
8671 static PyObject
*_wrap_Font_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxFont
*arg1
= (wxFont
*) 0 ;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8678 (char *) "self",(char *) "style", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8684 arg2
= (int)SWIG_As_int(obj1
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 (arg1
)->SetStyle(arg2
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 Py_INCREF(Py_None
); resultobj
= Py_None
;
8700 static PyObject
*_wrap_Font_SetWeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxFont
*arg1
= (wxFont
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8707 (char *) "self",(char *) "weight", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8713 arg2
= (int)SWIG_As_int(obj1
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 (arg1
)->SetWeight(arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 Py_INCREF(Py_None
); resultobj
= Py_None
;
8729 static PyObject
*_wrap_Font_SetFaceName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxFont
*arg1
= (wxFont
*) 0 ;
8732 wxString
*arg2
= 0 ;
8733 bool temp2
= false ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8737 (char *) "self",(char *) "faceName", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",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
= wxString_in_helper(obj1
);
8745 if (arg2
== NULL
) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 (arg1
)->SetFaceName((wxString
const &)*arg2
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 Py_INCREF(Py_None
); resultobj
= Py_None
;
8770 static PyObject
*_wrap_Font_SetUnderlined(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 wxFont
*arg1
= (wxFont
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8777 (char *) "self",(char *) "underlined", NULL
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) goto fail
;
8781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8783 arg2
= (bool)SWIG_As_bool(obj1
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 (arg1
)->SetUnderlined(arg2
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 Py_INCREF(Py_None
); resultobj
= Py_None
;
8799 static PyObject
*_wrap_Font_SetEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxFont
*arg1
= (wxFont
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8806 (char *) "self",(char *) "encoding", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8812 arg2
= (int)SWIG_As_int(obj1
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 (arg1
)->SetEncoding((wxFontEncoding
)arg2
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 Py_INCREF(Py_None
); resultobj
= Py_None
;
8828 static PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxFont
*arg1
= (wxFont
*) 0 ;
8831 wxNativeFontInfo
*arg2
= 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8835 (char *) "self",(char *) "info", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxNativeFontInfo
,
8842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8845 PyErr_SetString(PyExc_TypeError
,"null reference");
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxFont
*arg1
= (wxFont
*) 0 ;
8865 wxString
*arg2
= 0 ;
8866 bool temp2
= false ;
8867 PyObject
* obj0
= 0 ;
8868 PyObject
* obj1
= 0 ;
8870 (char *) "self",(char *) "info", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8877 arg2
= wxString_in_helper(obj1
);
8878 if (arg2
== NULL
) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxFont
*arg1
= (wxFont
*) 0 ;
8906 wxString
*arg2
= 0 ;
8907 bool temp2
= false ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8911 (char *) "self",(char *) "info", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8918 arg2
= wxString_in_helper(obj1
);
8919 if (arg2
== NULL
) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_Font_GetFamilyString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxFont
*arg1
= (wxFont
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetFamilyString",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 result
= ((wxFont
const *)arg1
)->GetFamilyString();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8976 static PyObject
*_wrap_Font_GetStyleString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxFont
*arg1
= (wxFont
*) 0 ;
8980 PyObject
* obj0
= 0 ;
8982 (char *) "self", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetStyleString",kwnames
,&obj0
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 result
= ((wxFont
const *)arg1
)->GetStyleString();
8992 wxPyEndAllowThreads(__tstate
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9008 static PyObject
*_wrap_Font_GetWeightString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxFont
*arg1
= (wxFont
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9014 (char *) "self", NULL
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetWeightString",kwnames
,&obj0
)) goto fail
;
9018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 result
= ((wxFont
const *)arg1
)->GetWeightString();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9040 static PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxFont
*arg1
= (wxFont
*) 0 ;
9043 bool arg2
= (bool) true ;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9047 (char *) "self",(char *) "no", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9054 arg2
= (bool)SWIG_As_bool(obj1
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 (arg1
)->SetNoAntiAliasing(arg2
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 Py_INCREF(Py_None
); resultobj
= Py_None
;
9071 static PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxFont
*arg1
= (wxFont
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9077 (char *) "self", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_GetNoAntiAliasing",kwnames
,&obj0
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFont
,
9082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9099 static PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Font_GetDefaultEncoding",kwnames
)) goto fail
;
9108 if (!wxPyCheckForApp()) SWIG_fail
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 result
= (int)wxFont::GetDefaultEncoding();
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= SWIG_From_int((int)result
);
9122 static PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9125 PyObject
* obj0
= 0 ;
9127 (char *) "encoding", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) goto fail
;
9131 arg1
= (int)SWIG_As_int(obj0
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 if (!wxPyCheckForApp()) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 wxFont::SetDefaultEncoding((wxFontEncoding
)arg1
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9148 static PyObject
* Font_swigregister(PyObject
*, PyObject
*args
) {
9150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9151 SWIG_TypeClientData(SWIGTYPE_p_wxFont
, obj
);
9153 return Py_BuildValue((char *)"");
9155 static PyObject
*_wrap_new_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxPyFontEnumerator
*result
;
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontEnumerator",kwnames
)) goto fail
;
9164 if (!wxPyCheckForApp()) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFontEnumerator
, 1);
9178 static PyObject
*_wrap_delete_FontEnumerator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9181 PyObject
* obj0
= 0 ;
9183 (char *) "self", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontEnumerator",kwnames
,&obj0
)) goto fail
;
9187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 Py_INCREF(Py_None
); resultobj
= Py_None
;
9203 static PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
;
9205 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9206 PyObject
*arg2
= (PyObject
*) 0 ;
9207 PyObject
*arg3
= (PyObject
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9212 PyObject
* obj3
= 0 ;
9214 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9222 arg4
= (bool)SWIG_As_bool(obj3
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 Py_INCREF(Py_None
); resultobj
= Py_None
;
9238 static PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9241 int arg2
= (int) wxFONTENCODING_SYSTEM
;
9242 bool arg3
= (bool) false ;
9244 PyObject
* obj0
= 0 ;
9245 PyObject
* obj1
= 0 ;
9246 PyObject
* obj2
= 0 ;
9248 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9255 arg2
= (int)SWIG_As_int(obj1
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9259 arg3
= (bool)SWIG_As_bool(obj2
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (bool)(arg1
)->EnumerateFacenames((wxFontEncoding
)arg2
,arg3
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9278 static PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9281 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9282 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9284 bool temp2
= false ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9288 (char *) "self",(char *) "facename", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) goto fail
;
9292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9296 arg2
= wxString_in_helper(obj1
);
9297 if (arg2
== NULL
) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9325 static PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9331 (char *) "self", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetEncodings",kwnames
,&obj0
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9339 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9351 static PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
;
9353 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
9355 PyObject
* obj0
= 0 ;
9357 (char *) "self", NULL
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_GetFacenames",kwnames
,&obj0
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFontEnumerator
,
9362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9377 static PyObject
* FontEnumerator_swigregister(PyObject
*, PyObject
*args
) {
9379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9380 SWIG_TypeClientData(SWIGTYPE_p_wxPyFontEnumerator
, obj
);
9382 return Py_BuildValue((char *)"");
9384 static PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9391 (char *) "self",(char *) "Language", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Language_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9397 arg2
= (int)SWIG_As_int(obj1
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9399 if (arg1
) (arg1
)->Language
= arg2
;
9401 Py_INCREF(Py_None
); resultobj
= Py_None
;
9408 static PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
;
9410 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9414 (char *) "self", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Language_get",kwnames
,&obj0
)) goto fail
;
9418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9420 result
= (int) ((arg1
)->Language
);
9422 resultobj
= SWIG_From_int((int)result
);
9429 static PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9432 wxString
*arg2
= (wxString
*) 0 ;
9433 bool temp2
= false ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9437 (char *) "self",(char *) "CanonicalName", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_CanonicalName_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9444 arg2
= wxString_in_helper(obj1
);
9445 if (arg2
== NULL
) SWIG_fail
;
9448 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
9450 Py_INCREF(Py_None
); resultobj
= Py_None
;
9465 static PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_CanonicalName_get",kwnames
,&obj0
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9477 result
= (wxString
*)& ((arg1
)->CanonicalName
);
9481 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9483 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9492 static PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9495 wxString
*arg2
= (wxString
*) 0 ;
9496 bool temp2
= false ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9500 (char *) "self",(char *) "Description", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LanguageInfo_Description_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9507 arg2
= wxString_in_helper(obj1
);
9508 if (arg2
== NULL
) SWIG_fail
;
9511 if (arg1
) (arg1
)->Description
= *arg2
;
9513 Py_INCREF(Py_None
); resultobj
= Py_None
;
9528 static PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
;
9530 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9534 (char *) "self", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LanguageInfo_Description_get",kwnames
,&obj0
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
9539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9540 result
= (wxString
*)& ((arg1
)->Description
);
9544 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9546 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9555 static PyObject
* LanguageInfo_swigregister(PyObject
*, PyObject
*args
) {
9557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9558 SWIG_TypeClientData(SWIGTYPE_p_wxLanguageInfo
, obj
);
9560 return Py_BuildValue((char *)"");
9562 static PyObject
*_wrap_new_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 int arg1
= (int) -1 ;
9565 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9570 (char *) "language",(char *) "flags", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) goto fail
;
9575 arg1
= (int)SWIG_As_int(obj0
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9579 arg2
= (int)SWIG_As_int(obj1
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 1);
9596 static PyObject
*_wrap_delete_Locale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxLocale
*arg1
= (wxLocale
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Locale",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 Py_INCREF(Py_None
); resultobj
= Py_None
;
9621 static PyObject
*_wrap_Locale_Init1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxLocale
*arg1
= (wxLocale
*) 0 ;
9624 wxString
*arg2
= 0 ;
9625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9627 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9628 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9629 bool arg5
= (bool) true ;
9630 bool arg6
= (bool) false ;
9632 bool temp2
= false ;
9633 bool temp3
= false ;
9634 bool temp4
= false ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9637 PyObject
* obj2
= 0 ;
9638 PyObject
* obj3
= 0 ;
9639 PyObject
* obj4
= 0 ;
9640 PyObject
* obj5
= 0 ;
9642 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9649 arg2
= wxString_in_helper(obj1
);
9650 if (arg2
== NULL
) SWIG_fail
;
9655 arg3
= wxString_in_helper(obj2
);
9656 if (arg3
== NULL
) SWIG_fail
;
9662 arg4
= wxString_in_helper(obj3
);
9663 if (arg4
== NULL
) SWIG_fail
;
9668 arg5
= (bool)SWIG_As_bool(obj4
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9672 arg6
= (bool)SWIG_As_bool(obj5
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9715 static PyObject
*_wrap_Locale_Init2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxLocale
*arg1
= (wxLocale
*) 0 ;
9718 int arg2
= (int) wxLANGUAGE_DEFAULT
;
9719 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9723 PyObject
* obj2
= 0 ;
9725 (char *) "self",(char *) "language",(char *) "flags", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9732 arg2
= (int)SWIG_As_int(obj1
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9736 arg3
= (int)SWIG_As_int(obj2
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9755 static PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemLanguage",kwnames
)) goto fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (int)wxLocale::GetSystemLanguage();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_From_int((int)result
);
9777 static PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncoding",kwnames
)) goto fail
;
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 result
= (int)wxLocale::GetSystemEncoding();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_From_int((int)result
);
9799 static PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
;
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Locale_GetSystemEncodingName",kwnames
)) goto fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= wxLocale::GetSystemEncodingName();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9827 static PyObject
*_wrap_Locale_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
;
9829 wxLocale
*arg1
= (wxLocale
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsOk",kwnames
,&obj0
)) goto fail
;
9837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9855 static PyObject
*_wrap_Locale_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxLocale
*arg1
= (wxLocale
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9861 (char *) "self", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLocale",kwnames
,&obj0
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= ((wxLocale
const *)arg1
)->GetLocale();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9887 static PyObject
*_wrap_Locale_GetLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxLocale
*arg1
= (wxLocale
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9893 (char *) "self", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguage",kwnames
,&obj0
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_From_int((int)result
);
9913 static PyObject
*_wrap_Locale_GetSysName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxLocale
*arg1
= (wxLocale
*) 0 ;
9917 PyObject
* obj0
= 0 ;
9919 (char *) "self", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetSysName",kwnames
,&obj0
)) goto fail
;
9923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 result
= ((wxLocale
const *)arg1
)->GetSysName();
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9945 static PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxLocale
*arg1
= (wxLocale
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9951 (char *) "self", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetCanonicalName",kwnames
,&obj0
)) goto fail
;
9955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
9956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9977 static PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxString
*arg1
= 0 ;
9980 bool temp1
= false ;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "prefix", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) goto fail
;
9988 arg1
= wxString_in_helper(obj0
);
9989 if (arg1
== NULL
) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 Py_INCREF(Py_None
); resultobj
= Py_None
;
10014 static PyObject
*_wrap_Locale_AddCatalog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxLocale
*arg1
= (wxLocale
*) 0 ;
10017 wxString
*arg2
= 0 ;
10019 bool temp2
= false ;
10020 PyObject
* obj0
= 0 ;
10021 PyObject
* obj1
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self",(char *) "szDomain", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10030 arg2
= wxString_in_helper(obj1
);
10031 if (arg2
== NULL
) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10058 static PyObject
*_wrap_Locale_IsLoaded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxLocale
*arg1
= (wxLocale
*) 0 ;
10061 wxString
*arg2
= 0 ;
10063 bool temp2
= false ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self",(char *) "szDomain", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) goto fail
;
10071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10074 arg2
= wxString_in_helper(obj1
);
10075 if (arg2
== NULL
) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10102 static PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10105 wxLanguageInfo
*result
;
10106 PyObject
* obj0
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "lang", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) goto fail
;
10112 arg1
= (int)SWIG_As_int(obj0
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10128 static PyObject
*_wrap_Locale_GetLanguageName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10132 PyObject
* obj0
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "lang", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) goto fail
;
10138 arg1
= (int)SWIG_As_int(obj0
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= wxLocale::GetLanguageName(arg1
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10160 static PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxString
*arg1
= 0 ;
10163 wxLanguageInfo
*result
;
10164 bool temp1
= false ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "locale", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) goto fail
;
10172 arg1
= wxString_in_helper(obj0
);
10173 if (arg1
== NULL
) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLanguageInfo
, 0);
10198 static PyObject
*_wrap_Locale_AddLanguage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxLanguageInfo
*arg1
= 0 ;
10201 PyObject
* obj0
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "info", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) goto fail
;
10207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLanguageInfo
,
10208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10210 if (arg1
== NULL
) {
10211 PyErr_SetString(PyExc_TypeError
,"null reference");
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 static PyObject
*_wrap_Locale_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxLocale
*arg1
= (wxLocale
*) 0 ;
10231 wxString
*arg2
= 0 ;
10232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10235 bool temp2
= false ;
10236 bool temp3
= false ;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 PyObject
* obj2
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10248 arg2
= wxString_in_helper(obj1
);
10249 if (arg2
== NULL
) SWIG_fail
;
10254 arg3
= wxString_in_helper(obj2
);
10255 if (arg3
== NULL
) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10295 static PyObject
*_wrap_Locale_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxLocale
*arg1
= (wxLocale
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetName",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLocale
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
10311 result
= (wxString
*) &_result_ref
;
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10321 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10330 static PyObject
* Locale_swigregister(PyObject
*, PyObject
*args
) {
10332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10333 SWIG_TypeClientData(SWIGTYPE_p_wxLocale
, obj
);
10335 return Py_BuildValue((char *)"");
10337 static PyObject
*_wrap_GetLocale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10340 char *kwnames
[] = {
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocale",kwnames
)) goto fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (wxLocale
*)wxGetLocale();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLocale
, 0);
10359 static PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*, PyObject
*args
) {
10360 PyObject
*resultobj
;
10361 wxString
*arg1
= 0 ;
10363 bool temp1
= false ;
10364 PyObject
* obj0
= 0 ;
10366 if(!PyArg_ParseTuple(args
,(char *)"O:GetTranslation",&obj0
)) goto fail
;
10368 arg1
= wxString_in_helper(obj0
);
10369 if (arg1
== NULL
) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= wxGetTranslation((wxString
const &)*arg1
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10400 static PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*, PyObject
*args
) {
10401 PyObject
*resultobj
;
10402 wxString
*arg1
= 0 ;
10403 wxString
*arg2
= 0 ;
10406 bool temp1
= false ;
10407 bool temp2
= false ;
10408 PyObject
* obj0
= 0 ;
10409 PyObject
* obj1
= 0 ;
10410 PyObject
* obj2
= 0 ;
10412 if(!PyArg_ParseTuple(args
,(char *)"OOO:GetTranslation",&obj0
,&obj1
,&obj2
)) goto fail
;
10414 arg1
= wxString_in_helper(obj0
);
10415 if (arg1
== NULL
) SWIG_fail
;
10419 arg2
= wxString_in_helper(obj1
);
10420 if (arg2
== NULL
) SWIG_fail
;
10423 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10461 static PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
10466 argc
= PyObject_Length(args
);
10467 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
10468 argv
[ii
] = PyTuple_GetItem(args
,ii
);
10473 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10476 return _wrap_GetTranslation__SWIG_0(self
,args
);
10482 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
10486 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
10489 _v
= SWIG_Check_unsigned_SS_long(argv
[2]);
10491 return _wrap_GetTranslation__SWIG_1(self
,args
);
10497 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GetTranslation'");
10502 static PyObject
*_wrap_new_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxEncodingConverter
*result
;
10505 char *kwnames
[] = {
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EncodingConverter",kwnames
)) goto fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (wxEncodingConverter
*)new wxEncodingConverter();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEncodingConverter
, 1);
10524 static PyObject
*_wrap_delete_EncodingConverter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
;
10526 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10527 PyObject
* obj0
= 0 ;
10528 char *kwnames
[] = {
10529 (char *) "self", NULL
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EncodingConverter",kwnames
,&obj0
)) goto fail
;
10533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10549 static PyObject
*_wrap_EncodingConverter_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10554 int arg4
= (int) wxCONVERT_STRICT
;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 PyObject
* obj2
= 0 ;
10559 PyObject
* obj3
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10567 arg2
= (int)SWIG_As_int(obj1
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10569 arg3
= (int)SWIG_As_int(obj2
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 arg4
= (int)SWIG_As_int(obj3
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (bool)(arg1
)->Init((wxFontEncoding
)arg2
,(wxFontEncoding
)arg3
,arg4
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10591 static PyObject
*_wrap_EncodingConverter_Convert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
10594 wxString
*arg2
= 0 ;
10596 bool temp2
= false ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "input", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEncodingConverter
,
10605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10607 arg2
= wxString_in_helper(obj1
);
10608 if (arg2
== NULL
) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (arg1
)->Convert((wxString
const &)*arg2
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10639 static PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10642 int arg2
= (int) wxPLATFORM_CURRENT
;
10643 wxFontEncodingArray result
;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "enc",(char *) "platform", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) goto fail
;
10651 arg1
= (int)SWIG_As_int(obj0
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 arg2
= (int)SWIG_As_int(obj1
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding
)arg1
,arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= PyList_New(0);
10666 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10667 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10668 PyList_Append(resultobj
, number
);
10678 static PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
;
10681 wxFontEncodingArray result
;
10682 PyObject
* obj0
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "enc", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) goto fail
;
10688 arg1
= (int)SWIG_As_int(obj0
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= wxEncodingConverter::GetAllEquivalents((wxFontEncoding
)arg1
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= PyList_New(0);
10699 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
10700 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
10701 PyList_Append(resultobj
, number
);
10711 static PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "encIn",(char *) "encOut", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) goto fail
;
10723 arg1
= (int)SWIG_As_int(obj0
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10725 arg2
= (int)SWIG_As_int(obj1
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (bool)wxEncodingConverter::CanConvert((wxFontEncoding
)arg1
,(wxFontEncoding
)arg2
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10743 static PyObject
* EncodingConverter_swigregister(PyObject
*, PyObject
*args
) {
10745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10746 SWIG_TypeClientData(SWIGTYPE_p_wxEncodingConverter
, obj
);
10748 return Py_BuildValue((char *)"");
10750 static PyObject
*_wrap_delete_DC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxDC
*arg1
= (wxDC
*) 0 ;
10753 PyObject
* obj0
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DC",kwnames
,&obj0
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_DC_BeginDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxDC
*arg1
= (wxDC
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_BeginDrawing",kwnames
,&obj0
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 (arg1
)->BeginDrawing();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 Py_INCREF(Py_None
); resultobj
= Py_None
;
10800 static PyObject
*_wrap_DC_EndDrawing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxDC
*arg1
= (wxDC
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 char *kwnames
[] = {
10805 (char *) "self", NULL
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDrawing",kwnames
,&obj0
)) goto fail
;
10809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->EndDrawing();
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_DC_FloodFill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxDC
*arg1
= (wxDC
*) 0 ;
10830 wxColour
*arg4
= 0 ;
10831 int arg5
= (int) wxFLOOD_SURFACE
;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 PyObject
* obj2
= 0 ;
10837 PyObject
* obj3
= 0 ;
10838 PyObject
* obj4
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 arg2
= (int)SWIG_As_int(obj1
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10848 arg3
= (int)SWIG_As_int(obj2
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10852 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
10855 arg5
= (int)SWIG_As_int(obj4
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10874 static PyObject
*_wrap_DC_FloodFillPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxDC
*arg1
= (wxDC
*) 0 ;
10877 wxPoint
*arg2
= 0 ;
10878 wxColour
*arg3
= 0 ;
10879 int arg4
= (int) wxFLOOD_SURFACE
;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 PyObject
* obj3
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10900 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10903 arg4
= (int)SWIG_As_int(obj3
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10922 static PyObject
*_wrap_DC_GetPixel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxDC
*arg1
= (wxDC
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "x",(char *) "y", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 arg2
= (int)SWIG_As_int(obj1
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10940 arg3
= (int)SWIG_As_int(obj2
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10950 wxColour
* resultptr
;
10951 resultptr
= new wxColour((wxColour
&) result
);
10952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10960 static PyObject
*_wrap_DC_GetPixelPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxDC
*arg1
= (wxDC
*) 0 ;
10963 wxPoint
*arg2
= 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "self",(char *) "pt", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
10973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
10974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10987 wxColour
* resultptr
;
10988 resultptr
= new wxColour((wxColour
&) result
);
10989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
10997 static PyObject
*_wrap_DC_DrawLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
;
10999 wxDC
*arg1
= (wxDC
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 PyObject
* obj2
= 0 ;
11007 PyObject
* obj3
= 0 ;
11008 PyObject
* obj4
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 arg2
= (int)SWIG_As_int(obj1
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11018 arg3
= (int)SWIG_As_int(obj2
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11020 arg4
= (int)SWIG_As_int(obj3
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11022 arg5
= (int)SWIG_As_int(obj4
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_DC_DrawLinePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxDC
*arg1
= (wxDC
*) 0 ;
11041 wxPoint
*arg2
= 0 ;
11042 wxPoint
*arg3
= 0 ;
11045 PyObject
* obj0
= 0 ;
11046 PyObject
* obj1
= 0 ;
11047 PyObject
* obj2
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_DC_CrossHair(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxDC
*arg1
= (wxDC
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 PyObject
* obj1
= 0 ;
11084 PyObject
* obj2
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self",(char *) "x",(char *) "y", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11092 arg2
= (int)SWIG_As_int(obj1
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11094 arg3
= (int)SWIG_As_int(obj2
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 (arg1
)->CrossHair(arg2
,arg3
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 Py_INCREF(Py_None
); resultobj
= Py_None
;
11110 static PyObject
*_wrap_DC_CrossHairPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxDC
*arg1
= (wxDC
*) 0 ;
11113 wxPoint
*arg2
= 0 ;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "pt", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 Py_INCREF(Py_None
); resultobj
= Py_None
;
11142 static PyObject
*_wrap_DC_DrawArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxDC
*arg1
= (wxDC
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 PyObject
* obj2
= 0 ;
11154 PyObject
* obj3
= 0 ;
11155 PyObject
* obj4
= 0 ;
11156 PyObject
* obj5
= 0 ;
11157 PyObject
* obj6
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 arg2
= (int)SWIG_As_int(obj1
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11167 arg3
= (int)SWIG_As_int(obj2
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11169 arg4
= (int)SWIG_As_int(obj3
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11171 arg5
= (int)SWIG_As_int(obj4
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11173 arg6
= (int)SWIG_As_int(obj5
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11175 arg7
= (int)SWIG_As_int(obj6
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 Py_INCREF(Py_None
); resultobj
= Py_None
;
11191 static PyObject
*_wrap_DC_DrawArcPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxDC
*arg1
= (wxDC
*) 0 ;
11194 wxPoint
*arg2
= 0 ;
11195 wxPoint
*arg3
= 0 ;
11196 wxPoint
*arg4
= 0 ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 PyObject
* obj2
= 0 ;
11203 PyObject
* obj3
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11217 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11221 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_DC_DrawCheckMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxDC
*arg1
= (wxDC
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 PyObject
* obj2
= 0 ;
11247 PyObject
* obj3
= 0 ;
11248 PyObject
* obj4
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11256 arg2
= (int)SWIG_As_int(obj1
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11258 arg3
= (int)SWIG_As_int(obj2
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11260 arg4
= (int)SWIG_As_int(obj3
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11262 arg5
= (int)SWIG_As_int(obj4
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 Py_INCREF(Py_None
); resultobj
= Py_None
;
11278 static PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxDC
*arg1
= (wxDC
*) 0 ;
11283 PyObject
* obj0
= 0 ;
11284 PyObject
* obj1
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self",(char *) "rect", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 Py_INCREF(Py_None
); resultobj
= Py_None
;
11310 static PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxDC
*arg1
= (wxDC
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 PyObject
* obj2
= 0 ;
11322 PyObject
* obj3
= 0 ;
11323 PyObject
* obj4
= 0 ;
11324 PyObject
* obj5
= 0 ;
11325 PyObject
* obj6
= 0 ;
11326 char *kwnames
[] = {
11327 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
11330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11333 arg2
= (int)SWIG_As_int(obj1
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11335 arg3
= (int)SWIG_As_int(obj2
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11337 arg4
= (int)SWIG_As_int(obj3
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11339 arg5
= (int)SWIG_As_int(obj4
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11341 arg6
= (double)SWIG_As_double(obj5
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11343 arg7
= (double)SWIG_As_double(obj6
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 Py_INCREF(Py_None
); resultobj
= Py_None
;
11359 static PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxDC
*arg1
= (wxDC
*) 0 ;
11362 wxPoint
*arg2
= 0 ;
11368 PyObject
* obj0
= 0 ;
11369 PyObject
* obj1
= 0 ;
11370 PyObject
* obj2
= 0 ;
11371 PyObject
* obj3
= 0 ;
11372 PyObject
* obj4
= 0 ;
11373 char *kwnames
[] = {
11374 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11386 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11388 arg4
= (double)SWIG_As_double(obj3
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11390 arg5
= (double)SWIG_As_double(obj4
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 Py_INCREF(Py_None
); resultobj
= Py_None
;
11406 static PyObject
*_wrap_DC_DrawPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxDC
*arg1
= (wxDC
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 PyObject
* obj2
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self",(char *) "x",(char *) "y", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11421 arg2
= (int)SWIG_As_int(obj1
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11423 arg3
= (int)SWIG_As_int(obj2
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 (arg1
)->DrawPoint(arg2
,arg3
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 Py_INCREF(Py_None
); resultobj
= Py_None
;
11439 static PyObject
*_wrap_DC_DrawPointPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxDC
*arg1
= (wxDC
*) 0 ;
11442 wxPoint
*arg2
= 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "pt", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11455 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 Py_INCREF(Py_None
); resultobj
= Py_None
;
11471 static PyObject
*_wrap_DC_DrawRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxDC
*arg1
= (wxDC
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 PyObject
* obj2
= 0 ;
11481 PyObject
* obj3
= 0 ;
11482 PyObject
* obj4
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11490 arg2
= (int)SWIG_As_int(obj1
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11492 arg3
= (int)SWIG_As_int(obj2
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11494 arg4
= (int)SWIG_As_int(obj3
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11496 arg5
= (int)SWIG_As_int(obj4
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 Py_INCREF(Py_None
); resultobj
= Py_None
;
11512 static PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxDC
*arg1
= (wxDC
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self",(char *) "rect", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11528 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 Py_INCREF(Py_None
); resultobj
= Py_None
;
11544 static PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxDC
*arg1
= (wxDC
*) 0 ;
11547 wxPoint
*arg2
= 0 ;
11551 PyObject
* obj0
= 0 ;
11552 PyObject
* obj1
= 0 ;
11553 PyObject
* obj2
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "pt",(char *) "sz", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11567 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 Py_INCREF(Py_None
); resultobj
= Py_None
;
11583 static PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxDC
*arg1
= (wxDC
*) 0 ;
11591 PyObject
* obj0
= 0 ;
11592 PyObject
* obj1
= 0 ;
11593 PyObject
* obj2
= 0 ;
11594 PyObject
* obj3
= 0 ;
11595 PyObject
* obj4
= 0 ;
11596 PyObject
* obj5
= 0 ;
11597 char *kwnames
[] = {
11598 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11604 arg2
= (int)SWIG_As_int(obj1
);
11605 if (PyErr_Occurred()) SWIG_fail
;
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
;
11610 arg5
= (int)SWIG_As_int(obj4
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11612 arg6
= (double)SWIG_As_double(obj5
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 Py_INCREF(Py_None
); resultobj
= Py_None
;
11628 static PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxDC
*arg1
= (wxDC
*) 0 ;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 PyObject
* obj2
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self",(char *) "r",(char *) "radius", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11646 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11648 arg3
= (double)SWIG_As_double(obj2
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 Py_INCREF(Py_None
); resultobj
= Py_None
;
11664 static PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxDC
*arg1
= (wxDC
*) 0 ;
11667 wxPoint
*arg2
= 0 ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 PyObject
* obj2
= 0 ;
11675 PyObject
* obj3
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11689 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11691 arg4
= (double)SWIG_As_double(obj3
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 Py_INCREF(Py_None
); resultobj
= Py_None
;
11707 static PyObject
*_wrap_DC_DrawCircle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxDC
*arg1
= (wxDC
*) 0 ;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 PyObject
* obj2
= 0 ;
11716 PyObject
* obj3
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11724 arg2
= (int)SWIG_As_int(obj1
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11726 arg3
= (int)SWIG_As_int(obj2
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11728 arg4
= (int)SWIG_As_int(obj3
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 Py_INCREF(Py_None
); resultobj
= Py_None
;
11744 static PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
;
11746 wxDC
*arg1
= (wxDC
*) 0 ;
11747 wxPoint
*arg2
= 0 ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 PyObject
* obj2
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self",(char *) "pt",(char *) "radius", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11764 arg3
= (int)SWIG_As_int(obj2
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 Py_INCREF(Py_None
); resultobj
= Py_None
;
11780 static PyObject
*_wrap_DC_DrawEllipse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxDC
*arg1
= (wxDC
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 PyObject
* obj2
= 0 ;
11790 PyObject
* obj3
= 0 ;
11791 PyObject
* obj4
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11799 arg2
= (int)SWIG_As_int(obj1
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11801 arg3
= (int)SWIG_As_int(obj2
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11803 arg4
= (int)SWIG_As_int(obj3
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11805 arg5
= (int)SWIG_As_int(obj4
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 Py_INCREF(Py_None
); resultobj
= Py_None
;
11821 static PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxDC
*arg1
= (wxDC
*) 0 ;
11826 PyObject
* obj0
= 0 ;
11827 PyObject
* obj1
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self",(char *) "rect", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 Py_INCREF(Py_None
); resultobj
= Py_None
;
11853 static PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxDC
*arg1
= (wxDC
*) 0 ;
11856 wxPoint
*arg2
= 0 ;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 PyObject
* obj2
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "pt",(char *) "sz", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11876 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 Py_INCREF(Py_None
); resultobj
= Py_None
;
11892 static PyObject
*_wrap_DC_DrawIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxDC
*arg1
= (wxDC
*) 0 ;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 PyObject
* obj2
= 0 ;
11901 PyObject
* obj3
= 0 ;
11902 char *kwnames
[] = {
11903 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
11906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11912 if (arg2
== NULL
) {
11913 PyErr_SetString(PyExc_TypeError
,"null reference");
11916 arg3
= (int)SWIG_As_int(obj2
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11918 arg4
= (int)SWIG_As_int(obj3
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 Py_INCREF(Py_None
); resultobj
= Py_None
;
11934 static PyObject
*_wrap_DC_DrawIconPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
;
11936 wxDC
*arg1
= (wxDC
*) 0 ;
11938 wxPoint
*arg3
= 0 ;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 PyObject
* obj2
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self",(char *) "icon",(char *) "pt", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11953 if (arg2
== NULL
) {
11954 PyErr_SetString(PyExc_TypeError
,"null reference");
11959 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 Py_INCREF(Py_None
); resultobj
= Py_None
;
11975 static PyObject
*_wrap_DC_DrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
;
11977 wxDC
*arg1
= (wxDC
*) 0 ;
11978 wxBitmap
*arg2
= 0 ;
11981 bool arg5
= (bool) false ;
11982 PyObject
* obj0
= 0 ;
11983 PyObject
* obj1
= 0 ;
11984 PyObject
* obj2
= 0 ;
11985 PyObject
* obj3
= 0 ;
11986 PyObject
* obj4
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
11993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
11995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11997 if (arg2
== NULL
) {
11998 PyErr_SetString(PyExc_TypeError
,"null reference");
12001 arg3
= (int)SWIG_As_int(obj2
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12003 arg4
= (int)SWIG_As_int(obj3
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 arg5
= (bool)SWIG_As_bool(obj4
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 Py_INCREF(Py_None
); resultobj
= Py_None
;
12023 static PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxDC
*arg1
= (wxDC
*) 0 ;
12026 wxBitmap
*arg2
= 0 ;
12027 wxPoint
*arg3
= 0 ;
12028 bool arg4
= (bool) false ;
12030 PyObject
* obj0
= 0 ;
12031 PyObject
* obj1
= 0 ;
12032 PyObject
* obj2
= 0 ;
12033 PyObject
* obj3
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
12042 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12044 if (arg2
== NULL
) {
12045 PyErr_SetString(PyExc_TypeError
,"null reference");
12050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12053 arg4
= (bool)SWIG_As_bool(obj3
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 Py_INCREF(Py_None
); resultobj
= Py_None
;
12070 static PyObject
*_wrap_DC_DrawText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxDC
*arg1
= (wxDC
*) 0 ;
12073 wxString
*arg2
= 0 ;
12076 bool temp2
= false ;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 PyObject
* obj2
= 0 ;
12080 PyObject
* obj3
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12089 arg2
= wxString_in_helper(obj1
);
12090 if (arg2
== NULL
) SWIG_fail
;
12093 arg3
= (int)SWIG_As_int(obj2
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12095 arg4
= (int)SWIG_As_int(obj3
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 Py_INCREF(Py_None
); resultobj
= Py_None
;
12119 static PyObject
*_wrap_DC_DrawTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxDC
*arg1
= (wxDC
*) 0 ;
12122 wxString
*arg2
= 0 ;
12123 wxPoint
*arg3
= 0 ;
12124 bool temp2
= false ;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 PyObject
* obj2
= 0 ;
12129 char *kwnames
[] = {
12130 (char *) "self",(char *) "text",(char *) "pt", NULL
12133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12137 arg2
= wxString_in_helper(obj1
);
12138 if (arg2
== NULL
) SWIG_fail
;
12143 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 Py_INCREF(Py_None
); resultobj
= Py_None
;
12167 static PyObject
*_wrap_DC_DrawRotatedText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxDC
*arg1
= (wxDC
*) 0 ;
12170 wxString
*arg2
= 0 ;
12174 bool temp2
= false ;
12175 PyObject
* obj0
= 0 ;
12176 PyObject
* obj1
= 0 ;
12177 PyObject
* obj2
= 0 ;
12178 PyObject
* obj3
= 0 ;
12179 PyObject
* obj4
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= wxString_in_helper(obj1
);
12189 if (arg2
== NULL
) SWIG_fail
;
12192 arg3
= (int)SWIG_As_int(obj2
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12194 arg4
= (int)SWIG_As_int(obj3
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12196 arg5
= (double)SWIG_As_double(obj4
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 Py_INCREF(Py_None
); resultobj
= Py_None
;
12220 static PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxDC
*arg1
= (wxDC
*) 0 ;
12223 wxString
*arg2
= 0 ;
12224 wxPoint
*arg3
= 0 ;
12226 bool temp2
= false ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 PyObject
* obj2
= 0 ;
12231 PyObject
* obj3
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12240 arg2
= wxString_in_helper(obj1
);
12241 if (arg2
== NULL
) SWIG_fail
;
12246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12248 arg4
= (double)SWIG_As_double(obj3
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12252 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12257 Py_INCREF(Py_None
); resultobj
= Py_None
;
12272 static PyObject
*_wrap_DC_Blit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxDC
*arg1
= (wxDC
*) 0 ;
12279 wxDC
*arg6
= (wxDC
*) 0 ;
12282 int arg9
= (int) wxCOPY
;
12283 bool arg10
= (bool) false ;
12284 int arg11
= (int) -1 ;
12285 int arg12
= (int) -1 ;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 PyObject
* obj2
= 0 ;
12290 PyObject
* obj3
= 0 ;
12291 PyObject
* obj4
= 0 ;
12292 PyObject
* obj5
= 0 ;
12293 PyObject
* obj6
= 0 ;
12294 PyObject
* obj7
= 0 ;
12295 PyObject
* obj8
= 0 ;
12296 PyObject
* obj9
= 0 ;
12297 PyObject
* obj10
= 0 ;
12298 PyObject
* obj11
= 0 ;
12299 char *kwnames
[] = {
12300 (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
12303 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
;
12304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12306 arg2
= (int)SWIG_As_int(obj1
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12308 arg3
= (int)SWIG_As_int(obj2
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12310 arg4
= (int)SWIG_As_int(obj3
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12312 arg5
= (int)SWIG_As_int(obj4
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12314 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxDC
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 arg7
= (int)SWIG_As_int(obj6
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12318 arg8
= (int)SWIG_As_int(obj7
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 arg9
= (int)SWIG_As_int(obj8
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12325 arg10
= (bool)SWIG_As_bool(obj9
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12329 arg11
= (int)SWIG_As_int(obj10
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12333 arg12
= (int)SWIG_As_int(obj11
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12352 static PyObject
*_wrap_DC_BlitPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxDC
*arg1
= (wxDC
*) 0 ;
12355 wxPoint
*arg2
= 0 ;
12357 wxDC
*arg4
= (wxDC
*) 0 ;
12358 wxPoint
*arg5
= 0 ;
12359 int arg6
= (int) wxCOPY
;
12360 bool arg7
= (bool) false ;
12361 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
12362 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 PyObject
* obj2
= 0 ;
12371 PyObject
* obj3
= 0 ;
12372 PyObject
* obj4
= 0 ;
12373 PyObject
* obj5
= 0 ;
12374 PyObject
* obj6
= 0 ;
12375 PyObject
* obj7
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12389 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12391 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDC
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12398 arg6
= (int)SWIG_As_int(obj5
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12402 arg7
= (bool)SWIG_As_bool(obj6
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12408 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12427 static PyObject
*_wrap_DC_SetClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
;
12429 wxDC
*arg1
= (wxDC
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 PyObject
* obj2
= 0 ;
12437 PyObject
* obj3
= 0 ;
12438 PyObject
* obj4
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 arg2
= (int)SWIG_As_int(obj1
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12448 arg3
= (int)SWIG_As_int(obj2
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12450 arg4
= (int)SWIG_As_int(obj3
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12452 arg5
= (int)SWIG_As_int(obj4
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 Py_INCREF(Py_None
); resultobj
= Py_None
;
12468 static PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxDC
*arg1
= (wxDC
*) 0 ;
12471 wxPoint
*arg2
= 0 ;
12475 PyObject
* obj0
= 0 ;
12476 PyObject
* obj1
= 0 ;
12477 PyObject
* obj2
= 0 ;
12478 char *kwnames
[] = {
12479 (char *) "self",(char *) "pt",(char *) "sz", NULL
12482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12491 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 Py_INCREF(Py_None
); resultobj
= Py_None
;
12507 static PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxDC
*arg1
= (wxDC
*) 0 ;
12510 wxRegion
*arg2
= 0 ;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self",(char *) "region", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12523 if (arg2
== NULL
) {
12524 PyErr_SetString(PyExc_TypeError
,"null reference");
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 Py_INCREF(Py_None
); resultobj
= Py_None
;
12541 static PyObject
*_wrap_DC_SetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxDC
*arg1
= (wxDC
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self",(char *) "rect", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
12553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12557 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 Py_INCREF(Py_None
); resultobj
= Py_None
;
12573 static PyObject
*_wrap_DC_DrawLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
;
12575 wxDC
*arg1
= (wxDC
*) 0 ;
12577 wxPoint
*arg3
= (wxPoint
*) 0 ;
12578 int arg4
= (int) 0 ;
12579 int arg5
= (int) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 PyObject
* obj2
= 0 ;
12583 PyObject
* obj3
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12593 if (arg3
== NULL
) SWIG_fail
;
12596 arg4
= (int)SWIG_As_int(obj2
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 arg5
= (int)SWIG_As_int(obj3
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 if (arg3
) delete [] arg3
;
12617 if (arg3
) delete [] arg3
;
12623 static PyObject
*_wrap_DC_DrawPolygon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxDC
*arg1
= (wxDC
*) 0 ;
12627 wxPoint
*arg3
= (wxPoint
*) 0 ;
12628 int arg4
= (int) 0 ;
12629 int arg5
= (int) 0 ;
12630 int arg6
= (int) wxODDEVEN_RULE
;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 PyObject
* obj2
= 0 ;
12634 PyObject
* obj3
= 0 ;
12635 PyObject
* obj4
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12644 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12645 if (arg3
== NULL
) SWIG_fail
;
12648 arg4
= (int)SWIG_As_int(obj2
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12652 arg5
= (int)SWIG_As_int(obj3
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12656 arg6
= (int)SWIG_As_int(obj4
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12668 if (arg3
) delete [] arg3
;
12673 if (arg3
) delete [] arg3
;
12679 static PyObject
*_wrap_DC_DrawLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxDC
*arg1
= (wxDC
*) 0 ;
12682 wxString
*arg2
= 0 ;
12684 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12685 int arg5
= (int) -1 ;
12686 bool temp2
= false ;
12688 PyObject
* obj0
= 0 ;
12689 PyObject
* obj1
= 0 ;
12690 PyObject
* obj2
= 0 ;
12691 PyObject
* obj3
= 0 ;
12692 PyObject
* obj4
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 arg2
= wxString_in_helper(obj1
);
12702 if (arg2
== NULL
) SWIG_fail
;
12707 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
12710 arg4
= (int)SWIG_As_int(obj3
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 arg5
= (int)SWIG_As_int(obj4
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 Py_INCREF(Py_None
); resultobj
= Py_None
;
12739 static PyObject
*_wrap_DC_DrawImageLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxDC
*arg1
= (wxDC
*) 0 ;
12742 wxString
*arg2
= 0 ;
12743 wxBitmap
*arg3
= 0 ;
12745 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
12746 int arg6
= (int) -1 ;
12748 bool temp2
= false ;
12750 PyObject
* obj0
= 0 ;
12751 PyObject
* obj1
= 0 ;
12752 PyObject
* obj2
= 0 ;
12753 PyObject
* obj3
= 0 ;
12754 PyObject
* obj4
= 0 ;
12755 PyObject
* obj5
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12764 arg2
= wxString_in_helper(obj1
);
12765 if (arg2
== NULL
) SWIG_fail
;
12768 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
12769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12771 if (arg3
== NULL
) {
12772 PyErr_SetString(PyExc_TypeError
,"null reference");
12777 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
12780 arg5
= (int)SWIG_As_int(obj4
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12784 arg6
= (int)SWIG_As_int(obj5
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12795 wxRect
* resultptr
;
12796 resultptr
= new wxRect((wxRect
&) result
);
12797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
12813 static PyObject
*_wrap_DC_DrawSpline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxDC
*arg1
= (wxDC
*) 0 ;
12817 wxPoint
*arg3
= (wxPoint
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 char *kwnames
[] = {
12821 (char *) "self",(char *) "points", NULL
12824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) goto fail
;
12825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12828 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
12829 if (arg3
== NULL
) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 (arg1
)->DrawSpline(arg2
,arg3
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 Py_INCREF(Py_None
); resultobj
= Py_None
;
12840 if (arg3
) delete [] arg3
;
12845 if (arg3
) delete [] arg3
;
12851 static PyObject
*_wrap_DC_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
;
12853 wxDC
*arg1
= (wxDC
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Clear",kwnames
,&obj0
)) goto fail
;
12860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12869 Py_INCREF(Py_None
); resultobj
= Py_None
;
12876 static PyObject
*_wrap_DC_StartDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
;
12878 wxDC
*arg1
= (wxDC
*) 0 ;
12879 wxString
*arg2
= 0 ;
12881 bool temp2
= false ;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self",(char *) "message", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 arg2
= wxString_in_helper(obj1
);
12893 if (arg2
== NULL
) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12920 static PyObject
*_wrap_DC_EndDoc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxDC
*arg1
= (wxDC
*) 0 ;
12923 PyObject
* obj0
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndDoc",kwnames
,&obj0
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 Py_INCREF(Py_None
); resultobj
= Py_None
;
12945 static PyObject
*_wrap_DC_StartPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxDC
*arg1
= (wxDC
*) 0 ;
12948 PyObject
* obj0
= 0 ;
12949 char *kwnames
[] = {
12950 (char *) "self", NULL
12953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_StartPage",kwnames
,&obj0
)) goto fail
;
12954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 (arg1
)->StartPage();
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 Py_INCREF(Py_None
); resultobj
= Py_None
;
12970 static PyObject
*_wrap_DC_EndPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12972 wxDC
*arg1
= (wxDC
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_EndPage",kwnames
,&obj0
)) goto fail
;
12979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
12980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12988 Py_INCREF(Py_None
); resultobj
= Py_None
;
12995 static PyObject
*_wrap_DC_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxDC
*arg1
= (wxDC
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "font", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13011 if (arg2
== NULL
) {
13012 PyErr_SetString(PyExc_TypeError
,"null reference");
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 (arg1
)->SetFont((wxFont
const &)*arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13022 Py_INCREF(Py_None
); resultobj
= Py_None
;
13029 static PyObject
*_wrap_DC_SetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13030 PyObject
*resultobj
;
13031 wxDC
*arg1
= (wxDC
*) 0 ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "self",(char *) "pen", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) goto fail
;
13040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
13043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13045 if (arg2
== NULL
) {
13046 PyErr_SetString(PyExc_TypeError
,"null reference");
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 (arg1
)->SetPen((wxPen
const &)*arg2
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13056 Py_INCREF(Py_None
); resultobj
= Py_None
;
13063 static PyObject
*_wrap_DC_SetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
;
13065 wxDC
*arg1
= (wxDC
*) 0 ;
13066 wxBrush
*arg2
= 0 ;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 char *kwnames
[] = {
13070 (char *) "self",(char *) "brush", NULL
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
13074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13077 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13079 if (arg2
== NULL
) {
13080 PyErr_SetString(PyExc_TypeError
,"null reference");
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 Py_INCREF(Py_None
); resultobj
= Py_None
;
13097 static PyObject
*_wrap_DC_SetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxDC
*arg1
= (wxDC
*) 0 ;
13100 wxBrush
*arg2
= 0 ;
13101 PyObject
* obj0
= 0 ;
13102 PyObject
* obj1
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self",(char *) "brush", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
13108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
13111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13113 if (arg2
== NULL
) {
13114 PyErr_SetString(PyExc_TypeError
,"null reference");
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 Py_INCREF(Py_None
); resultobj
= Py_None
;
13131 static PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxDC
*arg1
= (wxDC
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self",(char *) "mode", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) goto fail
;
13142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13144 arg2
= (int)SWIG_As_int(obj1
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 (arg1
)->SetBackgroundMode(arg2
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 Py_INCREF(Py_None
); resultobj
= Py_None
;
13160 static PyObject
*_wrap_DC_SetPalette(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
*resultobj
;
13162 wxDC
*arg1
= (wxDC
*) 0 ;
13163 wxPalette
*arg2
= 0 ;
13164 PyObject
* obj0
= 0 ;
13165 PyObject
* obj1
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self",(char *) "palette", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPalette
,
13174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13176 if (arg2
== NULL
) {
13177 PyErr_SetString(PyExc_TypeError
,"null reference");
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 static PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxDC
*arg1
= (wxDC
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_DestroyClippingRegion",kwnames
,&obj0
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 (arg1
)->DestroyClippingRegion();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 Py_INCREF(Py_None
); resultobj
= Py_None
;
13219 static PyObject
*_wrap_DC_GetClippingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
;
13221 wxDC
*arg1
= (wxDC
*) 0 ;
13222 int *arg2
= (int *) 0 ;
13223 int *arg3
= (int *) 0 ;
13224 int *arg4
= (int *) 0 ;
13225 int *arg5
= (int *) 0 ;
13234 PyObject
* obj0
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self", NULL
13239 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13240 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13241 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13242 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingBox",kwnames
,&obj0
)) goto fail
;
13244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13255 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13256 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13257 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13258 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13259 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13260 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13261 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13268 static PyObject
*_wrap_DC_GetClippingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxDC
*arg1
= (wxDC
*) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetClippingRect",kwnames
,&obj0
)) goto fail
;
13278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= wxDC_GetClippingRect(arg1
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 wxRect
* resultptr
;
13289 resultptr
= new wxRect((wxRect
&) result
);
13290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
13298 static PyObject
*_wrap_DC_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
;
13300 wxDC
*arg1
= (wxDC
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharHeight",kwnames
,&obj0
)) goto fail
;
13308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= SWIG_From_int((int)result
);
13324 static PyObject
*_wrap_DC_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxDC
*arg1
= (wxDC
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetCharWidth",kwnames
,&obj0
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_From_int((int)result
);
13350 static PyObject
*_wrap_DC_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxDC
*arg1
= (wxDC
*) 0 ;
13353 wxString
*arg2
= 0 ;
13354 int *arg3
= (int *) 0 ;
13355 int *arg4
= (int *) 0 ;
13356 bool temp2
= false ;
13361 PyObject
* obj0
= 0 ;
13362 PyObject
* obj1
= 0 ;
13363 char *kwnames
[] = {
13364 (char *) "self",(char *) "string", NULL
13367 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13368 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13373 arg2
= wxString_in_helper(obj1
);
13374 if (arg2
== NULL
) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13386 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13387 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13388 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13403 static PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxDC
*arg1
= (wxDC
*) 0 ;
13406 wxString
*arg2
= 0 ;
13407 int *arg3
= (int *) 0 ;
13408 int *arg4
= (int *) 0 ;
13409 int *arg5
= (int *) 0 ;
13410 int *arg6
= (int *) 0 ;
13411 wxFont
*arg7
= (wxFont
*) NULL
;
13412 bool temp2
= false ;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 PyObject
* obj2
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "string",(char *) "font", NULL
13428 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13429 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13430 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13431 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 arg2
= wxString_in_helper(obj1
);
13437 if (arg2
== NULL
) SWIG_fail
;
13441 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
13442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13453 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13454 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13455 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13456 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13457 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13458 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
13459 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
13474 static PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxDC
*arg1
= (wxDC
*) 0 ;
13477 wxString
*arg2
= 0 ;
13478 int *arg3
= (int *) 0 ;
13479 int *arg4
= (int *) 0 ;
13480 int *arg5
= (int *) 0 ;
13481 wxFont
*arg6
= (wxFont
*) NULL
;
13482 bool temp2
= false ;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 PyObject
* obj2
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self",(char *) "text",(char *) "font", NULL
13496 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13497 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
13498 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13503 arg2
= wxString_in_helper(obj1
);
13504 if (arg2
== NULL
) SWIG_fail
;
13508 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg6
),SWIGTYPE_p_wxFont
,
13509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13518 Py_INCREF(Py_None
); resultobj
= Py_None
;
13519 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13520 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13521 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
13522 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
13523 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
13524 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
13539 static PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxDC
*arg1
= (wxDC
*) 0 ;
13542 wxString
*arg2
= 0 ;
13544 bool temp2
= false ;
13545 PyObject
* obj0
= 0 ;
13546 PyObject
* obj1
= 0 ;
13547 char *kwnames
[] = {
13548 (char *) "self",(char *) "text", NULL
13551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) goto fail
;
13552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13555 arg2
= wxString_in_helper(obj1
);
13556 if (arg2
== NULL
) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= PyList_New(0);
13569 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
13570 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
13571 PyList_Append(resultobj
, val
);
13589 static PyObject
*_wrap_DC_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxDC
*arg1
= (wxDC
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSize",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (arg1
)->GetSize();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 wxSize
* resultptr
;
13610 resultptr
= new wxSize((wxSize
&) result
);
13611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13619 static PyObject
*_wrap_DC_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxDC
*arg1
= (wxDC
*) 0 ;
13622 int *arg2
= (int *) 0 ;
13623 int *arg3
= (int *) 0 ;
13628 PyObject
* obj0
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self", NULL
13633 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13634 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 (arg1
)->GetSize(arg2
,arg3
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 Py_INCREF(Py_None
); resultobj
= Py_None
;
13646 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13647 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13648 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13649 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13656 static PyObject
*_wrap_DC_GetSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxDC
*arg1
= (wxDC
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 char *kwnames
[] = {
13662 (char *) "self", NULL
13665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMM",kwnames
,&obj0
)) goto fail
;
13666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 result
= ((wxDC
const *)arg1
)->GetSizeMM();
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13676 wxSize
* resultptr
;
13677 resultptr
= new wxSize((wxSize
&) result
);
13678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13686 static PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxDC
*arg1
= (wxDC
*) 0 ;
13689 int *arg2
= (int *) 0 ;
13690 int *arg3
= (int *) 0 ;
13695 PyObject
* obj0
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self", NULL
13700 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
13701 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetSizeMMTuple",kwnames
,&obj0
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 Py_INCREF(Py_None
); resultobj
= Py_None
;
13713 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
13714 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
13715 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
13716 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
13723 static PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxDC
*arg1
= (wxDC
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "x", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 arg2
= (int)SWIG_As_int(obj1
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= SWIG_From_int((int)result
);
13753 static PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
;
13755 wxDC
*arg1
= (wxDC
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self",(char *) "y", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) goto fail
;
13765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13767 arg2
= (int)SWIG_As_int(obj1
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= SWIG_From_int((int)result
);
13783 static PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxDC
*arg1
= (wxDC
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 char *kwnames
[] = {
13791 (char *) "self",(char *) "x", NULL
13794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13797 arg2
= (int)SWIG_As_int(obj1
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_From_int((int)result
);
13813 static PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxDC
*arg1
= (wxDC
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self",(char *) "y", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 arg2
= (int)SWIG_As_int(obj1
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= SWIG_From_int((int)result
);
13843 static PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxDC
*arg1
= (wxDC
*) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 PyObject
* obj1
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self",(char *) "x", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13857 arg2
= (int)SWIG_As_int(obj1
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_From_int((int)result
);
13873 static PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxDC
*arg1
= (wxDC
*) 0 ;
13878 PyObject
* obj0
= 0 ;
13879 PyObject
* obj1
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self",(char *) "y", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) goto fail
;
13885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13887 arg2
= (int)SWIG_As_int(obj1
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_From_int((int)result
);
13903 static PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxDC
*arg1
= (wxDC
*) 0 ;
13908 PyObject
* obj0
= 0 ;
13909 PyObject
* obj1
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self",(char *) "x", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13917 arg2
= (int)SWIG_As_int(obj1
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_From_int((int)result
);
13933 static PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxDC
*arg1
= (wxDC
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char *kwnames
[] = {
13941 (char *) "self",(char *) "y", NULL
13944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) goto fail
;
13945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 arg2
= (int)SWIG_As_int(obj1
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= SWIG_From_int((int)result
);
13963 static PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxDC
*arg1
= (wxDC
*) 0 ;
13967 PyObject
* obj0
= 0 ;
13968 char *kwnames
[] = {
13969 (char *) "self", NULL
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanDrawBitmap",kwnames
,&obj0
)) goto fail
;
13973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
13974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13991 static PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13992 PyObject
*resultobj
;
13993 wxDC
*arg1
= (wxDC
*) 0 ;
13995 PyObject
* obj0
= 0 ;
13996 char *kwnames
[] = {
13997 (char *) "self", NULL
14000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_CanGetTextExtent",kwnames
,&obj0
)) goto fail
;
14001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14019 static PyObject
*_wrap_DC_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
;
14021 wxDC
*arg1
= (wxDC
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDepth",kwnames
,&obj0
)) goto fail
;
14029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (int)((wxDC
const *)arg1
)->GetDepth();
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= SWIG_From_int((int)result
);
14045 static PyObject
*_wrap_DC_GetPPI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxDC
*arg1
= (wxDC
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "self", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPPI",kwnames
,&obj0
)) goto fail
;
14055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= ((wxDC
const *)arg1
)->GetPPI();
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 wxSize
* resultptr
;
14066 resultptr
= new wxSize((wxSize
&) result
);
14067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14075 static PyObject
*_wrap_DC_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxDC
*arg1
= (wxDC
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "self", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_Ok",kwnames
,&obj0
)) goto fail
;
14085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (bool)((wxDC
const *)arg1
)->Ok();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14103 static PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14104 PyObject
*resultobj
;
14105 wxDC
*arg1
= (wxDC
*) 0 ;
14107 PyObject
* obj0
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackgroundMode",kwnames
,&obj0
)) goto fail
;
14113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 resultobj
= SWIG_From_int((int)result
);
14129 static PyObject
*_wrap_DC_GetBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxDC
*arg1
= (wxDC
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBackground",kwnames
,&obj0
)) goto fail
;
14139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
14145 result
= (wxBrush
*) &_result_ref
;
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14152 wxBrush
* resultptr
= new wxBrush(*result
);
14153 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14161 static PyObject
*_wrap_DC_GetBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxDC
*arg1
= (wxDC
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 char *kwnames
[] = {
14167 (char *) "self", NULL
14170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBrush",kwnames
,&obj0
)) goto fail
;
14171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
14177 result
= (wxBrush
*) &_result_ref
;
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14184 wxBrush
* resultptr
= new wxBrush(*result
);
14185 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
14193 static PyObject
*_wrap_DC_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxDC
*arg1
= (wxDC
*) 0 ;
14197 PyObject
* obj0
= 0 ;
14198 char *kwnames
[] = {
14199 (char *) "self", NULL
14202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetFont",kwnames
,&obj0
)) goto fail
;
14203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
14209 result
= (wxFont
*) &_result_ref
;
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14216 wxFont
* resultptr
= new wxFont(*result
);
14217 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
14225 static PyObject
*_wrap_DC_GetPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxDC
*arg1
= (wxDC
*) 0 ;
14229 PyObject
* obj0
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetPen",kwnames
,&obj0
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
14241 result
= (wxPen
*) &_result_ref
;
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 wxPen
* resultptr
= new wxPen(*result
);
14249 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
14257 static PyObject
*_wrap_DC_GetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxDC
*arg1
= (wxDC
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextBackground",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
14273 result
= (wxColour
*) &_result_ref
;
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14286 static PyObject
*_wrap_DC_GetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxDC
*arg1
= (wxDC
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetTextForeground",kwnames
,&obj0
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
14302 result
= (wxColour
*) &_result_ref
;
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
14315 static PyObject
*_wrap_DC_SetTextForeground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxDC
*arg1
= (wxDC
*) 0 ;
14318 wxColour
*arg2
= 0 ;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self",(char *) "colour", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14347 static PyObject
*_wrap_DC_SetTextBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxDC
*arg1
= (wxDC
*) 0 ;
14350 wxColour
*arg2
= 0 ;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self",(char *) "colour", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 Py_INCREF(Py_None
); resultobj
= Py_None
;
14379 static PyObject
*_wrap_DC_GetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxDC
*arg1
= (wxDC
*) 0 ;
14383 PyObject
* obj0
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetMapMode",kwnames
,&obj0
)) goto fail
;
14389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= SWIG_From_int((int)result
);
14405 static PyObject
*_wrap_DC_SetMapMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxDC
*arg1
= (wxDC
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 PyObject
* obj1
= 0 ;
14411 char *kwnames
[] = {
14412 (char *) "self",(char *) "mode", NULL
14415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
14416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14418 arg2
= (int)SWIG_As_int(obj1
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 (arg1
)->SetMapMode(arg2
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 Py_INCREF(Py_None
); resultobj
= Py_None
;
14434 static PyObject
*_wrap_DC_GetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxDC
*arg1
= (wxDC
*) 0 ;
14437 double *arg2
= (double *) 0 ;
14438 double *arg3
= (double *) 0 ;
14443 PyObject
* obj0
= 0 ;
14444 char *kwnames
[] = {
14445 (char *) "self", NULL
14448 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14449 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetUserScale",kwnames
,&obj0
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 Py_INCREF(Py_None
); resultobj
= Py_None
;
14461 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14462 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14463 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14464 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14471 static PyObject
*_wrap_DC_SetUserScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14472 PyObject
*resultobj
;
14473 wxDC
*arg1
= (wxDC
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 PyObject
* obj2
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self",(char *) "x",(char *) "y", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14486 arg2
= (double)SWIG_As_double(obj1
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14488 arg3
= (double)SWIG_As_double(obj2
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->SetUserScale(arg2
,arg3
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_DC_GetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxDC
*arg1
= (wxDC
*) 0 ;
14507 double *arg2
= (double *) 0 ;
14508 double *arg3
= (double *) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14519 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalScale",kwnames
,&obj0
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 (arg1
)->GetLogicalScale(arg2
,arg3
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 Py_INCREF(Py_None
); resultobj
= Py_None
;
14531 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14532 SWIG_From_double((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, 0)));
14533 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14534 SWIG_From_double((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, 0)));
14541 static PyObject
*_wrap_DC_SetLogicalScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxDC
*arg1
= (wxDC
*) 0 ;
14546 PyObject
* obj0
= 0 ;
14547 PyObject
* obj1
= 0 ;
14548 PyObject
* obj2
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "x",(char *) "y", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14556 arg2
= (double)SWIG_As_double(obj1
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14558 arg3
= (double)SWIG_As_double(obj2
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 (arg1
)->SetLogicalScale(arg2
,arg3
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14574 static PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxDC
*arg1
= (wxDC
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOrigin",kwnames
,&obj0
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 wxPoint
* resultptr
;
14595 resultptr
= new wxPoint((wxPoint
&) result
);
14596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14604 static PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxDC
*arg1
= (wxDC
*) 0 ;
14607 int *arg2
= (int *) 0 ;
14608 int *arg3
= (int *) 0 ;
14613 PyObject
* obj0
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self", NULL
14618 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14619 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalOriginTuple",kwnames
,&obj0
)) goto fail
;
14621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14632 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14633 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14634 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14641 static PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxDC
*arg1
= (wxDC
*) 0 ;
14646 PyObject
* obj0
= 0 ;
14647 PyObject
* obj1
= 0 ;
14648 PyObject
* obj2
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self",(char *) "x",(char *) "y", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14656 arg2
= (int)SWIG_As_int(obj1
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14658 arg3
= (int)SWIG_As_int(obj2
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 Py_INCREF(Py_None
); resultobj
= Py_None
;
14674 static PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxDC
*arg1
= (wxDC
*) 0 ;
14677 wxPoint
*arg2
= 0 ;
14679 PyObject
* obj0
= 0 ;
14680 PyObject
* obj1
= 0 ;
14681 char *kwnames
[] = {
14682 (char *) "self",(char *) "point", NULL
14685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 Py_INCREF(Py_None
); resultobj
= Py_None
;
14706 static PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxDC
*arg1
= (wxDC
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOrigin",kwnames
,&obj0
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14726 wxPoint
* resultptr
;
14727 resultptr
= new wxPoint((wxPoint
&) result
);
14728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14736 static PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxDC
*arg1
= (wxDC
*) 0 ;
14739 int *arg2
= (int *) 0 ;
14740 int *arg3
= (int *) 0 ;
14745 PyObject
* obj0
= 0 ;
14746 char *kwnames
[] = {
14747 (char *) "self", NULL
14750 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
14751 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetDeviceOriginTuple",kwnames
,&obj0
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 Py_INCREF(Py_None
); resultobj
= Py_None
;
14763 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
14764 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
14765 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
14766 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
14773 static PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxDC
*arg1
= (wxDC
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 PyObject
* obj2
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self",(char *) "x",(char *) "y", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 arg2
= (int)SWIG_As_int(obj1
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14790 arg3
= (int)SWIG_As_int(obj2
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 Py_INCREF(Py_None
); resultobj
= Py_None
;
14806 static PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxDC
*arg1
= (wxDC
*) 0 ;
14809 wxPoint
*arg2
= 0 ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "point", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 Py_INCREF(Py_None
); resultobj
= Py_None
;
14838 static PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxDC
*arg1
= (wxDC
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 PyObject
* obj2
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 arg2
= (bool)SWIG_As_bool(obj1
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14855 arg3
= (bool)SWIG_As_bool(obj2
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 (arg1
)->SetAxisOrientation(arg2
,arg3
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 Py_INCREF(Py_None
); resultobj
= Py_None
;
14871 static PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
;
14873 wxDC
*arg1
= (wxDC
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetLogicalFunction",kwnames
,&obj0
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_From_int((int)result
);
14897 static PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxDC
*arg1
= (wxDC
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "self",(char *) "function", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 arg2
= (int)SWIG_As_int(obj1
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 (arg1
)->SetLogicalFunction(arg2
);
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14919 Py_INCREF(Py_None
); resultobj
= Py_None
;
14926 static PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxDC
*arg1
= (wxDC
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ComputeScaleAndOrigin",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 (arg1
)->ComputeScaleAndOrigin();
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 Py_INCREF(Py_None
); resultobj
= Py_None
;
14951 static PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxDC
*arg1
= (wxDC
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 PyObject
* obj2
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self",(char *) "x",(char *) "y", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14966 arg2
= (int)SWIG_As_int(obj1
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14968 arg3
= (int)SWIG_As_int(obj2
);
14969 if (PyErr_Occurred()) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 (arg1
)->CalcBoundingBox(arg2
,arg3
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 Py_INCREF(Py_None
); resultobj
= Py_None
;
14984 static PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxDC
*arg1
= (wxDC
*) 0 ;
14987 wxPoint
*arg2
= 0 ;
14989 PyObject
* obj0
= 0 ;
14990 PyObject
* obj1
= 0 ;
14991 char *kwnames
[] = {
14992 (char *) "self",(char *) "point", NULL
14995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
14996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
14997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 Py_INCREF(Py_None
); resultobj
= Py_None
;
15016 static PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxDC
*arg1
= (wxDC
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_ResetBoundingBox",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 (arg1
)->ResetBoundingBox();
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 Py_INCREF(Py_None
); resultobj
= Py_None
;
15041 static PyObject
*_wrap_DC_MinX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxDC
*arg1
= (wxDC
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinX",kwnames
,&obj0
)) goto fail
;
15051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (int)((wxDC
const *)arg1
)->MinX();
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_From_int((int)result
);
15067 static PyObject
*_wrap_DC_MaxX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxDC
*arg1
= (wxDC
*) 0 ;
15071 PyObject
* obj0
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "self", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxX",kwnames
,&obj0
)) goto fail
;
15077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15081 result
= (int)((wxDC
const *)arg1
)->MaxX();
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= SWIG_From_int((int)result
);
15093 static PyObject
*_wrap_DC_MinY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxDC
*arg1
= (wxDC
*) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 char *kwnames
[] = {
15099 (char *) "self", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MinY",kwnames
,&obj0
)) goto fail
;
15103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (int)((wxDC
const *)arg1
)->MinY();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_From_int((int)result
);
15119 static PyObject
*_wrap_DC_MaxY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
;
15121 wxDC
*arg1
= (wxDC
*) 0 ;
15123 PyObject
* obj0
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_MaxY",kwnames
,&obj0
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (int)((wxDC
const *)arg1
)->MaxY();
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_From_int((int)result
);
15145 static PyObject
*_wrap_DC_GetBoundingBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
;
15147 wxDC
*arg1
= (wxDC
*) 0 ;
15148 int *arg2
= (int *) 0 ;
15149 int *arg3
= (int *) 0 ;
15150 int *arg4
= (int *) 0 ;
15151 int *arg5
= (int *) 0 ;
15160 PyObject
* obj0
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self", NULL
15165 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15166 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15167 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
15168 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DC_GetBoundingBox",kwnames
,&obj0
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 Py_INCREF(Py_None
); resultobj
= Py_None
;
15180 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15181 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15182 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15183 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15184 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
15185 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
15186 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
15187 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
15194 static PyObject
*_wrap_DC__DrawPointList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxDC
*arg1
= (wxDC
*) 0 ;
15197 PyObject
*arg2
= (PyObject
*) 0 ;
15198 PyObject
*arg3
= (PyObject
*) 0 ;
15199 PyObject
*arg4
= (PyObject
*) 0 ;
15201 PyObject
* obj0
= 0 ;
15202 PyObject
* obj1
= 0 ;
15203 PyObject
* obj2
= 0 ;
15204 PyObject
* obj3
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= result
;
15229 static PyObject
*_wrap_DC__DrawLineList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxDC
*arg1
= (wxDC
*) 0 ;
15232 PyObject
*arg2
= (PyObject
*) 0 ;
15233 PyObject
*arg3
= (PyObject
*) 0 ;
15234 PyObject
*arg4
= (PyObject
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 PyObject
* obj1
= 0 ;
15238 PyObject
* obj2
= 0 ;
15239 PyObject
* obj3
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= result
;
15264 static PyObject
*_wrap_DC__DrawRectangleList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
;
15266 wxDC
*arg1
= (wxDC
*) 0 ;
15267 PyObject
*arg2
= (PyObject
*) 0 ;
15268 PyObject
*arg3
= (PyObject
*) 0 ;
15269 PyObject
*arg4
= (PyObject
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 PyObject
* obj1
= 0 ;
15273 PyObject
* obj2
= 0 ;
15274 PyObject
* obj3
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= result
;
15299 static PyObject
*_wrap_DC__DrawEllipseList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxDC
*arg1
= (wxDC
*) 0 ;
15302 PyObject
*arg2
= (PyObject
*) 0 ;
15303 PyObject
*arg3
= (PyObject
*) 0 ;
15304 PyObject
*arg4
= (PyObject
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 PyObject
* obj2
= 0 ;
15309 PyObject
* obj3
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= result
;
15334 static PyObject
*_wrap_DC__DrawPolygonList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxDC
*arg1
= (wxDC
*) 0 ;
15337 PyObject
*arg2
= (PyObject
*) 0 ;
15338 PyObject
*arg3
= (PyObject
*) 0 ;
15339 PyObject
*arg4
= (PyObject
*) 0 ;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 PyObject
* obj2
= 0 ;
15344 PyObject
* obj3
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= result
;
15369 static PyObject
*_wrap_DC__DrawTextList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxDC
*arg1
= (wxDC
*) 0 ;
15372 PyObject
*arg2
= (PyObject
*) 0 ;
15373 PyObject
*arg3
= (PyObject
*) 0 ;
15374 PyObject
*arg4
= (PyObject
*) 0 ;
15375 PyObject
*arg5
= (PyObject
*) 0 ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 PyObject
* obj2
= 0 ;
15380 PyObject
* obj3
= 0 ;
15381 PyObject
* obj4
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= result
;
15407 static PyObject
* DC_swigregister(PyObject
*, PyObject
*args
) {
15409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15410 SWIG_TypeClientData(SWIGTYPE_p_wxDC
, obj
);
15412 return Py_BuildValue((char *)"");
15414 static PyObject
*_wrap_new_MemoryDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 wxMemoryDC
*result
;
15417 char *kwnames
[] = {
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryDC",kwnames
)) goto fail
;
15423 if (!wxPyCheckForApp()) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (wxMemoryDC
*)new wxMemoryDC();
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15437 static PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 wxDC
*arg1
= (wxDC
*) 0 ;
15440 wxMemoryDC
*result
;
15441 PyObject
* obj0
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "oldDC", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 if (!wxPyCheckForApp()) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryDC
, 1);
15464 static PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
15467 wxBitmap
*arg2
= 0 ;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "self",(char *) "bitmap", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryDC
,
15476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15480 if (arg2
== NULL
) {
15481 PyErr_SetString(PyExc_TypeError
,"null reference");
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
* MemoryDC_swigregister(PyObject
*, PyObject
*args
) {
15500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15501 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryDC
, obj
);
15503 return Py_BuildValue((char *)"");
15505 static PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*, PyObject
*args
) {
15506 PyObject
*resultobj
;
15507 wxDC
*arg1
= (wxDC
*) 0 ;
15508 wxBitmap
*arg2
= 0 ;
15509 wxBufferedDC
*result
;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15513 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15519 if (arg2
== NULL
) {
15520 PyErr_SetString(PyExc_TypeError
,"null reference");
15524 if (!wxPyCheckForApp()) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15538 static PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*, PyObject
*args
) {
15539 PyObject
*resultobj
;
15540 wxDC
*arg1
= (wxDC
*) 0 ;
15542 wxBufferedDC
*result
;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15547 if(!PyArg_ParseTuple(args
,(char *)"OO:new_BufferedDC",&obj0
,&obj1
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15552 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15555 if (!wxPyCheckForApp()) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedDC
, 1);
15569 static PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
15574 argc
= PyObject_Length(args
);
15575 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
15576 argv
[ii
] = PyTuple_GetItem(args
,ii
);
15582 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15592 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxBitmap
, 0) == -1) {
15600 return _wrap_new_BufferedDC__SWIG_0(self
,args
);
15608 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDC
, 0) == -1) {
15617 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
15620 return _wrap_new_BufferedDC__SWIG_1(self
,args
);
15625 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_BufferedDC'");
15630 static PyObject
*_wrap_delete_BufferedDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BufferedDC",kwnames
,&obj0
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 Py_INCREF(Py_None
); resultobj
= Py_None
;
15655 static PyObject
*_wrap_BufferedDC_UnMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BufferedDC_UnMask",kwnames
,&obj0
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBufferedDC
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 Py_INCREF(Py_None
); resultobj
= Py_None
;
15680 static PyObject
* BufferedDC_swigregister(PyObject
*, PyObject
*args
) {
15682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15683 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedDC
, obj
);
15685 return Py_BuildValue((char *)"");
15687 static PyObject
*_wrap_new_BufferedPaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxWindow
*arg1
= (wxWindow
*) 0 ;
15690 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
15691 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
15692 wxBufferedPaintDC
*result
;
15693 PyObject
* obj0
= 0 ;
15694 PyObject
* obj1
= 0 ;
15695 char *kwnames
[] = {
15696 (char *) "window",(char *) "buffer", NULL
15699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15706 if (arg2
== NULL
) {
15707 PyErr_SetString(PyExc_TypeError
,"null reference");
15712 if (!wxPyCheckForApp()) SWIG_fail
;
15713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15714 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
);
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBufferedPaintDC
, 1);
15726 static PyObject
* BufferedPaintDC_swigregister(PyObject
*, PyObject
*args
) {
15728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15729 SWIG_TypeClientData(SWIGTYPE_p_wxBufferedPaintDC
, obj
);
15731 return Py_BuildValue((char *)"");
15733 static PyObject
*_wrap_new_ScreenDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxScreenDC
*result
;
15736 char *kwnames
[] = {
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ScreenDC",kwnames
)) goto fail
;
15742 if (!wxPyCheckForApp()) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (wxScreenDC
*)new wxScreenDC();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScreenDC
, 1);
15756 static PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15759 wxWindow
*arg2
= (wxWindow
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 PyObject
* obj1
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self",(char *) "window", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) goto fail
;
15768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15788 static PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15791 wxRect
*arg2
= (wxRect
*) NULL
;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "rect", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
15804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
15810 wxPyEndAllowThreads(__tstate
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15822 static PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15824 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
15826 PyObject
* obj0
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScreenDC_EndDrawingOnTop",kwnames
,&obj0
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScreenDC
,
15833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (bool)(arg1
)->EndDrawingOnTop();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15850 static PyObject
* ScreenDC_swigregister(PyObject
*, PyObject
*args
) {
15852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15853 SWIG_TypeClientData(SWIGTYPE_p_wxScreenDC
, obj
);
15855 return Py_BuildValue((char *)"");
15857 static PyObject
*_wrap_new_ClientDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxWindow
*arg1
= (wxWindow
*) 0 ;
15860 wxClientDC
*result
;
15861 PyObject
* obj0
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "win", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) goto fail
;
15867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 if (!wxPyCheckForApp()) SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 result
= (wxClientDC
*)new wxClientDC(arg1
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClientDC
, 1);
15884 static PyObject
* ClientDC_swigregister(PyObject
*, PyObject
*args
) {
15886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15887 SWIG_TypeClientData(SWIGTYPE_p_wxClientDC
, obj
);
15889 return Py_BuildValue((char *)"");
15891 static PyObject
*_wrap_new_PaintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxWindow
*arg1
= (wxWindow
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 char *kwnames
[] = {
15897 (char *) "win", NULL
15900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) goto fail
;
15901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 if (!wxPyCheckForApp()) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintDC
, 1);
15918 static PyObject
* PaintDC_swigregister(PyObject
*, PyObject
*args
) {
15920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15921 SWIG_TypeClientData(SWIGTYPE_p_wxPaintDC
, obj
);
15923 return Py_BuildValue((char *)"");
15925 static PyObject
*_wrap_new_WindowDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxWindow
*arg1
= (wxWindow
*) 0 ;
15928 wxWindowDC
*result
;
15929 PyObject
* obj0
= 0 ;
15930 char *kwnames
[] = {
15931 (char *) "win", NULL
15934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) goto fail
;
15935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15938 if (!wxPyCheckForApp()) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDC
, 1);
15952 static PyObject
* WindowDC_swigregister(PyObject
*, PyObject
*args
) {
15954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15955 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDC
, obj
);
15957 return Py_BuildValue((char *)"");
15959 static PyObject
*_wrap_new_MirrorDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15963 wxMirrorDC
*result
;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 char *kwnames
[] = {
15967 (char *) "dc",(char *) "mirror", NULL
15970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) goto fail
;
15971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDC
,
15972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15974 if (arg1
== NULL
) {
15975 PyErr_SetString(PyExc_TypeError
,"null reference");
15978 arg2
= (bool)SWIG_As_bool(obj1
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15981 if (!wxPyCheckForApp()) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMirrorDC
, 1);
15995 static PyObject
* MirrorDC_swigregister(PyObject
*, PyObject
*args
) {
15997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15998 SWIG_TypeClientData(SWIGTYPE_p_wxMirrorDC
, obj
);
16000 return Py_BuildValue((char *)"");
16002 static PyObject
*_wrap_new_PostScriptDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxPrintData
*arg1
= 0 ;
16005 wxPostScriptDC
*result
;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "printData", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16015 if (arg1
== NULL
) {
16016 PyErr_SetString(PyExc_TypeError
,"null reference");
16020 if (!wxPyCheckForApp()) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPostScriptDC
, 1);
16034 static PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16037 wxPrintData
*result
;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_GetPrintData",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
16050 result
= (wxPrintData
*) &_result_ref
;
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
16063 static PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
16066 wxPrintData
*arg2
= 0 ;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "data", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPostScriptDC
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
16077 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16079 if (arg2
== NULL
) {
16080 PyErr_SetString(PyExc_TypeError
,"null reference");
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 Py_INCREF(Py_None
); resultobj
= Py_None
;
16097 static PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16100 PyObject
* obj0
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "ppi", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) goto fail
;
16106 arg1
= (int)SWIG_As_int(obj0
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 wxPostScriptDC::SetResolution(arg1
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 Py_INCREF(Py_None
); resultobj
= Py_None
;
16122 static PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16125 char *kwnames
[] = {
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PostScriptDC_GetResolution",kwnames
)) goto fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (int)wxPostScriptDC::GetResolution();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_From_int((int)result
);
16144 static PyObject
* PostScriptDC_swigregister(PyObject
*, PyObject
*args
) {
16146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16147 SWIG_TypeClientData(SWIGTYPE_p_wxPostScriptDC
, obj
);
16149 return Py_BuildValue((char *)"");
16151 static PyObject
*_wrap_new_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
;
16153 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16154 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16155 wxMetaFile
*result
;
16156 bool temp1
= false ;
16157 PyObject
* obj0
= 0 ;
16158 char *kwnames
[] = {
16159 (char *) "filename", NULL
16162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) goto fail
;
16165 arg1
= wxString_in_helper(obj0
);
16166 if (arg1
== NULL
) SWIG_fail
;
16171 if (!wxPyCheckForApp()) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 1);
16193 static PyObject
*_wrap_delete_MetaFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MetaFile",kwnames
,&obj0
)) goto fail
;
16202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 Py_INCREF(Py_None
); resultobj
= Py_None
;
16218 static PyObject
*_wrap_MetaFile_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_Ok",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (bool)(arg1
)->Ok();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16246 static PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16249 int arg2
= (int) 0 ;
16250 int arg3
= (int) 0 ;
16252 PyObject
* obj0
= 0 ;
16253 PyObject
* obj1
= 0 ;
16254 PyObject
* obj2
= 0 ;
16255 char *kwnames
[] = {
16256 (char *) "self",(char *) "width",(char *) "height", NULL
16259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16263 arg2
= (int)SWIG_As_int(obj1
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 arg3
= (int)SWIG_As_int(obj2
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16286 static PyObject
*_wrap_MetaFile_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
;
16288 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16290 PyObject
* obj0
= 0 ;
16291 char *kwnames
[] = {
16292 (char *) "self", NULL
16295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetSize",kwnames
,&obj0
)) goto fail
;
16296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (arg1
)->GetSize();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 wxSize
* resultptr
;
16307 resultptr
= new wxSize((wxSize
&) result
);
16308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16316 static PyObject
*_wrap_MetaFile_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetWidth",kwnames
,&obj0
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (int)(arg1
)->GetWidth();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= SWIG_From_int((int)result
);
16342 static PyObject
*_wrap_MetaFile_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 char *kwnames
[] = {
16348 (char *) "self", NULL
16351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFile_GetHeight",kwnames
,&obj0
)) goto fail
;
16352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFile
,
16353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (int)(arg1
)->GetHeight();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= SWIG_From_int((int)result
);
16368 static PyObject
* MetaFile_swigregister(PyObject
*, PyObject
*args
) {
16370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16371 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFile
, obj
);
16373 return Py_BuildValue((char *)"");
16375 static PyObject
*_wrap_new_MetaFileDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16378 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16379 int arg2
= (int) 0 ;
16380 int arg3
= (int) 0 ;
16381 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16383 wxMetaFileDC
*result
;
16384 bool temp1
= false ;
16385 bool temp4
= false ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 PyObject
* obj2
= 0 ;
16389 PyObject
* obj3
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16397 arg1
= wxString_in_helper(obj0
);
16398 if (arg1
== NULL
) SWIG_fail
;
16403 arg2
= (int)SWIG_As_int(obj1
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16407 arg3
= (int)SWIG_As_int(obj2
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16412 arg4
= wxString_in_helper(obj3
);
16413 if (arg4
== NULL
) SWIG_fail
;
16418 if (!wxPyCheckForApp()) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFileDC
, 1);
16448 static PyObject
*_wrap_MetaFileDC_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
16451 wxMetaFile
*result
;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetaFileDC_Close",kwnames
,&obj0
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetaFileDC
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (wxMetaFile
*)(arg1
)->Close();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetaFile
, 0);
16474 static PyObject
* MetaFileDC_swigregister(PyObject
*, PyObject
*args
) {
16476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16477 SWIG_TypeClientData(SWIGTYPE_p_wxMetaFileDC
, obj
);
16479 return Py_BuildValue((char *)"");
16481 static PyObject
*_wrap_new_PrinterDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxPrintData
*arg1
= 0 ;
16484 wxPrinterDC
*result
;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "printData", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16494 if (arg1
== NULL
) {
16495 PyErr_SetString(PyExc_TypeError
,"null reference");
16499 if (!wxPyCheckForApp()) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinterDC
, 1);
16513 static PyObject
* PrinterDC_swigregister(PyObject
*, PyObject
*args
) {
16515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16516 SWIG_TypeClientData(SWIGTYPE_p_wxPrinterDC
, obj
);
16518 return Py_BuildValue((char *)"");
16520 static PyObject
*_wrap_new_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16524 int arg3
= (int) true ;
16525 int arg4
= (int) 1 ;
16526 wxImageList
*result
;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 PyObject
* obj2
= 0 ;
16530 PyObject
* obj3
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16536 arg1
= (int)SWIG_As_int(obj0
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16538 arg2
= (int)SWIG_As_int(obj1
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 arg3
= (int)SWIG_As_int(obj2
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16545 arg4
= (int)SWIG_As_int(obj3
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16549 if (!wxPyCheckForApp()) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= wxPyMake_wxObject(result
, 1);
16565 static PyObject
*_wrap_delete_ImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxImageList
*arg1
= (wxImageList
*) 0 ;
16568 PyObject
* obj0
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ImageList",kwnames
,&obj0
)) goto fail
;
16574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 wxPyEndAllowThreads(__tstate
);
16581 if (PyErr_Occurred()) SWIG_fail
;
16583 Py_INCREF(Py_None
); resultobj
= Py_None
;
16590 static PyObject
*_wrap_ImageList_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxImageList
*arg1
= (wxImageList
*) 0 ;
16593 wxBitmap
*arg2
= 0 ;
16594 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
16595 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
16597 PyObject
* obj0
= 0 ;
16598 PyObject
* obj1
= 0 ;
16599 PyObject
* obj2
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16610 if (arg2
== NULL
) {
16611 PyErr_SetString(PyExc_TypeError
,"null reference");
16615 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16618 if (arg3
== NULL
) {
16619 PyErr_SetString(PyExc_TypeError
,"null reference");
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_From_int((int)result
);
16637 static PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxImageList
*arg1
= (wxImageList
*) 0 ;
16640 wxBitmap
*arg2
= 0 ;
16641 wxColour
*arg3
= 0 ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 PyObject
* obj2
= 0 ;
16647 char *kwnames
[] = {
16648 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
16651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16657 if (arg2
== NULL
) {
16658 PyErr_SetString(PyExc_TypeError
,"null reference");
16663 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_From_int((int)result
);
16679 static PyObject
*_wrap_ImageList_AddIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
;
16681 wxImageList
*arg1
= (wxImageList
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "icon", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16696 if (arg2
== NULL
) {
16697 PyErr_SetString(PyExc_TypeError
,"null reference");
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= SWIG_From_int((int)result
);
16714 static PyObject
*_wrap_ImageList_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxImageList
*arg1
= (wxImageList
*) 0 ;
16718 wxBitmap
*arg3
= 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 PyObject
* obj2
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "index",(char *) "bitmap", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 arg2
= (int)SWIG_As_int(obj1
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16732 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
16733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16735 if (arg3
== NULL
) {
16736 PyErr_SetString(PyExc_TypeError
,"null reference");
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
);
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16755 static PyObject
*_wrap_ImageList_Draw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxImageList
*arg1
= (wxImageList
*) 0 ;
16762 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
16763 bool arg7
= (bool) (bool)false ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 PyObject
* obj2
= 0 ;
16768 PyObject
* obj3
= 0 ;
16769 PyObject
* obj4
= 0 ;
16770 PyObject
* obj5
= 0 ;
16771 PyObject
* obj6
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16779 arg2
= (int)SWIG_As_int(obj1
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16781 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16784 if (arg3
== NULL
) {
16785 PyErr_SetString(PyExc_TypeError
,"null reference");
16788 arg4
= (int)SWIG_As_int(obj3
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16790 arg5
= (int)SWIG_As_int(obj4
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 arg6
= (int)SWIG_As_int(obj5
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16797 arg7
= (bool)SWIG_As_bool(obj6
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16816 static PyObject
*_wrap_ImageList_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 wxImageList
*arg1
= (wxImageList
*) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_GetImageCount",kwnames
,&obj0
)) goto fail
;
16826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (int)(arg1
)->GetImageCount();
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= SWIG_From_int((int)result
);
16842 static PyObject
*_wrap_ImageList_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxImageList
*arg1
= (wxImageList
*) 0 ;
16847 PyObject
* obj0
= 0 ;
16848 PyObject
* obj1
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self",(char *) "index", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
16854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16856 arg2
= (int)SWIG_As_int(obj1
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (bool)(arg1
)->Remove(arg2
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16874 static PyObject
*_wrap_ImageList_RemoveAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxImageList
*arg1
= (wxImageList
*) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageList_RemoveAll",kwnames
,&obj0
)) goto fail
;
16884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)(arg1
)->RemoveAll();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16902 static PyObject
*_wrap_ImageList_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxImageList
*arg1
= (wxImageList
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self",(char *) "index", NULL
16918 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16919 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageList
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16923 arg2
= (int)SWIG_As_int(obj1
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 Py_INCREF(Py_None
); resultobj
= Py_None
;
16933 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16934 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16935 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
16936 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
16943 static PyObject
* ImageList_swigregister(PyObject
*, PyObject
*args
) {
16945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16946 SWIG_TypeClientData(SWIGTYPE_p_wxImageList
, obj
);
16948 return Py_BuildValue((char *)"");
16950 static int _wrap_NORMAL_FONT_set(PyObject
*) {
16951 PyErr_SetString(PyExc_TypeError
,"Variable NORMAL_FONT is read-only.");
16956 static PyObject
*_wrap_NORMAL_FONT_get() {
16959 pyobj
= SWIG_NewPointerObj((void *)(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0);
16964 static int _wrap_SMALL_FONT_set(PyObject
*) {
16965 PyErr_SetString(PyExc_TypeError
,"Variable SMALL_FONT is read-only.");
16970 static PyObject
*_wrap_SMALL_FONT_get() {
16973 pyobj
= SWIG_NewPointerObj((void *)(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0);
16978 static int _wrap_ITALIC_FONT_set(PyObject
*) {
16979 PyErr_SetString(PyExc_TypeError
,"Variable ITALIC_FONT is read-only.");
16984 static PyObject
*_wrap_ITALIC_FONT_get() {
16987 pyobj
= SWIG_NewPointerObj((void *)(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0);
16992 static int _wrap_SWISS_FONT_set(PyObject
*) {
16993 PyErr_SetString(PyExc_TypeError
,"Variable SWISS_FONT is read-only.");
16998 static PyObject
*_wrap_SWISS_FONT_get() {
17001 pyobj
= SWIG_NewPointerObj((void *)(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0);
17006 static int _wrap_RED_PEN_set(PyObject
*) {
17007 PyErr_SetString(PyExc_TypeError
,"Variable RED_PEN is read-only.");
17012 static PyObject
*_wrap_RED_PEN_get() {
17015 pyobj
= SWIG_NewPointerObj((void *)(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0);
17020 static int _wrap_CYAN_PEN_set(PyObject
*) {
17021 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_PEN is read-only.");
17026 static PyObject
*_wrap_CYAN_PEN_get() {
17029 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0);
17034 static int _wrap_GREEN_PEN_set(PyObject
*) {
17035 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_PEN is read-only.");
17040 static PyObject
*_wrap_GREEN_PEN_get() {
17043 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0);
17048 static int _wrap_BLACK_PEN_set(PyObject
*) {
17049 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_PEN is read-only.");
17054 static PyObject
*_wrap_BLACK_PEN_get() {
17057 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0);
17062 static int _wrap_WHITE_PEN_set(PyObject
*) {
17063 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_PEN is read-only.");
17068 static PyObject
*_wrap_WHITE_PEN_get() {
17071 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0);
17076 static int _wrap_TRANSPARENT_PEN_set(PyObject
*) {
17077 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_PEN is read-only.");
17082 static PyObject
*_wrap_TRANSPARENT_PEN_get() {
17085 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0);
17090 static int _wrap_BLACK_DASHED_PEN_set(PyObject
*) {
17091 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_DASHED_PEN is read-only.");
17096 static PyObject
*_wrap_BLACK_DASHED_PEN_get() {
17099 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0);
17104 static int _wrap_GREY_PEN_set(PyObject
*) {
17105 PyErr_SetString(PyExc_TypeError
,"Variable GREY_PEN is read-only.");
17110 static PyObject
*_wrap_GREY_PEN_get() {
17113 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17118 static int _wrap_MEDIUM_GREY_PEN_set(PyObject
*) {
17119 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_PEN is read-only.");
17124 static PyObject
*_wrap_MEDIUM_GREY_PEN_get() {
17127 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17132 static int _wrap_LIGHT_GREY_PEN_set(PyObject
*) {
17133 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_PEN is read-only.");
17138 static PyObject
*_wrap_LIGHT_GREY_PEN_get() {
17141 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0);
17146 static int _wrap_BLUE_BRUSH_set(PyObject
*) {
17147 PyErr_SetString(PyExc_TypeError
,"Variable BLUE_BRUSH is read-only.");
17152 static PyObject
*_wrap_BLUE_BRUSH_get() {
17155 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17160 static int _wrap_GREEN_BRUSH_set(PyObject
*) {
17161 PyErr_SetString(PyExc_TypeError
,"Variable GREEN_BRUSH is read-only.");
17166 static PyObject
*_wrap_GREEN_BRUSH_get() {
17169 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17174 static int _wrap_WHITE_BRUSH_set(PyObject
*) {
17175 PyErr_SetString(PyExc_TypeError
,"Variable WHITE_BRUSH is read-only.");
17180 static PyObject
*_wrap_WHITE_BRUSH_get() {
17183 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17188 static int _wrap_BLACK_BRUSH_set(PyObject
*) {
17189 PyErr_SetString(PyExc_TypeError
,"Variable BLACK_BRUSH is read-only.");
17194 static PyObject
*_wrap_BLACK_BRUSH_get() {
17197 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17202 static int _wrap_TRANSPARENT_BRUSH_set(PyObject
*) {
17203 PyErr_SetString(PyExc_TypeError
,"Variable TRANSPARENT_BRUSH is read-only.");
17208 static PyObject
*_wrap_TRANSPARENT_BRUSH_get() {
17211 pyobj
= SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17216 static int _wrap_CYAN_BRUSH_set(PyObject
*) {
17217 PyErr_SetString(PyExc_TypeError
,"Variable CYAN_BRUSH is read-only.");
17222 static PyObject
*_wrap_CYAN_BRUSH_get() {
17225 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17230 static int _wrap_RED_BRUSH_set(PyObject
*) {
17231 PyErr_SetString(PyExc_TypeError
,"Variable RED_BRUSH is read-only.");
17236 static PyObject
*_wrap_RED_BRUSH_get() {
17239 pyobj
= SWIG_NewPointerObj((void *)(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17244 static int _wrap_GREY_BRUSH_set(PyObject
*) {
17245 PyErr_SetString(PyExc_TypeError
,"Variable GREY_BRUSH is read-only.");
17250 static PyObject
*_wrap_GREY_BRUSH_get() {
17253 pyobj
= SWIG_NewPointerObj((void *)(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17258 static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject
*) {
17259 PyErr_SetString(PyExc_TypeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
17264 static PyObject
*_wrap_MEDIUM_GREY_BRUSH_get() {
17267 pyobj
= SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17272 static int _wrap_LIGHT_GREY_BRUSH_set(PyObject
*) {
17273 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
17278 static PyObject
*_wrap_LIGHT_GREY_BRUSH_get() {
17281 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0);
17286 static int _wrap_BLACK_set(PyObject
*) {
17287 PyErr_SetString(PyExc_TypeError
,"Variable BLACK is read-only.");
17292 static PyObject
*_wrap_BLACK_get() {
17295 pyobj
= SWIG_NewPointerObj((void *)(wxBLACK
), SWIGTYPE_p_wxColour
, 0);
17300 static int _wrap_WHITE_set(PyObject
*) {
17301 PyErr_SetString(PyExc_TypeError
,"Variable WHITE is read-only.");
17306 static PyObject
*_wrap_WHITE_get() {
17309 pyobj
= SWIG_NewPointerObj((void *)(wxWHITE
), SWIGTYPE_p_wxColour
, 0);
17314 static int _wrap_RED_set(PyObject
*) {
17315 PyErr_SetString(PyExc_TypeError
,"Variable RED is read-only.");
17320 static PyObject
*_wrap_RED_get() {
17323 pyobj
= SWIG_NewPointerObj((void *)(wxRED
), SWIGTYPE_p_wxColour
, 0);
17328 static int _wrap_BLUE_set(PyObject
*) {
17329 PyErr_SetString(PyExc_TypeError
,"Variable BLUE is read-only.");
17334 static PyObject
*_wrap_BLUE_get() {
17337 pyobj
= SWIG_NewPointerObj((void *)(wxBLUE
), SWIGTYPE_p_wxColour
, 0);
17342 static int _wrap_GREEN_set(PyObject
*) {
17343 PyErr_SetString(PyExc_TypeError
,"Variable GREEN is read-only.");
17348 static PyObject
*_wrap_GREEN_get() {
17351 pyobj
= SWIG_NewPointerObj((void *)(wxGREEN
), SWIGTYPE_p_wxColour
, 0);
17356 static int _wrap_CYAN_set(PyObject
*) {
17357 PyErr_SetString(PyExc_TypeError
,"Variable CYAN is read-only.");
17362 static PyObject
*_wrap_CYAN_get() {
17365 pyobj
= SWIG_NewPointerObj((void *)(wxCYAN
), SWIGTYPE_p_wxColour
, 0);
17370 static int _wrap_LIGHT_GREY_set(PyObject
*) {
17371 PyErr_SetString(PyExc_TypeError
,"Variable LIGHT_GREY is read-only.");
17376 static PyObject
*_wrap_LIGHT_GREY_get() {
17379 pyobj
= SWIG_NewPointerObj((void *)(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0);
17384 static int _wrap_STANDARD_CURSOR_set(PyObject
*) {
17385 PyErr_SetString(PyExc_TypeError
,"Variable STANDARD_CURSOR is read-only.");
17390 static PyObject
*_wrap_STANDARD_CURSOR_get() {
17393 pyobj
= SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17398 static int _wrap_HOURGLASS_CURSOR_set(PyObject
*) {
17399 PyErr_SetString(PyExc_TypeError
,"Variable HOURGLASS_CURSOR is read-only.");
17404 static PyObject
*_wrap_HOURGLASS_CURSOR_get() {
17407 pyobj
= SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17412 static int _wrap_CROSS_CURSOR_set(PyObject
*) {
17413 PyErr_SetString(PyExc_TypeError
,"Variable CROSS_CURSOR is read-only.");
17418 static PyObject
*_wrap_CROSS_CURSOR_get() {
17421 pyobj
= SWIG_NewPointerObj((void *)(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0);
17426 static int _wrap_NullBitmap_set(PyObject
*) {
17427 PyErr_SetString(PyExc_TypeError
,"Variable NullBitmap is read-only.");
17432 static PyObject
*_wrap_NullBitmap_get() {
17435 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0);
17440 static int _wrap_NullIcon_set(PyObject
*) {
17441 PyErr_SetString(PyExc_TypeError
,"Variable NullIcon is read-only.");
17446 static PyObject
*_wrap_NullIcon_get() {
17449 pyobj
= SWIG_NewPointerObj((void *)(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0);
17454 static int _wrap_NullCursor_set(PyObject
*) {
17455 PyErr_SetString(PyExc_TypeError
,"Variable NullCursor is read-only.");
17460 static PyObject
*_wrap_NullCursor_get() {
17463 pyobj
= SWIG_NewPointerObj((void *)(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0);
17468 static int _wrap_NullPen_set(PyObject
*) {
17469 PyErr_SetString(PyExc_TypeError
,"Variable NullPen is read-only.");
17474 static PyObject
*_wrap_NullPen_get() {
17477 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPen
), SWIGTYPE_p_wxPen
, 0);
17482 static int _wrap_NullBrush_set(PyObject
*) {
17483 PyErr_SetString(PyExc_TypeError
,"Variable NullBrush is read-only.");
17488 static PyObject
*_wrap_NullBrush_get() {
17491 pyobj
= SWIG_NewPointerObj((void *)(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0);
17496 static int _wrap_NullPalette_set(PyObject
*) {
17497 PyErr_SetString(PyExc_TypeError
,"Variable NullPalette is read-only.");
17502 static PyObject
*_wrap_NullPalette_get() {
17505 pyobj
= SWIG_NewPointerObj((void *)(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0);
17510 static int _wrap_NullFont_set(PyObject
*) {
17511 PyErr_SetString(PyExc_TypeError
,"Variable NullFont is read-only.");
17516 static PyObject
*_wrap_NullFont_get() {
17519 pyobj
= SWIG_NewPointerObj((void *)(&wxNullFont
), SWIGTYPE_p_wxFont
, 0);
17524 static int _wrap_NullColour_set(PyObject
*) {
17525 PyErr_SetString(PyExc_TypeError
,"Variable NullColour is read-only.");
17530 static PyObject
*_wrap_NullColour_get() {
17533 pyobj
= SWIG_NewPointerObj((void *)(&wxNullColour
), SWIGTYPE_p_wxColour
, 0);
17538 static PyObject
*_wrap_PenList_AddPen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxPenList
*arg1
= (wxPenList
*) 0 ;
17541 wxPen
*arg2
= (wxPen
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "pen", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 (arg1
)->AddPen(arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 Py_INCREF(Py_None
); resultobj
= Py_None
;
17567 static PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxPenList
*arg1
= (wxPenList
*) 0 ;
17570 wxColour
*arg2
= 0 ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 PyObject
* obj2
= 0 ;
17578 PyObject
* obj3
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17590 arg3
= (int)SWIG_As_int(obj2
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17592 arg4
= (int)SWIG_As_int(obj3
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPen
, 0);
17608 static PyObject
*_wrap_PenList_RemovePen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxPenList
*arg1
= (wxPenList
*) 0 ;
17611 wxPen
*arg2
= (wxPen
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 char *kwnames
[] = {
17615 (char *) "self",(char *) "pen", NULL
17618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) goto fail
;
17619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPen
,
17622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 (arg1
)->RemovePen(arg2
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 Py_INCREF(Py_None
); resultobj
= Py_None
;
17637 static PyObject
*_wrap_PenList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxPenList
*arg1
= (wxPenList
*) 0 ;
17641 PyObject
* obj0
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PenList_GetCount",kwnames
,&obj0
)) goto fail
;
17647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPenList
,
17648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (int)(arg1
)->GetCount();
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_From_int((int)result
);
17663 static PyObject
* PenList_swigregister(PyObject
*, PyObject
*args
) {
17665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17666 SWIG_TypeClientData(SWIGTYPE_p_wxPenList
, obj
);
17668 return Py_BuildValue((char *)"");
17670 static PyObject
*_wrap_BrushList_AddBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17671 PyObject
*resultobj
;
17672 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17673 wxBrush
*arg2
= (wxBrush
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self",(char *) "brush", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 (arg1
)->AddBrush(arg2
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 Py_INCREF(Py_None
); resultobj
= Py_None
;
17699 static PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
;
17701 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17702 wxColour
*arg2
= 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 PyObject
* obj2
= 0 ;
17709 char *kwnames
[] = {
17710 (char *) "self",(char *) "colour",(char *) "style", NULL
17713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17718 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17720 arg3
= (int)SWIG_As_int(obj2
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBrush
, 0);
17736 static PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17739 wxBrush
*arg2
= (wxBrush
*) 0 ;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self",(char *) "brush", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBrush
,
17750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 (arg1
)->RemoveBrush(arg2
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 Py_INCREF(Py_None
); resultobj
= Py_None
;
17765 static PyObject
*_wrap_BrushList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
17769 PyObject
* obj0
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BrushList_GetCount",kwnames
,&obj0
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBrushList
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (int)(arg1
)->GetCount();
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 resultobj
= SWIG_From_int((int)result
);
17791 static PyObject
* BrushList_swigregister(PyObject
*, PyObject
*args
) {
17793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17794 SWIG_TypeClientData(SWIGTYPE_p_wxBrushList
, obj
);
17796 return Py_BuildValue((char *)"");
17798 static PyObject
*_wrap_new_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxColourDatabase
*result
;
17801 char *kwnames
[] = {
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourDatabase",kwnames
)) goto fail
;
17807 if (!wxPyCheckForApp()) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 result
= (wxColourDatabase
*)new wxColourDatabase();
17811 wxPyEndAllowThreads(__tstate
);
17812 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDatabase
, 1);
17821 static PyObject
*_wrap_delete_ColourDatabase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourDatabase",kwnames
,&obj0
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_ColourDatabase_Find(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17849 wxString
*arg2
= 0 ;
17851 bool temp2
= false ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char *kwnames
[] = {
17855 (char *) "self",(char *) "name", NULL
17858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) goto fail
;
17859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 arg2
= wxString_in_helper(obj1
);
17863 if (arg2
== NULL
) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17874 wxColour
* resultptr
;
17875 resultptr
= new wxColour((wxColour
&) result
);
17876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17892 static PyObject
*_wrap_ColourDatabase_FindName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17895 wxColour
*arg2
= 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self",(char *) "colour", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17931 static PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17934 wxString
*arg2
= 0 ;
17935 wxColour
*arg3
= 0 ;
17936 bool temp2
= false ;
17938 PyObject
* obj0
= 0 ;
17939 PyObject
* obj1
= 0 ;
17940 PyObject
* obj2
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "name",(char *) "colour", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17949 arg2
= wxString_in_helper(obj1
);
17950 if (arg2
== NULL
) SWIG_fail
;
17955 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 Py_INCREF(Py_None
); resultobj
= Py_None
;
17979 static PyObject
*_wrap_ColourDatabase_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
17982 wxString
*arg2
= 0 ;
17986 bool temp2
= false ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 PyObject
* obj2
= 0 ;
17990 PyObject
* obj3
= 0 ;
17991 PyObject
* obj4
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDatabase
,
17998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 arg2
= wxString_in_helper(obj1
);
18001 if (arg2
== NULL
) SWIG_fail
;
18004 arg3
= (int)SWIG_As_int(obj2
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18006 arg4
= (int)SWIG_As_int(obj3
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18008 arg5
= (int)SWIG_As_int(obj4
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 Py_INCREF(Py_None
); resultobj
= Py_None
;
18032 static PyObject
* ColourDatabase_swigregister(PyObject
*, PyObject
*args
) {
18034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18035 SWIG_TypeClientData(SWIGTYPE_p_wxColourDatabase
, obj
);
18037 return Py_BuildValue((char *)"");
18039 static PyObject
*_wrap_FontList_AddFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
;
18041 wxFontList
*arg1
= (wxFontList
*) 0 ;
18042 wxFont
*arg2
= (wxFont
*) 0 ;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 char *kwnames
[] = {
18046 (char *) "self",(char *) "font", NULL
18049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 (arg1
)->AddFont(arg2
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 Py_INCREF(Py_None
); resultobj
= Py_None
;
18068 static PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxFontList
*arg1
= (wxFontList
*) 0 ;
18075 bool arg6
= (bool) false ;
18076 wxString
const &arg7_defvalue
= wxPyEmptyString
;
18077 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18078 int arg8
= (int) wxFONTENCODING_DEFAULT
;
18080 bool temp7
= false ;
18081 PyObject
* obj0
= 0 ;
18082 PyObject
* obj1
= 0 ;
18083 PyObject
* obj2
= 0 ;
18084 PyObject
* obj3
= 0 ;
18085 PyObject
* obj4
= 0 ;
18086 PyObject
* obj5
= 0 ;
18087 PyObject
* obj6
= 0 ;
18088 PyObject
* obj7
= 0 ;
18089 char *kwnames
[] = {
18090 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
18093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18096 arg2
= (int)SWIG_As_int(obj1
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18098 arg3
= (int)SWIG_As_int(obj2
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18100 arg4
= (int)SWIG_As_int(obj3
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18102 arg5
= (int)SWIG_As_int(obj4
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 arg6
= (bool)SWIG_As_bool(obj5
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18110 arg7
= wxString_in_helper(obj6
);
18111 if (arg7
== NULL
) SWIG_fail
;
18116 arg8
= (int)SWIG_As_int(obj7
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,(wxFontEncoding
)arg8
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
18141 static PyObject
*_wrap_FontList_RemoveFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxFontList
*arg1
= (wxFontList
*) 0 ;
18144 wxFont
*arg2
= (wxFont
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self",(char *) "font", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 (arg1
)->RemoveFont(arg2
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 Py_INCREF(Py_None
); resultobj
= Py_None
;
18170 static PyObject
*_wrap_FontList_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
;
18172 wxFontList
*arg1
= (wxFontList
*) 0 ;
18174 PyObject
* obj0
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontList_GetCount",kwnames
,&obj0
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontList
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18184 result
= (int)(arg1
)->GetCount();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_From_int((int)result
);
18196 static PyObject
* FontList_swigregister(PyObject
*, PyObject
*args
) {
18198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18199 SWIG_TypeClientData(SWIGTYPE_p_wxFontList
, obj
);
18201 return Py_BuildValue((char *)"");
18203 static int _wrap_TheFontList_set(PyObject
*) {
18204 PyErr_SetString(PyExc_TypeError
,"Variable TheFontList is read-only.");
18209 static PyObject
*_wrap_TheFontList_get() {
18212 pyobj
= SWIG_NewPointerObj((void *)(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0);
18217 static int _wrap_ThePenList_set(PyObject
*) {
18218 PyErr_SetString(PyExc_TypeError
,"Variable ThePenList is read-only.");
18223 static PyObject
*_wrap_ThePenList_get() {
18226 pyobj
= SWIG_NewPointerObj((void *)(wxThePenList
), SWIGTYPE_p_wxPenList
, 0);
18231 static int _wrap_TheBrushList_set(PyObject
*) {
18232 PyErr_SetString(PyExc_TypeError
,"Variable TheBrushList is read-only.");
18237 static PyObject
*_wrap_TheBrushList_get() {
18240 pyobj
= SWIG_NewPointerObj((void *)(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0);
18245 static int _wrap_TheColourDatabase_set(PyObject
*) {
18246 PyErr_SetString(PyExc_TypeError
,"Variable TheColourDatabase is read-only.");
18251 static PyObject
*_wrap_TheColourDatabase_get() {
18254 pyobj
= SWIG_NewPointerObj((void *)(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0);
18259 static PyObject
*_wrap_new_Effects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18262 char *kwnames
[] = {
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Effects",kwnames
)) goto fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (wxEffects
*)new wxEffects();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEffects
, 1);
18281 static PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxEffects
*arg1
= (wxEffects
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 char *kwnames
[] = {
18287 (char *) "self", NULL
18290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetHighlightColour",kwnames
,&obj0
)) goto fail
;
18291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 wxColour
* resultptr
;
18302 resultptr
= new wxColour((wxColour
&) result
);
18303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18311 static PyObject
*_wrap_Effects_GetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxEffects
*arg1
= (wxEffects
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetLightShadow",kwnames
,&obj0
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18325 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
18327 wxPyEndAllowThreads(__tstate
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18331 wxColour
* resultptr
;
18332 resultptr
= new wxColour((wxColour
&) result
);
18333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18341 static PyObject
*_wrap_Effects_GetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18343 wxEffects
*arg1
= (wxEffects
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetFaceColour",kwnames
,&obj0
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 wxColour
* resultptr
;
18362 resultptr
= new wxColour((wxColour
&) result
);
18363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18371 static PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxEffects
*arg1
= (wxEffects
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetMediumShadow",kwnames
,&obj0
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 wxColour
* resultptr
;
18392 resultptr
= new wxColour((wxColour
&) result
);
18393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18401 static PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxEffects
*arg1
= (wxEffects
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Effects_GetDarkShadow",kwnames
,&obj0
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 wxColour
* resultptr
;
18422 resultptr
= new wxColour((wxColour
&) result
);
18423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18431 static PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxEffects
*arg1
= (wxEffects
*) 0 ;
18434 wxColour
*arg2
= 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "c", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 Py_INCREF(Py_None
); resultobj
= Py_None
;
18463 static PyObject
*_wrap_Effects_SetLightShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxEffects
*arg1
= (wxEffects
*) 0 ;
18466 wxColour
*arg2
= 0 ;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self",(char *) "c", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18479 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 Py_INCREF(Py_None
); resultobj
= Py_None
;
18495 static PyObject
*_wrap_Effects_SetFaceColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxEffects
*arg1
= (wxEffects
*) 0 ;
18498 wxColour
*arg2
= 0 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "self",(char *) "c", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 Py_INCREF(Py_None
); resultobj
= Py_None
;
18527 static PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxEffects
*arg1
= (wxEffects
*) 0 ;
18530 wxColour
*arg2
= 0 ;
18532 PyObject
* obj0
= 0 ;
18533 PyObject
* obj1
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self",(char *) "c", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 Py_INCREF(Py_None
); resultobj
= Py_None
;
18559 static PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxEffects
*arg1
= (wxEffects
*) 0 ;
18562 wxColour
*arg2
= 0 ;
18564 PyObject
* obj0
= 0 ;
18565 PyObject
* obj1
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self",(char *) "c", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) goto fail
;
18571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18579 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
18581 wxPyEndAllowThreads(__tstate
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 Py_INCREF(Py_None
); resultobj
= Py_None
;
18591 static PyObject
*_wrap_Effects_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
;
18593 wxEffects
*arg1
= (wxEffects
*) 0 ;
18594 wxColour
*arg2
= 0 ;
18595 wxColour
*arg3
= 0 ;
18596 wxColour
*arg4
= 0 ;
18597 wxColour
*arg5
= 0 ;
18598 wxColour
*arg6
= 0 ;
18604 PyObject
* obj0
= 0 ;
18605 PyObject
* obj1
= 0 ;
18606 PyObject
* obj2
= 0 ;
18607 PyObject
* obj3
= 0 ;
18608 PyObject
* obj4
= 0 ;
18609 PyObject
* obj5
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18619 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18623 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18627 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18631 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
18635 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 Py_INCREF(Py_None
); resultobj
= Py_None
;
18651 static PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxEffects
*arg1
= (wxEffects
*) 0 ;
18656 int arg4
= (int) 1 ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 PyObject
* obj2
= 0 ;
18661 PyObject
* obj3
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18672 if (arg2
== NULL
) {
18673 PyErr_SetString(PyExc_TypeError
,"null reference");
18678 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
18681 arg4
= (int)SWIG_As_int(obj3
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 Py_INCREF(Py_None
); resultobj
= Py_None
;
18698 static PyObject
*_wrap_Effects_TileBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxEffects
*arg1
= (wxEffects
*) 0 ;
18703 wxBitmap
*arg4
= 0 ;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 PyObject
* obj2
= 0 ;
18709 PyObject
* obj3
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEffects
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18721 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
18722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18724 if (arg3
== NULL
) {
18725 PyErr_SetString(PyExc_TypeError
,"null reference");
18728 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
18729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18731 if (arg4
== NULL
) {
18732 PyErr_SetString(PyExc_TypeError
,"null reference");
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18751 static PyObject
* Effects_swigregister(PyObject
*, PyObject
*args
) {
18753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18754 SWIG_TypeClientData(SWIGTYPE_p_wxEffects
, obj
);
18756 return Py_BuildValue((char *)"");
18758 static PyMethodDef SwigMethods
[] = {
18759 { (char *)"new_GDIObject", (PyCFunction
) _wrap_new_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18760 { (char *)"delete_GDIObject", (PyCFunction
) _wrap_delete_GDIObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18761 { (char *)"GDIObject_GetVisible", (PyCFunction
) _wrap_GDIObject_GetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18762 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18763 { (char *)"GDIObject_IsNull", (PyCFunction
) _wrap_GDIObject_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18764 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
18765 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18766 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18767 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18768 { (char *)"delete_Colour", (PyCFunction
) _wrap_delete_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18769 { (char *)"Colour_Red", (PyCFunction
) _wrap_Colour_Red
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18770 { (char *)"Colour_Green", (PyCFunction
) _wrap_Colour_Green
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18771 { (char *)"Colour_Blue", (PyCFunction
) _wrap_Colour_Blue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18772 { (char *)"Colour_Ok", (PyCFunction
) _wrap_Colour_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18773 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18774 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18775 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18776 { (char *)"Colour_GetPixel", (PyCFunction
) _wrap_Colour_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18777 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18778 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18779 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18780 { (char *)"Colour_GetRGB", (PyCFunction
) _wrap_Colour_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18781 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
18782 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18783 { (char *)"delete_Palette", (PyCFunction
) _wrap_delete_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18784 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18785 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18786 { (char *)"Palette_GetColoursCount", (PyCFunction
) _wrap_Palette_GetColoursCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18787 { (char *)"Palette_Ok", (PyCFunction
) _wrap_Palette_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18788 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
18789 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18790 { (char *)"delete_Pen", (PyCFunction
) _wrap_delete_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18791 { (char *)"Pen_GetCap", (PyCFunction
) _wrap_Pen_GetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18792 { (char *)"Pen_GetColour", (PyCFunction
) _wrap_Pen_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18793 { (char *)"Pen_GetJoin", (PyCFunction
) _wrap_Pen_GetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18794 { (char *)"Pen_GetStyle", (PyCFunction
) _wrap_Pen_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18795 { (char *)"Pen_GetWidth", (PyCFunction
) _wrap_Pen_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18796 { (char *)"Pen_Ok", (PyCFunction
) _wrap_Pen_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18797 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18798 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18799 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18800 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18801 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18802 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18803 { (char *)"Pen_GetDashes", (PyCFunction
) _wrap_Pen_GetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18804 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18805 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18806 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18807 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
18808 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18809 { (char *)"delete_Brush", (PyCFunction
) _wrap_delete_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18810 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18811 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18812 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18813 { (char *)"Brush_GetColour", (PyCFunction
) _wrap_Brush_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18814 { (char *)"Brush_GetStyle", (PyCFunction
) _wrap_Brush_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18815 { (char *)"Brush_GetStipple", (PyCFunction
) _wrap_Brush_GetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18816 { (char *)"Brush_IsHatch", (PyCFunction
) _wrap_Brush_IsHatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18817 { (char *)"Brush_Ok", (PyCFunction
) _wrap_Brush_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18818 { (char *)"Brush_MacGetTheme", (PyCFunction
) _wrap_Brush_MacGetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18819 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18820 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
18821 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18822 { (char *)"delete_Bitmap", (PyCFunction
) _wrap_delete_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18823 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18824 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18825 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18826 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18827 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18828 { (char *)"Bitmap_Ok", (PyCFunction
) _wrap_Bitmap_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18829 { (char *)"Bitmap_GetWidth", (PyCFunction
) _wrap_Bitmap_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18830 { (char *)"Bitmap_GetHeight", (PyCFunction
) _wrap_Bitmap_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18831 { (char *)"Bitmap_GetDepth", (PyCFunction
) _wrap_Bitmap_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18832 { (char *)"Bitmap_GetSize", (PyCFunction
) _wrap_Bitmap_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18833 { (char *)"Bitmap_ConvertToImage", (PyCFunction
) _wrap_Bitmap_ConvertToImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18834 { (char *)"Bitmap_GetMask", (PyCFunction
) _wrap_Bitmap_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18835 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18836 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18837 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18838 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18839 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18840 { (char *)"Bitmap_GetPalette", (PyCFunction
) _wrap_Bitmap_GetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18841 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18842 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18843 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18844 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18845 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18846 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18847 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18848 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
18849 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18850 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
18851 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18852 { (char *)"delete_Icon", (PyCFunction
) _wrap_delete_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18853 { (char *)"new_EmptyIcon", (PyCFunction
) _wrap_new_EmptyIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18854 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18855 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18856 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18857 { (char *)"Icon_Ok", (PyCFunction
) _wrap_Icon_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18858 { (char *)"Icon_GetWidth", (PyCFunction
) _wrap_Icon_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18859 { (char *)"Icon_GetHeight", (PyCFunction
) _wrap_Icon_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18860 { (char *)"Icon_GetDepth", (PyCFunction
) _wrap_Icon_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18861 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18862 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18863 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18864 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18865 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
18866 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18867 { (char *)"delete_IconLocation", (PyCFunction
) _wrap_delete_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18868 { (char *)"IconLocation_IsOk", (PyCFunction
) _wrap_IconLocation_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18869 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18870 { (char *)"IconLocation_GetFileName", (PyCFunction
) _wrap_IconLocation_GetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18871 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18872 { (char *)"IconLocation_GetIndex", (PyCFunction
) _wrap_IconLocation_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18873 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
18874 { (char *)"new_IconBundle", (PyCFunction
) _wrap_new_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18875 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18876 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18877 { (char *)"delete_IconBundle", (PyCFunction
) _wrap_delete_IconBundle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18878 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18879 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18880 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18881 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
18882 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18883 { (char *)"delete_Cursor", (PyCFunction
) _wrap_delete_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18884 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18885 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18886 { (char *)"Cursor_Ok", (PyCFunction
) _wrap_Cursor_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18887 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
18888 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18889 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18890 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18891 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18892 { (char *)"delete_Region", (PyCFunction
) _wrap_delete_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18893 { (char *)"Region_Clear", (PyCFunction
) _wrap_Region_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18894 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18895 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18896 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18897 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18898 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18899 { (char *)"Region_GetBox", (PyCFunction
) _wrap_Region_GetBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18900 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18901 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18902 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18903 { (char *)"Region_IsEmpty", (PyCFunction
) _wrap_Region_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18904 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18905 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18906 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18907 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18908 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18909 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18910 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18911 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18912 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18913 { (char *)"Region_ConvertToBitmap", (PyCFunction
) _wrap_Region_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18914 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18915 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18916 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
18917 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18918 { (char *)"delete_RegionIterator", (PyCFunction
) _wrap_delete_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18919 { (char *)"RegionIterator_GetX", (PyCFunction
) _wrap_RegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18920 { (char *)"RegionIterator_GetY", (PyCFunction
) _wrap_RegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18921 { (char *)"RegionIterator_GetW", (PyCFunction
) _wrap_RegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18922 { (char *)"RegionIterator_GetWidth", (PyCFunction
) _wrap_RegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18923 { (char *)"RegionIterator_GetH", (PyCFunction
) _wrap_RegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18924 { (char *)"RegionIterator_GetHeight", (PyCFunction
) _wrap_RegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18925 { (char *)"RegionIterator_GetRect", (PyCFunction
) _wrap_RegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18926 { (char *)"RegionIterator_HaveRects", (PyCFunction
) _wrap_RegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18927 { (char *)"RegionIterator_Reset", (PyCFunction
) _wrap_RegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18928 { (char *)"RegionIterator_Next", (PyCFunction
) _wrap_RegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18929 { (char *)"RegionIterator___nonzero__", (PyCFunction
) _wrap_RegionIterator___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18930 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
18931 { (char *)"new_NativeFontInfo", (PyCFunction
) _wrap_new_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18932 { (char *)"delete_NativeFontInfo", (PyCFunction
) _wrap_delete_NativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18933 { (char *)"NativeFontInfo_Init", (PyCFunction
) _wrap_NativeFontInfo_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18934 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18935 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
) _wrap_NativeFontInfo_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18936 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
) _wrap_NativeFontInfo_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18937 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
) _wrap_NativeFontInfo_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18938 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18939 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
) _wrap_NativeFontInfo_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18940 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
) _wrap_NativeFontInfo_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18941 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
) _wrap_NativeFontInfo_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18942 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18943 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18944 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18945 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18946 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18947 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18948 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18949 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18950 { (char *)"NativeFontInfo_ToString", (PyCFunction
) _wrap_NativeFontInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18951 { (char *)"NativeFontInfo___str__", (PyCFunction
) _wrap_NativeFontInfo___str__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18952 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18953 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
) _wrap_NativeFontInfo_ToUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18954 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
18955 { (char *)"NativeEncodingInfo_facename_set", (PyCFunction
) _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18956 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
) _wrap_NativeEncodingInfo_facename_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18957 { (char *)"NativeEncodingInfo_encoding_set", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18958 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
) _wrap_NativeEncodingInfo_encoding_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18959 { (char *)"new_NativeEncodingInfo", (PyCFunction
) _wrap_new_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18960 { (char *)"delete_NativeEncodingInfo", (PyCFunction
) _wrap_delete_NativeEncodingInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18961 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18962 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
) _wrap_NativeEncodingInfo_ToString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18963 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
18964 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18965 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18966 { (char *)"new_FontMapper", (PyCFunction
) _wrap_new_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18967 { (char *)"delete_FontMapper", (PyCFunction
) _wrap_delete_FontMapper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18968 { (char *)"FontMapper_Get", (PyCFunction
) _wrap_FontMapper_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18969 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18970 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18971 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
) _wrap_FontMapper_GetSupportedEncodingsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18972 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18973 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18974 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18975 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18976 { (char *)"FontMapper_SetConfig", (PyCFunction
) _wrap_FontMapper_SetConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18977 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18978 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
) _wrap_FontMapper_GetDefaultConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18979 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18980 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18981 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18982 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18983 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
18984 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18985 { (char *)"delete_Font", (PyCFunction
) _wrap_delete_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18986 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18987 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18988 { (char *)"new_Font2", (PyCFunction
) _wrap_new_Font2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18989 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18990 { (char *)"Font_Ok", (PyCFunction
) _wrap_Font_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18991 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18992 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18993 { (char *)"Font_GetPointSize", (PyCFunction
) _wrap_Font_GetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18994 { (char *)"Font_GetPixelSize", (PyCFunction
) _wrap_Font_GetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18995 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
) _wrap_Font_IsUsingSizeInPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18996 { (char *)"Font_GetFamily", (PyCFunction
) _wrap_Font_GetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18997 { (char *)"Font_GetStyle", (PyCFunction
) _wrap_Font_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18998 { (char *)"Font_GetWeight", (PyCFunction
) _wrap_Font_GetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
18999 { (char *)"Font_GetUnderlined", (PyCFunction
) _wrap_Font_GetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19000 { (char *)"Font_GetFaceName", (PyCFunction
) _wrap_Font_GetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19001 { (char *)"Font_GetEncoding", (PyCFunction
) _wrap_Font_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19002 { (char *)"Font_GetNativeFontInfo", (PyCFunction
) _wrap_Font_GetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19003 { (char *)"Font_IsFixedWidth", (PyCFunction
) _wrap_Font_IsFixedWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19004 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19005 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_GetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19006 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19007 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19008 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19009 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19010 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19011 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19012 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19013 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19014 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19015 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19016 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19017 { (char *)"Font_GetFamilyString", (PyCFunction
) _wrap_Font_GetFamilyString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19018 { (char *)"Font_GetStyleString", (PyCFunction
) _wrap_Font_GetStyleString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19019 { (char *)"Font_GetWeightString", (PyCFunction
) _wrap_Font_GetWeightString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19020 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19021 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
) _wrap_Font_GetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19022 { (char *)"Font_GetDefaultEncoding", (PyCFunction
) _wrap_Font_GetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19023 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19024 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
19025 { (char *)"new_FontEnumerator", (PyCFunction
) _wrap_new_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19026 { (char *)"delete_FontEnumerator", (PyCFunction
) _wrap_delete_FontEnumerator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19027 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19028 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19029 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19030 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
) _wrap_FontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19031 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
) _wrap_FontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19032 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
19033 { (char *)"LanguageInfo_Language_set", (PyCFunction
) _wrap_LanguageInfo_Language_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19034 { (char *)"LanguageInfo_Language_get", (PyCFunction
) _wrap_LanguageInfo_Language_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19035 { (char *)"LanguageInfo_CanonicalName_set", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19036 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
) _wrap_LanguageInfo_CanonicalName_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19037 { (char *)"LanguageInfo_Description_set", (PyCFunction
) _wrap_LanguageInfo_Description_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19038 { (char *)"LanguageInfo_Description_get", (PyCFunction
) _wrap_LanguageInfo_Description_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19039 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
19040 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19041 { (char *)"delete_Locale", (PyCFunction
) _wrap_delete_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19042 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19043 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19044 { (char *)"Locale_GetSystemLanguage", (PyCFunction
) _wrap_Locale_GetSystemLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19045 { (char *)"Locale_GetSystemEncoding", (PyCFunction
) _wrap_Locale_GetSystemEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19046 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
) _wrap_Locale_GetSystemEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19047 { (char *)"Locale_IsOk", (PyCFunction
) _wrap_Locale_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19048 { (char *)"Locale_GetLocale", (PyCFunction
) _wrap_Locale_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19049 { (char *)"Locale_GetLanguage", (PyCFunction
) _wrap_Locale_GetLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19050 { (char *)"Locale_GetSysName", (PyCFunction
) _wrap_Locale_GetSysName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19051 { (char *)"Locale_GetCanonicalName", (PyCFunction
) _wrap_Locale_GetCanonicalName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19052 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19053 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19054 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19055 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19056 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19057 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19058 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19059 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19060 { (char *)"Locale_GetName", (PyCFunction
) _wrap_Locale_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19061 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
19062 { (char *)"GetLocale", (PyCFunction
) _wrap_GetLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19063 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
19064 { (char *)"new_EncodingConverter", (PyCFunction
) _wrap_new_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19065 { (char *)"delete_EncodingConverter", (PyCFunction
) _wrap_delete_EncodingConverter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19066 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19067 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19068 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19069 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19070 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19071 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
19072 { (char *)"delete_DC", (PyCFunction
) _wrap_delete_DC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19073 { (char *)"DC_BeginDrawing", (PyCFunction
) _wrap_DC_BeginDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19074 { (char *)"DC_EndDrawing", (PyCFunction
) _wrap_DC_EndDrawing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19075 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19076 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19077 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19078 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19079 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19080 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19081 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19082 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19083 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19084 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19085 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19086 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19087 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19088 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19089 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19090 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19091 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19092 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19093 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19094 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19095 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19096 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19097 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19098 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19099 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19100 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19101 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19102 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19103 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19104 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19105 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19106 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19107 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19108 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19109 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19110 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19111 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19112 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19113 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19114 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19115 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19116 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19117 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19118 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19119 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19120 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19121 { (char *)"DC_Clear", (PyCFunction
) _wrap_DC_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19122 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19123 { (char *)"DC_EndDoc", (PyCFunction
) _wrap_DC_EndDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19124 { (char *)"DC_StartPage", (PyCFunction
) _wrap_DC_StartPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19125 { (char *)"DC_EndPage", (PyCFunction
) _wrap_DC_EndPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19126 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19127 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19128 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19129 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19130 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19131 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19132 { (char *)"DC_DestroyClippingRegion", (PyCFunction
) _wrap_DC_DestroyClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19133 { (char *)"DC_GetClippingBox", (PyCFunction
) _wrap_DC_GetClippingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19134 { (char *)"DC_GetClippingRect", (PyCFunction
) _wrap_DC_GetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19135 { (char *)"DC_GetCharHeight", (PyCFunction
) _wrap_DC_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19136 { (char *)"DC_GetCharWidth", (PyCFunction
) _wrap_DC_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19137 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19138 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19139 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19140 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19141 { (char *)"DC_GetSize", (PyCFunction
) _wrap_DC_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19142 { (char *)"DC_GetSizeTuple", (PyCFunction
) _wrap_DC_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19143 { (char *)"DC_GetSizeMM", (PyCFunction
) _wrap_DC_GetSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19144 { (char *)"DC_GetSizeMMTuple", (PyCFunction
) _wrap_DC_GetSizeMMTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19145 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19146 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19147 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19148 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19149 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19150 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19151 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19152 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19153 { (char *)"DC_CanDrawBitmap", (PyCFunction
) _wrap_DC_CanDrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19154 { (char *)"DC_CanGetTextExtent", (PyCFunction
) _wrap_DC_CanGetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19155 { (char *)"DC_GetDepth", (PyCFunction
) _wrap_DC_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19156 { (char *)"DC_GetPPI", (PyCFunction
) _wrap_DC_GetPPI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19157 { (char *)"DC_Ok", (PyCFunction
) _wrap_DC_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19158 { (char *)"DC_GetBackgroundMode", (PyCFunction
) _wrap_DC_GetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19159 { (char *)"DC_GetBackground", (PyCFunction
) _wrap_DC_GetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19160 { (char *)"DC_GetBrush", (PyCFunction
) _wrap_DC_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19161 { (char *)"DC_GetFont", (PyCFunction
) _wrap_DC_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19162 { (char *)"DC_GetPen", (PyCFunction
) _wrap_DC_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19163 { (char *)"DC_GetTextBackground", (PyCFunction
) _wrap_DC_GetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19164 { (char *)"DC_GetTextForeground", (PyCFunction
) _wrap_DC_GetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19165 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19166 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19167 { (char *)"DC_GetMapMode", (PyCFunction
) _wrap_DC_GetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19168 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19169 { (char *)"DC_GetUserScale", (PyCFunction
) _wrap_DC_GetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19170 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19171 { (char *)"DC_GetLogicalScale", (PyCFunction
) _wrap_DC_GetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19172 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19173 { (char *)"DC_GetLogicalOrigin", (PyCFunction
) _wrap_DC_GetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19174 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
) _wrap_DC_GetLogicalOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19175 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19176 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19177 { (char *)"DC_GetDeviceOrigin", (PyCFunction
) _wrap_DC_GetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19178 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
) _wrap_DC_GetDeviceOriginTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19179 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19180 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19181 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19182 { (char *)"DC_GetLogicalFunction", (PyCFunction
) _wrap_DC_GetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19183 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19184 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
) _wrap_DC_ComputeScaleAndOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19185 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19186 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19187 { (char *)"DC_ResetBoundingBox", (PyCFunction
) _wrap_DC_ResetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19188 { (char *)"DC_MinX", (PyCFunction
) _wrap_DC_MinX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19189 { (char *)"DC_MaxX", (PyCFunction
) _wrap_DC_MaxX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19190 { (char *)"DC_MinY", (PyCFunction
) _wrap_DC_MinY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19191 { (char *)"DC_MaxY", (PyCFunction
) _wrap_DC_MaxY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19192 { (char *)"DC_GetBoundingBox", (PyCFunction
) _wrap_DC_GetBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19193 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19194 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19195 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19196 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19197 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19198 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19199 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
19200 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19201 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19202 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19203 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
19204 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
19205 { (char *)"delete_BufferedDC", (PyCFunction
) _wrap_delete_BufferedDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19206 { (char *)"BufferedDC_UnMask", (PyCFunction
) _wrap_BufferedDC_UnMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19207 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
19208 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19209 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
19210 { (char *)"new_ScreenDC", (PyCFunction
) _wrap_new_ScreenDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19211 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19212 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19213 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_EndDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19214 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
19215 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19216 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
19217 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19218 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
19219 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19220 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
19221 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19222 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
19223 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19224 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
) _wrap_PostScriptDC_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19225 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19226 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19227 { (char *)"PostScriptDC_GetResolution", (PyCFunction
) _wrap_PostScriptDC_GetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19228 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
19229 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19230 { (char *)"delete_MetaFile", (PyCFunction
) _wrap_delete_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19231 { (char *)"MetaFile_Ok", (PyCFunction
) _wrap_MetaFile_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19232 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19233 { (char *)"MetaFile_GetSize", (PyCFunction
) _wrap_MetaFile_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19234 { (char *)"MetaFile_GetWidth", (PyCFunction
) _wrap_MetaFile_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19235 { (char *)"MetaFile_GetHeight", (PyCFunction
) _wrap_MetaFile_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19236 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
19237 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19238 { (char *)"MetaFileDC_Close", (PyCFunction
) _wrap_MetaFileDC_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19239 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
19240 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19241 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
19242 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19243 { (char *)"delete_ImageList", (PyCFunction
) _wrap_delete_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19244 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19245 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19246 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19247 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19248 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19249 { (char *)"ImageList_GetImageCount", (PyCFunction
) _wrap_ImageList_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19250 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19251 { (char *)"ImageList_RemoveAll", (PyCFunction
) _wrap_ImageList_RemoveAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19252 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19253 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
19254 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19255 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19256 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19257 { (char *)"PenList_GetCount", (PyCFunction
) _wrap_PenList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19258 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
19259 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19260 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19261 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19262 { (char *)"BrushList_GetCount", (PyCFunction
) _wrap_BrushList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19263 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
19264 { (char *)"new_ColourDatabase", (PyCFunction
) _wrap_new_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19265 { (char *)"delete_ColourDatabase", (PyCFunction
) _wrap_delete_ColourDatabase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19266 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19267 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19268 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19269 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19270 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
19271 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19272 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19273 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19274 { (char *)"FontList_GetCount", (PyCFunction
) _wrap_FontList_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19275 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
19276 { (char *)"new_Effects", (PyCFunction
) _wrap_new_Effects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19277 { (char *)"Effects_GetHighlightColour", (PyCFunction
) _wrap_Effects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19278 { (char *)"Effects_GetLightShadow", (PyCFunction
) _wrap_Effects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19279 { (char *)"Effects_GetFaceColour", (PyCFunction
) _wrap_Effects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19280 { (char *)"Effects_GetMediumShadow", (PyCFunction
) _wrap_Effects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19281 { (char *)"Effects_GetDarkShadow", (PyCFunction
) _wrap_Effects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19282 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19283 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19284 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19285 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19286 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19287 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19288 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19289 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
19290 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
19291 { NULL
, NULL
, 0, NULL
}
19295 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19297 static void *_p_wxControlTo_p_wxWindow(void *x
) {
19298 return (void *)((wxWindow
*) ((wxControl
*) x
));
19300 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
19301 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
19303 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
19304 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
19306 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
19307 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
19309 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
19310 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19312 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
19313 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
19315 static void *_p_wxPenTo_p_wxObject(void *x
) {
19316 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
19318 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
19319 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
19321 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
19322 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
19324 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
19325 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
19327 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
19328 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
19330 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
19331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
19333 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
19334 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
19336 static void *_p_wxIconTo_p_wxObject(void *x
) {
19337 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
19339 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
19340 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
19342 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
19343 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
19345 static void *_p_wxSizerTo_p_wxObject(void *x
) {
19346 return (void *)((wxObject
*) ((wxSizer
*) x
));
19348 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
19349 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
19351 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
19352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
19354 static void *_p_wxPenListTo_p_wxObject(void *x
) {
19355 return (void *)((wxObject
*) ((wxPenList
*) x
));
19357 static void *_p_wxEventTo_p_wxObject(void *x
) {
19358 return (void *)((wxObject
*) ((wxEvent
*) x
));
19360 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
19361 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
19363 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
19364 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
19366 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
19367 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
19369 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
19370 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
19372 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
19373 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
19375 static void *_p_wxDCTo_p_wxObject(void *x
) {
19376 return (void *)((wxObject
*) ((wxDC
*) x
));
19378 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
19379 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
19381 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
19382 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
19384 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
19385 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
19387 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
19388 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
19390 static void *_p_wxControlTo_p_wxObject(void *x
) {
19391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
19393 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
19394 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
19396 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
19397 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
19399 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
19400 return (void *)((wxObject
*) ((wxFSFile
*) x
));
19402 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
19403 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
19405 static void *_p_wxRegionTo_p_wxObject(void *x
) {
19406 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
19408 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
19409 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
19411 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
19412 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
19414 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
19415 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
19417 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
19418 return (void *)((wxObject
*) ((wxEffects
*) x
));
19420 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
19421 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
19423 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
19424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
19426 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
19427 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
19429 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
19430 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
19432 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
19433 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
19435 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
19436 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
19438 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
19439 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
19441 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
19442 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
19444 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
19445 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
19447 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
19448 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
19450 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
19451 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
19453 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
19454 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
19456 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
19457 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
19459 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
19460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
19462 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
19463 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
19465 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
19466 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
19468 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
19469 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
19471 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
19472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
19474 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
19475 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
19477 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
19478 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
19480 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
19481 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
19483 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
19484 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
19486 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
19487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
19489 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
19490 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
19492 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
19493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
19495 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
19496 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
19498 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
19499 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19501 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
19502 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
19504 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
19505 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
19507 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
19508 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
19510 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
19511 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
19513 static void *_p_wxImageTo_p_wxObject(void *x
) {
19514 return (void *)((wxObject
*) ((wxImage
*) x
));
19516 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
19517 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
19519 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
19520 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
19522 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
19523 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
19525 static void *_p_wxImageListTo_p_wxObject(void *x
) {
19526 return (void *)((wxObject
*) ((wxImageList
*) x
));
19528 static void *_p_wxCursorTo_p_wxObject(void *x
) {
19529 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
19531 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
19532 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
19534 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
19535 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
19537 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
19538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
19540 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
19541 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
19543 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
19544 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
19546 static void *_p_wxWindowTo_p_wxObject(void *x
) {
19547 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
19549 static void *_p_wxMenuTo_p_wxObject(void *x
) {
19550 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
19552 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
19553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
19555 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
19556 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
19558 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
19559 return (void *)((wxObject
*) ((wxBrushList
*) x
));
19561 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
19562 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
19564 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
19565 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
19567 static void *_p_wxMaskTo_p_wxObject(void *x
) {
19568 return (void *)((wxObject
*) ((wxMask
*) x
));
19570 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
19571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
19573 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
19574 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
19576 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
19577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
19579 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
19580 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
19582 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
19583 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
19585 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
19586 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
19588 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
19589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
19591 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
19592 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
19594 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
19595 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
19597 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
19598 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
19600 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
19601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
19603 static void *_p_wxFontTo_p_wxObject(void *x
) {
19604 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
19606 static void *_p_wxBrushTo_p_wxObject(void *x
) {
19607 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
19609 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
19610 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
19612 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
19613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
19615 static void *_p_wxColourTo_p_wxObject(void *x
) {
19616 return (void *)((wxObject
*) ((wxColour
*) x
));
19618 static void *_p_wxFontListTo_p_wxObject(void *x
) {
19619 return (void *)((wxObject
*) ((wxFontList
*) x
));
19621 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
19622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
19624 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
19625 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
19627 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
19628 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19630 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
19631 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
19633 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
19634 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
19636 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
19637 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
19639 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
19640 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
19642 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
19643 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
19645 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
19646 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
19648 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
19649 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
19651 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
19652 return (void *)((wxDC
*) ((wxClientDC
*) x
));
19654 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
19655 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
19657 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
19658 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
19660 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
19661 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
19663 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
19664 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
19666 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
19667 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
19669 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
19670 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
19672 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
19673 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
19675 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
19676 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
19678 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
19679 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
19681 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
19682 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
19684 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
19685 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
19687 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}};
19688 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}};
19689 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}};
19690 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}};
19691 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}};
19692 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}};
19693 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}};
19694 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}};
19695 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}};
19696 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}};
19697 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}};
19698 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}};
19699 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}};
19700 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}};
19701 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}};
19702 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}};
19703 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}};
19704 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}};
19705 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}};
19706 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}};
19707 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}};
19708 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}};
19709 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}};
19710 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}};
19711 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}};
19712 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}};
19713 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}};
19714 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}};
19715 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}};
19716 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}};
19717 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}};
19718 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}};
19719 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}};
19720 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}};
19721 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}};
19722 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}};
19723 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}};
19724 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}};
19725 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}};
19726 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}};
19727 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}};
19728 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}};
19729 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}};
19730 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}};
19731 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}};
19732 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}};
19733 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}};
19734 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}};
19735 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}};
19736 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}};
19737 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}};
19738 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}};
19739 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}};
19740 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}};
19741 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}};
19743 static swig_type_info
*swig_types_initial
[] = {
19744 _swigt__p_wxPostScriptDC
,
19746 _swigt__p_wxColour
,
19748 _swigt__p_wxMirrorDC
,
19750 _swigt__p_wxPyFontEnumerator
,
19752 _swigt__p_wxIconLocation
,
19754 _swigt__p_wxMetaFileDC
,
19758 _swigt__p_wxWindow
,
19760 _swigt__p_wxMemoryDC
,
19761 _swigt__p_wxFontMapper
,
19762 _swigt__p_wxEffects
,
19763 _swigt__p_wxNativeEncodingInfo
,
19764 _swigt__p_wxPalette
,
19765 _swigt__p_wxBitmap
,
19766 _swigt__p_wxObject
,
19767 _swigt__p_wxRegionIterator
,
19769 _swigt__p_wxString
,
19770 _swigt__p_wxPrinterDC
,
19771 _swigt__p_wxIconBundle
,
19774 _swigt__p_wxScreenDC
,
19775 _swigt__p_wxCursor
,
19776 _swigt__p_wxClientDC
,
19777 _swigt__p_wxBufferedDC
,
19778 _swigt__p_wxImageList
,
19779 _swigt__p_unsigned_char
,
19780 _swigt__p_wxGDIObject
,
19782 _swigt__p_wxLocale
,
19783 _swigt__p_wxRegion
,
19784 _swigt__p_wxLanguageInfo
,
19785 _swigt__p_wxConfigBase
,
19786 _swigt__p_wxWindowDC
,
19787 _swigt__p_wxPrintData
,
19788 _swigt__p_wxBrushList
,
19789 _swigt__p_wxFontList
,
19791 _swigt__p_wxBufferedPaintDC
,
19792 _swigt__p_wxPaintDC
,
19793 _swigt__p_wxPenList
,
19795 _swigt__p_wxMetaFile
,
19796 _swigt__p_wxNativeFontInfo
,
19797 _swigt__p_wxEncodingConverter
,
19798 _swigt__p_wxColourDatabase
,
19803 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19805 static swig_const_info swig_const_table
[] = {
19806 {0, 0, 0, 0.0, 0, 0}};
19815 SWIGEXPORT(void) SWIG_init(void) {
19816 static PyObject
*SWIG_globals
= 0;
19817 static int typeinit
= 0;
19820 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
19821 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
19822 d
= PyModule_GetDict(m
);
19825 for (i
= 0; swig_types_initial
[i
]; i
++) {
19826 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
19830 SWIG_InstallConstants(d
,swig_const_table
);
19832 PyDict_SetItemString(d
,"OutRegion", SWIG_From_int((int)wxOutRegion
));
19833 PyDict_SetItemString(d
,"PartRegion", SWIG_From_int((int)wxPartRegion
));
19834 PyDict_SetItemString(d
,"InRegion", SWIG_From_int((int)wxInRegion
));
19835 PyDict_SetItemString(d
,"FONTFAMILY_DEFAULT", SWIG_From_int((int)wxFONTFAMILY_DEFAULT
));
19836 PyDict_SetItemString(d
,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)wxFONTFAMILY_DECORATIVE
));
19837 PyDict_SetItemString(d
,"FONTFAMILY_ROMAN", SWIG_From_int((int)wxFONTFAMILY_ROMAN
));
19838 PyDict_SetItemString(d
,"FONTFAMILY_SCRIPT", SWIG_From_int((int)wxFONTFAMILY_SCRIPT
));
19839 PyDict_SetItemString(d
,"FONTFAMILY_SWISS", SWIG_From_int((int)wxFONTFAMILY_SWISS
));
19840 PyDict_SetItemString(d
,"FONTFAMILY_MODERN", SWIG_From_int((int)wxFONTFAMILY_MODERN
));
19841 PyDict_SetItemString(d
,"FONTFAMILY_TELETYPE", SWIG_From_int((int)wxFONTFAMILY_TELETYPE
));
19842 PyDict_SetItemString(d
,"FONTFAMILY_MAX", SWIG_From_int((int)wxFONTFAMILY_MAX
));
19843 PyDict_SetItemString(d
,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)wxFONTFAMILY_UNKNOWN
));
19844 PyDict_SetItemString(d
,"FONTSTYLE_NORMAL", SWIG_From_int((int)wxFONTSTYLE_NORMAL
));
19845 PyDict_SetItemString(d
,"FONTSTYLE_ITALIC", SWIG_From_int((int)wxFONTSTYLE_ITALIC
));
19846 PyDict_SetItemString(d
,"FONTSTYLE_SLANT", SWIG_From_int((int)wxFONTSTYLE_SLANT
));
19847 PyDict_SetItemString(d
,"FONTSTYLE_MAX", SWIG_From_int((int)wxFONTSTYLE_MAX
));
19848 PyDict_SetItemString(d
,"FONTWEIGHT_NORMAL", SWIG_From_int((int)wxFONTWEIGHT_NORMAL
));
19849 PyDict_SetItemString(d
,"FONTWEIGHT_LIGHT", SWIG_From_int((int)wxFONTWEIGHT_LIGHT
));
19850 PyDict_SetItemString(d
,"FONTWEIGHT_BOLD", SWIG_From_int((int)wxFONTWEIGHT_BOLD
));
19851 PyDict_SetItemString(d
,"FONTWEIGHT_MAX", SWIG_From_int((int)wxFONTWEIGHT_MAX
));
19852 PyDict_SetItemString(d
,"FONTFLAG_DEFAULT", SWIG_From_int((int)wxFONTFLAG_DEFAULT
));
19853 PyDict_SetItemString(d
,"FONTFLAG_ITALIC", SWIG_From_int((int)wxFONTFLAG_ITALIC
));
19854 PyDict_SetItemString(d
,"FONTFLAG_SLANT", SWIG_From_int((int)wxFONTFLAG_SLANT
));
19855 PyDict_SetItemString(d
,"FONTFLAG_LIGHT", SWIG_From_int((int)wxFONTFLAG_LIGHT
));
19856 PyDict_SetItemString(d
,"FONTFLAG_BOLD", SWIG_From_int((int)wxFONTFLAG_BOLD
));
19857 PyDict_SetItemString(d
,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_ANTIALIASED
));
19858 PyDict_SetItemString(d
,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)wxFONTFLAG_NOT_ANTIALIASED
));
19859 PyDict_SetItemString(d
,"FONTFLAG_UNDERLINED", SWIG_From_int((int)wxFONTFLAG_UNDERLINED
));
19860 PyDict_SetItemString(d
,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)wxFONTFLAG_STRIKETHROUGH
));
19861 PyDict_SetItemString(d
,"FONTFLAG_MASK", SWIG_From_int((int)wxFONTFLAG_MASK
));
19862 PyDict_SetItemString(d
,"FONTENCODING_SYSTEM", SWIG_From_int((int)wxFONTENCODING_SYSTEM
));
19863 PyDict_SetItemString(d
,"FONTENCODING_DEFAULT", SWIG_From_int((int)wxFONTENCODING_DEFAULT
));
19864 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_1", SWIG_From_int((int)wxFONTENCODING_ISO8859_1
));
19865 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_2", SWIG_From_int((int)wxFONTENCODING_ISO8859_2
));
19866 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_3", SWIG_From_int((int)wxFONTENCODING_ISO8859_3
));
19867 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_4", SWIG_From_int((int)wxFONTENCODING_ISO8859_4
));
19868 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_5", SWIG_From_int((int)wxFONTENCODING_ISO8859_5
));
19869 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_6", SWIG_From_int((int)wxFONTENCODING_ISO8859_6
));
19870 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_7", SWIG_From_int((int)wxFONTENCODING_ISO8859_7
));
19871 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_8", SWIG_From_int((int)wxFONTENCODING_ISO8859_8
));
19872 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_9", SWIG_From_int((int)wxFONTENCODING_ISO8859_9
));
19873 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_10", SWIG_From_int((int)wxFONTENCODING_ISO8859_10
));
19874 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_11", SWIG_From_int((int)wxFONTENCODING_ISO8859_11
));
19875 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_12", SWIG_From_int((int)wxFONTENCODING_ISO8859_12
));
19876 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_13", SWIG_From_int((int)wxFONTENCODING_ISO8859_13
));
19877 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_14", SWIG_From_int((int)wxFONTENCODING_ISO8859_14
));
19878 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_15", SWIG_From_int((int)wxFONTENCODING_ISO8859_15
));
19879 PyDict_SetItemString(d
,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)wxFONTENCODING_ISO8859_MAX
));
19880 PyDict_SetItemString(d
,"FONTENCODING_KOI8", SWIG_From_int((int)wxFONTENCODING_KOI8
));
19881 PyDict_SetItemString(d
,"FONTENCODING_KOI8_U", SWIG_From_int((int)wxFONTENCODING_KOI8_U
));
19882 PyDict_SetItemString(d
,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)wxFONTENCODING_ALTERNATIVE
));
19883 PyDict_SetItemString(d
,"FONTENCODING_BULGARIAN", SWIG_From_int((int)wxFONTENCODING_BULGARIAN
));
19884 PyDict_SetItemString(d
,"FONTENCODING_CP437", SWIG_From_int((int)wxFONTENCODING_CP437
));
19885 PyDict_SetItemString(d
,"FONTENCODING_CP850", SWIG_From_int((int)wxFONTENCODING_CP850
));
19886 PyDict_SetItemString(d
,"FONTENCODING_CP852", SWIG_From_int((int)wxFONTENCODING_CP852
));
19887 PyDict_SetItemString(d
,"FONTENCODING_CP855", SWIG_From_int((int)wxFONTENCODING_CP855
));
19888 PyDict_SetItemString(d
,"FONTENCODING_CP866", SWIG_From_int((int)wxFONTENCODING_CP866
));
19889 PyDict_SetItemString(d
,"FONTENCODING_CP874", SWIG_From_int((int)wxFONTENCODING_CP874
));
19890 PyDict_SetItemString(d
,"FONTENCODING_CP932", SWIG_From_int((int)wxFONTENCODING_CP932
));
19891 PyDict_SetItemString(d
,"FONTENCODING_CP936", SWIG_From_int((int)wxFONTENCODING_CP936
));
19892 PyDict_SetItemString(d
,"FONTENCODING_CP949", SWIG_From_int((int)wxFONTENCODING_CP949
));
19893 PyDict_SetItemString(d
,"FONTENCODING_CP950", SWIG_From_int((int)wxFONTENCODING_CP950
));
19894 PyDict_SetItemString(d
,"FONTENCODING_CP1250", SWIG_From_int((int)wxFONTENCODING_CP1250
));
19895 PyDict_SetItemString(d
,"FONTENCODING_CP1251", SWIG_From_int((int)wxFONTENCODING_CP1251
));
19896 PyDict_SetItemString(d
,"FONTENCODING_CP1252", SWIG_From_int((int)wxFONTENCODING_CP1252
));
19897 PyDict_SetItemString(d
,"FONTENCODING_CP1253", SWIG_From_int((int)wxFONTENCODING_CP1253
));
19898 PyDict_SetItemString(d
,"FONTENCODING_CP1254", SWIG_From_int((int)wxFONTENCODING_CP1254
));
19899 PyDict_SetItemString(d
,"FONTENCODING_CP1255", SWIG_From_int((int)wxFONTENCODING_CP1255
));
19900 PyDict_SetItemString(d
,"FONTENCODING_CP1256", SWIG_From_int((int)wxFONTENCODING_CP1256
));
19901 PyDict_SetItemString(d
,"FONTENCODING_CP1257", SWIG_From_int((int)wxFONTENCODING_CP1257
));
19902 PyDict_SetItemString(d
,"FONTENCODING_CP12_MAX", SWIG_From_int((int)wxFONTENCODING_CP12_MAX
));
19903 PyDict_SetItemString(d
,"FONTENCODING_UTF7", SWIG_From_int((int)wxFONTENCODING_UTF7
));
19904 PyDict_SetItemString(d
,"FONTENCODING_UTF8", SWIG_From_int((int)wxFONTENCODING_UTF8
));
19905 PyDict_SetItemString(d
,"FONTENCODING_EUC_JP", SWIG_From_int((int)wxFONTENCODING_EUC_JP
));
19906 PyDict_SetItemString(d
,"FONTENCODING_UTF16BE", SWIG_From_int((int)wxFONTENCODING_UTF16BE
));
19907 PyDict_SetItemString(d
,"FONTENCODING_UTF16LE", SWIG_From_int((int)wxFONTENCODING_UTF16LE
));
19908 PyDict_SetItemString(d
,"FONTENCODING_UTF32BE", SWIG_From_int((int)wxFONTENCODING_UTF32BE
));
19909 PyDict_SetItemString(d
,"FONTENCODING_UTF32LE", SWIG_From_int((int)wxFONTENCODING_UTF32LE
));
19910 PyDict_SetItemString(d
,"FONTENCODING_MACROMAN", SWIG_From_int((int)wxFONTENCODING_MACROMAN
));
19911 PyDict_SetItemString(d
,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)wxFONTENCODING_MACJAPANESE
));
19912 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)wxFONTENCODING_MACCHINESETRAD
));
19913 PyDict_SetItemString(d
,"FONTENCODING_MACKOREAN", SWIG_From_int((int)wxFONTENCODING_MACKOREAN
));
19914 PyDict_SetItemString(d
,"FONTENCODING_MACARABIC", SWIG_From_int((int)wxFONTENCODING_MACARABIC
));
19915 PyDict_SetItemString(d
,"FONTENCODING_MACHEBREW", SWIG_From_int((int)wxFONTENCODING_MACHEBREW
));
19916 PyDict_SetItemString(d
,"FONTENCODING_MACGREEK", SWIG_From_int((int)wxFONTENCODING_MACGREEK
));
19917 PyDict_SetItemString(d
,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)wxFONTENCODING_MACCYRILLIC
));
19918 PyDict_SetItemString(d
,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)wxFONTENCODING_MACDEVANAGARI
));
19919 PyDict_SetItemString(d
,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)wxFONTENCODING_MACGURMUKHI
));
19920 PyDict_SetItemString(d
,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)wxFONTENCODING_MACGUJARATI
));
19921 PyDict_SetItemString(d
,"FONTENCODING_MACORIYA", SWIG_From_int((int)wxFONTENCODING_MACORIYA
));
19922 PyDict_SetItemString(d
,"FONTENCODING_MACBENGALI", SWIG_From_int((int)wxFONTENCODING_MACBENGALI
));
19923 PyDict_SetItemString(d
,"FONTENCODING_MACTAMIL", SWIG_From_int((int)wxFONTENCODING_MACTAMIL
));
19924 PyDict_SetItemString(d
,"FONTENCODING_MACTELUGU", SWIG_From_int((int)wxFONTENCODING_MACTELUGU
));
19925 PyDict_SetItemString(d
,"FONTENCODING_MACKANNADA", SWIG_From_int((int)wxFONTENCODING_MACKANNADA
));
19926 PyDict_SetItemString(d
,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)wxFONTENCODING_MACMALAJALAM
));
19927 PyDict_SetItemString(d
,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)wxFONTENCODING_MACSINHALESE
));
19928 PyDict_SetItemString(d
,"FONTENCODING_MACBURMESE", SWIG_From_int((int)wxFONTENCODING_MACBURMESE
));
19929 PyDict_SetItemString(d
,"FONTENCODING_MACKHMER", SWIG_From_int((int)wxFONTENCODING_MACKHMER
));
19930 PyDict_SetItemString(d
,"FONTENCODING_MACTHAI", SWIG_From_int((int)wxFONTENCODING_MACTHAI
));
19931 PyDict_SetItemString(d
,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)wxFONTENCODING_MACLAOTIAN
));
19932 PyDict_SetItemString(d
,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)wxFONTENCODING_MACGEORGIAN
));
19933 PyDict_SetItemString(d
,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)wxFONTENCODING_MACARMENIAN
));
19934 PyDict_SetItemString(d
,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)wxFONTENCODING_MACCHINESESIMP
));
19935 PyDict_SetItemString(d
,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)wxFONTENCODING_MACTIBETAN
));
19936 PyDict_SetItemString(d
,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)wxFONTENCODING_MACMONGOLIAN
));
19937 PyDict_SetItemString(d
,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)wxFONTENCODING_MACETHIOPIC
));
19938 PyDict_SetItemString(d
,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)wxFONTENCODING_MACCENTRALEUR
));
19939 PyDict_SetItemString(d
,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)wxFONTENCODING_MACVIATNAMESE
));
19940 PyDict_SetItemString(d
,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)wxFONTENCODING_MACARABICEXT
));
19941 PyDict_SetItemString(d
,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)wxFONTENCODING_MACSYMBOL
));
19942 PyDict_SetItemString(d
,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)wxFONTENCODING_MACDINGBATS
));
19943 PyDict_SetItemString(d
,"FONTENCODING_MACTURKISH", SWIG_From_int((int)wxFONTENCODING_MACTURKISH
));
19944 PyDict_SetItemString(d
,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)wxFONTENCODING_MACCROATIAN
));
19945 PyDict_SetItemString(d
,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)wxFONTENCODING_MACICELANDIC
));
19946 PyDict_SetItemString(d
,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)wxFONTENCODING_MACROMANIAN
));
19947 PyDict_SetItemString(d
,"FONTENCODING_MACCELTIC", SWIG_From_int((int)wxFONTENCODING_MACCELTIC
));
19948 PyDict_SetItemString(d
,"FONTENCODING_MACGAELIC", SWIG_From_int((int)wxFONTENCODING_MACGAELIC
));
19949 PyDict_SetItemString(d
,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)wxFONTENCODING_MACKEYBOARD
));
19950 PyDict_SetItemString(d
,"FONTENCODING_MACMIN", SWIG_From_int((int)wxFONTENCODING_MACMIN
));
19951 PyDict_SetItemString(d
,"FONTENCODING_MACMAX", SWIG_From_int((int)wxFONTENCODING_MACMAX
));
19952 PyDict_SetItemString(d
,"FONTENCODING_MAX", SWIG_From_int((int)wxFONTENCODING_MAX
));
19953 PyDict_SetItemString(d
,"FONTENCODING_UTF16", SWIG_From_int((int)wxFONTENCODING_UTF16
));
19954 PyDict_SetItemString(d
,"FONTENCODING_UTF32", SWIG_From_int((int)wxFONTENCODING_UTF32
));
19955 PyDict_SetItemString(d
,"FONTENCODING_UNICODE", SWIG_From_int((int)wxFONTENCODING_UNICODE
));
19956 PyDict_SetItemString(d
,"FONTENCODING_GB2312", SWIG_From_int((int)wxFONTENCODING_GB2312
));
19957 PyDict_SetItemString(d
,"FONTENCODING_BIG5", SWIG_From_int((int)wxFONTENCODING_BIG5
));
19958 PyDict_SetItemString(d
,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)wxFONTENCODING_SHIFT_JIS
));
19960 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
19962 PyDict_SetItemString(d
,"LANGUAGE_DEFAULT", SWIG_From_int((int)wxLANGUAGE_DEFAULT
));
19963 PyDict_SetItemString(d
,"LANGUAGE_UNKNOWN", SWIG_From_int((int)wxLANGUAGE_UNKNOWN
));
19964 PyDict_SetItemString(d
,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)wxLANGUAGE_ABKHAZIAN
));
19965 PyDict_SetItemString(d
,"LANGUAGE_AFAR", SWIG_From_int((int)wxLANGUAGE_AFAR
));
19966 PyDict_SetItemString(d
,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)wxLANGUAGE_AFRIKAANS
));
19967 PyDict_SetItemString(d
,"LANGUAGE_ALBANIAN", SWIG_From_int((int)wxLANGUAGE_ALBANIAN
));
19968 PyDict_SetItemString(d
,"LANGUAGE_AMHARIC", SWIG_From_int((int)wxLANGUAGE_AMHARIC
));
19969 PyDict_SetItemString(d
,"LANGUAGE_ARABIC", SWIG_From_int((int)wxLANGUAGE_ARABIC
));
19970 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_ALGERIA
));
19971 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)wxLANGUAGE_ARABIC_BAHRAIN
));
19972 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)wxLANGUAGE_ARABIC_EGYPT
));
19973 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)wxLANGUAGE_ARABIC_IRAQ
));
19974 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_JORDAN
));
19975 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)wxLANGUAGE_ARABIC_KUWAIT
));
19976 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)wxLANGUAGE_ARABIC_LEBANON
));
19977 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)wxLANGUAGE_ARABIC_LIBYA
));
19978 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)wxLANGUAGE_ARABIC_MOROCCO
));
19979 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_OMAN
));
19980 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)wxLANGUAGE_ARABIC_QATAR
));
19981 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SAUDI_ARABIA
));
19982 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)wxLANGUAGE_ARABIC_SUDAN
));
19983 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_SYRIA
));
19984 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)wxLANGUAGE_ARABIC_TUNISIA
));
19985 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)wxLANGUAGE_ARABIC_UAE
));
19986 PyDict_SetItemString(d
,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)wxLANGUAGE_ARABIC_YEMEN
));
19987 PyDict_SetItemString(d
,"LANGUAGE_ARMENIAN", SWIG_From_int((int)wxLANGUAGE_ARMENIAN
));
19988 PyDict_SetItemString(d
,"LANGUAGE_ASSAMESE", SWIG_From_int((int)wxLANGUAGE_ASSAMESE
));
19989 PyDict_SetItemString(d
,"LANGUAGE_AYMARA", SWIG_From_int((int)wxLANGUAGE_AYMARA
));
19990 PyDict_SetItemString(d
,"LANGUAGE_AZERI", SWIG_From_int((int)wxLANGUAGE_AZERI
));
19991 PyDict_SetItemString(d
,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_AZERI_CYRILLIC
));
19992 PyDict_SetItemString(d
,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)wxLANGUAGE_AZERI_LATIN
));
19993 PyDict_SetItemString(d
,"LANGUAGE_BASHKIR", SWIG_From_int((int)wxLANGUAGE_BASHKIR
));
19994 PyDict_SetItemString(d
,"LANGUAGE_BASQUE", SWIG_From_int((int)wxLANGUAGE_BASQUE
));
19995 PyDict_SetItemString(d
,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)wxLANGUAGE_BELARUSIAN
));
19996 PyDict_SetItemString(d
,"LANGUAGE_BENGALI", SWIG_From_int((int)wxLANGUAGE_BENGALI
));
19997 PyDict_SetItemString(d
,"LANGUAGE_BHUTANI", SWIG_From_int((int)wxLANGUAGE_BHUTANI
));
19998 PyDict_SetItemString(d
,"LANGUAGE_BIHARI", SWIG_From_int((int)wxLANGUAGE_BIHARI
));
19999 PyDict_SetItemString(d
,"LANGUAGE_BISLAMA", SWIG_From_int((int)wxLANGUAGE_BISLAMA
));
20000 PyDict_SetItemString(d
,"LANGUAGE_BRETON", SWIG_From_int((int)wxLANGUAGE_BRETON
));
20001 PyDict_SetItemString(d
,"LANGUAGE_BULGARIAN", SWIG_From_int((int)wxLANGUAGE_BULGARIAN
));
20002 PyDict_SetItemString(d
,"LANGUAGE_BURMESE", SWIG_From_int((int)wxLANGUAGE_BURMESE
));
20003 PyDict_SetItemString(d
,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)wxLANGUAGE_CAMBODIAN
));
20004 PyDict_SetItemString(d
,"LANGUAGE_CATALAN", SWIG_From_int((int)wxLANGUAGE_CATALAN
));
20005 PyDict_SetItemString(d
,"LANGUAGE_CHINESE", SWIG_From_int((int)wxLANGUAGE_CHINESE
));
20006 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)wxLANGUAGE_CHINESE_SIMPLIFIED
));
20007 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)wxLANGUAGE_CHINESE_TRADITIONAL
));
20008 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)wxLANGUAGE_CHINESE_HONGKONG
));
20009 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)wxLANGUAGE_CHINESE_MACAU
));
20010 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)wxLANGUAGE_CHINESE_SINGAPORE
));
20011 PyDict_SetItemString(d
,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)wxLANGUAGE_CHINESE_TAIWAN
));
20012 PyDict_SetItemString(d
,"LANGUAGE_CORSICAN", SWIG_From_int((int)wxLANGUAGE_CORSICAN
));
20013 PyDict_SetItemString(d
,"LANGUAGE_CROATIAN", SWIG_From_int((int)wxLANGUAGE_CROATIAN
));
20014 PyDict_SetItemString(d
,"LANGUAGE_CZECH", SWIG_From_int((int)wxLANGUAGE_CZECH
));
20015 PyDict_SetItemString(d
,"LANGUAGE_DANISH", SWIG_From_int((int)wxLANGUAGE_DANISH
));
20016 PyDict_SetItemString(d
,"LANGUAGE_DUTCH", SWIG_From_int((int)wxLANGUAGE_DUTCH
));
20017 PyDict_SetItemString(d
,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_DUTCH_BELGIAN
));
20018 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH", SWIG_From_int((int)wxLANGUAGE_ENGLISH
));
20019 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_UK
));
20020 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)wxLANGUAGE_ENGLISH_US
));
20021 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_AUSTRALIA
));
20022 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BELIZE
));
20023 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_BOTSWANA
));
20024 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CANADA
));
20025 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)wxLANGUAGE_ENGLISH_CARIBBEAN
));
20026 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)wxLANGUAGE_ENGLISH_DENMARK
));
20027 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_EIRE
));
20028 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_JAMAICA
));
20029 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)wxLANGUAGE_ENGLISH_NEW_ZEALAND
));
20030 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)wxLANGUAGE_ENGLISH_PHILIPPINES
));
20031 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)wxLANGUAGE_ENGLISH_SOUTH_AFRICA
));
20032 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)wxLANGUAGE_ENGLISH_TRINIDAD
));
20033 PyDict_SetItemString(d
,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)wxLANGUAGE_ENGLISH_ZIMBABWE
));
20034 PyDict_SetItemString(d
,"LANGUAGE_ESPERANTO", SWIG_From_int((int)wxLANGUAGE_ESPERANTO
));
20035 PyDict_SetItemString(d
,"LANGUAGE_ESTONIAN", SWIG_From_int((int)wxLANGUAGE_ESTONIAN
));
20036 PyDict_SetItemString(d
,"LANGUAGE_FAEROESE", SWIG_From_int((int)wxLANGUAGE_FAEROESE
));
20037 PyDict_SetItemString(d
,"LANGUAGE_FARSI", SWIG_From_int((int)wxLANGUAGE_FARSI
));
20038 PyDict_SetItemString(d
,"LANGUAGE_FIJI", SWIG_From_int((int)wxLANGUAGE_FIJI
));
20039 PyDict_SetItemString(d
,"LANGUAGE_FINNISH", SWIG_From_int((int)wxLANGUAGE_FINNISH
));
20040 PyDict_SetItemString(d
,"LANGUAGE_FRENCH", SWIG_From_int((int)wxLANGUAGE_FRENCH
));
20041 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_BELGIAN
));
20042 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)wxLANGUAGE_FRENCH_CANADIAN
));
20043 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_FRENCH_LUXEMBOURG
));
20044 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)wxLANGUAGE_FRENCH_MONACO
));
20045 PyDict_SetItemString(d
,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)wxLANGUAGE_FRENCH_SWISS
));
20046 PyDict_SetItemString(d
,"LANGUAGE_FRISIAN", SWIG_From_int((int)wxLANGUAGE_FRISIAN
));
20047 PyDict_SetItemString(d
,"LANGUAGE_GALICIAN", SWIG_From_int((int)wxLANGUAGE_GALICIAN
));
20048 PyDict_SetItemString(d
,"LANGUAGE_GEORGIAN", SWIG_From_int((int)wxLANGUAGE_GEORGIAN
));
20049 PyDict_SetItemString(d
,"LANGUAGE_GERMAN", SWIG_From_int((int)wxLANGUAGE_GERMAN
));
20050 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)wxLANGUAGE_GERMAN_AUSTRIAN
));
20051 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)wxLANGUAGE_GERMAN_BELGIUM
));
20052 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)wxLANGUAGE_GERMAN_LIECHTENSTEIN
));
20053 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)wxLANGUAGE_GERMAN_LUXEMBOURG
));
20054 PyDict_SetItemString(d
,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)wxLANGUAGE_GERMAN_SWISS
));
20055 PyDict_SetItemString(d
,"LANGUAGE_GREEK", SWIG_From_int((int)wxLANGUAGE_GREEK
));
20056 PyDict_SetItemString(d
,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)wxLANGUAGE_GREENLANDIC
));
20057 PyDict_SetItemString(d
,"LANGUAGE_GUARANI", SWIG_From_int((int)wxLANGUAGE_GUARANI
));
20058 PyDict_SetItemString(d
,"LANGUAGE_GUJARATI", SWIG_From_int((int)wxLANGUAGE_GUJARATI
));
20059 PyDict_SetItemString(d
,"LANGUAGE_HAUSA", SWIG_From_int((int)wxLANGUAGE_HAUSA
));
20060 PyDict_SetItemString(d
,"LANGUAGE_HEBREW", SWIG_From_int((int)wxLANGUAGE_HEBREW
));
20061 PyDict_SetItemString(d
,"LANGUAGE_HINDI", SWIG_From_int((int)wxLANGUAGE_HINDI
));
20062 PyDict_SetItemString(d
,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)wxLANGUAGE_HUNGARIAN
));
20063 PyDict_SetItemString(d
,"LANGUAGE_ICELANDIC", SWIG_From_int((int)wxLANGUAGE_ICELANDIC
));
20064 PyDict_SetItemString(d
,"LANGUAGE_INDONESIAN", SWIG_From_int((int)wxLANGUAGE_INDONESIAN
));
20065 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)wxLANGUAGE_INTERLINGUA
));
20066 PyDict_SetItemString(d
,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)wxLANGUAGE_INTERLINGUE
));
20067 PyDict_SetItemString(d
,"LANGUAGE_INUKTITUT", SWIG_From_int((int)wxLANGUAGE_INUKTITUT
));
20068 PyDict_SetItemString(d
,"LANGUAGE_INUPIAK", SWIG_From_int((int)wxLANGUAGE_INUPIAK
));
20069 PyDict_SetItemString(d
,"LANGUAGE_IRISH", SWIG_From_int((int)wxLANGUAGE_IRISH
));
20070 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN", SWIG_From_int((int)wxLANGUAGE_ITALIAN
));
20071 PyDict_SetItemString(d
,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)wxLANGUAGE_ITALIAN_SWISS
));
20072 PyDict_SetItemString(d
,"LANGUAGE_JAPANESE", SWIG_From_int((int)wxLANGUAGE_JAPANESE
));
20073 PyDict_SetItemString(d
,"LANGUAGE_JAVANESE", SWIG_From_int((int)wxLANGUAGE_JAVANESE
));
20074 PyDict_SetItemString(d
,"LANGUAGE_KANNADA", SWIG_From_int((int)wxLANGUAGE_KANNADA
));
20075 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI", SWIG_From_int((int)wxLANGUAGE_KASHMIRI
));
20076 PyDict_SetItemString(d
,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)wxLANGUAGE_KASHMIRI_INDIA
));
20077 PyDict_SetItemString(d
,"LANGUAGE_KAZAKH", SWIG_From_int((int)wxLANGUAGE_KAZAKH
));
20078 PyDict_SetItemString(d
,"LANGUAGE_KERNEWEK", SWIG_From_int((int)wxLANGUAGE_KERNEWEK
));
20079 PyDict_SetItemString(d
,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)wxLANGUAGE_KINYARWANDA
));
20080 PyDict_SetItemString(d
,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)wxLANGUAGE_KIRGHIZ
));
20081 PyDict_SetItemString(d
,"LANGUAGE_KIRUNDI", SWIG_From_int((int)wxLANGUAGE_KIRUNDI
));
20082 PyDict_SetItemString(d
,"LANGUAGE_KONKANI", SWIG_From_int((int)wxLANGUAGE_KONKANI
));
20083 PyDict_SetItemString(d
,"LANGUAGE_KOREAN", SWIG_From_int((int)wxLANGUAGE_KOREAN
));
20084 PyDict_SetItemString(d
,"LANGUAGE_KURDISH", SWIG_From_int((int)wxLANGUAGE_KURDISH
));
20085 PyDict_SetItemString(d
,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)wxLANGUAGE_LAOTHIAN
));
20086 PyDict_SetItemString(d
,"LANGUAGE_LATIN", SWIG_From_int((int)wxLANGUAGE_LATIN
));
20087 PyDict_SetItemString(d
,"LANGUAGE_LATVIAN", SWIG_From_int((int)wxLANGUAGE_LATVIAN
));
20088 PyDict_SetItemString(d
,"LANGUAGE_LINGALA", SWIG_From_int((int)wxLANGUAGE_LINGALA
));
20089 PyDict_SetItemString(d
,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)wxLANGUAGE_LITHUANIAN
));
20090 PyDict_SetItemString(d
,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)wxLANGUAGE_MACEDONIAN
));
20091 PyDict_SetItemString(d
,"LANGUAGE_MALAGASY", SWIG_From_int((int)wxLANGUAGE_MALAGASY
));
20092 PyDict_SetItemString(d
,"LANGUAGE_MALAY", SWIG_From_int((int)wxLANGUAGE_MALAY
));
20093 PyDict_SetItemString(d
,"LANGUAGE_MALAYALAM", SWIG_From_int((int)wxLANGUAGE_MALAYALAM
));
20094 PyDict_SetItemString(d
,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
));
20095 PyDict_SetItemString(d
,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)wxLANGUAGE_MALAY_MALAYSIA
));
20096 PyDict_SetItemString(d
,"LANGUAGE_MALTESE", SWIG_From_int((int)wxLANGUAGE_MALTESE
));
20097 PyDict_SetItemString(d
,"LANGUAGE_MANIPURI", SWIG_From_int((int)wxLANGUAGE_MANIPURI
));
20098 PyDict_SetItemString(d
,"LANGUAGE_MAORI", SWIG_From_int((int)wxLANGUAGE_MAORI
));
20099 PyDict_SetItemString(d
,"LANGUAGE_MARATHI", SWIG_From_int((int)wxLANGUAGE_MARATHI
));
20100 PyDict_SetItemString(d
,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)wxLANGUAGE_MOLDAVIAN
));
20101 PyDict_SetItemString(d
,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)wxLANGUAGE_MONGOLIAN
));
20102 PyDict_SetItemString(d
,"LANGUAGE_NAURU", SWIG_From_int((int)wxLANGUAGE_NAURU
));
20103 PyDict_SetItemString(d
,"LANGUAGE_NEPALI", SWIG_From_int((int)wxLANGUAGE_NEPALI
));
20104 PyDict_SetItemString(d
,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)wxLANGUAGE_NEPALI_INDIA
));
20105 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_BOKMAL
));
20106 PyDict_SetItemString(d
,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)wxLANGUAGE_NORWEGIAN_NYNORSK
));
20107 PyDict_SetItemString(d
,"LANGUAGE_OCCITAN", SWIG_From_int((int)wxLANGUAGE_OCCITAN
));
20108 PyDict_SetItemString(d
,"LANGUAGE_ORIYA", SWIG_From_int((int)wxLANGUAGE_ORIYA
));
20109 PyDict_SetItemString(d
,"LANGUAGE_OROMO", SWIG_From_int((int)wxLANGUAGE_OROMO
));
20110 PyDict_SetItemString(d
,"LANGUAGE_PASHTO", SWIG_From_int((int)wxLANGUAGE_PASHTO
));
20111 PyDict_SetItemString(d
,"LANGUAGE_POLISH", SWIG_From_int((int)wxLANGUAGE_POLISH
));
20112 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE
));
20113 PyDict_SetItemString(d
,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)wxLANGUAGE_PORTUGUESE_BRAZILIAN
));
20114 PyDict_SetItemString(d
,"LANGUAGE_PUNJABI", SWIG_From_int((int)wxLANGUAGE_PUNJABI
));
20115 PyDict_SetItemString(d
,"LANGUAGE_QUECHUA", SWIG_From_int((int)wxLANGUAGE_QUECHUA
));
20116 PyDict_SetItemString(d
,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)wxLANGUAGE_RHAETO_ROMANCE
));
20117 PyDict_SetItemString(d
,"LANGUAGE_ROMANIAN", SWIG_From_int((int)wxLANGUAGE_ROMANIAN
));
20118 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN", SWIG_From_int((int)wxLANGUAGE_RUSSIAN
));
20119 PyDict_SetItemString(d
,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)wxLANGUAGE_RUSSIAN_UKRAINE
));
20120 PyDict_SetItemString(d
,"LANGUAGE_SAMOAN", SWIG_From_int((int)wxLANGUAGE_SAMOAN
));
20121 PyDict_SetItemString(d
,"LANGUAGE_SANGHO", SWIG_From_int((int)wxLANGUAGE_SANGHO
));
20122 PyDict_SetItemString(d
,"LANGUAGE_SANSKRIT", SWIG_From_int((int)wxLANGUAGE_SANSKRIT
));
20123 PyDict_SetItemString(d
,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)wxLANGUAGE_SCOTS_GAELIC
));
20124 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN", SWIG_From_int((int)wxLANGUAGE_SERBIAN
));
20125 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_SERBIAN_CYRILLIC
));
20126 PyDict_SetItemString(d
,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)wxLANGUAGE_SERBIAN_LATIN
));
20127 PyDict_SetItemString(d
,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)wxLANGUAGE_SERBO_CROATIAN
));
20128 PyDict_SetItemString(d
,"LANGUAGE_SESOTHO", SWIG_From_int((int)wxLANGUAGE_SESOTHO
));
20129 PyDict_SetItemString(d
,"LANGUAGE_SETSWANA", SWIG_From_int((int)wxLANGUAGE_SETSWANA
));
20130 PyDict_SetItemString(d
,"LANGUAGE_SHONA", SWIG_From_int((int)wxLANGUAGE_SHONA
));
20131 PyDict_SetItemString(d
,"LANGUAGE_SINDHI", SWIG_From_int((int)wxLANGUAGE_SINDHI
));
20132 PyDict_SetItemString(d
,"LANGUAGE_SINHALESE", SWIG_From_int((int)wxLANGUAGE_SINHALESE
));
20133 PyDict_SetItemString(d
,"LANGUAGE_SISWATI", SWIG_From_int((int)wxLANGUAGE_SISWATI
));
20134 PyDict_SetItemString(d
,"LANGUAGE_SLOVAK", SWIG_From_int((int)wxLANGUAGE_SLOVAK
));
20135 PyDict_SetItemString(d
,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)wxLANGUAGE_SLOVENIAN
));
20136 PyDict_SetItemString(d
,"LANGUAGE_SOMALI", SWIG_From_int((int)wxLANGUAGE_SOMALI
));
20137 PyDict_SetItemString(d
,"LANGUAGE_SPANISH", SWIG_From_int((int)wxLANGUAGE_SPANISH
));
20138 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)wxLANGUAGE_SPANISH_ARGENTINA
));
20139 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_BOLIVIA
));
20140 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)wxLANGUAGE_SPANISH_CHILE
));
20141 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COLOMBIA
));
20142 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)wxLANGUAGE_SPANISH_COSTA_RICA
));
20143 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
));
20144 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_ECUADOR
));
20145 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)wxLANGUAGE_SPANISH_EL_SALVADOR
));
20146 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)wxLANGUAGE_SPANISH_GUATEMALA
));
20147 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)wxLANGUAGE_SPANISH_HONDURAS
));
20148 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MEXICAN
));
20149 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)wxLANGUAGE_SPANISH_MODERN
));
20150 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)wxLANGUAGE_SPANISH_NICARAGUA
));
20151 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)wxLANGUAGE_SPANISH_PANAMA
));
20152 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_PARAGUAY
));
20153 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)wxLANGUAGE_SPANISH_PERU
));
20154 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)wxLANGUAGE_SPANISH_PUERTO_RICO
));
20155 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)wxLANGUAGE_SPANISH_URUGUAY
));
20156 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_US", SWIG_From_int((int)wxLANGUAGE_SPANISH_US
));
20157 PyDict_SetItemString(d
,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)wxLANGUAGE_SPANISH_VENEZUELA
));
20158 PyDict_SetItemString(d
,"LANGUAGE_SUNDANESE", SWIG_From_int((int)wxLANGUAGE_SUNDANESE
));
20159 PyDict_SetItemString(d
,"LANGUAGE_SWAHILI", SWIG_From_int((int)wxLANGUAGE_SWAHILI
));
20160 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH", SWIG_From_int((int)wxLANGUAGE_SWEDISH
));
20161 PyDict_SetItemString(d
,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)wxLANGUAGE_SWEDISH_FINLAND
));
20162 PyDict_SetItemString(d
,"LANGUAGE_TAGALOG", SWIG_From_int((int)wxLANGUAGE_TAGALOG
));
20163 PyDict_SetItemString(d
,"LANGUAGE_TAJIK", SWIG_From_int((int)wxLANGUAGE_TAJIK
));
20164 PyDict_SetItemString(d
,"LANGUAGE_TAMIL", SWIG_From_int((int)wxLANGUAGE_TAMIL
));
20165 PyDict_SetItemString(d
,"LANGUAGE_TATAR", SWIG_From_int((int)wxLANGUAGE_TATAR
));
20166 PyDict_SetItemString(d
,"LANGUAGE_TELUGU", SWIG_From_int((int)wxLANGUAGE_TELUGU
));
20167 PyDict_SetItemString(d
,"LANGUAGE_THAI", SWIG_From_int((int)wxLANGUAGE_THAI
));
20168 PyDict_SetItemString(d
,"LANGUAGE_TIBETAN", SWIG_From_int((int)wxLANGUAGE_TIBETAN
));
20169 PyDict_SetItemString(d
,"LANGUAGE_TIGRINYA", SWIG_From_int((int)wxLANGUAGE_TIGRINYA
));
20170 PyDict_SetItemString(d
,"LANGUAGE_TONGA", SWIG_From_int((int)wxLANGUAGE_TONGA
));
20171 PyDict_SetItemString(d
,"LANGUAGE_TSONGA", SWIG_From_int((int)wxLANGUAGE_TSONGA
));
20172 PyDict_SetItemString(d
,"LANGUAGE_TURKISH", SWIG_From_int((int)wxLANGUAGE_TURKISH
));
20173 PyDict_SetItemString(d
,"LANGUAGE_TURKMEN", SWIG_From_int((int)wxLANGUAGE_TURKMEN
));
20174 PyDict_SetItemString(d
,"LANGUAGE_TWI", SWIG_From_int((int)wxLANGUAGE_TWI
));
20175 PyDict_SetItemString(d
,"LANGUAGE_UIGHUR", SWIG_From_int((int)wxLANGUAGE_UIGHUR
));
20176 PyDict_SetItemString(d
,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)wxLANGUAGE_UKRAINIAN
));
20177 PyDict_SetItemString(d
,"LANGUAGE_URDU", SWIG_From_int((int)wxLANGUAGE_URDU
));
20178 PyDict_SetItemString(d
,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)wxLANGUAGE_URDU_INDIA
));
20179 PyDict_SetItemString(d
,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)wxLANGUAGE_URDU_PAKISTAN
));
20180 PyDict_SetItemString(d
,"LANGUAGE_UZBEK", SWIG_From_int((int)wxLANGUAGE_UZBEK
));
20181 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)wxLANGUAGE_UZBEK_CYRILLIC
));
20182 PyDict_SetItemString(d
,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)wxLANGUAGE_UZBEK_LATIN
));
20183 PyDict_SetItemString(d
,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)wxLANGUAGE_VIETNAMESE
));
20184 PyDict_SetItemString(d
,"LANGUAGE_VOLAPUK", SWIG_From_int((int)wxLANGUAGE_VOLAPUK
));
20185 PyDict_SetItemString(d
,"LANGUAGE_WELSH", SWIG_From_int((int)wxLANGUAGE_WELSH
));
20186 PyDict_SetItemString(d
,"LANGUAGE_WOLOF", SWIG_From_int((int)wxLANGUAGE_WOLOF
));
20187 PyDict_SetItemString(d
,"LANGUAGE_XHOSA", SWIG_From_int((int)wxLANGUAGE_XHOSA
));
20188 PyDict_SetItemString(d
,"LANGUAGE_YIDDISH", SWIG_From_int((int)wxLANGUAGE_YIDDISH
));
20189 PyDict_SetItemString(d
,"LANGUAGE_YORUBA", SWIG_From_int((int)wxLANGUAGE_YORUBA
));
20190 PyDict_SetItemString(d
,"LANGUAGE_ZHUANG", SWIG_From_int((int)wxLANGUAGE_ZHUANG
));
20191 PyDict_SetItemString(d
,"LANGUAGE_ZULU", SWIG_From_int((int)wxLANGUAGE_ZULU
));
20192 PyDict_SetItemString(d
,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)wxLANGUAGE_USER_DEFINED
));
20193 PyDict_SetItemString(d
,"LOCALE_CAT_NUMBER", SWIG_From_int((int)wxLOCALE_CAT_NUMBER
));
20194 PyDict_SetItemString(d
,"LOCALE_CAT_DATE", SWIG_From_int((int)wxLOCALE_CAT_DATE
));
20195 PyDict_SetItemString(d
,"LOCALE_CAT_MONEY", SWIG_From_int((int)wxLOCALE_CAT_MONEY
));
20196 PyDict_SetItemString(d
,"LOCALE_CAT_MAX", SWIG_From_int((int)wxLOCALE_CAT_MAX
));
20197 PyDict_SetItemString(d
,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)wxLOCALE_THOUSANDS_SEP
));
20198 PyDict_SetItemString(d
,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)wxLOCALE_DECIMAL_POINT
));
20199 PyDict_SetItemString(d
,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)wxLOCALE_LOAD_DEFAULT
));
20200 PyDict_SetItemString(d
,"LOCALE_CONV_ENCODING", SWIG_From_int((int)wxLOCALE_CONV_ENCODING
));
20201 PyDict_SetItemString(d
,"CONVERT_STRICT", SWIG_From_int((int)wxCONVERT_STRICT
));
20202 PyDict_SetItemString(d
,"CONVERT_SUBSTITUTE", SWIG_From_int((int)wxCONVERT_SUBSTITUTE
));
20203 PyDict_SetItemString(d
,"PLATFORM_CURRENT", SWIG_From_int((int)wxPLATFORM_CURRENT
));
20204 PyDict_SetItemString(d
,"PLATFORM_UNIX", SWIG_From_int((int)wxPLATFORM_UNIX
));
20205 PyDict_SetItemString(d
,"PLATFORM_WINDOWS", SWIG_From_int((int)wxPLATFORM_WINDOWS
));
20206 PyDict_SetItemString(d
,"PLATFORM_OS2", SWIG_From_int((int)wxPLATFORM_OS2
));
20207 PyDict_SetItemString(d
,"PLATFORM_MAC", SWIG_From_int((int)wxPLATFORM_MAC
));
20208 PyDict_SetItemString(d
,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)wxIMAGELIST_DRAW_NORMAL
));
20209 PyDict_SetItemString(d
,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)wxIMAGELIST_DRAW_TRANSPARENT
));
20210 PyDict_SetItemString(d
,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)wxIMAGELIST_DRAW_SELECTED
));
20211 PyDict_SetItemString(d
,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)wxIMAGELIST_DRAW_FOCUSED
));
20212 PyDict_SetItemString(d
,"IMAGE_LIST_NORMAL", SWIG_From_int((int)wxIMAGE_LIST_NORMAL
));
20213 PyDict_SetItemString(d
,"IMAGE_LIST_SMALL", SWIG_From_int((int)wxIMAGE_LIST_SMALL
));
20214 PyDict_SetItemString(d
,"IMAGE_LIST_STATE", SWIG_From_int((int)wxIMAGE_LIST_STATE
));
20215 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
20216 SWIG_addvarlink(SWIG_globals
,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get
, _wrap_NORMAL_FONT_set
);
20217 SWIG_addvarlink(SWIG_globals
,(char*)"SMALL_FONT",_wrap_SMALL_FONT_get
, _wrap_SMALL_FONT_set
);
20218 SWIG_addvarlink(SWIG_globals
,(char*)"ITALIC_FONT",_wrap_ITALIC_FONT_get
, _wrap_ITALIC_FONT_set
);
20219 SWIG_addvarlink(SWIG_globals
,(char*)"SWISS_FONT",_wrap_SWISS_FONT_get
, _wrap_SWISS_FONT_set
);
20220 SWIG_addvarlink(SWIG_globals
,(char*)"RED_PEN",_wrap_RED_PEN_get
, _wrap_RED_PEN_set
);
20221 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_PEN",_wrap_CYAN_PEN_get
, _wrap_CYAN_PEN_set
);
20222 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_PEN",_wrap_GREEN_PEN_get
, _wrap_GREEN_PEN_set
);
20223 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_PEN",_wrap_BLACK_PEN_get
, _wrap_BLACK_PEN_set
);
20224 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_PEN",_wrap_WHITE_PEN_get
, _wrap_WHITE_PEN_set
);
20225 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_PEN",_wrap_TRANSPARENT_PEN_get
, _wrap_TRANSPARENT_PEN_set
);
20226 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_DASHED_PEN",_wrap_BLACK_DASHED_PEN_get
, _wrap_BLACK_DASHED_PEN_set
);
20227 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_PEN",_wrap_GREY_PEN_get
, _wrap_GREY_PEN_set
);
20228 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_PEN",_wrap_MEDIUM_GREY_PEN_get
, _wrap_MEDIUM_GREY_PEN_set
);
20229 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_PEN",_wrap_LIGHT_GREY_PEN_get
, _wrap_LIGHT_GREY_PEN_set
);
20230 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE_BRUSH",_wrap_BLUE_BRUSH_get
, _wrap_BLUE_BRUSH_set
);
20231 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN_BRUSH",_wrap_GREEN_BRUSH_get
, _wrap_GREEN_BRUSH_set
);
20232 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE_BRUSH",_wrap_WHITE_BRUSH_get
, _wrap_WHITE_BRUSH_set
);
20233 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK_BRUSH",_wrap_BLACK_BRUSH_get
, _wrap_BLACK_BRUSH_set
);
20234 SWIG_addvarlink(SWIG_globals
,(char*)"TRANSPARENT_BRUSH",_wrap_TRANSPARENT_BRUSH_get
, _wrap_TRANSPARENT_BRUSH_set
);
20235 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN_BRUSH",_wrap_CYAN_BRUSH_get
, _wrap_CYAN_BRUSH_set
);
20236 SWIG_addvarlink(SWIG_globals
,(char*)"RED_BRUSH",_wrap_RED_BRUSH_get
, _wrap_RED_BRUSH_set
);
20237 SWIG_addvarlink(SWIG_globals
,(char*)"GREY_BRUSH",_wrap_GREY_BRUSH_get
, _wrap_GREY_BRUSH_set
);
20238 SWIG_addvarlink(SWIG_globals
,(char*)"MEDIUM_GREY_BRUSH",_wrap_MEDIUM_GREY_BRUSH_get
, _wrap_MEDIUM_GREY_BRUSH_set
);
20239 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY_BRUSH",_wrap_LIGHT_GREY_BRUSH_get
, _wrap_LIGHT_GREY_BRUSH_set
);
20240 SWIG_addvarlink(SWIG_globals
,(char*)"BLACK",_wrap_BLACK_get
, _wrap_BLACK_set
);
20241 SWIG_addvarlink(SWIG_globals
,(char*)"WHITE",_wrap_WHITE_get
, _wrap_WHITE_set
);
20242 SWIG_addvarlink(SWIG_globals
,(char*)"RED",_wrap_RED_get
, _wrap_RED_set
);
20243 SWIG_addvarlink(SWIG_globals
,(char*)"BLUE",_wrap_BLUE_get
, _wrap_BLUE_set
);
20244 SWIG_addvarlink(SWIG_globals
,(char*)"GREEN",_wrap_GREEN_get
, _wrap_GREEN_set
);
20245 SWIG_addvarlink(SWIG_globals
,(char*)"CYAN",_wrap_CYAN_get
, _wrap_CYAN_set
);
20246 SWIG_addvarlink(SWIG_globals
,(char*)"LIGHT_GREY",_wrap_LIGHT_GREY_get
, _wrap_LIGHT_GREY_set
);
20247 SWIG_addvarlink(SWIG_globals
,(char*)"STANDARD_CURSOR",_wrap_STANDARD_CURSOR_get
, _wrap_STANDARD_CURSOR_set
);
20248 SWIG_addvarlink(SWIG_globals
,(char*)"HOURGLASS_CURSOR",_wrap_HOURGLASS_CURSOR_get
, _wrap_HOURGLASS_CURSOR_set
);
20249 SWIG_addvarlink(SWIG_globals
,(char*)"CROSS_CURSOR",_wrap_CROSS_CURSOR_get
, _wrap_CROSS_CURSOR_set
);
20250 SWIG_addvarlink(SWIG_globals
,(char*)"NullBitmap",_wrap_NullBitmap_get
, _wrap_NullBitmap_set
);
20251 SWIG_addvarlink(SWIG_globals
,(char*)"NullIcon",_wrap_NullIcon_get
, _wrap_NullIcon_set
);
20252 SWIG_addvarlink(SWIG_globals
,(char*)"NullCursor",_wrap_NullCursor_get
, _wrap_NullCursor_set
);
20253 SWIG_addvarlink(SWIG_globals
,(char*)"NullPen",_wrap_NullPen_get
, _wrap_NullPen_set
);
20254 SWIG_addvarlink(SWIG_globals
,(char*)"NullBrush",_wrap_NullBrush_get
, _wrap_NullBrush_set
);
20255 SWIG_addvarlink(SWIG_globals
,(char*)"NullPalette",_wrap_NullPalette_get
, _wrap_NullPalette_set
);
20256 SWIG_addvarlink(SWIG_globals
,(char*)"NullFont",_wrap_NullFont_get
, _wrap_NullFont_set
);
20257 SWIG_addvarlink(SWIG_globals
,(char*)"NullColour",_wrap_NullColour_get
, _wrap_NullColour_set
);
20258 SWIG_addvarlink(SWIG_globals
,(char*)"TheFontList",_wrap_TheFontList_get
, _wrap_TheFontList_set
);
20259 SWIG_addvarlink(SWIG_globals
,(char*)"ThePenList",_wrap_ThePenList_get
, _wrap_ThePenList_set
);
20260 SWIG_addvarlink(SWIG_globals
,(char*)"TheBrushList",_wrap_TheBrushList_get
, _wrap_TheBrushList_set
);
20261 SWIG_addvarlink(SWIG_globals
,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get
, _wrap_TheColourDatabase_set
);
20263 // Work around a chicken/egg problem in drawlist.cpp
20264 wxPyDrawList_SetAPIPtr();